Lines Matching refs:xx
63 int xx; in l2c_link_hci_conn_req() local
83 for (xx = 0, p_lcb_cur = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; xx++, p_lcb_cur++) in l2c_link_hci_conn_req()
416 int xx; in l2c_link_hci_disc_comp() local
418 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2c_link_hci_disc_comp()
420 if (p_lcb->p_fixed_ccbs[xx]) in l2c_link_hci_disc_comp()
422 … (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(p_lcb->remote_bd_addr, FALSE, p_lcb->disc_reason); in l2c_link_hci_disc_comp()
423 l2cu_release_ccb (p_lcb->p_fixed_ccbs[xx]); in l2c_link_hci_disc_comp()
425 p_lcb->p_fixed_ccbs[xx] = NULL; in l2c_link_hci_disc_comp()
805 UINT8 xx; in l2c_link_adjust_chnl_allocation() local
814 for (xx = 0; xx < GKI_NUM_TOTAL_BUF_POOLS; xx++ ) in l2c_link_adjust_chnl_allocation()
816 weighted_chnls[xx] = 0; in l2c_link_adjust_chnl_allocation()
817 reserved_buff[xx] = 0; in l2c_link_adjust_chnl_allocation()
822 for (xx = 0; xx < MAX_L2CAP_CHANNELS; xx++) in l2c_link_adjust_chnl_allocation()
824 p_ccb = l2cb.ccb_pool + xx; in l2c_link_adjust_chnl_allocation()
856 for (xx = 0; xx < GKI_NUM_TOTAL_BUF_POOLS; xx++ ) in l2c_link_adjust_chnl_allocation()
858 if ( weighted_chnls[xx] > 0 ) in l2c_link_adjust_chnl_allocation()
860 if (GKI_poolcount(xx) > reserved_buff[xx]) in l2c_link_adjust_chnl_allocation()
861 … quota_per_weighted_chnls[xx] = ((GKI_poolcount(xx) - reserved_buff[xx])/weighted_chnls[xx]) + 1; in l2c_link_adjust_chnl_allocation()
863 quota_per_weighted_chnls[xx] = 1; in l2c_link_adjust_chnl_allocation()
866 … xx, GKI_poolcount(xx), reserved_buff[xx], weighted_chnls[xx], quota_per_weighted_chnls[xx] ); in l2c_link_adjust_chnl_allocation()
869 quota_per_weighted_chnls[xx] = 0; in l2c_link_adjust_chnl_allocation()
874 for (xx = 0; xx < MAX_L2CAP_CHANNELS; xx++) in l2c_link_adjust_chnl_allocation()
876 p_ccb = l2cb.ccb_pool + xx; in l2c_link_adjust_chnl_allocation()
939 int xx; in l2c_link_pkts_rcvd() local
942 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2c_link_pkts_rcvd()
971 int xx; in l2c_link_role_changed() local
989 for (xx = 0, p_lcb = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2c_link_role_changed()
1086 int xx; in l2c_link_check_send_pkts() local
1124 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2c_link_check_send_pkts()
1375 UINT8 num_handles, xx; in l2c_link_process_num_completed_pkts() local
1382 for (xx = 0; xx < num_handles; xx++) in l2c_link_process_num_completed_pkts()