Lines Matching refs:rfc_cb
142 RFCOMM_TRACE_DEBUG2("rfc_alloc_multiplexer_channel rfc_cb.port.rfc_mcb[%d].state:%d",
143 i, rfc_cb.port.rfc_mcb[i].state);
144 RFCOMM_TRACE_DEBUG6("(rfc_cb.port.rfc_mcb[i].bd_addr:%02x:%02x:%02x:%02x:%02x:%02x",
145 rfc_cb.port.rfc_mcb[i].bd_addr[0], rfc_cb.port.rfc_mcb[i].bd_addr[1],
146 rfc_cb.port.rfc_mcb[i].bd_addr[2], rfc_cb.port.rfc_mcb[i].bd_addr[3],
147 rfc_cb.port.rfc_mcb[i].bd_addr[4], rfc_cb.port.rfc_mcb[i].bd_addr[5]);
149 if ((rfc_cb.port.rfc_mcb[i].state != RFC_MX_STATE_IDLE)
150 && (!memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN)))
154 if (rfc_cb.port.rfc_mcb[i].state == RFC_MX_STATE_CONNECTED)
155 rfc_timer_stop (&rfc_cb.port.rfc_mcb[i]);
157 is_initiator, rfc_cb.port.rfc_mcb[i].state, &rfc_cb.port.rfc_mcb[i]);
158 return (&rfc_cb.port.rfc_mcb[i]);
163 for (i = 0, j = rfc_cb.rfc.last_mux + 1; i < MAX_BD_CONNECTIONS; i++, j++)
168 p_mcb = &rfc_cb.port.rfc_mcb[j];
169 if (rfc_cb.port.rfc_mcb[j].state == RFC_MX_STATE_IDLE)
175 is_initiator, &rfc_cb.port.rfc_mcb[j], j);
183 rfc_cb.rfc.last_mux = (UINT8) j;