Home
last modified time | relevance | path

Searched refs:ehci_readl (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/host/
Dehci-hub.c59 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_handover_companion_ports()
73 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_handover_companion_ports()
110 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_handover_companion_ports()
131 if (ehci_readl(ehci, &ehci->regs->status) & STS_PCD) in ehci_port_change()
140 if (ehci_readl(ehci, &ehci->regs->port_status[i]) & PORT_CSC) in ehci_port_change()
168 temp = ehci_readl(ehci, hostpc_reg); in ehci_adjust_port_wakeup_flags()
179 u32 t1 = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_adjust_port_wakeup_flags()
200 temp = ehci_readl(ehci, hostpc_reg); in ehci_adjust_port_wakeup_flags()
258 u32 t1 = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_bus_suspend()
322 t3 = ehci_readl(ehci, hostpc_reg); in ehci_bus_suspend()
[all …]
Dehci-fsl.c212 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
439 u32 mode = ehci_readl(ehci, hcd->regs + FSL_SOC_USB_USBMODE); in ehci_fsl_mpc512x_drv_suspend()
441 tmp = ehci_readl(ehci, hcd->regs + 0x140); /* usbcmd */ in ehci_fsl_mpc512x_drv_suspend()
468 tmp = ehci_readl(ehci, &ehci->regs->command); in ehci_fsl_mpc512x_drv_suspend()
473 pdata->pm_command = ehci_readl(ehci, &ehci->regs->command); in ehci_fsl_mpc512x_drv_suspend()
475 pdata->pm_status = ehci_readl(ehci, &ehci->regs->status); in ehci_fsl_mpc512x_drv_suspend()
476 pdata->pm_intr_enable = ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_fsl_mpc512x_drv_suspend()
477 pdata->pm_frame_index = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_fsl_mpc512x_drv_suspend()
478 pdata->pm_segment = ehci_readl(ehci, &ehci->regs->segment); in ehci_fsl_mpc512x_drv_suspend()
479 pdata->pm_frame_list = ehci_readl(ehci, &ehci->regs->frame_list); in ehci_fsl_mpc512x_drv_suspend()
[all …]
Dehci-hcd.c114 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
116 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
124 return ehci_readl(ehci, &ehci->regs->frame_index); in ehci_read_frame_index()
154 result = ehci_readl(ehci, ptr); in ehci_handshake()
172 tmp = ehci_readl(ehci, &ehci->regs->usbmode); in tdi_in_host_mode()
199 temp = ehci_readl(ehci, &ehci->regs->command); in ehci_halt()
215 tmp = ehci_readl(ehci, &ehci->regs->usbmode); in tdi_reset()
233 u32 command = ehci_readl(ehci, &ehci->regs->command); in ehci_reset()
347 ehci_readl(ehci, &ehci->regs->configured_flag); in ehci_silence_controller()
449 ehci_readl(ehci, &ehci->regs->status)); in ehci_stop()
[all …]
Dehci-timer.c17 ehci_readl(ehci, &ehci->regs->command); in ehci_set_command_bit()
27 ehci_readl(ehci, &ehci->regs->command); in ehci_clear_command_bit()
104 actual = ehci_readl(ehci, &ehci->regs->status) & STS_ASS; in ehci_poll_ASS()
150 actual = ehci_readl(ehci, &ehci->regs->status) & STS_PSS; in ehci_poll_PSS()
189 if (!(ehci_readl(ehci, &ehci->regs->status) & STS_HALT)) { in ehci_handle_controller_death()
339 cmd = ehci_readl(ehci, &ehci->regs->command); in ehci_iaa_watchdog()
348 status = ehci_readl(ehci, &ehci->regs->status); in ehci_iaa_watchdog()
Dehci-tegra.c115 saved_usbintr = ehci_readl(ehci, &ehci->regs->intr_enable); in tegra_ehci_internal_port_reset()
125 temp = ehci_readl(ehci, portsc_reg); in tegra_ehci_internal_port_reset()
141 temp = ehci_readl(ehci, portsc_reg); in tegra_ehci_internal_port_reset()
160 temp = ehci_readl(ehci, &ehci->regs->status); in tegra_ehci_internal_port_reset()
189 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
198 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
236 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
Dehci-dbg.c17 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params); in dbg_hcs_params()
53 u32 params = ehci_readl(ehci, &ehci->caps->hcc_params); in dbg_hcc_params()
784 i = HC_VERSION(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in fill_registers_buffer()
804 offset = HCC_EXT_CAPS(ehci_readl(ehci, in fill_registers_buffer()
836 i = ehci_readl(ehci, &ehci->caps->hcs_params); in fill_registers_buffer()
841 i = ehci_readl(ehci, &ehci->caps->hcc_params); in fill_registers_buffer()
848 ehci_readl(ehci, &ehci->regs->status)); in fill_registers_buffer()
854 ehci_readl(ehci, &ehci->regs->command)); in fill_registers_buffer()
860 ehci_readl(ehci, &ehci->regs->intr_enable)); in fill_registers_buffer()
872 ehci_readl(ehci, in fill_registers_buffer()
[all …]
Dehci-brcm.c29 u32 frame_idx = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_brcm_wait_for_sof()
76 (ehci_readl(ehci, status_reg) & PORT_RESUME)) { in ehci_brcm_hub_control()
101 len = HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_brcm_reset()
Dehci-pmcmsp.c53 val = ehci_readl(ehci, (u32 *)base); in usb_hcd_tdi_set_mode()
58 val = ehci_readl(ehci, (u32 *)statreg); in usb_hcd_tdi_set_mode()
Dehci-pci.c233 u32 hcs_params = ehci_readl(ehci, in ehci_pci_setup()
238 temp = ehci_readl(ehci, &ehci->debug->control); in ehci_pci_setup()
Dehci-mv.c86 status = ehci_readl(ehci, &ehci->regs->port_status[0]); in mv_ehci_reset()
213 status = ehci_readl(ehci, &ehci->regs->port_status[0]); in mv_ehci_probe()
Dehci-grlib.c120 hc_capbase = ehci_readl(ehci, &ehci->caps->hc_capbase); in ehci_hcd_grlib_probe()
Dehci-mxc.c109 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_mxc_drv_probe()
Dehci-platform.c147 u32 port_status = ehci_readl(ehci, &ehci->regs->port_status[0]); in quirk_poll_check_port_status()
Dehci.h739 static inline unsigned int ehci_readl(const struct ehci_hcd *ehci, in ehci_readl() function
Dehci-q.c1291 ehci_readl(ehci, &ehci->regs->command); in start_iaa_cycle()
/kernel/linux/linux-5.10/drivers/usb/chipidea/
Dhost.c256 temp = ehci_readl(ehci, status_reg); in ci_ehci_hub_control()
279 temp = ehci_readl(ehci, status_reg); in ci_ehci_hub_control()
323 u32 portsc = ehci_readl(ehci, reg); in ci_ehci_bus_suspend()
336 tmp = ehci_readl(ehci, &ehci->regs->command); in ci_ehci_bus_suspend()
348 tmp = ehci_readl(ehci, reg); in ci_ehci_bus_suspend()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0034_linux_drivers_usb_vfio_wdt_tty_uio.patch3595 + temp = ehci_readl(ehci, status_reg);
3650 + ci->pm_usbmode = ehci_readl(ehci, &ehci->regs->usbmode);
3651 + ci->pm_command = ehci_readl(ehci, &ehci->regs->command);
3653 + ci->pm_status = ehci_readl(ehci, &ehci->regs->status);
3654 + ci->pm_intr_enable = ehci_readl(ehci, &ehci->regs->intr_enable);
3655 + ci->pm_frame_index = ehci_readl(ehci, &ehci->regs->frame_index);
3656 + ci->pm_segment = ehci_readl(ehci, &ehci->regs->segment);
3657 + ci->pm_frame_list = ehci_readl(ehci, &ehci->regs->frame_list);
3658 + ci->pm_async_next = ehci_readl(ehci, &ehci->regs->async_next);
3660 + ehci_readl(ehci, &ehci->regs->configured_flag);
[all …]