Home
last modified time | relevance | path

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

/drivers/usb/host/
Dehci-hub.c70 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_handover_companion_ports()
84 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_handover_companion_ports()
121 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_handover_companion_ports()
142 if (ehci_readl(ehci, &ehci->regs->status) & STS_PCD) in ehci_port_change()
151 if (ehci_readl(ehci, &ehci->regs->port_status[i]) & PORT_CSC) in ehci_port_change()
179 temp = ehci_readl(ehci, hostpc_reg); in ehci_adjust_port_wakeup_flags()
190 u32 t1 = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_adjust_port_wakeup_flags()
211 temp = ehci_readl(ehci, hostpc_reg); in ehci_adjust_port_wakeup_flags()
269 u32 t1 = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_bus_suspend()
325 t3 = ehci_readl(ehci, hostpc_reg); in ehci_bus_suspend()
[all …]
Dehci-fsl.c198 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
398 u32 mode = ehci_readl(ehci, hcd->regs + FSL_SOC_USB_USBMODE); in ehci_fsl_mpc512x_drv_suspend()
400 tmp = ehci_readl(ehci, hcd->regs + 0x140); /* usbcmd */ in ehci_fsl_mpc512x_drv_suspend()
427 tmp = ehci_readl(ehci, &ehci->regs->command); in ehci_fsl_mpc512x_drv_suspend()
432 pdata->pm_command = ehci_readl(ehci, &ehci->regs->command); in ehci_fsl_mpc512x_drv_suspend()
434 pdata->pm_status = ehci_readl(ehci, &ehci->regs->status); in ehci_fsl_mpc512x_drv_suspend()
435 pdata->pm_intr_enable = ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_fsl_mpc512x_drv_suspend()
436 pdata->pm_frame_index = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_fsl_mpc512x_drv_suspend()
437 pdata->pm_segment = ehci_readl(ehci, &ehci->regs->segment); in ehci_fsl_mpc512x_drv_suspend()
438 pdata->pm_frame_list = ehci_readl(ehci, &ehci->regs->frame_list); in ehci_fsl_mpc512x_drv_suspend()
[all …]
Dehci-hcd.c127 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
129 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
137 return ehci_readl(ehci, &ehci->regs->frame_index); in ehci_read_frame_index()
167 result = ehci_readl(ehci, ptr); in ehci_handshake()
185 tmp = ehci_readl(ehci, &ehci->regs->usbmode); in tdi_in_host_mode()
212 temp = ehci_readl(ehci, &ehci->regs->command); in ehci_halt()
228 tmp = ehci_readl(ehci, &ehci->regs->usbmode); in tdi_reset()
246 u32 command = ehci_readl(ehci, &ehci->regs->command); in ehci_reset()
360 ehci_readl(ehci, &ehci->regs->configured_flag); in ehci_silence_controller()
453 ehci_readl(ehci, &ehci->regs->status)); in ehci_stop()
[all …]
Dehci-timer.c26 ehci_readl(ehci, &ehci->regs->command); in ehci_set_command_bit()
36 ehci_readl(ehci, &ehci->regs->command); in ehci_clear_command_bit()
113 actual = ehci_readl(ehci, &ehci->regs->status) & STS_ASS; in ehci_poll_ASS()
159 actual = ehci_readl(ehci, &ehci->regs->status) & STS_PSS; in ehci_poll_PSS()
198 if (!(ehci_readl(ehci, &ehci->regs->status) & STS_HALT)) { in ehci_handle_controller_death()
347 cmd = ehci_readl(ehci, &ehci->regs->command); in ehci_iaa_watchdog()
356 status = ehci_readl(ehci, &ehci->regs->status); in ehci_iaa_watchdog()
Dehci-tegra.c131 saved_usbintr = ehci_readl(ehci, &ehci->regs->intr_enable); in tegra_ehci_internal_port_reset()
141 temp = ehci_readl(ehci, portsc_reg); in tegra_ehci_internal_port_reset()
157 temp = ehci_readl(ehci, portsc_reg); in tegra_ehci_internal_port_reset()
176 temp = ehci_readl(ehci, &ehci->regs->status); in tegra_ehci_internal_port_reset()
205 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
214 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
252 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
Dehci-dbg.c29 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params); in dbg_hcs_params()
73 u32 params = ehci_readl(ehci, &ehci->caps->hcc_params); in dbg_hcc_params()
808 i = HC_VERSION(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in fill_registers_buffer()
828 offset = HCC_EXT_CAPS(ehci_readl(ehci, in fill_registers_buffer()
860 i = ehci_readl(ehci, &ehci->caps->hcs_params); in fill_registers_buffer()
865 i = ehci_readl(ehci, &ehci->caps->hcc_params); in fill_registers_buffer()
872 ehci_readl(ehci, &ehci->regs->status)); in fill_registers_buffer()
878 ehci_readl(ehci, &ehci->regs->command)); in fill_registers_buffer()
884 ehci_readl(ehci, &ehci->regs->intr_enable)); in fill_registers_buffer()
896 ehci_readl(ehci, in fill_registers_buffer()
[all …]
Dehci-pmcmsp.c57 val = ehci_readl(ehci, (u32 *)base); in usb_hcd_tdi_set_mode()
62 val = ehci_readl(ehci, (u32 *)statreg); in usb_hcd_tdi_set_mode()
Dehci-pci.c247 u32 hcs_params = ehci_readl(ehci, in ehci_pci_setup()
252 temp = ehci_readl(ehci, &ehci->debug->control); in ehci_pci_setup()
Dehci-w90x900.c63 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in usb_w90x900_probe()
Dehci-grlib.c133 hc_capbase = ehci_readl(ehci, &ehci->caps->hc_capbase); in ehci_hcd_grlib_probe()
Dehci-mxc.c123 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_mxc_drv_probe()
Dehci.h732 static inline unsigned int ehci_readl(const struct ehci_hcd *ehci, in ehci_readl() function
Dehci-q.c1305 ehci_readl(ehci, &ehci->regs->command); in start_iaa_cycle()
/drivers/usb/chipidea/
Dhost.c218 u32 portsc = ehci_readl(ehci, reg); in ci_ehci_bus_suspend()
231 tmp = ehci_readl(ehci, &ehci->regs->command); in ci_ehci_bus_suspend()