• Home
  • Raw
  • Download

Lines Matching refs:xx

136     int xx;  in BTM_PmRegister()  local
147 for(xx=0; xx<BTM_MAX_PM_RECORDS; xx++) in BTM_PmRegister()
150 if(btm_cb.pm_reg_db[xx].mask == BTM_PM_REC_NOT_USED) in BTM_PmRegister()
157 btm_cb.pm_reg_db[xx].cback = p_cb; in BTM_PmRegister()
159 btm_cb.pm_reg_db[xx].mask = mask; in BTM_PmRegister()
160 *p_pm_id = xx; in BTM_PmRegister()
385 int xx; in btm_pm_reset() local
396 for(xx=0; xx<BTM_MAX_PM_RECORDS; xx++) in btm_pm_reset()
398 btm_cb.pm_reg_db[xx].mask = BTM_PM_REC_NOT_USED; in btm_pm_reset()
441 UINT8 xx; in btm_pm_find_acl_ind() local
443 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) in btm_pm_find_acl_ind()
452 BTM_TRACE_DEBUG( "btm_pm_find_acl_ind ind:%d, st:%d", xx, btm_cb.pm_mode_db[xx].state); in btm_pm_find_acl_ind()
457 return xx; in btm_pm_find_acl_ind()
543 int xx, loop_max; in btm_pm_get_set_mode() local
558 for( xx=0; xx<loop_max; xx++) in btm_pm_get_set_mode()
561 if(btm_cb.pm_reg_db[xx].mask & BTM_PM_REG_SET) in btm_pm_get_set_mode()
563 if(p_cb->req_mode[xx].mode == BTM_PM_MD_ACTIVE) in btm_pm_get_set_mode()
571 if( (btm_pm_compare_modes(p_md, &p_cb->req_mode[xx], p_res)) == NULL) in btm_pm_get_set_mode()
734 int xx; in btm_pm_check_stored() local
735 for(xx=0; xx<MAX_L2CAP_LINKS; xx++) in btm_pm_check_stored()
737 if(btm_cb.pm_mode_db[xx].state & BTM_PM_STORED_MASK) in btm_pm_check_stored()
739 btm_cb.pm_mode_db[xx].state &= ~BTM_PM_STORED_MASK; in btm_pm_check_stored()
740 BTM_TRACE_DEBUG( "btm_pm_check_stored :%d", xx); in btm_pm_check_stored()
741 btm_pm_snd_md_req(BTM_PM_SET_ONLY_ID, xx, NULL); in btm_pm_check_stored()
817 int xx, yy, zz; in btm_pm_proc_mode_change() local
822 if ((xx = btm_handle_to_acl_index(hci_handle)) >= MAX_L2CAP_LINKS) in btm_pm_proc_mode_change()
825 p = &btm_cb.acl_db[xx]; in btm_pm_proc_mode_change()
828 p_cb = &(btm_cb.pm_mode_db[xx]); in btm_pm_proc_mode_change()
859 BTM_TRACE_DEBUG( "btm_pm_proc_mode_change: Sending stored req:%d", xx); in btm_pm_proc_mode_change()
861 btm_pm_snd_md_req(BTM_PM_SET_ONLY_ID, xx, NULL); in btm_pm_proc_mode_change()
910 int xx, yy; in btm_pm_proc_ssr_evt() local
920 if ((xx = btm_handle_to_acl_index(handle)) >= MAX_L2CAP_LINKS) in btm_pm_proc_ssr_evt()
925 p_cb = &(btm_cb.pm_mode_db[xx]); in btm_pm_proc_ssr_evt()
927 p_acl = &btm_cb.acl_db[xx]; in btm_pm_proc_ssr_evt()