Lines Matching refs:p_mcb
229 if (p_port->rfc.p_mcb) { in port_release_port()
230 p_port->rfc.p_mcb->port_handles[p_port->dlci] = 0; in port_release_port()
233 rfc_check_mcb_active(p_port->rfc.p_mcb); in port_release_port()
263 p_port->rfc.p_mcb = nullptr; in port_release_port()
309 tPORT* port_find_mcb_dlci_port(tRFC_MCB* p_mcb, uint8_t dlci) { in port_find_mcb_dlci_port() argument
310 if (!p_mcb) { in port_find_mcb_dlci_port()
317 << " is too large, bd_addr=" << p_mcb->bd_addr in port_find_mcb_dlci_port()
318 << ", p_mcb=" << p_mcb; in port_find_mcb_dlci_port()
322 uint8_t handle = p_mcb->port_handles[dlci]; in port_find_mcb_dlci_port()
325 << std::to_string(dlci) << " on " << p_mcb->bd_addr in port_find_mcb_dlci_port()
326 << ", p_mcb=" << p_mcb; in port_find_mcb_dlci_port()
343 if (port.in_use && (port.rfc.p_mcb == nullptr)) { in port_find_dlci_port()
390 bool fc = p_port->tx.peer_fc || !p_port->rfc.p_mcb || in port_flow_control_user()
391 !p_port->rfc.p_mcb->peer_ready || in port_flow_control_user()
456 if (!p_port->rfc.p_mcb) return; in port_flow_control_peer()
459 if (p_port->rfc.p_mcb->flow == PORT_FC_CREDIT) { in port_flow_control_peer()
474 rfc_send_credit(p_port->rfc.p_mcb, p_port->dlci, in port_flow_control_peer()
506 RFCOMM_FlowReq(p_port->rfc.p_mcb, p_port->dlci, true); in port_flow_control_peer()
514 RFCOMM_FlowReq(p_port->rfc.p_mcb, p_port->dlci, false); in port_flow_control_peer()
524 RFCOMM_FlowReq(p_port->rfc.p_mcb, p_port->dlci, false); in port_flow_control_peer()