• Home
  • Raw
  • Download

Lines Matching refs:xx

56     int         xx;  in l2cu_allocate_lcb()  local
59 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_allocate_lcb()
284 int xx; in l2cu_find_lcb_by_bd_addr() local
287 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_find_lcb_by_bd_addr()
1219 int xx; in l2cu_send_peer_info_rsp() local
1221 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2cu_send_peer_info_rsp()
1224 if((xx >= L2CAP_ATT_CID - L2CAP_FIRST_FIXED_CHNL) && in l2cu_send_peer_info_rsp()
1225 (xx <= L2CAP_SMP_CID - L2CAP_FIRST_FIXED_CHNL)) in l2cu_send_peer_info_rsp()
1228 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) in l2cu_send_peer_info_rsp()
1229 p[(xx + L2CAP_FIRST_FIXED_CHNL) / 8] |= 1 << ((xx + L2CAP_FIRST_FIXED_CHNL) % 8); in l2cu_send_peer_info_rsp()
1801 UINT16 xx; in l2cu_allocate_rcb() local
1803 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) in l2cu_allocate_rcb()
1833 UINT16 xx; in l2cu_allocate_ble_rcb() local
1835 for (xx = 0; xx < BLE_MAX_L2CAP_CLIENTS; xx++, p_rcb++) in l2cu_allocate_ble_rcb()
1913 UINT16 xx; in l2cu_find_rcb_by_psm() local
1915 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) in l2cu_find_rcb_by_psm()
1938 UINT16 xx; in l2cu_find_ble_rcb_by_psm() local
1940 for (xx = 0; xx < BLE_MAX_L2CAP_CLIENTS; xx++, p_rcb++) in l2cu_find_ble_rcb_by_psm()
2256 int xx; in l2cu_device_reset() local
2259 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_device_reset()
2282 int xx; in l2cu_create_conn() local
2309 for (xx = 0, p_lcb_cur = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; xx++, p_lcb_cur++) in l2cu_create_conn()
2368 int xx; in l2cu_get_num_hi_priority() local
2371 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_get_num_hi_priority()
2629 int xx; in l2cu_resubmit_pending_sec_req() local
2656 for (xx = 0, p_lcb = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_resubmit_pending_sec_req()
2813 int xx; in l2cu_no_dynamic_ccbs() local
2815 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2cu_no_dynamic_ccbs()
2817 if ((p_lcb->p_fixed_ccbs[xx] != NULL) && in l2cu_no_dynamic_ccbs()
2818 (p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout * 1000 > timeout_ms)) { in l2cu_no_dynamic_ccbs()
2819 timeout_ms = p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout * 1000; in l2cu_no_dynamic_ccbs()
2896 for (int xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2cu_process_fixed_chnl_resp() local
2901 xx + L2CAP_FIRST_FIXED_CHNL >= L2CAP_ATT_CID && in l2cu_process_fixed_chnl_resp()
2902 xx + L2CAP_FIRST_FIXED_CHNL <= L2CAP_SMP_CID) in l2cu_process_fixed_chnl_resp()
2905 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) in l2cu_process_fixed_chnl_resp()
2907 if (p_lcb->peer_chnl_mask[(xx + L2CAP_FIRST_FIXED_CHNL) / 8] in l2cu_process_fixed_chnl_resp()
2908 & (1 << ((xx + L2CAP_FIRST_FIXED_CHNL) % 8))) in l2cu_process_fixed_chnl_resp()
2910 if (p_lcb->p_fixed_ccbs[xx]) in l2cu_process_fixed_chnl_resp()
2911 p_lcb->p_fixed_ccbs[xx]->chnl_state = CST_OPEN; in l2cu_process_fixed_chnl_resp()
2913 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_chnl_resp()
2916 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_chnl_resp()
2923 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_chnl_resp()
2926 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_chnl_resp()
2930 if (p_lcb->p_fixed_ccbs[xx]) in l2cu_process_fixed_chnl_resp()
2932 l2cu_release_ccb (p_lcb->p_fixed_ccbs[xx]); in l2cu_process_fixed_chnl_resp()
2933 p_lcb->p_fixed_ccbs[xx] = NULL; in l2cu_process_fixed_chnl_resp()
2963 for (int xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2cu_process_fixed_disc_cback() local
2965 if (p_lcb->p_fixed_ccbs[xx]) in l2cu_process_fixed_disc_cback()
2967 if (p_lcb->p_fixed_ccbs[xx] != p_lcb->p_pending_ccb) in l2cu_process_fixed_disc_cback()
2970 p_l2c_chnl_ctrl_block = p_lcb->p_fixed_ccbs[xx]; in l2cu_process_fixed_disc_cback()
2971 p_lcb->p_fixed_ccbs[xx] = NULL; in l2cu_process_fixed_disc_cback()
2974 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_disc_cback()
2977 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_disc_cback()
2982 else if ( (peer_channel_mask & (1 << (xx + L2CAP_FIRST_FIXED_CHNL))) in l2cu_process_fixed_disc_cback()
2983 && (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) ) in l2cu_process_fixed_disc_cback()
2985 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_disc_cback()
2988 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_disc_cback()
3291 int xx; in l2cu_find_lcb_by_handle() local
3294 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_find_lcb_by_handle()
3321 UINT8 xx; in l2cu_find_ccb_by_cid() local
3350 for ( xx = 0; xx < MAX_L2CAP_CHANNELS; xx++ ) in l2cu_find_ccb_by_cid()
3359 if ( xx >= MAX_L2CAP_CHANNELS ) in l2cu_find_ccb_by_cid()
3542 int xx; in l2cu_get_next_buffer_to_send() local
3544 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2cu_get_next_buffer_to_send()
3546 if ((p_ccb = p_lcb->p_fixed_ccbs[xx]) == NULL) in l2cu_get_next_buffer_to_send()
3584 if (l2cb.fixed_reg[xx].pL2CA_FixedTxComplete_Cb) in l2cu_get_next_buffer_to_send()
3585 (*l2cb.fixed_reg[xx].pL2CA_FixedTxComplete_Cb)(p_ccb->local_cid, 1); in l2cu_get_next_buffer_to_send()
3768 UINT8 xx; in l2cu_check_channel_congestion() local
3769 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx ++) in l2cu_check_channel_congestion()
3771 if (p_ccb->p_lcb->p_fixed_ccbs[xx] == p_ccb) in l2cu_check_channel_congestion()
3773 if (l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb != NULL) in l2cu_check_channel_congestion()
3774 … (* l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb)(p_ccb->p_lcb->remote_bd_addr, FALSE); in l2cu_check_channel_congestion()
3811 UINT8 xx; in l2cu_check_channel_congestion() local
3812 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx ++) in l2cu_check_channel_congestion()
3814 if (p_ccb->p_lcb->p_fixed_ccbs[xx] == p_ccb) in l2cu_check_channel_congestion()
3816 if (l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb != NULL) in l2cu_check_channel_congestion()
3817 … (* l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb)(p_ccb->p_lcb->remote_bd_addr, TRUE); in l2cu_check_channel_congestion()