Home | History | Annotate | Download | only in btm

Lines Matching defs:xx

142     int xx;
153 for(xx=0; xx<BTM_MAX_PM_RECORDS; xx++)
156 if(btm_cb.pm_reg_db[xx].mask == BTM_PM_REC_NOT_USED)
163 btm_cb.pm_reg_db[xx].cback = p_cb;
165 btm_cb.pm_reg_db[xx].mask = mask;
166 *p_pm_id = xx;
362 int xx;
376 for(xx=0; xx<BTM_MAX_PM_RECORDS; xx++)
378 btm_cb.pm_reg_db[xx].mask = BTM_PM_REC_NOT_USED;
418 UINT8 xx;
420 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++)
425 BTM_TRACE_DEBUG2( "btm_pm_find_acl_ind ind:%d, st:%d", xx, btm_cb.pm_mode_db[xx].state);
430 return xx;
516 int xx, loop_max;
531 for( xx=0; xx<loop_max; xx++)
534 if(btm_cb.pm_reg_db[xx].mask & BTM_PM_REG_SET)
536 if(p_cb->req_mode[xx].mode == BTM_PM_MD_ACTIVE)
544 if( (btm_pm_compare_modes(p_md, &p_cb->req_mode[xx], p_res)) == NULL)
704 int xx;
705 for(xx=0; xx<MAX_L2CAP_LINKS; xx++)
707 if(btm_cb.pm_mode_db[xx].state & BTM_PM_STORED_MASK)
709 btm_cb.pm_mode_db[xx].state &= ~BTM_PM_STORED_MASK;
710 BTM_TRACE_DEBUG1( "btm_pm_check_stored :%d", xx);
711 btm_pm_snd_md_req(BTM_PM_SET_ONLY_ID, xx, NULL);
788 int xx, yy, zz;
793 if ((xx = btm_handle_to_acl_index(hci_handle)) >= MAX_L2CAP_LINKS)
796 p = &btm_cb.acl_db[xx];
842 p_cb = &(btm_cb.pm_mode_db[xx]);
873 BTM_TRACE_DEBUG1( "btm_pm_proc_mode_change: Sending stored req:%d", xx);
875 btm_pm_snd_md_req(BTM_PM_SET_ONLY_ID, xx, NULL);
921 int xx, yy;
930 if ((xx = btm_handle_to_acl_index(handle)) >= MAX_L2CAP_LINKS)
935 p_cb = &(btm_cb.pm_mode_db[xx]);
937 p_acl = &btm_cb.acl_db[xx];