Lines Matching refs:hprt

31     USB_REG_HPRT hprt;  in USB_SET_REG_HPRT()  local
32 hprt.HPRT = USB->__HPRT; // @0x41300440 in USB_SET_REG_HPRT()
33 hprt.HPRT_b.POC = hprt.HPRT_b.PEDC = hprt.HPRT_b.PE = hprt.HPRT_b.PCD = 0; in USB_SET_REG_HPRT()
35 hprt.HPRT &= (~clr->HPRT); in USB_SET_REG_HPRT()
37 hprt.HPRT |= (set->HPRT); in USB_SET_REG_HPRT()
38 USB->__HPRT = hprt.HPRT; in USB_SET_REG_HPRT()
104 USB_REG_HPRT hprt; in USB_hostVBus() local
105 hprt.HPRT = 0; in USB_hostVBus()
106 hprt.HPRT_b.PP = 1; in USB_hostVBus()
108 USB_SET_REG_HPRT(NULL, &hprt); in USB_hostVBus()
110 USB_SET_REG_HPRT(&hprt, NULL); in USB_hostVBus()
117 USB_REG_HPRT hprt; in USB_hostInit() local
122 hprt.HPRT = 0; in USB_hostInit()
123 hprt.HPRT_b.PP = 1; in USB_hostInit()
124 USB_SET_REG_HPRT(NULL, &hprt); in USB_hostInit()
129 USB_REG_HPRT hprt; in USB_HostResetPort() local
130 hprt.HPRT = 0; in USB_HostResetPort()
131 hprt.HPRT_b.PRESET = 1; in USB_HostResetPort()
133 USB_SET_REG_HPRT(NULL, &hprt); in USB_HostResetPort()
135 USB_SET_REG_HPRT(&hprt, NULL); in USB_HostResetPort()
145 USB_REG_HPRT hprt; in USB_HostSuspendPort() local
146 hprt.HPRT = 0; in USB_HostSuspendPort()
147 hprt.HPRT_b.PS = 1; in USB_HostSuspendPort()
148 USB_SET_REG_HPRT(NULL, &hprt); in USB_HostSuspendPort()
250 USB_REG_HPRT hprt; in USB_hostPortDisable() local
251 hprt.HPRT = 0; in USB_hostPortDisable()
252 hprt.HPRT_b.PE = 1; in USB_hostPortDisable()
253 USB_SET_REG_HPRT(&hprt, NULL); in USB_hostPortDisable()
280 USB_REG_HPRT hprt; in USB_hostINT_clrPCD() local
281 hprt.HPRT = 0; in USB_hostINT_clrPCD()
282 hprt.HPRT_b.PCD = 1; in USB_hostINT_clrPCD()
283 USB_SET_REG_HPRT(NULL, &hprt); in USB_hostINT_clrPCD()
293 USB_REG_HPRT hprt; in USB_hostINT_clrPEDC() local
294 hprt.HPRT = 0; in USB_hostINT_clrPEDC()
295 hprt.HPRT_b.PEDC = 1; in USB_hostINT_clrPEDC()
296 USB_SET_REG_HPRT(NULL, &hprt); in USB_hostINT_clrPEDC()