Home
last modified time | relevance | path

Searched refs:PORT_RESET (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/drivers/usb/host/
Dehci-tegra.c128 temp |= PORT_RESET; in tegra_ehci_internal_port_reset()
131 temp &= ~PORT_RESET; in tegra_ehci_internal_port_reset()
201 if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) != 0) { in tegra_ehci_hub_control()
239 if ((temp & PORT_RESET) || !(temp & PORT_PE)) { in tegra_ehci_hub_control()
Dehci-hub.c935 if (temp & PORT_RESET) in ehci_hub_control()
1078 ehci_writel(ehci, temp & ~(PORT_RWC_BITS | PORT_RESET), in ehci_hub_control()
1084 PORT_RESET, 0, 1000); in ehci_hub_control()
1138 if (temp & PORT_RESET) in ehci_hub_control()
1184 || (temp & PORT_RESET) != 0) in ehci_hub_control()
1236 temp |= PORT_RESET; in ehci_hub_control()
Dxhci-hub.c822 if ((portsc & PORT_RESET) || !(portsc & PORT_PE)) { in xhci_handle_usb2_port_link_resume()
1040 if (raw_port_status & PORT_RESET) in xhci_get_port_status()
1192 if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) in xhci_hub_control()
1323 temp = (temp | PORT_RESET); in xhci_hub_control()
1390 if (temp & PORT_RESET) in xhci_hub_control()
Dehci-fsl.c666 writel(PORT_RESET | in ehci_start_port_reset()
670 writel(PORT_RESET, &ehci->regs->port_status[port]); in ehci_start_port_reset()
Doxu210hp-hcd.c186 #define PORT_RESET (1<<8) /* reset port */ macro
598 (status & PORT_RESET) ? " RESET" : "", in dbg_port_buf()
3612 if (temp & PORT_RESET) in oxu_hub_control()
3705 if ((temp & PORT_RESET) in oxu_hub_control()
3712 writel(temp & ~(PORT_RWC_BITS | PORT_RESET), in oxu_hub_control()
3718 PORT_RESET, 0, 750); in oxu_hub_control()
3757 if (temp & PORT_RESET) in oxu_hub_control()
3792 || (temp & PORT_RESET) != 0) in oxu_hub_control()
3810 temp |= PORT_RESET; in oxu_hub_control()
Dfotg210.h278 #define PORT_RESET (1<<8) /* reset port */ macro
Dfotg210-hcd.c250 (status & PORT_RESET) ? " RESET" : "", in dbg_port_buf()
1513 if (temp & PORT_RESET) in fotg210_hub_control()
1608 if ((temp & PORT_RESET) && time_after_eq(jiffies, in fotg210_hub_control()
1616 temp & ~(PORT_RWC_BITS | PORT_RESET), in fotg210_hub_control()
1622 PORT_RESET, 0, 1000); in fotg210_hub_control()
1638 if (!(temp & (PORT_RESUME|PORT_RESET))) { in fotg210_hub_control()
1680 if (temp & PORT_RESET) in fotg210_hub_control()
1711 || (temp & PORT_RESET) != 0) in fotg210_hub_control()
1730 temp |= PORT_RESET; in fotg210_hub_control()
Dxhci.h297 #define PORT_RESET (1 << 4) macro
2551 if (portsc & PORT_RESET) in xhci_decode_portsc()
Dehci-dbg.c249 (status & PORT_RESET) ? " RESET" : "", in dbg_port_buf()
/Linux-v5.4/drivers/usb/early/
Dehci-dbgp.c623 portsc |= PORT_RESET; in ehci_reset_port()
631 if (!(portsc & PORT_RESET)) in ehci_reset_port()
634 if (portsc & PORT_RESET) { in ehci_reset_port()
637 writel(portsc & ~(PORT_RWC_BITS | PORT_RESET), in ehci_reset_port()
642 } while ((portsc & PORT_RESET) && (--loop > 0)); in ehci_reset_port()
654 if (!(portsc & PORT_RESET) && (portsc & PORT_PE)) in ehci_reset_port()
Dxhci-dbc.c362 writel(val | PORT_RESET, portsc); in xdbc_do_reset_debug_port()
/Linux-v5.4/drivers/usb/isp1760/
Disp1760-regs.h52 #define PORT_RESET (1 << 8) /* reset port */ macro
Disp1760-hcd.c1861 if (temp & PORT_RESET) in isp1760_hub_control()
1953 if ((temp & PORT_RESET) in isp1760_hub_control()
1960 reg_write32(hcd->regs, HC_PORTSC1, temp & ~PORT_RESET); in isp1760_hub_control()
1965 PORT_RESET, 0, 750); in isp1760_hub_control()
1994 if (temp & PORT_RESET) in isp1760_hub_control()
2028 || (temp & PORT_RESET) != 0) in isp1760_hub_control()
2049 temp |= PORT_RESET; in isp1760_hub_control()
/Linux-v5.4/include/linux/usb/
Dehci_def.h157 #define PORT_RESET (1<<8) /* reset port */ macro
/Linux-v5.4/drivers/usb/chipidea/
Dhost.c247 if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) != 0) { in ci_ehci_hub_control()
/Linux-v5.4/drivers/usb/typec/tcpm/
Dtcpm.c128 S(PORT_RESET), \
3099 tcpm_set_state(port, PORT_RESET, PD_T_PS_SOURCE_ON); in run_state_machine()
3561 tcpm_set_state(port, PORT_RESET, 0); in run_state_machine()
3563 case PORT_RESET: in run_state_machine()
4015 tcpm_set_state(port, PORT_RESET, 0); in tcpm_dr_set()
4331 tcpm_set_state(port, PORT_RESET, 0); in tcpm_init()
4346 tcpm_set_state(port, PORT_RESET, 0); in tcpm_port_type_set()
4350 tcpm_set_state(port, PORT_RESET, 0); in tcpm_port_type_set()
4354 tcpm_set_state(port, PORT_RESET, 0); in tcpm_port_type_set()
/Linux-v5.4/drivers/net/ethernet/i825xx/
Dlib82596.c119 #define PORT_RESET 0x00 /* reset 82596 */ macro
560 mpu_port(dev, PORT_RESET, 0); in init_i596_mem()
643 mpu_port(dev, PORT_RESET, 0); in init_i596_mem()
D82596.c145 #define PORT_RESET 0x00 /* reset 82596 */ macro
620 MPU_PORT(dev, PORT_RESET, NULL); in init_i596_mem()
741 MPU_PORT(dev, PORT_RESET, NULL); in init_i596_mem()
/Linux-v5.4/drivers/net/dsa/microchip/
Dksz9477_reg.h1183 #define PORT_RESET BIT(1) macro