Home
last modified time | relevance | path

Searched refs:port_reg (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/usb/early/
H A Dxhci-dbc.c695 u32 port_reg; in xdbc_handle_port_status() local
697 port_reg = readl(&xdbc.xdbc_reg->portsc); in xdbc_handle_port_status()
698 if (port_reg & PORTSC_CONN_CHANGE) { in xdbc_handle_port_status()
702 if (!(port_reg & PORTSC_CONN_STATUS)) { in xdbc_handle_port_status()
708 if (port_reg & PORTSC_RESET_CHANGE) in xdbc_handle_port_status()
711 if (port_reg & PORTSC_LINK_CHANGE) in xdbc_handle_port_status()
714 if (port_reg & PORTSC_CONFIG_CHANGE) in xdbc_handle_port_status()
718 writel(port_reg, &xdbc.xdbc_reg->portsc); in xdbc_handle_port_status()
/linux/drivers/net/wireless/marvell/libertas/
H A Dif_spi.c789 u16 port_reg; in if_spi_h2c() local
793 port_reg = IF_SPI_DATA_RDWRPORT_REG; in if_spi_h2c()
796 port_reg = IF_SPI_CMD_RDWRPORT_REG; in if_spi_h2c()
806 err = spu_write(card, port_reg, packet->buffer, packet->blen); in if_spi_h2c()
/linux/drivers/usb/host/
H A Dxhci.c47 writel(val, &port->port_reg->portsc); in xhci_portsc_writel()
53 return readl(&port->port_reg->portsc); in xhci_portsc_readl()
4658 struct xhci_port_regs __iomem *port_reg; in xhci_set_usb2_hardware_lpm() local
4683 port_reg = ports[port_num]->port_reg; in xhci_set_usb2_hardware_lpm()
4684 pm_val = readl(&port_reg->portpmsc); in xhci_set_usb2_hardware_lpm()
4713 writel(hlpm_val, &port_reg->porthlmpc); in xhci_set_usb2_hardware_lpm()
4715 readl(&port_reg->porthlmpc); in xhci_set_usb2_hardware_lpm()
4722 writel(pm_val, &port_reg->portpmsc); in xhci_set_usb2_hardware_lpm()
4723 pm_val = readl(&port_reg->portpmsc); in xhci_set_usb2_hardware_lpm()
4725 writel(pm_val, &port_reg->portpmsc); in xhci_set_usb2_hardware_lpm()
[all …]
H A Dxhci-debugfs.c392 portli = readl(&port->port_reg->portli); in xhci_portli_show()