Lines Matching refs:dlci
63 tPORT* port_allocate_port(uint8_t dlci, const RawAddress& bd_addr) { in port_allocate_port() argument
81 p_port->dlci = dlci; in port_allocate_port()
93 << std::to_string(dlci) << ", bd_addr " << bd_addr; in port_allocate_port()
228 p_port->rfc.p_mcb->port_handles[p_port->dlci] = 0; in port_release_port()
262 if (p_port->is_server) p_port->dlci &= 0xfe; in port_release_port()
307 tPORT* port_find_mcb_dlci_port(tRFC_MCB* p_mcb, uint8_t dlci) { in port_find_mcb_dlci_port() argument
309 LOG(ERROR) << __func__ << ": p_mcb is null, dlci=" << std::to_string(dlci); in port_find_mcb_dlci_port()
313 if (dlci > RFCOMM_MAX_DLCI) { in port_find_mcb_dlci_port()
314 LOG(WARNING) << __func__ << ": DLCI " << std::to_string(dlci) in port_find_mcb_dlci_port()
320 uint8_t handle = p_mcb->port_handles[dlci]; in port_find_mcb_dlci_port()
323 << std::to_string(dlci) << " on " << p_mcb->bd_addr in port_find_mcb_dlci_port()
339 tPORT* port_find_dlci_port(uint8_t dlci) { in port_find_dlci_port() argument
342 if (port.dlci == dlci) { in port_find_dlci_port()
344 } else if ((dlci & 0x01) && (port.dlci == (dlci - 1))) { in port_find_dlci_port()
345 port.dlci++; in port_find_dlci_port()
362 tPORT* port_find_port(uint8_t dlci, const RawAddress& bd_addr) { in port_find_port() argument
364 if (port.in_use && (port.dlci == dlci) && (port.bd_addr == bd_addr)) { in port_find_port()
472 rfc_send_credit(p_port->rfc.p_mcb, p_port->dlci, in port_flow_control_peer()
504 RFCOMM_FlowReq(p_port->rfc.p_mcb, p_port->dlci, true); in port_flow_control_peer()
512 RFCOMM_FlowReq(p_port->rfc.p_mcb, p_port->dlci, false); in port_flow_control_peer()
522 RFCOMM_FlowReq(p_port->rfc.p_mcb, p_port->dlci, false); in port_flow_control_peer()