Home
last modified time | relevance | path

Searched refs:fixed_reg (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/stack/smp/
Dsmp_l2c.cc65 tL2CAP_FIXED_CHNL_REG fixed_reg; in smp_l2cap_if_init() local
68 fixed_reg.pL2CA_FixedConn_Cb = smp_connect_callback; in smp_l2cap_if_init()
69 fixed_reg.pL2CA_FixedData_Cb = smp_data_received; in smp_l2cap_if_init()
70 fixed_reg.pL2CA_FixedTxComplete_Cb = smp_tx_complete_callback; in smp_l2cap_if_init()
72 fixed_reg.pL2CA_FixedCong_Cb = in smp_l2cap_if_init()
74 fixed_reg.default_idle_tout = in smp_l2cap_if_init()
77 if (!L2CA_RegisterFixedChannel(L2CAP_SMP_CID, &fixed_reg)) { in smp_l2cap_if_init()
82 fixed_reg.pL2CA_FixedConn_Cb = smp_br_connect_callback; in smp_l2cap_if_init()
83 fixed_reg.pL2CA_FixedData_Cb = smp_br_data_received; in smp_l2cap_if_init()
85 if (!L2CA_RegisterFixedChannel(L2CAP_SMP_BR_CID, &fixed_reg)) { in smp_l2cap_if_init()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_main.cc113 tL2CAP_FIXED_CHNL_REG fixed_reg; in gatt_init() local
119 memset(&fixed_reg, 0, sizeof(tL2CAP_FIXED_CHNL_REG)); in gatt_init()
124 fixed_reg.pL2CA_FixedConn_Cb = gatt_le_connect_cback; in gatt_init()
125 fixed_reg.pL2CA_FixedData_Cb = gatt_le_data_ind; in gatt_init()
126 fixed_reg.pL2CA_FixedCong_Cb = gatt_le_cong_cback; /* congestion callback */ in gatt_init()
131 fixed_reg.default_idle_tout = L2CAP_NO_IDLE_TIMEOUT; in gatt_init()
133 if (!L2CA_RegisterFixedChannel(L2CAP_ATT_CID, &fixed_reg)) { in gatt_init()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_api.cc1161 l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = *p_freg; in L2CA_RegisterFixedChannel()
1187 (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == in L2CA_ConnectFixedChnl()
1239 (*l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedConn_Cb)( in L2CA_ConnectFixedChnl()
1300 (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == in L2CA_SendFixedChnlData()
1402 (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == in L2CA_RemoveFixedChnl()
Dl2c_utils.cc1130 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) in l2cu_send_peer_info_rsp()
2701 l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].default_idle_tout; in l2cu_initialize_fixed_ccb()
2821 if (!l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb) continue; in l2cu_process_fixed_chnl_resp()
2826 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_chnl_resp()
2829 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_chnl_resp()
2866 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_disc_cback()
2871 (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL)) in l2cu_process_fixed_disc_cback()
2872 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_disc_cback()
3516 if (l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb != NULL) in send_congestion_status_to_all_clients()
3517 (*l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb)(p_ccb->p_lcb->remote_bd_addr, in send_congestion_status_to_all_clients()
Dl2c_main.cc160 (l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb != in l2c_rcv_acl_data()
177 (*l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb)( in l2c_rcv_acl_data()
Dl2c_link.cc384 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2c_link_hci_disc_comp()
1319 p_cbi->cb = l2cb.fixed_reg[xx].pL2CA_FixedTxComplete_Cb; in l2cu_get_next_buffer_to_send()
Dl2c_csm.cc1225 if (l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in l2c_csm_config()
1228 (*l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in l2c_csm_config()
Dl2c_fcr.cc1248 if (l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in do_sar_reassembly()
1250 (*l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in do_sar_reassembly()
Dl2c_int.h626 fixed_reg[L2CAP_NUM_FIXED_CHNLS]; /* Reg info for fixed channels */ member