Home
last modified time | relevance | path

Searched refs:portsc (Results 26 – 45 of 45) sorted by relevance

12

/openbmc/linux/drivers/usb/chipidea/
H A Dcore.c271 u32 portsc, lpm, sts = 0; in hw_phymode_configure() local
275 portsc = PORTSC_PTS(PTS_UTMI); in hw_phymode_configure()
279 portsc = PORTSC_PTS(PTS_UTMI) | PORTSC_PTW; in hw_phymode_configure()
283 portsc = PORTSC_PTS(PTS_ULPI); in hw_phymode_configure()
287 portsc = PORTSC_PTS(PTS_SERIAL); in hw_phymode_configure()
292 portsc = PORTSC_PTS(PTS_HSIC); in hw_phymode_configure()
304 hw_write(ci, OP_PORTSC, PORTSC_PTS(7) | PORTSC_PTW, portsc); in hw_phymode_configure()
H A Dhost.c345 u32 portsc = ehci_readl(ehci, reg); in ci_ehci_bus_suspend() local
347 if (portsc & PORT_CONNECT) { in ci_ehci_bus_suspend()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dtegra-xudc.c2980 u32 portsc, porthalt; in __tegra_xudc_handle_port_status() local
2990 portsc = xudc_readl(xudc, PORTSC); in __tegra_xudc_handle_port_status()
2991 if ((portsc & PORTSC_PRC) && (portsc & PORTSC_PR)) { in __tegra_xudc_handle_port_status()
3002 if ((portsc & PORTSC_PRC) && !(portsc & PORTSC_PR)) { in __tegra_xudc_handle_port_status()
3010 portsc = xudc_readl(xudc, PORTSC); in __tegra_xudc_handle_port_status()
3011 if (portsc & PORTSC_WRC) { in __tegra_xudc_handle_port_status()
3018 portsc = xudc_readl(xudc, PORTSC); in __tegra_xudc_handle_port_status()
3019 if (portsc & PORTSC_CSC) { in __tegra_xudc_handle_port_status()
3023 if (portsc & PORTSC_CCS) in __tegra_xudc_handle_port_status()
3035 if (portsc & PORTSC_PLC) { in __tegra_xudc_handle_port_status()
[all …]
H A Dmv_udc.h155 u32 portsc[VUSBHS_MAX_PORTS]; /* Port Status/Control x, x = 1..8 */ member
H A Dmv_u3d.h135 u32 portsc; /* port status and control register*/ member
H A Dfsl_udc_core.c1150 u32 portsc; in fsl_wakeup() local
1156 portsc = fsl_readl(&dr_regs->portsc1); in fsl_wakeup()
1158 if (!(portsc & PORTSCX_PORT_SUSPEND)) in fsl_wakeup()
1161 portsc |= PORTSCX_PORT_FORCE_RESUME; in fsl_wakeup()
1162 fsl_writel(portsc, &dr_regs->portsc1); in fsl_wakeup()
/openbmc/u-boot/arch/arm/mach-rmobile/include/mach/
H A Dehci-rmobile.h143 u32 portsc; /* portsc */ member
/openbmc/linux/drivers/usb/phy/
H A Dphy-mv-usb.h120 u32 portsc[VUSBHS_MAX_PORTS]; /* Port Status/Control x, x = 1..8 */ member
H A Dphy-fsl-usb.h315 u32 portsc; /* Port 1 Status and Control Register */ member
/openbmc/linux/drivers/usb/early/
H A Dxhci-dbc.h28 __le32 portsc; /* Port status and control */ member
/openbmc/qemu/hw/usb/
H A Dhcd-xhci.h127 uint32_t portsc; member
H A Dhcd-ehci.h291 uint32_t portsc[NB_PORTS]; member
/openbmc/linux/drivers/usb/host/
H A Dxhci-ring.c1902 u32 portsc, cmd_reg; in handle_port_status() local
1943 portsc = readl(port->addr); in handle_port_status()
1956 (portsc & PORT_PLS_MASK) == XDEV_INACTIVE) { in handle_port_status()
1962 if ((portsc & PORT_PLC) && (portsc & PORT_PLS_MASK) == XDEV_RESUME) { in handle_port_status()
1971 if (DEV_SUPERSPEED_ANY(portsc)) { in handle_port_status()
2003 if ((portsc & PORT_PLC) && in handle_port_status()
2004 DEV_SUPERSPEED_ANY(portsc) && in handle_port_status()
2005 ((portsc & PORT_PLS_MASK) == XDEV_U0 || in handle_port_status()
2006 (portsc & PORT_PLS_MASK) == XDEV_U1 || in handle_port_status()
2007 (portsc & PORT_PLS_MASK) == XDEV_U2)) { in handle_port_status()
[all …]
H A Dxhci-dbgcap.h24 __le32 portsc; /* Port status and control */ member
H A Dxhci.c781 u32 t1, t2, portsc; in xhci_disable_hub_port_wake() local
787 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()
788 t1 = xhci_port_state_to_neutral(portsc); in xhci_disable_hub_port_wake()
796 if (!(portsc & (PORT_CSC | PORT_CONNECT))) in xhci_disable_hub_port_wake()
813 u32 portsc; in xhci_pending_portevent() local
827 portsc = readl(ports[port_index]->addr); in xhci_pending_portevent()
828 if (portsc & PORT_CHANGE_MASK || in xhci_pending_portevent()
829 (portsc & PORT_PLS_MASK) == XDEV_RESUME) in xhci_pending_portevent()
835 portsc = readl(ports[port_index]->addr); in xhci_pending_portevent()
836 if (portsc & (PORT_CHANGE_MASK | PORT_CAS) || in xhci_pending_portevent()
[all …]
H A Doxu210hp-hcd.c3550 unsigned int portsc) in oxu_port_speed() argument
3552 switch ((portsc >> 26) & 3) { in oxu_port_speed()
/openbmc/u-boot/drivers/usb/host/
H A Dehci-mxc.c230 __raw_writel(CONFIG_MXC_USB_PORTSC, &ehci->portsc); in ehci_hcd_init()
/openbmc/u-boot/include/usb/
H A Dehci-ci.h219 u32 portsc; /* 0x184 - Port status/control */ member
/openbmc/u-boot/drivers/usb/gadget/
H A Dci_udc.c819 bit = (readl(&udc->portsc) >> 26) & 3; in udc_irq()
903 setbits_le32(&udc->portsc, PFSC); in ci_pullup()
/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.h143 __le32 portsc; member

12