Lines Matching refs:hw_read
109 while (hw_read(ci, OP_ENDPTFLUSH, BIT(n))) in hw_ep_flush()
111 } while (hw_read(ci, OP_ENDPTSTAT, BIT(n))); in hw_ep_flush()
179 return hw_read(ci, OP_ENDPTCTRL + num, mask) ? 1 : 0; in hw_ep_get_halt()
198 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
203 while (hw_read(ci, OP_ENDPTPRIME, BIT(n))) in hw_ep_prime()
205 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
248 return ci->hw_bank.lpm ? hw_read(ci, OP_DEVLC, DEVLC_PSPD) : in hw_port_is_high_speed()
249 hw_read(ci, OP_PORTSC, PORTSC_HSP); in hw_port_is_high_speed()
340 while (hw_read(ci, OP_ENDPTPRIME, ~0)) in hw_usb_reset()
602 if (hw_read(ci, OP_ENDPTPRIME, BIT(n))) in _hardware_enqueue()
606 tmp_stat = hw_read(ci, OP_ENDPTSTAT, BIT(n)); in _hardware_enqueue()
607 } while (!hw_read(ci, OP_USBCMD, USBCMD_ATDTW)); in _hardware_enqueue()
684 if (!hw_read(ci, OP_ENDPTSTAT, BIT(n))) in _hardware_dequeue()
1721 if (!hw_read(ci, OP_PORTSC, PORTSC_SUSP)) { in ci_udc_wakeup()
1999 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != in udc_irq()
2173 if (!hw_read(ci, CAP_DCCPARAMS, DCCPARAMS_DC)) in ci_hdrc_gadget_init()