Lines Matching refs:hw_read
105 while (hw_read(ci, OP_ENDPTFLUSH, BIT(n))) in hw_ep_flush()
107 } while (hw_read(ci, OP_ENDPTSTAT, BIT(n))); in hw_ep_flush()
172 return hw_read(ci, OP_ENDPTCTRL + num, mask) ? 1 : 0; in hw_ep_get_halt()
190 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
195 while (hw_read(ci, OP_ENDPTPRIME, BIT(n))) in hw_ep_prime()
197 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
238 return ci->hw_bank.lpm ? hw_read(ci, OP_DEVLC, DEVLC_PSPD) : in hw_port_is_high_speed()
239 hw_read(ci, OP_PORTSC, PORTSC_HSP); in hw_port_is_high_speed()
324 while (hw_read(ci, OP_ENDPTPRIME, ~0)) in hw_usb_reset()
483 if (hw_read(ci, OP_ENDPTPRIME, BIT(n))) in _hardware_enqueue()
487 tmp_stat = hw_read(ci, OP_ENDPTSTAT, BIT(n)); in _hardware_enqueue()
488 } while (!hw_read(ci, OP_USBCMD, USBCMD_ATDTW)); in _hardware_enqueue()
564 if (!hw_read(ci, OP_ENDPTSTAT, BIT(n))) in _hardware_dequeue()
1565 if (!hw_read(ci, OP_PORTSC, PORTSC_SUSP)) { in ci_udc_wakeup()
1832 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != in udc_irq()
1999 if (!hw_read(ci, CAP_DCCPARAMS, DCCPARAMS_DC)) in ci_hdrc_gadget_init()