Searched refs:fixed_reg (Results 1 – 10 of 10) sorted by relevance
/system/bt/stack/smp/ |
D | smp_l2c.c | 58 tL2CAP_FIXED_CHNL_REG fixed_reg; in smp_l2cap_if_init() local 60 fixed_reg.fixed_chnl_opts.mode = L2CAP_FCR_BASIC_MODE; in smp_l2cap_if_init() 61 fixed_reg.fixed_chnl_opts.max_transmit = 0; in smp_l2cap_if_init() 62 fixed_reg.fixed_chnl_opts.rtrans_tout = 0; in smp_l2cap_if_init() 63 fixed_reg.fixed_chnl_opts.mon_tout = 0; in smp_l2cap_if_init() 64 fixed_reg.fixed_chnl_opts.mps = 0; in smp_l2cap_if_init() 65 fixed_reg.fixed_chnl_opts.tx_win_sz = 0; in smp_l2cap_if_init() 67 fixed_reg.pL2CA_FixedConn_Cb = smp_connect_callback; in smp_l2cap_if_init() 68 fixed_reg.pL2CA_FixedData_Cb = smp_data_received; in smp_l2cap_if_init() 69 fixed_reg.pL2CA_FixedTxComplete_Cb = smp_tx_complete_callback; in smp_l2cap_if_init() [all …]
|
/system/bt/stack/gatt/ |
D | gatt_main.c | 94 tL2CAP_FIXED_CHNL_REG fixed_reg; in gatt_init() local 99 memset (&fixed_reg, 0, sizeof(tL2CAP_FIXED_CHNL_REG)); in gatt_init() 111 fixed_reg.fixed_chnl_opts.mode = L2CAP_FCR_BASIC_MODE; in gatt_init() 112 fixed_reg.fixed_chnl_opts.max_transmit = 0xFF; in gatt_init() 113 fixed_reg.fixed_chnl_opts.rtrans_tout = 2000; in gatt_init() 114 fixed_reg.fixed_chnl_opts.mon_tout = 12000; in gatt_init() 115 fixed_reg.fixed_chnl_opts.mps = 670; in gatt_init() 116 fixed_reg.fixed_chnl_opts.tx_win_sz = 1; in gatt_init() 118 fixed_reg.pL2CA_FixedConn_Cb = gatt_le_connect_cback; in gatt_init() 119 fixed_reg.pL2CA_FixedData_Cb = gatt_le_data_ind; in gatt_init() [all …]
|
/system/bt/stack/l2cap/ |
D | l2c_utils.c | 1228 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) in l2cu_send_peer_info_rsp() 2790 …p_ccb->fixed_chnl_idle_tout = l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].default_idle_tout; in l2cu_initialize_fixed_ccb() 2905 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) 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() 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() 2983 && (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) ) in l2cu_process_fixed_disc_cback() [all …]
|
D | l2c_api.c | 1661 l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = *p_freg; in L2CA_RegisterFixedChannel() 1687 || (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == NULL) ) in L2CA_ConnectFixedChnl() 1731 &l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].fixed_chnl_opts)) in L2CA_ConnectFixedChnl() 1747 (*l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedConn_Cb) in L2CA_ConnectFixedChnl() 1750 (*l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedConn_Cb) in L2CA_ConnectFixedChnl() 1765 &l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].fixed_chnl_opts)) in L2CA_ConnectFixedChnl() 1811 || (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == NULL) ) in L2CA_SendFixedChnlData() 1858 …if (!l2cu_initialize_fixed_ccb (p_lcb, fixed_cid, &l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CH… in L2CA_SendFixedChnlData() 1914 || (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == NULL) ) in L2CA_RemoveFixedChnl()
|
D | l2c_main.c | 210 (l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb != NULL) ) in l2c_rcv_acl_data() 216 …l2cu_initialize_fixed_ccb (p_lcb, rcv_cid, &l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].fixed… in l2c_rcv_acl_data() 223 (*l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb) in l2c_rcv_acl_data()
|
D | l2c_link.c | 464 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2c_link_hci_disc_comp() 467 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2c_link_hci_disc_comp()
|
D | l2c_ble.c | 307 …if (!l2cu_initialize_fixed_ccb (p_lcb, L2CAP_ATT_CID, &l2cb.fixed_reg[L2CAP_ATT_CID - L2CAP_FIRST_… in l2cble_scanner_conn_comp() 383 …if (!l2cu_initialize_fixed_ccb (p_lcb, L2CAP_ATT_CID, &l2cb.fixed_reg[L2CAP_ATT_CID - L2CAP_FIRST_… in l2cble_advertiser_conn_comp()
|
D | l2c_csm.c | 1030 if (l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb) in l2c_csm_config() 1031 (*l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb) in l2c_csm_config()
|
D | l2c_int.h | 497 tL2CAP_FIXED_CHNL_REG fixed_reg[L2CAP_NUM_FIXED_CHNLS]; /* Reg info for fixed channels */ member
|
D | l2c_fcr.c | 1524 if (l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb) in do_sar_reassembly() 1525 (*l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb) in do_sar_reassembly()
|