Lines Matching refs:hw_write
81 hw_write(ci, OP_ENDPTLISTADDR, ~0, dma); in hw_device_state()
83 hw_write(ci, OP_USBINTR, ~0, in hw_device_state()
86 hw_write(ci, OP_USBINTR, ~0, 0); in hw_device_state()
104 hw_write(ci, OP_ENDPTFLUSH, ~0, BIT(n)); in hw_ep_flush()
121 hw_write(ci, OP_ENDPTCTRL + num, in hw_ep_disable()
157 hw_write(ci, OP_ENDPTCTRL + num, mask, data); in hw_ep_enable()
193 hw_write(ci, OP_ENDPTPRIME, ~0, BIT(n)); in hw_ep_prime()
224 hw_write(ci, reg, mask_xs|mask_xr, in hw_ep_set_halt()
265 hw_write(ci, OP_USBSTS, ~0, reg); in hw_test_and_clear_intr_active()
300 hw_write(ci, OP_DEVICEADDR, DEVICEADDR_USBADR, in hw_usb_set_address()
315 hw_write(ci, OP_ENDPTFLUSH, ~0, ~0); in hw_usb_reset()
318 hw_write(ci, OP_ENDPTSETUPSTAT, 0, 0); in hw_usb_reset()
321 hw_write(ci, OP_ENDPTCOMPLETE, 0, 0); in hw_usb_reset()
486 hw_write(ci, OP_USBCMD, USBCMD_ATDTW, USBCMD_ATDTW); in _hardware_enqueue()
489 hw_write(ci, OP_USBCMD, USBCMD_ATDTW, 0); in _hardware_enqueue()
1569 hw_write(ci, OP_PORTSC, PORTSC_FPR, PORTSC_FPR); in ci_udc_wakeup()
1613 hw_write(ci, OP_USBCMD, USBCMD_RS, USBCMD_RS); in ci_udc_pullup()
1615 hw_write(ci, OP_USBCMD, USBCMD_RS, 0); in ci_udc_pullup()