Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_l2c.cc59 tL2CAP_FIXED_CHNL_REG fixed_reg; in smp_l2cap_if_init() local
62 fixed_reg.pL2CA_FixedConn_Cb = smp_connect_callback; in smp_l2cap_if_init()
63 fixed_reg.pL2CA_FixedData_Cb = smp_data_received; in smp_l2cap_if_init()
65 fixed_reg.pL2CA_FixedCong_Cb = in smp_l2cap_if_init()
67 fixed_reg.default_idle_tout = in smp_l2cap_if_init()
70 L2CA_RegisterFixedChannel(L2CAP_SMP_CID, &fixed_reg); in smp_l2cap_if_init()
72 fixed_reg.pL2CA_FixedConn_Cb = smp_br_connect_callback; in smp_l2cap_if_init()
73 fixed_reg.pL2CA_FixedData_Cb = smp_br_data_received; in smp_l2cap_if_init()
75 L2CA_RegisterFixedChannel(L2CAP_SMP_BR_CID, &fixed_reg); in smp_l2cap_if_init()
/system/bt/stack/gatt/
Dgatt_main.cc98 tL2CAP_FIXED_CHNL_REG fixed_reg; in gatt_init() local
104 memset(&fixed_reg, 0, sizeof(tL2CAP_FIXED_CHNL_REG)); in gatt_init()
109 fixed_reg.pL2CA_FixedConn_Cb = gatt_le_connect_cback; in gatt_init()
110 fixed_reg.pL2CA_FixedData_Cb = gatt_le_data_ind; in gatt_init()
111 fixed_reg.pL2CA_FixedCong_Cb = gatt_le_cong_cback; /* congestion callback */ in gatt_init()
112 fixed_reg.default_idle_tout = 0xffff; /* 0xffff default idle timeout */ in gatt_init()
114 L2CA_RegisterFixedChannel(L2CAP_ATT_CID, &fixed_reg); in gatt_init()
/system/bt/stack/l2cap/
Dl2c_api.cc1129 l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = *p_freg; in L2CA_RegisterFixedChannel()
1160 (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == in L2CA_ConnectFixedChnl()
1212 (*l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedConn_Cb)( in L2CA_ConnectFixedChnl()
1275 (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == in L2CA_SendFixedChnlData()
1380 (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == in L2CA_RemoveFixedChnl()
Dl2c_utils.cc1132 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) in l2cu_send_peer_info_rsp()
2438 l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].default_idle_tout; in l2cu_initialize_fixed_ccb()
2545 if (!l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb) continue; in l2cu_process_fixed_chnl_resp()
2550 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_chnl_resp()
2553 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_chnl_resp()
2590 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_disc_cback()
2595 (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL)) in l2cu_process_fixed_disc_cback()
2596 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_disc_cback()
3237 if (l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb != NULL) in send_congestion_status_to_all_clients()
3238 (*l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb)(p_ccb->p_lcb->remote_bd_addr, in send_congestion_status_to_all_clients()
Dl2c_main.cc190 (l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb != in l2c_rcv_acl_data()
207 (*l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb)( in l2c_rcv_acl_data()
Dl2c_int.h605 fixed_reg[L2CAP_NUM_FIXED_CHNLS]; /* Reg info for fixed channels */ member
Dl2c_csm.cc1100 if (l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in l2c_csm_config()
1103 (*l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in l2c_csm_config()
Dl2c_fcr.cc1243 if (l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in do_sar_reassembly()
1245 (*l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in do_sar_reassembly()
Dl2c_link.cc406 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2c_link_hci_disc_comp()