Lines Matching refs:hw_read
111 while (hw_read(ci, OP_ENDPTFLUSH, BIT(n))) in hw_ep_flush()
113 } while (hw_read(ci, OP_ENDPTSTAT, BIT(n))); in hw_ep_flush()
181 return hw_read(ci, OP_ENDPTCTRL + num, mask) ? 1 : 0; in hw_ep_get_halt()
200 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
205 while (hw_read(ci, OP_ENDPTPRIME, BIT(n))) in hw_ep_prime()
207 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
250 return ci->hw_bank.lpm ? hw_read(ci, OP_DEVLC, DEVLC_PSPD) : in hw_port_is_high_speed()
251 hw_read(ci, OP_PORTSC, PORTSC_HSP); in hw_port_is_high_speed()
342 while (hw_read(ci, OP_ENDPTPRIME, ~0)) in hw_usb_reset()
606 if (!hw_read(ci, OP_ENDPTSTAT, BIT(n))) in _hardware_enqueue()
610 if (hw_read(ci, OP_ENDPTPRIME, BIT(n))) in _hardware_enqueue()
614 tmp_stat = hw_read(ci, OP_ENDPTSTAT, BIT(n)); in _hardware_enqueue()
615 } while (!hw_read(ci, OP_USBCMD, USBCMD_ATDTW)); in _hardware_enqueue()
692 if (!hw_read(ci, OP_ENDPTSTAT, BIT(n))) in _hardware_dequeue()
1665 ret = hw_read(ci, OP_FRINDEX, 0x3fff); in ci_udc_get_frame()
1742 if (!hw_read(ci, OP_PORTSC, PORTSC_SUSP)) { in ci_udc_wakeup()
2021 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != in udc_irq()
2195 if (!hw_read(ci, CAP_DCCPARAMS, DCCPARAMS_DC)) in ci_hdrc_gadget_init()