Home
last modified time | relevance | path

Searched refs:port_status (Results 1 – 15 of 15) sorted by relevance

/external/libchrome/mojo/core/
Dmessage_pipe_dispatcher.cc222 ports::PortStatus port_status; in QueryQuota() local
223 if (node_controller_->node()->GetStatus(port_, &port_status) != ports::OK) { in QueryQuota()
231 *usage = port_status.queued_message_count; in QueryQuota()
236 *usage = port_status.queued_num_bytes; in QueryQuota()
359 ports::PortStatus port_status; in GetHandleSignalsStateNoLock() local
360 if (node_controller_->node()->GetStatus(port_, &port_status) != ports::OK) { in GetHandleSignalsStateNoLock()
365 if (port_status.has_messages) { in GetHandleSignalsStateNoLock()
369 if (port_status.receiving_messages) in GetHandleSignalsStateNoLock()
371 if (!port_status.peer_closed) { in GetHandleSignalsStateNoLock()
376 if (port_status.peer_remote) in GetHandleSignalsStateNoLock()
[all …]
Ddata_pipe_producer_dispatcher.cc484 ports::PortStatus port_status; in UpdateSignalsStateNoLock() local
485 int rv = node_controller_->node()->GetStatus(control_port_, &port_status); in UpdateSignalsStateNoLock()
486 peer_remote_ = rv == ports::OK && port_status.peer_remote; in UpdateSignalsStateNoLock()
487 if (rv != ports::OK || !port_status.receiving_messages) { in UpdateSignalsStateNoLock()
491 } else if (rv == ports::OK && port_status.has_messages && !in_transit_) { in UpdateSignalsStateNoLock()
Ddata_pipe_consumer_dispatcher.cc537 ports::PortStatus port_status; in UpdateSignalsStateNoLock() local
538 int rv = node_controller_->node()->GetStatus(control_port_, &port_status); in UpdateSignalsStateNoLock()
539 peer_remote_ = rv == ports::OK && port_status.peer_remote; in UpdateSignalsStateNoLock()
540 if (rv != ports::OK || !port_status.receiving_messages) { in UpdateSignalsStateNoLock()
544 } else if (rv == ports::OK && port_status.has_messages && !in_transit_) { in UpdateSignalsStateNoLock()
/external/u-boot/drivers/usb/musb/
Dmusb_hcd.c28 static u32 port_status; variable
437 port_status |= USB_PORT_STAT_RESET; in musb_port_reset()
438 port_status &= ~USB_PORT_STAT_ENABLE; in musb_port_reset()
445 port_status |= USB_PORT_STAT_HIGH_SPEED; in musb_port_reset()
447 port_status &= ~(USB_PORT_STAT_RESET | (USB_PORT_STAT_C_CONNECTION << 16)); in musb_port_reset()
448 port_status |= USB_PORT_STAT_ENABLE in musb_port_reset()
521 port_status |= USB_PORT_STAT_CONNECTION in musb_submit_rh_msg()
523 port_status |= USB_PORT_STAT_HIGH_SPEED in musb_submit_rh_msg()
527 if (port_status & USB_PORT_STAT_RESET) in musb_submit_rh_msg()
530 *(__u32 *) data_buf = swap_32(port_status); in musb_submit_rh_msg()
[all …]
/external/u-boot/drivers/usb/host/
Ddwc2.c524 uint32_t port_status = 0; in dwc_otg_submit_rh_msg_in_status() local
546 port_status |= USB_PORT_STAT_CONNECTION; in dwc_otg_submit_rh_msg_in_status()
548 port_status |= USB_PORT_STAT_ENABLE; in dwc_otg_submit_rh_msg_in_status()
550 port_status |= USB_PORT_STAT_SUSPEND; in dwc_otg_submit_rh_msg_in_status()
552 port_status |= USB_PORT_STAT_OVERCURRENT; in dwc_otg_submit_rh_msg_in_status()
554 port_status |= USB_PORT_STAT_RESET; in dwc_otg_submit_rh_msg_in_status()
556 port_status |= USB_PORT_STAT_POWER; in dwc_otg_submit_rh_msg_in_status()
559 port_status |= USB_PORT_STAT_LOW_SPEED; in dwc_otg_submit_rh_msg_in_status()
562 port_status |= USB_PORT_STAT_HIGH_SPEED; in dwc_otg_submit_rh_msg_in_status()
571 *(uint32_t *)buffer = cpu_to_le32(port_status | in dwc_otg_submit_rh_msg_in_status()
Dxhci.c818 u16 wIndex, volatile uint32_t *addr, u32 port_status) in xhci_clear_port_change_bit() argument
850 xhci_writel(addr, port_status | status); in xhci_clear_port_change_bit()
852 port_status = xhci_readl(addr); in xhci_clear_port_change_bit()
854 port_change_bit, wIndex, port_status); in xhci_clear_port_change_bit()
Dr8a66597-hcd.c572 r8a66597->port_status = USB_PORT_STAT_CONNECTION | in check_usb_device_connecting()
631 *(__u32 *)buffer = cpu_to_le32(r8a66597->port_status | in r8a66597_submit_rh_msg()
Dr8a66597.h422 unsigned short port_status; member
/external/u-boot/drivers/ata/
Dsata.c35 if (!ops->port_status) in sata_dm_port_status()
38 return ops->port_status(dev, port); in sata_dm_port_status()
Dahci.c561 u32 port_status; in ahci_port_start() local
565 port_status = readl(port_mmio + PORT_SCR_STAT); in ahci_port_start()
566 debug("Port %d status: %x\n", port, port_status); in ahci_port_start()
567 if ((port_status & 0xf) != 0x03) { in ahci_port_start()
639 u32 port_status; in ahci_device_data_io() local
649 port_status = readl(port_mmio + PORT_SCR_STAT); in ahci_device_data_io()
650 if ((port_status & 0xf) != 0x03) { in ahci_device_data_io()
Ddwc_ahsata.c437 u32 port_status; in ahci_port_start() local
442 port_status = readl(&port_mmio->ssts); in ahci_port_start()
443 debug("Port %d status: %x\n", port, port_status); in ahci_port_start()
444 if ((port_status & 0xf) != 0x03) { in ahci_port_start()
/external/libchrome/mojo/core/ports/
Dnode.cc298 int Node::GetStatus(const PortRef& port_ref, PortStatus* port_status) { in GetStatus() argument
304 port_status->has_messages = port->message_queue.HasNextMessage(); in GetStatus()
305 port_status->receiving_messages = CanAcceptMoreMessages(port); in GetStatus()
306 port_status->peer_closed = port->peer_closed; in GetStatus()
307 port_status->peer_remote = port->peer_node_name != name_; in GetStatus()
308 port_status->queued_message_count = in GetStatus()
310 port_status->queued_num_bytes = port->message_queue.queued_num_bytes(); in GetStatus()
Dnode.h119 int GetStatus(const PortRef& port_ref, PortStatus* port_status); in COMPONENT_EXPORT()
/external/u-boot/include/
Dahci.h194 int (*port_status)(struct udevice *dev, int port); member
/external/u-boot/board/compulab/cm_fx6/
Dcm_fx6.c771 .port_status = dwc_ahsata_port_status,