Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/early/
H A Dehci-dbgp.c618 portsc |= PORT_RESET; in ehci_reset_port()
626 if (!(portsc & PORT_RESET)) in ehci_reset_port()
629 if (portsc & PORT_RESET) { in ehci_reset_port()
632 writel(portsc & ~(PORT_RWC_BITS | PORT_RESET), in ehci_reset_port()
637 } while ((portsc & PORT_RESET) && (--loop > 0)); in ehci_reset_port()
649 if (!(portsc & PORT_RESET) && (portsc & PORT_PE)) in ehci_reset_port()
H A Dxhci-dbc.c363 writel(val | PORT_RESET, portsc); in xdbc_do_reset_debug_port()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dehci-tegra.c126 temp |= PORT_RESET; in tegra_ehci_internal_port_reset()
129 temp &= ~PORT_RESET; in tegra_ehci_internal_port_reset()
199 if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) != 0) { in tegra_ehci_hub_control()
237 if ((temp & PORT_RESET) || !(temp & PORT_PE)) { in tegra_ehci_hub_control()
H A Dehci-hub.c937 if (temp & PORT_RESET) in ehci_hub_control()
1080 ehci_writel(ehci, temp & ~(PORT_RWC_BITS | PORT_RESET), in ehci_hub_control()
1086 PORT_RESET, 0, 1000); in ehci_hub_control()
1140 if (temp & PORT_RESET) in ehci_hub_control()
1186 || (temp & PORT_RESET) != 0) in ehci_hub_control()
1238 temp |= PORT_RESET; in ehci_hub_control()
H A Dxhci-hub.c841 if ((portsc & PORT_RESET) || !(portsc & PORT_PE)) { in xhci_handle_usb2_port_link_resume()
1072 if (raw_port_status & PORT_RESET) in xhci_get_port_status()
1224 if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) in xhci_hub_control()
1399 temp = (temp | PORT_RESET); in xhci_hub_control()
1467 if (temp & PORT_RESET) in xhci_hub_control()
H A 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()
H A Doxu210hp-hcd.c187 #define PORT_RESET (1<<8) /* reset port */ macro
599 (status & PORT_RESET) ? " RESET" : "", in dbg_port_buf()
3614 if (temp & PORT_RESET) in oxu_hub_control()
3707 if ((temp & PORT_RESET) in oxu_hub_control()
3714 writel(temp & ~(PORT_RWC_BITS | PORT_RESET), in oxu_hub_control()
3720 PORT_RESET, 0, 750); in oxu_hub_control()
3759 if (temp & PORT_RESET) in oxu_hub_control()
3794 || (temp & PORT_RESET) != 0) in oxu_hub_control()
3812 temp |= PORT_RESET; in oxu_hub_control()
H A Dfotg210.h278 #define PORT_RESET (1<<8) /* reset port */ macro
H A Dfotg210-hcd.c251 (status & PORT_RESET) ? " RESET" : "", in dbg_port_buf()
1511 if (temp & PORT_RESET) in fotg210_hub_control()
1606 if ((temp & PORT_RESET) && time_after_eq(jiffies, in fotg210_hub_control()
1614 temp & ~(PORT_RWC_BITS | PORT_RESET), in fotg210_hub_control()
1620 PORT_RESET, 0, 1000); in fotg210_hub_control()
1636 if (!(temp & (PORT_RESUME|PORT_RESET))) { in fotg210_hub_control()
1678 if (temp & PORT_RESET) in fotg210_hub_control()
1709 || (temp & PORT_RESET) != 0) in fotg210_hub_control()
1728 temp |= PORT_RESET; in fotg210_hub_control()
H A Dxhci.h304 #define PORT_RESET (1 << 4) macro
2661 if (portsc & PORT_RESET) in xhci_decode_portsc()
H A Dehci-dbg.c249 (status & PORT_RESET) ? " RESET" : "", in dbg_port_buf()
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dehci_def.h157 #define PORT_RESET (1<<8) /* reset port */ macro
/OK3568_Linux_fs/kernel/drivers/usb/isp1760/
H A Disp1760-regs.h52 #define PORT_RESET (1 << 8) /* reset port */ macro
H A Disp1760-hcd.c1857 if (temp & PORT_RESET) in isp1760_hub_control()
1949 if ((temp & PORT_RESET) in isp1760_hub_control()
1956 reg_write32(hcd->regs, HC_PORTSC1, temp & ~PORT_RESET); in isp1760_hub_control()
1961 PORT_RESET, 0, 750); in isp1760_hub_control()
1990 if (temp & PORT_RESET) in isp1760_hub_control()
2024 || (temp & PORT_RESET) != 0) in isp1760_hub_control()
2045 temp |= PORT_RESET; in isp1760_hub_control()
/OK3568_Linux_fs/u-boot/drivers/power/power_delivery/
H A Dtcpm.c124 S(PORT_RESET), \
2373 tcpm_set_state(port, PORT_RESET, PD_T_PS_SOURCE_ON); in run_state_machine()
2766 tcpm_set_state(port, PORT_RESET, 0); in run_state_machine()
2768 case PORT_RESET: in run_state_machine()
2972 case PORT_RESET: in _tcpm_cc_change()
3048 case PORT_RESET: in _tcpm_pd_vbus_on()
3120 case PORT_RESET: in _tcpm_pd_vbus_off()
3142 if (port->state == PORT_RESET || port->state == PORT_RESET_WAIT_OFF) in _tcpm_pd_hard_reset()
/OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/
H A Dtcpm.c144 S(PORT_RESET), \
4889 tcpm_set_state(port, PORT_RESET, 0); in run_state_machine()
4891 case PORT_RESET: in run_state_machine()
5154 case PORT_RESET: in _tcpm_cc_change()
5250 case PORT_RESET: in _tcpm_pd_vbus_on()
5342 case PORT_RESET: in _tcpm_pd_vbus_off()
5655 tcpm_set_state(port, PORT_RESET, 0); in tcpm_dr_set()
6023 tcpm_set_state(port, PORT_RESET, 0); in tcpm_init()
6037 tcpm_set_state(port, PORT_RESET, 0); in tcpm_port_type_set()
6041 tcpm_set_state(port, PORT_RESET, 0); in tcpm_port_type_set()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/i825xx/
H A 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()
H A Dlib82596.c119 #define PORT_RESET 0x00 /* reset 82596 */ macro
588 mpu_port(dev, PORT_RESET, 0); in init_i596_mem()
671 mpu_port(dev, PORT_RESET, 0); in init_i596_mem()
/OK3568_Linux_fs/kernel/drivers/usb/chipidea/
H A Dhost.c257 if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) != 0) { in ci_ehci_hub_control()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dxhci.c1005 if (reg & PORT_RESET) in xhci_submit_root()
1043 reg |= PORT_RESET; in xhci_submit_root()
/OK3568_Linux_fs/u-boot/include/usb/
H A Dxhci.h266 #define PORT_RESET (1 << 4) macro
/OK3568_Linux_fs/kernel/drivers/net/dsa/microchip/
H A Dksz9477_reg.h1183 #define PORT_RESET BIT(1) macro