Home
last modified time | relevance | path

Searched refs:rfc_mcb (Results 1 – 4 of 4) sorted by relevance

/external/bluetooth/bluedroid/stack/rfcomm/
Drfc_utils.c143 i, rfc_cb.port.rfc_mcb[i].state); in rfc_alloc_multiplexer_channel()
145 … rfc_cb.port.rfc_mcb[i].bd_addr[0], rfc_cb.port.rfc_mcb[i].bd_addr[1], in rfc_alloc_multiplexer_channel()
146 … rfc_cb.port.rfc_mcb[i].bd_addr[2], rfc_cb.port.rfc_mcb[i].bd_addr[3], in rfc_alloc_multiplexer_channel()
147 … rfc_cb.port.rfc_mcb[i].bd_addr[4], rfc_cb.port.rfc_mcb[i].bd_addr[5]); in rfc_alloc_multiplexer_channel()
149 if ((rfc_cb.port.rfc_mcb[i].state != RFC_MX_STATE_IDLE) in rfc_alloc_multiplexer_channel()
150 && (!memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN))) in rfc_alloc_multiplexer_channel()
154 if (rfc_cb.port.rfc_mcb[i].state == RFC_MX_STATE_CONNECTED) in rfc_alloc_multiplexer_channel()
155 rfc_timer_stop (&rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel()
157 … is_initiator, rfc_cb.port.rfc_mcb[i].state, &rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel()
158 return (&rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel()
[all …]
Dport_utils.c288 if ((rfc_cb.port.rfc_mcb[i].state != RFC_MX_STATE_IDLE) in port_find_mcb()
289 && !memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN)) in port_find_mcb()
295 i, &rfc_cb.port.rfc_mcb[i], rfc_cb.port.rfc_mcb[i].lcid); in port_find_mcb()
296 return (&rfc_cb.port.rfc_mcb[i]); in port_find_mcb()
Dport_api.c515 if ((rfc_cb.port.rfc_mcb[xx].state > RFC_MX_STATE_IDLE) && in PORT_IsOpening()
516 (rfc_cb.port.rfc_mcb[xx].state < RFC_MX_STATE_CONNECTED)) in PORT_IsOpening()
518 memcpy (bd_addr, rfc_cb.port.rfc_mcb[xx].bd_addr, BD_ADDR_LEN); in PORT_IsOpening()
522 if (rfc_cb.port.rfc_mcb[xx].state == RFC_MX_STATE_CONNECTED) in PORT_IsOpening()
525 p_mcb = &rfc_cb.port.rfc_mcb[xx]; in PORT_IsOpening()
541 memcpy (bd_addr, rfc_cb.port.rfc_mcb[xx].bd_addr, BD_ADDR_LEN); in PORT_IsOpening()
Dport_int.h216 tRFC_MCB rfc_mcb[MAX_BD_CONNECTIONS]; /* RFCOMM bd_connections pool */ member