/drivers/usb/early/ |
H A D | ehci-dbgp.c | 86 dbgp_printk(" ehci portsc : %08x\n", 500 u32 ctrl, portsc, cmd; local 514 portsc = readl(&ehci_regs->port_status[dbg_port - 1]); 515 if (!(portsc & PORT_CONNECT) && try_hard_once) { 523 portsc = readl(&ehci_regs->port_status[dbg_port - 1]); 524 portsc |= PORT_TEST_PKT; 525 writel(portsc, &ehci_regs->port_status[dbg_port - 1]); 551 portsc = readl(&ehci_regs->port_status[dbg_port - 1]); 552 portsc &= ~PORT_PE; 553 writel(portsc, 616 u32 portsc; local 759 u32 ctrl, portsc, hcs_params; local [all...] |
/drivers/usb/host/ |
H A D | ehci-fsl.c | 204 u32 portsc; local 215 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); 216 portsc &= ~(PORT_PTS_MSK | PORT_PTS_PTW); 226 portsc |= PORT_PTS_ULPI; 229 portsc |= PORT_PTS_SERIAL; 232 portsc |= PORT_PTS_PTW; 245 portsc |= PORT_PTS_UTMI; 263 ehci_writel(ehci, portsc, &ehci->regs->port_status[port_offset]);
|
H A D | ehci.h | 655 ehci_port_speed(struct ehci_hcd *ehci, unsigned int portsc) argument 658 switch ((portsc >> (ehci->has_hostpc ? 25 : 26)) & 3) { 675 #define ehci_port_speed(ehci, portsc) USB_PORT_STAT_HIGH_SPEED
|
H A D | fotg210.h | 659 fotg210_get_speed(struct fotg210_hcd *fotg210, unsigned int portsc) argument 667 fotg210_port_speed(struct fotg210_hcd *fotg210, unsigned int portsc) argument 669 switch (fotg210_get_speed(fotg210, portsc)) {
|
H A D | fusbh200.h | 649 fusbh200_get_speed(struct fusbh200_hcd *fusbh200, unsigned int portsc) argument 657 fusbh200_port_speed(struct fusbh200_hcd *fusbh200, unsigned int portsc) argument 659 switch (fusbh200_get_speed(fusbh200, portsc)) {
|
H A D | xhci-hub.c | 83 u32 portsc; local 98 portsc = readl(xhci->usb2_ports[i]); 102 if (portsc & PORT_DEV_REMOVE) 135 u32 portsc; local 152 portsc = readl(xhci->usb3_ports[i]); 153 if (portsc & PORT_DEV_REMOVE)
|
H A D | ehci-mxc.c | 131 ehci_writel(ehci, pdata->portsc, &ehci->regs->port_status[0]);
|
H A D | oxu210hp-hcd.c | 3145 unsigned int portsc) 3147 switch ((portsc >> 26) & 3) { 3144 oxu_port_speed(struct oxu_hcd *oxu, unsigned int portsc) argument
|
/drivers/usb/gadget/udc/ |
H A D | mv_udc_core.c | 1017 u32 tmp, portsc; local 1054 portsc = readl(&udc->op_regs->portsc[0]); 1056 portsc &= (~PORTSCX_W1C_BITS | ~PORTSCX_PORT_POWER); 1059 portsc |= PORTSCX_FORCE_FULL_SPEED_CONNECT; 1061 portsc &= (~PORTSCX_FORCE_FULL_SPEED_CONNECT); 1063 writel(portsc, &udc->op_regs->portsc[0]); 1139 u32 portsc; local 1145 portsc 1402 u32 portsc; local 1938 u32 portsc; local [all...] |
H A D | mv_u3d.h | 138 u32 portsc; /* port status and control register*/ member in struct:mv_u3d_op_regs
|
H A D | mv_udc.h | 159 u32 portsc[VUSBHS_MAX_PORTS]; /* Port Status/Control x, x = 1..8 */ member in struct:mv_op_regs
|
H A D | fsl_udc_core.c | 1155 u32 portsc; local 1161 portsc = fsl_readl(&dr_regs->portsc1); 1163 if (!(portsc & PORTSCX_PORT_SUSPEND)) 1166 portsc |= PORTSCX_PORT_FORCE_RESUME; 1167 fsl_writel(portsc, &dr_regs->portsc1);
|
/drivers/usb/chipidea/ |
H A D | core.c | 262 u32 portsc, lpm, sts = 0; local 266 portsc = PORTSC_PTS(PTS_UTMI); 270 portsc = PORTSC_PTS(PTS_UTMI) | PORTSC_PTW; 274 portsc = PORTSC_PTS(PTS_ULPI); 278 portsc = PORTSC_PTS(PTS_SERIAL); 283 portsc = PORTSC_PTS(PTS_HSIC); 295 hw_write(ci, OP_PORTSC, PORTSC_PTS(7) | PORTSC_PTW, portsc);
|
/drivers/usb/phy/ |
H A D | phy-fsl-usb.c | 177 tmp = fsl_readl(&usb_dr_regs->portsc) & ~PORTSC_W1C_BITS; 178 fsl_writel(tmp | PORTSC_PORT_POWER, &usb_dr_regs->portsc); 180 tmp = fsl_readl(&usb_dr_regs->portsc) & 182 fsl_writel(tmp, &usb_dr_regs->portsc); 213 tmp = fsl_readl(&fsl_otg_dev->dr_mem_map->portsc) & ~PORTSC_W1C_BITS; 219 fsl_writel(tmp, &fsl_otg_dev->dr_mem_map->portsc); 956 temp = fsl_readl(&p_otg->dr_mem_map->portsc); 971 fsl_writel(temp, &p_otg->dr_mem_map->portsc); 1039 fsl_readl(&usb_dr_regs->portsc),
|
H A D | phy-mv-usb.h | 124 u32 portsc[VUSBHS_MAX_PORTS]; /* Port Status/Control x, x = 1..8 */ member in struct:mv_otg_regs
|
H A D | phy-fsl-usb.h | 329 u32 portsc; /* Port 1 Status and Control Register */ member in struct:usb_dr_mmap
|