Home
last modified time | relevance | path

Searched refs:gusbcfg (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/usb/dwc2/
H A Dcore.c49 gr->gusbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_backup_global_registers()
504 u32 gusbcfg; in dwc2_force_mode() local
526 gusbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_force_mode()
531 gusbcfg &= ~clear; in dwc2_force_mode()
532 gusbcfg |= set; in dwc2_force_mode()
533 dwc2_writel(hsotg, gusbcfg, GUSBCFG); in dwc2_force_mode()
552 u32 gusbcfg; in dwc2_clear_force_mode() local
559 gusbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_clear_force_mode()
560 gusbcfg &= ~GUSBCFG_FORCEHOSTMODE; in dwc2_clear_force_mode()
561 gusbcfg &= ~GUSBCFG_FORCEDEVMODE; in dwc2_clear_force_mode()
[all …]
H A Dcore.h683 u32 gusbcfg; member
H A Dhcd.c5491 u32 gusbcfg; in dwc2_host_enter_hibernation() local
5525 gusbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_host_enter_hibernation()
5526 if (gusbcfg & GUSBCFG_ULPI_UTMI_SEL) { in dwc2_host_enter_hibernation()
5631 dwc2_writel(hsotg, gr->gusbcfg, GUSBCFG); in dwc2_host_exit_hibernation()
H A Dgadget.c5430 dwc2_writel(hsotg, gr->gusbcfg, GUSBCFG); in dwc2_gadget_exit_hibernation()
/openbmc/u-boot/drivers/usb/host/
H A Ddwc2.c332 usbcfg = readl(&regs->gusbcfg); in dwc_otg_core_init()
351 writel(usbcfg, &regs->gusbcfg); in dwc_otg_core_init()
363 setbits_le32(&regs->gusbcfg, DWC2_GUSBCFG_PHYSEL); in dwc_otg_core_init()
378 setbits_le32(&regs->gusbcfg, DWC2_GUSBCFG_OTGUTMIFSSEL); in dwc_otg_core_init()
410 writel(usbcfg, &regs->gusbcfg); in dwc_otg_core_init()
416 usbcfg = readl(&regs->gusbcfg); in dwc_otg_core_init()
432 writel(usbcfg, &regs->gusbcfg); in dwc_otg_core_init()
469 setbits_le32(&regs->gusbcfg, usbcfg); in dwc_otg_core_init()
H A Ddwc2.h35 u32 gusbcfg; member
/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.h80 uint32_t gusbcfg; /* 0c */ member
H A Dhcd-dwc2.c1253 s->gusbcfg = 5 << GUSBCFG_USBTRDTIM_SHIFT; in dwc2_reset_enter()
/openbmc/u-boot/drivers/usb/gadget/
H A Ddwc2_udc_otg_regs.h55 u32 gusbcfg; /* Core USB Configuration */ member
H A Ddwc2_udc_otg.c425 writel(dflt_gusbcfg, &reg->gusbcfg); in reconfig_usbd()