Searched refs:port_status (Results 1 - 11 of 11) sorted by relevance

/u-boot/drivers/ata/
H A Dsata.c35 if (!ops->port_status)
38 return ops->port_status(dev, port);
H A Dahci.c454 u32 port_status; local
458 port_status = readl(port_mmio + PORT_SCR_STAT);
459 debug("Port %d status: %x\n", port, port_status);
460 if ((port_status & 0xf) != 0x03) {
531 u32 port_status; local
541 port_status = readl(port_mmio + PORT_SCR_STAT);
542 if ((port_status & 0xf) != 0x03) {
H A Ddwc_ahsata.c444 u32 port_status; local
449 port_status = readl(&port_mmio->ssts);
450 debug("Port %d status: %x\n", port, port_status);
451 if ((port_status & 0xf) != 0x03) {
963 .port_status = dwc_ahsata_port_status,
/u-boot/drivers/usb/musb/
H A Dmusb_hcd.c30 static u32 port_status; variable
433 port_status |= USB_PORT_STAT_RESET;
434 port_status &= ~USB_PORT_STAT_ENABLE;
441 port_status |= USB_PORT_STAT_HIGH_SPEED;
443 port_status &= ~(USB_PORT_STAT_RESET | (USB_PORT_STAT_C_CONNECTION << 16));
444 port_status |= USB_PORT_STAT_ENABLE
517 port_status |= USB_PORT_STAT_CONNECTION
519 port_status |= USB_PORT_STAT_HIGH_SPEED
523 if (port_status & USB_PORT_STAT_RESET)
526 *(__u32 *) data_buf = swap_32(port_status);
[all...]
/u-boot/drivers/usb/host/
H A Ddwc2.c537 uint32_t port_status = 0; local
559 port_status |= USB_PORT_STAT_CONNECTION;
561 port_status |= USB_PORT_STAT_ENABLE;
563 port_status |= USB_PORT_STAT_SUSPEND;
565 port_status |= USB_PORT_STAT_OVERCURRENT;
567 port_status |= USB_PORT_STAT_RESET;
569 port_status |= USB_PORT_STAT_POWER;
572 port_status |= USB_PORT_STAT_LOW_SPEED;
575 port_status |= USB_PORT_STAT_HIGH_SPEED;
584 *(uint32_t *)buffer = cpu_to_le32(port_status |
[all...]
H A Dxhci.c850 * @param port_status state of port status register
854 u16 wIndex, volatile uint32_t *addr, u32 port_status)
886 xhci_writel(addr, port_status | status);
888 port_status = xhci_readl(addr);
890 port_change_bit, wIndex, port_status);
853 xhci_clear_port_change_bit(u16 wValue, u16 wIndex, volatile uint32_t *addr, u32 port_status) argument
H A Dr8a66597-hcd.c520 r8a66597->port_status = USB_PORT_STAT_CONNECTION |
578 *(__u32 *)buffer = cpu_to_le32(r8a66597->port_status |
H A Dr8a66597.h396 unsigned short port_status; member in struct:r8a66597
/u-boot/include/
H A Dahci.h182 * port_status() - get the status of a SATA port
188 int (*port_status)(struct udevice *dev, int port); member in struct:ahci_ops
/u-boot/board/compulab/cm_fx6/
H A Dcm_fx6.c782 .port_status = dwc_ahsata_port_status,
/u-boot/drivers/usb/isp1760/
H A Disp1760-hcd.c279 u32 port_status = readl(priv->base + ISP1763_HC_PORTSC1); local
282 writel(port_status | bit, priv->base + ISP1763_HC_PORTSC1);
284 writel(port_status & ~bit, priv->base + ISP1763_HC_PORTSC1);

Completed in 188 milliseconds