Home | History | Annotate | Download | only in btm

Lines Matching refs:xx

109   int xx;
118 for (xx = 0; xx < BTM_MAX_PM_RECORDS; xx++) {
120 if (btm_cb.pm_reg_db[xx].mask == BTM_PM_REC_NOT_USED) {
124 btm_cb.pm_reg_db[xx].cback = p_cb;
126 btm_cb.pm_reg_db[xx].mask = mask;
127 *p_pm_id = xx;
345 int xx;
355 for (xx = 0; xx < BTM_MAX_PM_RECORDS; xx++) {
356 btm_cb.pm_reg_db[xx].mask = BTM_PM_REC_NOT_USED;
398 uint8_t xx;
400 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) {
404 BTM_TRACE_DEBUG("btm_pm_find_acl_ind ind:%d, st:%d", xx,
405 btm_cb.pm_mode_db[xx].state);
410 return xx;
495 int xx, loop_max;
509 for (xx = 0; xx < loop_max; xx++) {
511 if (btm_cb.pm_reg_db[xx].mask & BTM_PM_REG_SET) {
512 if (p_cb->req_mode[xx].mode == BTM_PM_MD_ACTIVE) {
517 if ((btm_pm_compare_modes(p_md, &p_cb->req_mode[xx], p_res)) == NULL)
662 int xx;
663 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++) {
664 if (btm_cb.pm_mode_db[xx].state & BTM_PM_STORED_MASK) {
665 btm_cb.pm_mode_db[xx].state &= ~BTM_PM_STORED_MASK;
666 BTM_TRACE_DEBUG("btm_pm_check_stored :%d", xx);
667 btm_pm_snd_md_req(BTM_PM_SET_ONLY_ID, xx, NULL);
743 int xx, yy, zz;
748 xx = btm_handle_to_acl_index(hci_handle);
749 if (xx >= MAX_L2CAP_LINKS) return;
751 p = &btm_cb.acl_db[xx];
754 p_cb = &(btm_cb.pm_mode_db[xx]);
784 BTM_TRACE_DEBUG("btm_pm_proc_mode_change: Sending stored req:%d", xx);
786 btm_pm_snd_md_req(BTM_PM_SET_ONLY_ID, xx, NULL);
829 int xx, yy;
838 xx = btm_handle_to_acl_index(handle);
839 if (xx >= MAX_L2CAP_LINKS) return;
843 p_cb = &(btm_cb.pm_mode_db[xx]);
845 p_acl = &btm_cb.acl_db[xx];