Home
last modified time | relevance | path

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

/drivers/usb/host/
Dehci-hub.c73 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_handover_companion_ports()
87 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_handover_companion_ports()
124 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_handover_companion_ports()
145 if (ehci_readl(ehci, &ehci->regs->status) & STS_PCD) in ehci_port_change()
154 if (ehci_readl(ehci, &ehci->regs->port_status[i]) & PORT_CSC) in ehci_port_change()
182 temp = ehci_readl(ehci, hostpc_reg); in ehci_adjust_port_wakeup_flags()
193 u32 t1 = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_adjust_port_wakeup_flags()
214 temp = ehci_readl(ehci, hostpc_reg); in ehci_adjust_port_wakeup_flags()
272 u32 t1 = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_bus_suspend()
336 t3 = ehci_readl(ehci, hostpc_reg); in ehci_bus_suspend()
[all …]
Dehci-fsl.c199 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
405 u32 mode = ehci_readl(ehci, hcd->regs + FSL_SOC_USB_USBMODE); in ehci_fsl_mpc512x_drv_suspend()
407 tmp = ehci_readl(ehci, hcd->regs + 0x140); /* usbcmd */ in ehci_fsl_mpc512x_drv_suspend()
434 tmp = ehci_readl(ehci, &ehci->regs->command); in ehci_fsl_mpc512x_drv_suspend()
439 pdata->pm_command = ehci_readl(ehci, &ehci->regs->command); in ehci_fsl_mpc512x_drv_suspend()
441 pdata->pm_status = ehci_readl(ehci, &ehci->regs->status); in ehci_fsl_mpc512x_drv_suspend()
442 pdata->pm_intr_enable = ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_fsl_mpc512x_drv_suspend()
443 pdata->pm_frame_index = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_fsl_mpc512x_drv_suspend()
444 pdata->pm_segment = ehci_readl(ehci, &ehci->regs->segment); in ehci_fsl_mpc512x_drv_suspend()
445 pdata->pm_frame_list = ehci_readl(ehci, &ehci->regs->frame_list); in ehci_fsl_mpc512x_drv_suspend()
[all …]
Dehci-hcd.c126 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
128 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
136 return ehci_readl(ehci, &ehci->regs->frame_index); in ehci_read_frame_index()
166 result = ehci_readl(ehci, ptr); in ehci_handshake()
184 tmp = ehci_readl(ehci, &ehci->regs->usbmode); in tdi_in_host_mode()
211 temp = ehci_readl(ehci, &ehci->regs->command); in ehci_halt()
227 tmp = ehci_readl(ehci, &ehci->regs->usbmode); in tdi_reset()
245 u32 command = ehci_readl(ehci, &ehci->regs->command); in ehci_reset()
359 ehci_readl(ehci, &ehci->regs->configured_flag); in ehci_silence_controller()
461 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()
348 cmd = ehci_readl(ehci, &ehci->regs->command); in ehci_iaa_watchdog()
357 status = ehci_readl(ehci, &ehci->regs->status); in ehci_iaa_watchdog()
Dehci-tegra.c141 saved_usbintr = ehci_readl(ehci, &ehci->regs->intr_enable); in tegra_ehci_internal_port_reset()
151 temp = ehci_readl(ehci, portsc_reg); in tegra_ehci_internal_port_reset()
167 temp = ehci_readl(ehci, portsc_reg); in tegra_ehci_internal_port_reset()
186 temp = ehci_readl(ehci, &ehci->regs->status); in tegra_ehci_internal_port_reset()
215 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
224 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
262 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control()
Dehci-dbg.c27 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params); in dbg_hcs_params()
63 u32 params = ehci_readl(ehci, &ehci->caps->hcc_params); in dbg_hcc_params()
794 i = HC_VERSION(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in fill_registers_buffer()
814 offset = HCC_EXT_CAPS(ehci_readl(ehci, in fill_registers_buffer()
846 i = ehci_readl(ehci, &ehci->caps->hcs_params); in fill_registers_buffer()
851 i = ehci_readl(ehci, &ehci->caps->hcc_params); in fill_registers_buffer()
858 ehci_readl(ehci, &ehci->regs->status)); in fill_registers_buffer()
864 ehci_readl(ehci, &ehci->regs->command)); in fill_registers_buffer()
870 ehci_readl(ehci, &ehci->regs->intr_enable)); in fill_registers_buffer()
882 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.c240 u32 hcs_params = ehci_readl(ehci, in ehci_pci_setup()
245 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 ehci_w90x900_probe()
Dehci-grlib.c133 hc_capbase = ehci_readl(ehci, &ehci->caps->hc_capbase); in ehci_hcd_grlib_probe()
Dehci-mxc.c121 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_mxc_drv_probe()
Dehci.h751 static inline unsigned int ehci_readl(const struct ehci_hcd *ehci, in ehci_readl() function
Dehci-q.c1308 ehci_readl(ehci, &ehci->regs->command); in start_iaa_cycle()
/drivers/usb/chipidea/
Dhost.c236 u32 portsc = ehci_readl(ehci, reg); in ci_ehci_bus_suspend()
249 tmp = ehci_readl(ehci, &ehci->regs->command); in ci_ehci_bus_suspend()