/linux-4.1.27/drivers/usb/early/ |
D | ehci-dbgp.c | 500 u32 ctrl, portsc, cmd; in _dbgp_external_startup() local 514 portsc = readl(&ehci_regs->port_status[dbg_port - 1]); in _dbgp_external_startup() 515 if (!(portsc & PORT_CONNECT) && try_hard_once) { in _dbgp_external_startup() 523 portsc = readl(&ehci_regs->port_status[dbg_port - 1]); in _dbgp_external_startup() 524 portsc |= PORT_TEST_PKT; in _dbgp_external_startup() 525 writel(portsc, &ehci_regs->port_status[dbg_port - 1]); in _dbgp_external_startup() 551 portsc = readl(&ehci_regs->port_status[dbg_port - 1]); in _dbgp_external_startup() 552 portsc &= ~PORT_PE; in _dbgp_external_startup() 553 writel(portsc, &ehci_regs->port_status[dbg_port - 1]); in _dbgp_external_startup() 616 u32 portsc; in ehci_reset_port() local [all …]
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | mv_udc_core.c | 1017 u32 tmp, portsc; in udc_reset() local 1054 portsc = readl(&udc->op_regs->portsc[0]); in udc_reset() 1056 portsc &= (~PORTSCX_W1C_BITS | ~PORTSCX_PORT_POWER); in udc_reset() 1059 portsc |= PORTSCX_FORCE_FULL_SPEED_CONNECT; in udc_reset() 1061 portsc &= (~PORTSCX_FORCE_FULL_SPEED_CONNECT); in udc_reset() 1063 writel(portsc, &udc->op_regs->portsc[0]); in udc_reset() 1139 u32 portsc; in mv_udc_wakeup() local 1145 portsc = readl(&udc->op_regs->portsc); in mv_udc_wakeup() 1147 if (!(portsc & PORTSCX_PORT_SUSPEND)) in mv_udc_wakeup() 1150 portsc |= PORTSCX_PORT_FORCE_RESUME; in mv_udc_wakeup() [all …]
|
D | mv_udc.h | 159 u32 portsc[VUSBHS_MAX_PORTS]; /* Port Status/Control x, x = 1..8 */ member
|
D | mv_u3d.h | 138 u32 portsc; /* port status and control register*/ member
|
D | fsl_udc_core.c | 1155 u32 portsc; in fsl_wakeup() local 1161 portsc = fsl_readl(&dr_regs->portsc1); in fsl_wakeup() 1163 if (!(portsc & PORTSCX_PORT_SUSPEND)) in fsl_wakeup() 1166 portsc |= PORTSCX_PORT_FORCE_RESUME; in fsl_wakeup() 1167 fsl_writel(portsc, &dr_regs->portsc1); in fsl_wakeup()
|
/linux-4.1.27/drivers/usb/host/ |
D | ehci-fsl.c | 198 u32 portsc; in ehci_fsl_setup_phy() local 209 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy() 210 portsc &= ~(PORT_PTS_MSK | PORT_PTS_PTW); in ehci_fsl_setup_phy() 220 portsc |= PORT_PTS_ULPI; in ehci_fsl_setup_phy() 223 portsc |= PORT_PTS_SERIAL; in ehci_fsl_setup_phy() 226 portsc |= PORT_PTS_PTW; in ehci_fsl_setup_phy() 239 portsc |= PORT_PTS_UTMI; in ehci_fsl_setup_phy() 257 ehci_writel(ehci, portsc, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
|
D | fotg210.h | 603 fotg210_get_speed(struct fotg210_hcd *fotg210, unsigned int portsc) in fotg210_get_speed() argument 611 fotg210_port_speed(struct fotg210_hcd *fotg210, unsigned int portsc) in fotg210_port_speed() argument 613 switch (fotg210_get_speed(fotg210, portsc)) { in fotg210_port_speed()
|
D | fusbh200.h | 593 fusbh200_get_speed(struct fusbh200_hcd *fusbh200, unsigned int portsc) in fusbh200_get_speed() argument 601 fusbh200_port_speed(struct fusbh200_hcd *fusbh200, unsigned int portsc) in fusbh200_port_speed() argument 603 switch (fusbh200_get_speed(fusbh200, portsc)) { in fusbh200_port_speed()
|
D | xhci-hub.c | 83 u32 portsc; in xhci_usb2_hub_descriptor() local 98 portsc = readl(xhci->usb2_ports[i]); in xhci_usb2_hub_descriptor() 102 if (portsc & PORT_DEV_REMOVE) in xhci_usb2_hub_descriptor() 135 u32 portsc; in xhci_usb3_hub_descriptor() local 152 portsc = readl(xhci->usb3_ports[i]); in xhci_usb3_hub_descriptor() 153 if (portsc & PORT_DEV_REMOVE) in xhci_usb3_hub_descriptor()
|
D | ehci.h | 655 ehci_port_speed(struct ehci_hcd *ehci, unsigned int portsc) in ehci_port_speed() argument 658 switch ((portsc >> (ehci->has_hostpc ? 25 : 26)) & 3) { in ehci_port_speed() 675 #define ehci_port_speed(ehci, portsc) USB_PORT_STAT_HIGH_SPEED argument
|
D | ehci-mxc.c | 124 ehci_writel(ehci, pdata->portsc, &ehci->regs->port_status[0]); in ehci_mxc_drv_probe()
|
D | oxu210hp-hcd.c | 3144 unsigned int portsc) in oxu_port_speed() argument 3146 switch ((portsc >> 26) & 3) { in oxu_port_speed()
|
/linux-4.1.27/arch/arm/mach-imx/ |
D | mach-cpuimx35.c | 124 .portsc = MXC_EHCI_MODE_UTMI, 135 .portsc = MXC_EHCI_MODE_SERIAL,
|
D | mach-mx31lilly.c | 189 .portsc = MXC_EHCI_MODE_UTMI | MXC_EHCI_SERIAL, 194 .portsc = MXC_EHCI_MODE_ULPI | MXC_EHCI_UTMI_8BIT,
|
D | mach-pca100.c | 278 .portsc = MXC_EHCI_MODE_ULPI, 292 .portsc = MXC_EHCI_MODE_ULPI,
|
D | mach-pcm043.c | 310 .portsc = MXC_EHCI_MODE_UTMI, 321 .portsc = MXC_EHCI_MODE_SERIAL,
|
D | mx31moboard-smartbot.c | 132 .portsc = MXC_EHCI_MODE_ULPI | MXC_EHCI_UTMI_8BIT,
|
D | mach-mx35_3ds.c | 519 .portsc = MXC_EHCI_MODE_UTMI, 531 .portsc = MXC_EHCI_MODE_SERIAL,
|
D | mach-armadillo5x0.c | 249 .portsc = MXC_EHCI_MODE_ULPI | MXC_EHCI_UTMI_8BIT, 254 .portsc = MXC_EHCI_MODE_ULPI | MXC_EHCI_UTMI_8BIT,
|
D | mach-mx31lite.c | 176 .portsc = MXC_EHCI_MODE_ULPI | MXC_EHCI_UTMI_8BIT,
|
D | mach-pcm037.c | 536 .portsc = MXC_EHCI_MODE_ULPI, 546 .portsc = MXC_EHCI_MODE_ULPI,
|
D | mx31moboard-devboard.c | 192 .portsc = MXC_EHCI_MODE_UTMI | MXC_EHCI_SERIAL,
|
D | mach-vpr200.c | 253 .portsc = MXC_EHCI_MODE_SERIAL,
|
D | mach-mx31_3ds.c | 655 .portsc = MXC_EHCI_MODE_ULPI, 660 .portsc = MXC_EHCI_MODE_ULPI,
|
D | mx31moboard-marxbot.c | 306 .portsc = MXC_EHCI_MODE_UTMI | MXC_EHCI_SERIAL,
|
D | mach-mx27_3ds.c | 240 .portsc = MXC_EHCI_MODE_ULPI,
|
D | mach-imx27_visstrim_m10.c | 434 .portsc = MXC_EHCI_MODE_ULPI | MXC_EHCI_UTMI_8BIT,
|
D | mach-mx31moboard.c | 425 .portsc = MXC_EHCI_MODE_ULPI | MXC_EHCI_UTMI_8BIT,
|
/linux-4.1.27/drivers/usb/phy/ |
D | phy-fsl-usb.c | 164 tmp = fsl_readl(&usb_dr_regs->portsc) & ~PORTSC_W1C_BITS; in fsl_otg_drv_vbus() 165 fsl_writel(tmp | PORTSC_PORT_POWER, &usb_dr_regs->portsc); in fsl_otg_drv_vbus() 167 tmp = fsl_readl(&usb_dr_regs->portsc) & in fsl_otg_drv_vbus() 169 fsl_writel(tmp, &usb_dr_regs->portsc); in fsl_otg_drv_vbus() 200 tmp = fsl_readl(&fsl_otg_dev->dr_mem_map->portsc) & ~PORTSC_W1C_BITS; in fsl_otg_loc_sof() 206 fsl_writel(tmp, &fsl_otg_dev->dr_mem_map->portsc); in fsl_otg_loc_sof() 922 temp = fsl_readl(&p_otg->dr_mem_map->portsc); in usb_otg_start() 937 fsl_writel(temp, &p_otg->dr_mem_map->portsc); in usb_otg_start() 1005 fsl_readl(&usb_dr_regs->portsc), in show_fsl_usb2_otg_state()
|
D | phy-mv-usb.h | 124 u32 portsc[VUSBHS_MAX_PORTS]; /* Port Status/Control x, x = 1..8 */ member
|
D | phy-fsl-usb.h | 329 u32 portsc; /* Port 1 Status and Control Register */ member
|
/linux-4.1.27/include/linux/platform_data/ |
D | usb-ehci-mxc.h | 8 unsigned int portsc; member
|
/linux-4.1.27/drivers/usb/chipidea/ |
D | core.c | 287 u32 portsc, lpm, sts = 0; in hw_phymode_configure() local 291 portsc = PORTSC_PTS(PTS_UTMI); in hw_phymode_configure() 295 portsc = PORTSC_PTS(PTS_UTMI) | PORTSC_PTW; in hw_phymode_configure() 299 portsc = PORTSC_PTS(PTS_ULPI); in hw_phymode_configure() 303 portsc = PORTSC_PTS(PTS_SERIAL); in hw_phymode_configure() 308 portsc = PORTSC_PTS(PTS_HSIC); in hw_phymode_configure() 320 hw_write(ci, OP_PORTSC, PORTSC_PTS(7) | PORTSC_PTW, portsc); in hw_phymode_configure()
|
D | host.c | 196 u32 portsc = ehci_readl(ehci, reg); in ci_ehci_bus_suspend() local 198 if (portsc & PORT_CONNECT) { in ci_ehci_bus_suspend()
|