Lines Matching refs:rfc

66   for (xx = 0, yy = rfc_cb.rfc.last_port + 1; xx < MAX_RFC_PORTS; xx++, yy++) {  in port_allocate_port()
79 p_port->rfc.port_timer = alarm_new("rfcomm_port.port_timer"); in port_allocate_port()
80 rfc_cb.rfc.last_port = yy; in port_allocate_port()
86 p_port, rfc_cb.rfc.last_port); in port_allocate_port()
208 p_port, p_port->rfc.state, p_port->keep_port_handle); in port_release_port()
221 alarm_cancel(p_port->rfc.port_timer); in port_release_port()
225 if (p_port->rfc.state == RFC_STATE_CLOSED) { in port_release_port()
226 if (p_port->rfc.p_mcb) { in port_release_port()
227 p_port->rfc.p_mcb->port_inx[p_port->dlci] = 0; in port_release_port()
230 rfc_check_mcb_active(p_port->rfc.p_mcb); in port_release_port()
256 p_port->rfc.p_mcb = NULL; in port_release_port()
263 alarm_free(p_port->rfc.port_timer); in port_release_port()
345 if (p_port->in_use && (p_port->rfc.p_mcb == NULL)) { in port_find_dlci_port()
397 bool fc = p_port->tx.peer_fc || !p_port->rfc.p_mcb || in port_flow_control_user()
398 !p_port->rfc.p_mcb->peer_ready || in port_flow_control_user()
463 if (!p_port->rfc.p_mcb) return; in port_flow_control_peer()
466 if (p_port->rfc.p_mcb->flow == PORT_FC_CREDIT) { in port_flow_control_peer()
481 rfc_send_credit(p_port->rfc.p_mcb, p_port->dlci, in port_flow_control_peer()
513 RFCOMM_FlowReq(p_port->rfc.p_mcb, p_port->dlci, true); in port_flow_control_peer()
521 RFCOMM_FlowReq(p_port->rfc.p_mcb, p_port->dlci, false); in port_flow_control_peer()
531 RFCOMM_FlowReq(p_port->rfc.p_mcb, p_port->dlci, false); in port_flow_control_peer()