Lines Matching refs:xx

70   int xx;  in l2cu_allocate_lcb()  local
73 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2cu_allocate_lcb()
247 int xx; in l2cu_find_lcb_by_bd_addr() local
250 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2cu_find_lcb_by_bd_addr()
1140 int xx; in l2cu_send_peer_info_rsp() local
1142 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) { in l2cu_send_peer_info_rsp()
1144 if ((xx >= L2CAP_ATT_CID - L2CAP_FIRST_FIXED_CHNL) && in l2cu_send_peer_info_rsp()
1145 (xx <= L2CAP_SMP_CID - L2CAP_FIRST_FIXED_CHNL)) in l2cu_send_peer_info_rsp()
1148 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) in l2cu_send_peer_info_rsp()
1149 p[(xx + L2CAP_FIRST_FIXED_CHNL) / 8] |= in l2cu_send_peer_info_rsp()
1150 1 << ((xx + L2CAP_FIRST_FIXED_CHNL) % 8); in l2cu_send_peer_info_rsp()
1687 uint16_t xx; in l2cu_allocate_rcb() local
1689 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2cu_allocate_rcb()
1713 uint16_t xx; in l2cu_allocate_ble_rcb() local
1715 for (xx = 0; xx < BLE_MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2cu_allocate_ble_rcb()
1797 uint16_t xx; in l2cu_find_rcb_by_psm() local
1799 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2cu_find_rcb_by_psm()
1819 uint16_t xx; in l2cu_find_ble_rcb_by_psm() local
1821 for (xx = 0; xx < BLE_MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2cu_find_ble_rcb_by_psm()
2101 int xx; in l2cu_device_reset() local
2104 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2cu_device_reset()
2136 int xx; in l2cu_create_conn_br_edr() local
2143 for (xx = 0, p_lcb_cur = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; in l2cu_create_conn_br_edr()
2144 xx++, p_lcb_cur++) { in l2cu_create_conn_br_edr()
2195 int xx; in l2cu_get_num_hi_priority() local
2198 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2cu_get_num_hi_priority()
2428 int xx; in l2cu_resubmit_pending_sec_req() local
2448 for (xx = 0, p_lcb = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; in l2cu_resubmit_pending_sec_req()
2449 xx++, p_lcb++) { in l2cu_resubmit_pending_sec_req()
2590 int xx; in l2cu_no_dynamic_ccbs() local
2592 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) { in l2cu_no_dynamic_ccbs()
2593 if ((p_lcb->p_fixed_ccbs[xx] != NULL) && in l2cu_no_dynamic_ccbs()
2594 (p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout * 1000 > timeout_ms)) { in l2cu_no_dynamic_ccbs()
2596 if (p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout == L2CAP_NO_IDLE_TIMEOUT) { in l2cu_no_dynamic_ccbs()
2598 p_lcb->p_fixed_ccbs[xx]->local_cid); in l2cu_no_dynamic_ccbs()
2601 timeout_ms = p_lcb->p_fixed_ccbs[xx]->fixed_chnl_idle_tout * 1000; in l2cu_no_dynamic_ccbs()
2664 for (int xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) { in l2cu_process_fixed_chnl_resp() local
2665 uint16_t channel_id = xx + L2CAP_FIRST_FIXED_CHNL; in l2cu_process_fixed_chnl_resp()
2678 if (!l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb) continue; in l2cu_process_fixed_chnl_resp()
2681 if (p_lcb->p_fixed_ccbs[xx]) in l2cu_process_fixed_chnl_resp()
2682 p_lcb->p_fixed_ccbs[xx]->chnl_state = CST_OPEN; in l2cu_process_fixed_chnl_resp()
2683 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_chnl_resp()
2686 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_chnl_resp()
2690 if (p_lcb->p_fixed_ccbs[xx]) { in l2cu_process_fixed_chnl_resp()
2691 l2cu_release_ccb(p_lcb->p_fixed_ccbs[xx]); in l2cu_process_fixed_chnl_resp()
2692 p_lcb->p_fixed_ccbs[xx] = NULL; in l2cu_process_fixed_chnl_resp()
2718 for (int xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) { in l2cu_process_fixed_disc_cback() local
2719 if (p_lcb->p_fixed_ccbs[xx]) { in l2cu_process_fixed_disc_cback()
2720 if (p_lcb->p_fixed_ccbs[xx] != p_lcb->p_pending_ccb) { in l2cu_process_fixed_disc_cback()
2722 p_l2c_chnl_ctrl_block = p_lcb->p_fixed_ccbs[xx]; in l2cu_process_fixed_disc_cback()
2723 p_lcb->p_fixed_ccbs[xx] = NULL; in l2cu_process_fixed_disc_cback()
2725 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_disc_cback()
2726 xx + L2CAP_FIRST_FIXED_CHNL, p_lcb->remote_bd_addr, false, in l2cu_process_fixed_disc_cback()
2729 } else if ((peer_channel_mask & (1 << (xx + L2CAP_FIRST_FIXED_CHNL))) && in l2cu_process_fixed_disc_cback()
2730 (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL)) in l2cu_process_fixed_disc_cback()
2731 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_disc_cback()
2732 xx + L2CAP_FIRST_FIXED_CHNL, p_lcb->remote_bd_addr, false, in l2cu_process_fixed_disc_cback()
3030 int xx; in l2cu_find_lcb_by_handle() local
3033 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) { in l2cu_find_lcb_by_handle()
3235 int xx; in l2cu_get_next_buffer_to_send() local
3239 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) { in l2cu_get_next_buffer_to_send()
3240 p_ccb = p_lcb->p_fixed_ccbs[xx]; in l2cu_get_next_buffer_to_send()
3272 p_cbi->cb = l2cb.fixed_reg[xx].pL2CA_FixedTxComplete_Cb; in l2cu_get_next_buffer_to_send()
3412 for (uint8_t xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) { in send_congestion_status_to_all_clients() local
3413 if (p_ccb->p_lcb->p_fixed_ccbs[xx] == p_ccb) { in send_congestion_status_to_all_clients()
3414 if (l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb != NULL) in send_congestion_status_to_all_clients()
3415 (*l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb)(p_ccb->p_lcb->remote_bd_addr, in send_congestion_status_to_all_clients()