/drivers/usb/host/ |
D | ehci-hub.c | 66 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_handover_companion_ports() 96 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_handover_companion_ports() 116 if (ehci_readl(ehci, &ehci->regs->status) & STS_PCD) in ehci_port_change() 125 if (ehci_readl(ehci, &ehci->regs->port_status[i]) & PORT_CSC) in ehci_port_change() 156 temp = ehci_readl(ehci, hostpc_reg); in ehci_adjust_port_wakeup_flags() 167 u32 t1 = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_adjust_port_wakeup_flags() 192 temp = ehci_readl(ehci, hostpc_reg); in ehci_adjust_port_wakeup_flags() 236 ehci->command = ehci_readl(ehci, &ehci->regs->command); in ehci_bus_suspend() 250 u32 t1 = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_bus_suspend() 294 t3 = ehci_readl(ehci, hostpc_reg); in ehci_bus_suspend() [all …]
|
D | ehci-fsl.c | 225 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy() 335 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_fsl_setup() 340 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_fsl_setup() 391 u32 mode = ehci_readl(ehci, hcd->regs + FSL_SOC_USB_USBMODE); in ehci_fsl_mpc512x_drv_suspend() 393 tmp = ehci_readl(ehci, hcd->regs + 0x140); /* usbcmd */ in ehci_fsl_mpc512x_drv_suspend() 420 tmp = ehci_readl(ehci, &ehci->regs->command); in ehci_fsl_mpc512x_drv_suspend() 425 pdata->pm_command = ehci_readl(ehci, &ehci->regs->command); in ehci_fsl_mpc512x_drv_suspend() 427 pdata->pm_status = ehci_readl(ehci, &ehci->regs->status); in ehci_fsl_mpc512x_drv_suspend() 428 pdata->pm_intr_enable = ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_fsl_mpc512x_drv_suspend() 429 pdata->pm_frame_index = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_fsl_mpc512x_drv_suspend() [all …]
|
D | ehci-hcd.c | 191 result = ehci_readl(ehci, ptr); in handshake() 210 tmp = ehci_readl(ehci, reg_ptr); in tdi_in_host_mode() 217 u32 temp = ehci_readl(ehci, &ehci->regs->status); in ehci_halt() 229 temp = ehci_readl(ehci, &ehci->regs->command); in ehci_halt() 305 tmp = ehci_readl(ehci, reg_ptr); in tdi_reset() 320 u32 command = ehci_readl(ehci, &ehci->regs->command); in ehci_reset() 366 temp = ehci_readl(ehci, &ehci->regs->command) << 10; in ehci_quiesce() 373 temp = ehci_readl(ehci, &ehci->regs->command); in ehci_quiesce() 419 cmd = ehci_readl(ehci, &ehci->regs->command); in ehci_iaa_watchdog() 430 status = ehci_readl(ehci, &ehci->regs->status); in ehci_iaa_watchdog() [all …]
|
D | ehci-spear.c | 43 ehci->regs = hcd->regs + HC_LENGTH(ehci, ehci_readl(ehci, in ehci_spear_setup() 46 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_spear_setup() 114 ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_spear_drv_suspend() 128 if (ehci_readl(ehci, &ehci->regs->configured_flag) == FLAG_CF) { in ehci_spear_drv_resume() 137 ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_spear_drv_resume() 160 ehci_readl(ehci, &ehci->regs->command); /* unblock posted writes */ in ehci_spear_drv_resume()
|
D | ehci-pci.c | 73 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_pci_setup() 103 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_pci_setup() 242 temp = ehci_readl(ehci, &ehci->debug->control); in ehci_pci_setup() 348 (void)ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_pci_suspend() 418 if (ehci_readl(ehci, &ehci->regs->configured_flag) == FLAG_CF && in ehci_pci_resume() 426 ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_pci_resume() 448 ehci_readl(ehci, &ehci->regs->command); /* unblock posted writes */ in ehci_pci_resume()
|
D | ehci-dbg.c | 44 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params); in dbg_hcs_params() 88 u32 params = ehci_readl(ehci, &ehci->caps->hcc_params); in dbg_hcc_params() 741 i = HC_VERSION(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in fill_registers_buffer() 761 offset = HCC_EXT_CAPS(ehci_readl(ehci, in fill_registers_buffer() 793 i = ehci_readl(ehci, &ehci->caps->hcs_params); in fill_registers_buffer() 798 i = ehci_readl(ehci, &ehci->caps->hcc_params); in fill_registers_buffer() 805 ehci_readl(ehci, &ehci->regs->status)); in fill_registers_buffer() 811 ehci_readl(ehci, &ehci->regs->command)); in fill_registers_buffer() 817 ehci_readl(ehci, &ehci->regs->intr_enable)); in fill_registers_buffer() 829 ehci_readl(ehci, in fill_registers_buffer() [all …]
|
D | ehci-pmcmsp.c | 57 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() 86 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_msp_setup() 91 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_msp_setup() 281 int_src = ehci_readl(ehci, &mdev->mab_regs->int_stat); in ehci_msp_irq()
|
D | ehci-au1xxx.c | 175 (void)ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_hcd_au1xxx_drv_suspend() 206 if (ehci_readl(ehci, &ehci->regs->configured_flag) == FLAG_CF) { in ehci_hcd_au1xxx_drv_resume() 213 ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_hcd_au1xxx_drv_resume() 235 ehci_readl(ehci, &ehci->regs->command); /* unblock posted writes */ in ehci_hcd_au1xxx_drv_resume()
|
D | ehci-tegra.c | 77 saved_usbintr = ehci_readl(ehci, &ehci->regs->intr_enable); in tegra_ehci_internal_port_reset() 87 temp = ehci_readl(ehci, portsc_reg); in tegra_ehci_internal_port_reset() 103 temp = ehci_readl(ehci, portsc_reg); in tegra_ehci_internal_port_reset() 122 temp = ehci_readl(ehci, &ehci->regs->status); in tegra_ehci_internal_port_reset() 156 temp = ehci_readl(ehci, status_reg) & ~PORT_RWC_BITS; in tegra_ehci_hub_control() 162 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control() 171 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control() 209 temp = ehci_readl(ehci, status_reg); in tegra_ehci_hub_control() 271 ehci_readl(ehci, &ehci->regs->command); in tegra_ehci_restart()
|
D | ehci-grlib.c | 160 hc_capbase = ehci_readl(ehci, &ehci->caps->hc_capbase); in ehci_hcd_grlib_probe() 168 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_hcd_grlib_probe() 171 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_hcd_grlib_probe()
|
D | ehci-s5p.c | 227 (void)ehci_readl(ehci, &ehci->regs->intr_enable); in s5p_ehci_suspend() 258 if (ehci_readl(ehci, &ehci->regs->configured_flag) == FLAG_CF) { in s5p_ehci_resume() 265 ehci_readl(ehci, &ehci->regs->intr_enable); in s5p_ehci_resume() 283 ehci_readl(ehci, &ehci->regs->command); /* unblock posted writes */ in s5p_ehci_resume()
|
D | ehci-lpm.c | 30 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_num-1]); in ehci_lpm_set_da() 48 val32 = ehci_readl(ehci, portsc); in ehci_lpm_check()
|
D | ehci-xls.c | 22 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_xls_setup() 27 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_xls_setup()
|
D | ehci-ixp4xx.c | 26 + HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ixp4xx_ehci_init() 27 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ixp4xx_ehci_init()
|
D | ehci-cns3xxx.c | 37 + HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in cns3xxx_ehci_init() 38 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in cns3xxx_ehci_init()
|
D | ehci-w90x900.c | 60 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in usb_w90x900_probe() 74 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in usb_w90x900_probe()
|
D | ehci-octeon.c | 154 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_octeon_drv_probe() 156 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_octeon_drv_probe()
|
D | ehci-xilinx-of.c | 223 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_hcd_xilinx_of_probe() 226 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_hcd_xilinx_of_probe()
|
D | ehci-atmel.c | 61 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_atmel_setup() 66 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_atmel_setup()
|
D | ehci-ppc-of.c | 182 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_hcd_ppc_of_probe() 185 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_hcd_ppc_of_probe()
|
D | ehci-sh.c | 26 ehci->regs = hcd->regs + HC_LENGTH(ehci, ehci_readl(ehci, in ehci_sh_reset() 32 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_sh_reset()
|
D | ehci-orion.c | 255 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_orion_drv_probe() 256 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_orion_drv_probe()
|
D | ehci-ps3.c | 60 ehci->regs = hcd->regs + HC_LENGTH(ehci, ehci_readl(ehci, in ps3_ehci_hc_reset() 66 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ps3_ehci_hc_reset()
|
D | ehci-mxc.c | 49 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_mxc_setup() 212 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_mxc_drv_probe()
|
D | ehci.h | 647 static inline unsigned int ehci_readl(const struct ehci_hcd *ehci, in ehci_readl() function 762 return ehci_readl(ehci, &ehci->regs->frame_index); in ehci_read_frame_index()
|