Home
last modified time | relevance | path

Searched refs:hprt (Results 1 – 4 of 4) sorted by relevance

/bsp/CME_M7/StdPeriph_Driver/src/
A Dcmem7_usb.c31 USB_REG_HPRT hprt; in USB_SET_REG_HPRT() local
33 hprt.HPRT_b.POC = hprt.HPRT_b.PEDC = hprt.HPRT_b.PE = hprt.HPRT_b.PCD = 0; in USB_SET_REG_HPRT()
105 hprt.HPRT = 0; in USB_hostVBus()
117 USB_REG_HPRT hprt; in USB_hostInit() local
122 hprt.HPRT = 0; in USB_hostInit()
129 USB_REG_HPRT hprt; in USB_HostResetPort() local
130 hprt.HPRT = 0; in USB_HostResetPort()
145 USB_REG_HPRT hprt; in USB_HostSuspendPort() local
146 hprt.HPRT = 0; in USB_HostSuspendPort()
281 hprt.HPRT = 0; in USB_hostINT_clrPCD()
[all …]
/bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/host/core/Source/
A Dusbh_core.c607 __IO uint32_t hprt = 0U; in usb_hwp_resume() local
614 hprt = usb_port_read(pudev); in usb_hwp_resume()
616 hprt &= ~HPCS_PSP; in usb_hwp_resume()
617 hprt |= HPCS_PREM; in usb_hwp_resume()
619 *pudev->regs.HPCS = hprt; in usb_hwp_resume()
623 hprt &= ~HPCS_PREM; in usb_hwp_resume()
625 *pudev->regs.HPCS = hprt; in usb_hwp_resume()
636 __IO uint32_t hprt = 0U; in usb_hwp_suspend() local
638 hprt = usb_port_read(pudev); in usb_hwp_suspend()
640 hprt |= HPCS_PSP; in usb_hwp_suspend()
[all …]
/bsp/at32/libraries/usbotg_library/src/
A Dusbh_core.c468 uint32_t hprt_val = host->hprt; in usbh_enter_suspend()
474 host->hprt = hprt_val | USB_OTG_HPRT_PRTSUSP; in usbh_enter_suspend()
489 uint32_t temp = host->hprt; in usbh_resume()
498 host->hprt = temp | USB_OTG_HPRT_PRTRES; in usbh_resume()
504 temp = host->hprt; in usbh_resume()
508 host->hprt = temp; in usbh_resume()
990 uint32_t hprt_val = usb_host->hprt; in usbh_reset_port()
996 usb_host->hprt = hprt_val | USB_OTG_HPRT_PRTRST; in usbh_reset_port()
1001 usb_host->hprt = hprt_val & (~USB_OTG_HPRT_PRTRST); in usbh_reset_port()
A Dusbh_int.c552 prt = usb_host->hprt; in usbh_port_handler()
602 usb_host->hprt = prt_0; in usbh_port_handler()

Completed in 18 milliseconds