Lines Matching refs:p_dcb
964 tBTA_HL_MDL_CB *p_dcb; in bta_hl_api_dch_open() local
979 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_api_dch_open()
998 p_dcb->in_use = TRUE; in bta_hl_api_dch_open()
999 p_dcb->dch_oper = BTA_HL_DCH_OP_LOCAL_OPEN; in bta_hl_api_dch_open()
1000 p_dcb->sec_mask = p_data->api_dch_open.sec_mask; in bta_hl_api_dch_open()
1001 … p_dcb->local_mdep_id = p_data->api_dch_open.local_mdep_id; in bta_hl_api_dch_open()
1002 p_dcb->peer_mdep_id = p_data->api_dch_open.peer_mdep_id; in bta_hl_api_dch_open()
1006 p_dcb->peer_mdep_role = BTA_HL_MDEP_ROLE_SOURCE; in bta_hl_api_dch_open()
1010 p_dcb->peer_mdep_role = BTA_HL_MDEP_ROLE_SINK; in bta_hl_api_dch_open()
1013 p_dcb->local_mdep_cfg_idx = mdep_cfg_idx; in bta_hl_api_dch_open()
1014 p_dcb->local_cfg = p_data->api_dch_open.local_cfg; in bta_hl_api_dch_open()
1017 &p_dcb->max_rx_apdu_size, in bta_hl_api_dch_open()
1018 &p_dcb->max_tx_apdu_size); in bta_hl_api_dch_open()
1019 … p_dcb->mdl_id = bta_hl_allocate_mdl_id(app_idx,mcl_idx,mdl_idx); in bta_hl_api_dch_open()
1020 p_dcb->mdl_cfg_idx_included = FALSE; in bta_hl_api_dch_open()
1118 tBTA_HL_MDL_CB *p_dcb; in bta_hl_api_dch_close() local
1123 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_api_dch_close()
1124 if (p_dcb->dch_state != BTA_HL_DCH_OPEN_ST) in bta_hl_api_dch_close()
1187 tBTA_HL_MDL_CB *p_dcb; in bta_hl_api_dch_reconnect() local
1201 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_api_dch_reconnect()
1214 p_dcb->in_use = TRUE; in bta_hl_api_dch_reconnect()
1215 p_dcb->dch_oper = BTA_HL_DCH_OP_LOCAL_RECONNECT; in bta_hl_api_dch_reconnect()
1216 … p_dcb->sec_mask = (BTA_SEC_AUTHENTICATE | BTA_SEC_ENCRYPT); in bta_hl_api_dch_reconnect()
1217 … p_dcb->local_mdep_id = p_acb->mdl_cfg[mdl_cfg_idx].local_mdep_id; in bta_hl_api_dch_reconnect()
1218 p_dcb->local_mdep_cfg_idx = mdep_cfg_idx; in bta_hl_api_dch_reconnect()
1219 p_dcb->local_cfg = BTA_HL_DCH_CFG_UNKNOWN; in bta_hl_api_dch_reconnect()
1220 p_dcb->mdl_id = p_data->api_dch_reconnect.mdl_id; in bta_hl_api_dch_reconnect()
1221 p_dcb->mdl_cfg_idx_included = TRUE; in bta_hl_api_dch_reconnect()
1222 p_dcb->mdl_cfg_idx = mdl_cfg_idx; in bta_hl_api_dch_reconnect()
1223 p_dcb->dch_mode = p_acb->mdl_cfg[mdl_cfg_idx].dch_mode; in bta_hl_api_dch_reconnect()
1229 p_dcb->peer_mdep_role = BTA_HL_MDEP_ROLE_SOURCE; in bta_hl_api_dch_reconnect()
1234 p_dcb->peer_mdep_role = BTA_HL_MDEP_ROLE_SINK; in bta_hl_api_dch_reconnect()
1239 &p_dcb->max_rx_apdu_size, in bta_hl_api_dch_reconnect()
1240 &p_dcb->max_tx_apdu_size); in bta_hl_api_dch_reconnect()
1328 tBTA_HL_MDL_CB *p_dcb; in bta_hl_api_dch_echo_test() local
1342 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_api_dch_echo_test()
1347 … if ((p_dcb->p_echo_tx_pkt = bta_hl_get_buf(p_data->api_dch_echo_test.pkt_size)) != NULL ) in bta_hl_api_dch_echo_test()
1351 p_dcb->in_use = TRUE; in bta_hl_api_dch_echo_test()
1352 p_dcb->dch_oper = BTA_HL_DCH_OP_LOCAL_OPEN; in bta_hl_api_dch_echo_test()
1353 … p_dcb->sec_mask = (BTA_SEC_AUTHENTICATE | BTA_SEC_ENCRYPT); in bta_hl_api_dch_echo_test()
1354 p_dcb->local_mdep_cfg_idx = BTA_HL_ECHO_TEST_MDEP_CFG_IDX; in bta_hl_api_dch_echo_test()
1355 … p_dcb->local_cfg = p_data->api_dch_echo_test.local_cfg; in bta_hl_api_dch_echo_test()
1356 p_dcb->local_mdep_id = BTA_HL_ECHO_TEST_MDEP_ID; in bta_hl_api_dch_echo_test()
1357 p_dcb->peer_mdep_id = BTA_HL_ECHO_TEST_MDEP_ID; in bta_hl_api_dch_echo_test()
1358 … p_dcb->mdl_id = bta_hl_allocate_mdl_id(app_idx,mcl_idx,mdl_idx); in bta_hl_api_dch_echo_test()
1359 p_dcb->mdl_cfg_idx_included = FALSE; in bta_hl_api_dch_echo_test()
1361 p_dcb->max_rx_apdu_size = p_echo_cfg->max_rx_apdu_size; in bta_hl_api_dch_echo_test()
1362 p_dcb->max_tx_apdu_size = p_echo_cfg->max_tx_apdu_size; in bta_hl_api_dch_echo_test()
1809 tBTA_HL_MDL_CB *p_dcb; in bta_hl_mca_delete_mdl_ind() local
1820 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_mca_delete_mdl_ind()
1821 p_dcb->dch_oper = BTA_HL_DCH_OP_REMOTE_DELETE; in bta_hl_mca_delete_mdl_ind()
1872 tBTA_HL_MDL_CB *p_dcb; in bta_hl_api_dch_abort() local
1885 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_api_dch_abort()
1886 if (p_dcb->abort_oper) in bta_hl_api_dch_abort()
1893 p_dcb->abort_oper = BTA_HL_ABORT_LOCAL_MASK; in bta_hl_api_dch_abort()