/external/libchrome/mojo/core/ |
D | message_pipe_dispatcher.cc | 222 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 …]
|
D | data_pipe_producer_dispatcher.cc | 484 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()
|
D | data_pipe_consumer_dispatcher.cc | 537 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/ |
D | musb_hcd.c | 28 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/ |
D | dwc2.c | 524 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()
|
D | xhci.c | 818 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()
|
D | r8a66597-hcd.c | 572 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()
|
D | r8a66597.h | 422 unsigned short port_status; member
|
/external/u-boot/drivers/ata/ |
D | sata.c | 35 if (!ops->port_status) in sata_dm_port_status() 38 return ops->port_status(dev, port); in sata_dm_port_status()
|
D | ahci.c | 561 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()
|
D | dwc_ahsata.c | 437 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/ |
D | node.cc | 298 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()
|
D | node.h | 119 int GetStatus(const PortRef& port_ref, PortStatus* port_status); in COMPONENT_EXPORT()
|
/external/u-boot/include/ |
D | ahci.h | 194 int (*port_status)(struct udevice *dev, int port); member
|
/external/u-boot/board/compulab/cm_fx6/ |
D | cm_fx6.c | 771 .port_status = dwc_ahsata_port_status,
|