Home
last modified time | relevance | path

Searched refs:PORT_RESET (Results 1 - 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/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 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 Dxhci-hub.c836 if ((portsc & PORT_RESET) || !(portsc & PORT_PE)) { in xhci_handle_usb2_port_link_resume()
1076 if (raw_port_status & PORT_RESET)
1223 if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) in xhci_hub_control()
1394 temp = (temp | PORT_RESET); in xhci_hub_control()
1464 if (temp & PORT_RESET) in xhci_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()
1508 if (temp & PORT_RESET) in fotg210_hub_control()
1603 if ((temp & PORT_RESET) && time_after_eq(jiffies, in fotg210_hub_control()
1611 temp & ~(PORT_RWC_BITS | PORT_RESET), in fotg210_hub_control()
1617 PORT_RESET, 0, 1000); in fotg210_hub_control()
1633 if (!(temp & (PORT_RESUME|PORT_RESET))) { in fotg210_hub_control()
1675 if (temp & PORT_RESET) in fotg210_hub_control()
1706 || (temp & PORT_RESET) != 0) in fotg210_hub_control()
1725 temp |= PORT_RESET; in fotg210_hub_control()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/usb/chipidea/
H A Dci_hdrc_tegra.c191 temp |= PORT_RESET; in tegra_usb_internal_port_reset()
194 temp &= ~PORT_RESET; in tegra_usb_internal_port_reset()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dehci-hub.c800 if (temp & PORT_RESET) in ehci_hub_control()
950 ehci_writel(ehci, temp & ~(PORT_RWC_BITS | PORT_RESET), in ehci_hub_control()
956 PORT_RESET, 0, 1000); in ehci_hub_control()
1010 if (temp & PORT_RESET) in ehci_hub_control()
1056 || (temp & PORT_RESET) != 0) in ehci_hub_control()
1108 temp |= PORT_RESET; in ehci_hub_control()
H A Dehci-fsl.c660 writel(PORT_RESET | in ehci_start_port_reset()
664 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()
3615 if (temp & PORT_RESET) in oxu_hub_control()
3708 if ((temp & PORT_RESET) in oxu_hub_control()
3715 writel(temp & ~(PORT_RWC_BITS | PORT_RESET), in oxu_hub_control()
3721 PORT_RESET, 0, 750); in oxu_hub_control()
3760 if (temp & PORT_RESET) in oxu_hub_control()
3795 || (temp & PORT_RESET) != 0) in oxu_hub_control()
3813 temp |= PORT_RESET; in oxu_hub_control()
H A Dxhci-hub.c941 if ((portsc & PORT_RESET) || !(portsc & PORT_PE)) { in xhci_handle_usb2_port_link_resume()
1181 if (raw_port_status & PORT_RESET)
1328 if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) in xhci_hub_control()
1499 temp = (temp | PORT_RESET); in xhci_hub_control()
1569 if (temp & PORT_RESET) in xhci_hub_control()
/kernel/linux/linux-5.10/include/linux/usb/
H A Dehci_def.h157 #define PORT_RESET (1<<8) /* reset port */ macro
/kernel/linux/linux-6.6/include/linux/usb/
H A Dehci_def.h145 #define PORT_RESET (1<<8) /* reset port */ macro
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/drivers/usb/isp1760/
H A Disp1760-regs.h70 PORT_OWNER, PORT_POWER, PORT_LSTATUS, PORT_RESET, PORT_SUSPEND, enumerator
H A Disp1760-core.c206 [PORT_RESET] = REG_FIELD(ISP176x_HC_PORTSC1, 8, 8),
277 [PORT_RESET] = REG_FIELD(ISP1763_HC_PORTSC1, 8, 8),
H A Disp1760-hcd.c189 [PORT_RESET] = BIT(8),
2243 if (isp1760_hcd_is_set(hcd, PORT_RESET)) in isp1760_hub_control()
2330 if (isp1760_hcd_is_set(hcd, PORT_RESET) && in isp1760_hub_control()
2339 retval = isp1760_hcd_clear_and_wait(hcd, PORT_RESET, in isp1760_hub_control()
2369 if (isp1760_hcd_is_set(hcd, PORT_RESET)) in isp1760_hub_control()
2402 isp1760_hcd_is_set(hcd, PORT_RESET)) in isp1760_hub_control()
2423 isp1760_hcd_set(hcd, PORT_RESET); in isp1760_hub_control()
/kernel/linux/linux-6.6/drivers/usb/typec/tcpm/
H A Dtcpm.c144 S(PORT_RESET), \
4858 tcpm_set_state(port, PORT_RESET, 0); in run_state_machine()
4860 case PORT_RESET: in run_state_machine()
5124 case PORT_RESET: in _tcpm_cc_change()
5220 case PORT_RESET: in _tcpm_pd_vbus_on()
5311 case PORT_RESET: in _tcpm_pd_vbus_off()
5394 case PORT_RESET: in _tcpm_pd_hard_reset()
5653 tcpm_set_state(port, PORT_RESET, 0); in tcpm_dr_set()
6015 tcpm_set_state(port, PORT_RESET, 0); in tcpm_init()
6029 tcpm_set_state(port, PORT_RESET, in tcpm_port_type_set()
[all...]
/kernel/linux/linux-6.6/drivers/usb/fotg210/
H A Dfotg210-hcd.h276 #define PORT_RESET (1<<8) /* reset port */ macro
H A Dfotg210-hcd.c250 (status & PORT_RESET) ? " RESET" : "", in dbg_port_buf()
1508 if (temp & PORT_RESET) in fotg210_hub_control()
1603 if ((temp & PORT_RESET) && time_after_eq(jiffies, in fotg210_hub_control()
1611 temp & ~(PORT_RWC_BITS | PORT_RESET), in fotg210_hub_control()
1617 PORT_RESET, 0, 1000); in fotg210_hub_control()
1633 if (!(temp & (PORT_RESUME|PORT_RESET))) { in fotg210_hub_control()
1675 if (temp & PORT_RESET) in fotg210_hub_control()
1706 || (temp & PORT_RESET) != 0) in fotg210_hub_control()
1725 temp |= PORT_RESET; in fotg210_hub_control()
/kernel/linux/linux-5.10/drivers/usb/typec/tcpm/
H A Dtcpm.c141 S(PORT_RESET), \
3840 tcpm_set_state(port, PORT_RESET, 0); in run_state_machine()
3842 case PORT_RESET: in run_state_machine()
4061 case PORT_RESET: in _tcpm_cc_change()
4134 case PORT_RESET: in _tcpm_pd_vbus_on()
4206 case PORT_RESET: in _tcpm_pd_vbus_off()
4412 tcpm_set_state(port, PORT_RESET, 0); in tcpm_dr_set()
4726 tcpm_set_state(port, PORT_RESET, 0); in tcpm_init()
4740 tcpm_set_state(port, PORT_RESET, 0); in tcpm_port_type_set()
4744 tcpm_set_state(port, PORT_RESET, in tcpm_port_type_set()
[all...]

Completed in 63 milliseconds

12