Lines Matching refs:rfc_mcb
145 RFCOMM_TRACE_DEBUG("rfc_alloc_multiplexer_channel rfc_cb.port.rfc_mcb[%d].state:%d",
146 i, rfc_cb.port.rfc_mcb[i].state);
147 RFCOMM_TRACE_DEBUG("(rfc_cb.port.rfc_mcb[i].bd_addr:%02x:%02x:%02x:%02x:%02x:%02x",
148 rfc_cb.port.rfc_mcb[i].bd_addr[0], rfc_cb.port.rfc_mcb[i].bd_addr[1],
149 rfc_cb.port.rfc_mcb[i].bd_addr[2], rfc_cb.port.rfc_mcb[i].bd_addr[3],
150 rfc_cb.port.rfc_mcb[i].bd_addr[4], rfc_cb.port.rfc_mcb[i].bd_addr[5]);
152 if ((rfc_cb.port.rfc_mcb[i].state != RFC_MX_STATE_IDLE)
153 && (!memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN)))
157 if (rfc_cb.port.rfc_mcb[i].state == RFC_MX_STATE_CONNECTED)
158 rfc_timer_stop (&rfc_cb.port.rfc_mcb[i]);
160 is_initiator, rfc_cb.port.rfc_mcb[i].state, &rfc_cb.port.rfc_mcb[i]);
161 return (&rfc_cb.port.rfc_mcb[i]);
171 p_mcb = &rfc_cb.port.rfc_mcb[j];
172 if (rfc_cb.port.rfc_mcb[j].state == RFC_MX_STATE_IDLE)
180 is_initiator, &rfc_cb.port.rfc_mcb[j], j);