Lines Matching refs:xx

55     int         xx;  in l2cu_allocate_lcb()  local
58 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_allocate_lcb()
264 int xx; in l2cu_find_lcb_by_bd_addr() local
267 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_find_lcb_by_bd_addr()
1216 int xx; in l2cu_send_peer_info_rsp() local
1218 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2cu_send_peer_info_rsp()
1219 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) in l2cu_send_peer_info_rsp()
1220 p[(xx + L2CAP_FIRST_FIXED_CHNL) / 8] |= 1 << ((xx + L2CAP_FIRST_FIXED_CHNL) % 8); in l2cu_send_peer_info_rsp()
1800 UINT16 xx; in l2cu_allocate_rcb() local
1802 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) in l2cu_allocate_rcb()
1881 UINT16 xx; in l2cu_find_rcb_by_psm() local
1883 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) in l2cu_find_rcb_by_psm()
2200 int xx; in l2cu_device_reset() local
2203 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_device_reset()
2226 int xx; in l2cu_create_conn() local
2253 for (xx = 0, p_lcb_cur = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; xx++, p_lcb_cur++) in l2cu_create_conn()
2309 int xx; in l2cu_get_num_hi_priority() local
2312 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_get_num_hi_priority()
2568 int xx; in l2cu_resubmit_pending_sec_req() local
2595 for (xx = 0, p_lcb = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_resubmit_pending_sec_req()
2750 int xx; in l2cu_no_dynamic_ccbs() local
2752 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2cu_no_dynamic_ccbs()
2754 …if ( (p_lcb->p_fixed_ccbs[xx] != NULL) && (p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout > timeout… in l2cu_no_dynamic_ccbs()
2755 timeout = p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout; in l2cu_no_dynamic_ccbs()
2831 for (int xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2cu_process_fixed_chnl_resp() local
2836 xx + L2CAP_FIRST_FIXED_CHNL >= L2CAP_ATT_CID && in l2cu_process_fixed_chnl_resp()
2837 xx + L2CAP_FIRST_FIXED_CHNL <= L2CAP_SMP_CID) in l2cu_process_fixed_chnl_resp()
2840 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) in l2cu_process_fixed_chnl_resp()
2842 if (p_lcb->peer_chnl_mask[(xx + L2CAP_FIRST_FIXED_CHNL) / 8] in l2cu_process_fixed_chnl_resp()
2843 & (1 << ((xx + L2CAP_FIRST_FIXED_CHNL) % 8))) in l2cu_process_fixed_chnl_resp()
2845 if (p_lcb->p_fixed_ccbs[xx]) in l2cu_process_fixed_chnl_resp()
2846 p_lcb->p_fixed_ccbs[xx]->chnl_state = CST_OPEN; in l2cu_process_fixed_chnl_resp()
2848 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_chnl_resp()
2851 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_chnl_resp()
2858 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_chnl_resp()
2861 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_chnl_resp()
2865 if (p_lcb->p_fixed_ccbs[xx]) in l2cu_process_fixed_chnl_resp()
2867 l2cu_release_ccb (p_lcb->p_fixed_ccbs[xx]); in l2cu_process_fixed_chnl_resp()
2868 p_lcb->p_fixed_ccbs[xx] = NULL; in l2cu_process_fixed_chnl_resp()
2898 for (int xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2cu_process_fixed_disc_cback() local
2900 if (p_lcb->p_fixed_ccbs[xx]) in l2cu_process_fixed_disc_cback()
2902 if (p_lcb->p_fixed_ccbs[xx] != p_lcb->p_pending_ccb) in l2cu_process_fixed_disc_cback()
2905 p_l2c_chnl_ctrl_block = p_lcb->p_fixed_ccbs[xx]; in l2cu_process_fixed_disc_cback()
2906 p_lcb->p_fixed_ccbs[xx] = NULL; in l2cu_process_fixed_disc_cback()
2909 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_disc_cback()
2912 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_disc_cback()
2917 else if ( (peer_channel_mask & (1 << (xx + L2CAP_FIRST_FIXED_CHNL))) in l2cu_process_fixed_disc_cback()
2918 && (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) ) in l2cu_process_fixed_disc_cback()
2920 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_disc_cback()
2923 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_disc_cback()
3018 int xx; in l2cu_find_lcb_by_handle() local
3021 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_find_lcb_by_handle()
3048 UINT8 xx; in l2cu_find_ccb_by_cid() local
3077 for ( xx = 0; xx < MAX_L2CAP_CHANNELS; xx++ ) in l2cu_find_ccb_by_cid()
3086 if ( xx >= MAX_L2CAP_CHANNELS ) in l2cu_find_ccb_by_cid()
3266 int xx; in l2cu_get_next_buffer_to_send() local
3268 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2cu_get_next_buffer_to_send()
3270 if ((p_ccb = p_lcb->p_fixed_ccbs[xx]) == NULL) in l2cu_get_next_buffer_to_send()
3312 if (l2cb.fixed_reg[xx].pL2CA_FixedTxComplete_Cb) in l2cu_get_next_buffer_to_send()
3313 (*l2cb.fixed_reg[xx].pL2CA_FixedTxComplete_Cb)(p_ccb->local_cid, 1); in l2cu_get_next_buffer_to_send()
3479 UINT8 xx; in l2cu_check_channel_congestion() local
3480 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx ++) in l2cu_check_channel_congestion()
3482 if (p_ccb->p_lcb->p_fixed_ccbs[xx] == p_ccb) in l2cu_check_channel_congestion()
3484 if (l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb != NULL) in l2cu_check_channel_congestion()
3485 … (* l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb)(p_ccb->p_lcb->remote_bd_addr, FALSE); in l2cu_check_channel_congestion()
3521 UINT8 xx; in l2cu_check_channel_congestion() local
3522 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx ++) in l2cu_check_channel_congestion()
3524 if (p_ccb->p_lcb->p_fixed_ccbs[xx] == p_ccb) in l2cu_check_channel_congestion()
3526 if (l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb != NULL) in l2cu_check_channel_congestion()
3527 … (* l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb)(p_ccb->p_lcb->remote_bd_addr, TRUE); in l2cu_check_channel_congestion()