Home
last modified time | relevance | path

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

/linux-6.1.9/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-hcd.c115 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
117 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
125 return ehci_readl(ehci, &ehci->regs->frame_index); in ehci_read_frame_index()
155 result = ehci_readl(ehci, ptr); in ehci_handshake()
173 tmp = ehci_readl(ehci, &ehci->regs->usbmode); in tdi_in_host_mode()
200 temp = ehci_readl(ehci, &ehci->regs->command); in ehci_halt()
216 tmp = ehci_readl(ehci, &ehci->regs->usbmode); in tdi_reset()
234 u32 command = ehci_readl(ehci, &ehci->regs->command); in ehci_reset()
348 ehci_readl(ehci, &ehci->regs->configured_flag); in ehci_silence_controller()
450 ehci_readl(ehci, &ehci->regs->status)); in ehci_stop()
[all …]
Dehci-fsl.c207 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
434 u32 mode = ehci_readl(ehci, hcd->regs + FSL_SOC_USB_USBMODE); in ehci_fsl_mpc512x_drv_suspend()
436 tmp = ehci_readl(ehci, hcd->regs + 0x140); /* usbcmd */ in ehci_fsl_mpc512x_drv_suspend()
463 tmp = ehci_readl(ehci, &ehci->regs->command); in ehci_fsl_mpc512x_drv_suspend()
468 pdata->pm_command = ehci_readl(ehci, &ehci->regs->command); in ehci_fsl_mpc512x_drv_suspend()
470 pdata->pm_status = ehci_readl(ehci, &ehci->regs->status); in ehci_fsl_mpc512x_drv_suspend()
471 pdata->pm_intr_enable = ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_fsl_mpc512x_drv_suspend()
472 pdata->pm_frame_index = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_fsl_mpc512x_drv_suspend()
473 pdata->pm_segment = ehci_readl(ehci, &ehci->regs->segment); in ehci_fsl_mpc512x_drv_suspend()
474 pdata->pm_frame_list = ehci_readl(ehci, &ehci->regs->frame_list); in ehci_fsl_mpc512x_drv_suspend()
[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-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()
80 (ehci_readl(ehci, status_reg) & PORT_RESUME)) { in ehci_brcm_hub_control()
105 len = HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_brcm_reset()
Dehci-pci.c246 u32 hcs_params = ehci_readl(ehci, in ehci_pci_setup()
251 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-platform.c144 u32 port_status = ehci_readl(ehci, &ehci->regs->port_status[0]); in quirk_poll_check_port_status()
Dehci.h741 static inline unsigned int ehci_readl(const struct ehci_hcd *ehci, in ehci_readl() function
Dehci-q.c1292 ehci_readl(ehci, &ehci->regs->command); in start_iaa_cycle()
/linux-6.1.9/drivers/usb/chipidea/
Dci_hdrc_tegra.c179 saved_usbintr = ehci_readl(ehci, &ehci->regs->intr_enable); in tegra_usb_internal_port_reset()
189 temp = ehci_readl(ehci, portsc_reg); in tegra_usb_internal_port_reset()
205 temp = ehci_readl(ehci, portsc_reg); in tegra_usb_internal_port_reset()
224 temp = ehci_readl(ehci, &ehci->regs->status); in tegra_usb_internal_port_reset()
Dhost.c278 temp = ehci_readl(ehci, status_reg); in ci_ehci_hub_control()
301 temp = ehci_readl(ehci, status_reg); in ci_ehci_hub_control()
345 u32 portsc = ehci_readl(ehci, reg); in ci_ehci_bus_suspend()
358 tmp = ehci_readl(ehci, &ehci->regs->command); in ci_ehci_bus_suspend()
370 tmp = ehci_readl(ehci, reg); in ci_ehci_bus_suspend()