/openbmc/linux/drivers/usb/host/ |
H A D | ehci-hub.c | 59 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 …]
|
H A D | ehci-hcd.c | 115 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 …]
|
H A D | ehci-fsl.c | 206 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy() 433 u32 mode = ehci_readl(ehci, hcd->regs + FSL_SOC_USB_USBMODE); in ehci_fsl_mpc512x_drv_suspend() 435 tmp = ehci_readl(ehci, hcd->regs + 0x140); /* usbcmd */ in ehci_fsl_mpc512x_drv_suspend() 462 tmp = ehci_readl(ehci, &ehci->regs->command); in ehci_fsl_mpc512x_drv_suspend() 467 pdata->pm_command = ehci_readl(ehci, &ehci->regs->command); in ehci_fsl_mpc512x_drv_suspend() 469 pdata->pm_status = ehci_readl(ehci, &ehci->regs->status); in ehci_fsl_mpc512x_drv_suspend() 470 pdata->pm_intr_enable = ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_fsl_mpc512x_drv_suspend() 471 pdata->pm_frame_index = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_fsl_mpc512x_drv_suspend() 472 pdata->pm_segment = ehci_readl(ehci, &ehci->regs->segment); in ehci_fsl_mpc512x_drv_suspend() 473 pdata->pm_frame_list = ehci_readl(ehci, &ehci->regs->frame_list); in ehci_fsl_mpc512x_drv_suspend() [all …]
|
H A D | ehci-timer.c | 17 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()
|
H A D | ehci-dbg.c | 17 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 …]
|
H A D | ehci-brcm.c | 29 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()
|
H A D | ehci-pci.c | 246 u32 hcs_params = ehci_readl(ehci, in ehci_pci_setup() 251 temp = ehci_readl(ehci, &ehci->debug->control); in ehci_pci_setup()
|
H A D | ehci-mv.c | 86 status = ehci_readl(ehci, &ehci->regs->port_status[0]); in mv_ehci_reset() 212 status = ehci_readl(ehci, &ehci->regs->port_status[0]); in mv_ehci_probe()
|
H A D | ehci-grlib.c | 120 hc_capbase = ehci_readl(ehci, &ehci->caps->hc_capbase); in ehci_hcd_grlib_probe()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | ehci-hcd.c | 132 tmp = ehci_readl(reg_ptr); in ehci_set_usbmode() 150 int max_ports = HCS_N_PORTS(ehci_readl(&ctrl->hccr->cr_hcsparams)); in ehci_get_portsc_register() 166 result = ehci_readl(ptr); in handshake() 183 cmd = ehci_readl(&ctrl->hcor->or_usbcmd); in ehci_reset() 197 cmd = ehci_readl(&ctrl->hcor->or_txfilltuning); in ehci_reset() 210 int max_ports = HCS_N_PORTS(ehci_readl(&ctrl->hccr->cr_hcsparams)); in ehci_shutdown() 212 cmd = ehci_readl(&ctrl->hcor->or_usbcmd); in ehci_shutdown() 223 reg = ehci_readl(&ctrl->hcor->or_portsc[i]); in ehci_shutdown() 557 usbsts = ehci_readl(&ctrl->hcor->or_usbsts); in ehci_submit_async() 561 cmd = ehci_readl(&ctrl->hcor->or_usbcmd); in ehci_submit_async() [all …]
|
H A D | ehci-aspeed.c | 27 if (ehci_readl(status_reg) & EHCI_PS_CSC) in aspeed_ehci_powerup_fixup() 62 ((u32)hccr + HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_aspeed_probe() 66 (u32)HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_aspeed_probe()
|
H A D | ehci-pci.c | 39 HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_pci_init() 43 (u32)HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_pci_init() 78 HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_pci_legacy_init() 82 (u32)HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_pci_legacy_init()
|
H A D | ehci-atmel.c | 31 HC_LENGTH(ehci_readl(&(*hccr)->cr_capbase))); in ehci_hcd_init() 104 ((u32)hccr + HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_atmel_probe() 108 (u32)HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_atmel_probe()
|
H A D | ehci-marvell.c | 130 ((uintptr_t)hccr + HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_mvebu_probe() 134 (uintptr_t)HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_mvebu_probe() 213 + HC_LENGTH(ehci_readl(&(*hccr)->cr_capbase))); in ehci_hcd_init() 217 (uint32_t)HC_LENGTH(ehci_readl(&(*hccr)->cr_capbase))); in ehci_hcd_init()
|
H A D | ehci-armada100.c | 32 + HC_LENGTH(ehci_readl(&(*hccr)->cr_capbase))); in ehci_hcd_init() 36 (uint32_t)HC_LENGTH(ehci_readl(&(*hccr)->cr_capbase))); in ehci_hcd_init()
|
H A D | ehci-spear.c | 55 HC_LENGTH(ehci_readl(&(*hccr)->cr_capbase))); in ehci_hcd_init() 59 (uint32_t)HC_LENGTH(ehci_readl(&(*hccr)->cr_capbase))); in ehci_hcd_init()
|
H A D | ehci-fsl.c | 109 ((void *)hccr + HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_fsl_probe() 118 HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_fsl_probe() 169 HC_LENGTH(ehci_readl(&(*hccr)->cr_capbase))); in ehci_hcd_init() 299 cmd = ehci_readl(&ehci->txfilltuning); in set_txfifothresh()
|
H A D | ehci-mxs.c | 129 cap_base = ehci_readl(&(*hccr)->cr_capbase); in ehci_hcd_init() 153 cap_base = ehci_readl(&hccr->cr_capbase); in ehci_hcd_stop() 156 tmp = ehci_readl(&hcor->or_usbcmd); in ehci_hcd_stop()
|
H A D | ehci.h | 107 #define ehci_readl(x) be32_to_cpu(__raw_readl(x)) macro 110 #define ehci_readl(x) readl(x) macro
|
H A D | ehci-vf.c | 175 HC_LENGTH(ehci_readl(&(*hccr)->cr_capbase))); in ehci_hcd_init() 337 HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_usb_probe()
|
H A D | ehci-zynq.c | 48 HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_zynq_probe()
|
H A D | ehci-msm.c | 59 HC_LENGTH(ehci_readl(&(hccr)->cr_capbase))); in ehci_usb_probe()
|
H A D | ehci-tegra.c | 220 if (ehci_readl(status_reg) & EHCI_PS_CSC) in tegra_ehci_powerup_fixup() 232 tmp = ehci_readl(&usbctlr->usb_mode); in tegra_ehci_set_usbmode() 248 tmp = ehci_readl(reg_ptr); in tegra_ehci_get_port_speed()
|
/openbmc/linux/drivers/usb/chipidea/ |
H A D | ci_hdrc_tegra.c | 180 saved_usbintr = ehci_readl(ehci, &ehci->regs->intr_enable); in tegra_usb_internal_port_reset() 190 temp = ehci_readl(ehci, portsc_reg); in tegra_usb_internal_port_reset() 206 temp = ehci_readl(ehci, portsc_reg); in tegra_usb_internal_port_reset() 225 temp = ehci_readl(ehci, &ehci->regs->status); in tegra_usb_internal_port_reset()
|
H A D | host.c | 278 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()
|