Searched refs:tPORT (Results 1 – 9 of 9) sorted by relevance
/system/bt/stack/rfcomm/ |
D | port_int.h | 206 } tPORT; typedef 211 tPORT port[MAX_RFC_PORTS]; /* Port info pool */ 218 extern tPORT* port_allocate_port(uint8_t dlci, const RawAddress& bd_addr); 219 extern void port_set_defaults(tPORT* p_port); 220 extern void port_select_mtu(tPORT* p_port); 221 extern void port_release_port(tPORT* p_port); 222 extern tPORT* port_find_mcb_dlci_port(tRFC_MCB* p_mcb, uint8_t dlci); 224 extern tPORT* port_find_dlci_port(uint8_t dlci); 225 extern tPORT* port_find_port(uint8_t dlci, const RawAddress& bd_addr); 226 extern uint32_t port_get_signal_changes(tPORT* p_port, uint8_t old_signals, [all …]
|
D | port_utils.cc | 63 tPORT* port_allocate_port(uint8_t dlci, const RawAddress& bd_addr) { in port_allocate_port() 71 tPORT* p_port = &rfc_cb.port.port[port_index]; in port_allocate_port() 74 memset(p_port, 0, sizeof(tPORT)); in port_allocate_port() 105 void port_set_defaults(tPORT* p_port) { in port_set_defaults() 140 void port_select_mtu(tPORT* p_port) { in port_select_mtu() 203 void port_release_port(tPORT* p_port) { in port_release_port() 269 memset(p_port, 0, sizeof(tPORT)); in port_release_port() 307 tPORT* port_find_mcb_dlci_port(tRFC_MCB* p_mcb, uint8_t dlci) { in port_find_mcb_dlci_port() 339 tPORT* port_find_dlci_port(uint8_t dlci) { in port_find_dlci_port() 340 for (tPORT& port : rfc_cb.port.port) { in port_find_dlci_port() [all …]
|
D | rfc_utils.cc | 253 void rfc_port_timer_start(tPORT* p_port, uint16_t timeout) { in rfc_port_timer_start() 268 void rfc_port_timer_stop(tPORT* p_port) { in rfc_port_timer_stop() 303 tPORT* p_port = (tPORT*)data; in rfcomm_port_timer_timeout() 327 tPORT* p_port = (tPORT*)p_ref_data; in rfc_sec_check_complete() 335 rfc_port_sm_execute((tPORT*)p_ref_data, RFC_EVENT_SEC_COMPLETE, &res); in rfc_sec_check_complete() 349 void rfc_port_closed(tPORT* p_port) { in rfc_port_closed() 377 void rfc_inc_credit(tPORT* p_port, uint8_t credit) { in rfc_inc_credit() 398 void rfc_dec_credit(tPORT* p_port) { in rfc_dec_credit()
|
D | port_rfc.cc | 44 uint32_t port_rfc_send_tx_data(tPORT* p_port); 45 void port_rfc_closed(tPORT* p_port, uint8_t res); 46 void port_get_credits(tPORT* p_port, uint8_t k); 58 int port_open_continue(tPORT* p_port) { in port_open_continue() 104 void port_start_control(tPORT* p_port) { in port_start_control() 122 void port_start_par_neg(tPORT* p_port) { in port_start_par_neg() 141 void port_start_close(tPORT* p_port) { in port_start_close() 192 tPORT* p_port = &rfc_cb.port.port[0]; in PORT_StartCnf() 245 tPORT* p_port; in PORT_StartInd() 276 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in PORT_ParNegInd() [all …]
|
D | rfc_port_if.cc | 84 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_DlcEstablishReq() 108 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_DlcEstablishRsp() 133 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_ParameterNegotiationRequest() 202 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_PortParameterNegotiationRequest() 243 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_ControlReq() 271 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_FlowReq() 298 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); in RFCOMM_LineStatusReq()
|
D | port_api.cc | 142 tPORT* p_port; in RFCOMM_CreateConnection() 253 tPORT* p_port; in RFCOMM_RemoveConnection() 291 tPORT* p_port = &rfc_cb.port.port[handle - 1]; in RFCOMM_RemoveServer() 327 tPORT* p_port; in PORT_SetEventCallback() 357 tPORT* p_port; in PORT_ClearKeepHandleFlag() 383 tPORT* p_port; in PORT_SetDataCallback() 418 tPORT* p_port; in PORT_SetDataCOCallback() 450 tPORT* p_port; in PORT_SetEventMask() 489 tPORT* p_port = &rfc_cb.port.port[handle - 1]; in PORT_CheckConnection() 534 tPORT* p_port = nullptr; in PORT_IsOpening() [all …]
|
D | rfc_port_fsm.cc | 48 static void rfc_port_sm_state_closed(tPORT* p_port, uint16_t event, 50 static void rfc_port_sm_sabme_wait_ua(tPORT* p_port, uint16_t event, 52 static void rfc_port_sm_opened(tPORT* p_port, uint16_t event, void* p_data); 53 static void rfc_port_sm_orig_wait_sec_check(tPORT* p_port, uint16_t event, 55 static void rfc_port_sm_term_wait_sec_check(tPORT* p_port, uint16_t event, 57 static void rfc_port_sm_disc_wait_ua(tPORT* p_port, uint16_t event, 60 static void rfc_port_uplink_data(tPORT* p_port, BT_HDR* p_buf); 74 void rfc_port_sm_execute(tPORT* p_port, uint16_t event, void* p_data) { in rfc_port_sm_execute() 118 void rfc_port_sm_state_closed(tPORT* p_port, uint16_t event, void* p_data) { in rfc_port_sm_state_closed() 189 void rfc_port_sm_sabme_wait_ua(tPORT* p_port, uint16_t event, void* p_data) { in rfc_port_sm_sabme_wait_ua() [all …]
|
D | rfc_int.h | 281 extern void rfc_port_sm_execute(tPORT* p_port, uint16_t event, void* p_data); 305 extern void rfc_port_timer_start(tPORT* p_port, uint16_t tout); 306 extern void rfc_port_timer_stop(tPORT* p_port); 313 extern void rfc_port_closed(tPORT* p_port); 317 extern void rfc_inc_credit(tPORT* p_port, uint8_t credit); 318 extern void rfc_dec_credit(tPORT* p_port);
|
D | rfc_l2cap_if.cc | 319 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, rfc_cb.rfc.rx_frame.dlci); in RFCOMM_BufDataInd()
|