Lines Matching refs:hw_read
106 while (hw_read(ci, OP_ENDPTFLUSH, BIT(n))) in hw_ep_flush()
108 } while (hw_read(ci, OP_ENDPTSTAT, BIT(n))); in hw_ep_flush()
173 return hw_read(ci, OP_ENDPTCTRL + num, mask) ? 1 : 0; in hw_ep_get_halt()
191 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
196 while (hw_read(ci, OP_ENDPTPRIME, BIT(n))) in hw_ep_prime()
198 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
239 return ci->hw_bank.lpm ? hw_read(ci, OP_DEVLC, DEVLC_PSPD) : in hw_port_is_high_speed()
240 hw_read(ci, OP_PORTSC, PORTSC_HSP); in hw_port_is_high_speed()
325 while (hw_read(ci, OP_ENDPTPRIME, ~0)) in hw_usb_reset()
484 if (hw_read(ci, OP_ENDPTPRIME, BIT(n))) in _hardware_enqueue()
488 tmp_stat = hw_read(ci, OP_ENDPTSTAT, BIT(n)); in _hardware_enqueue()
489 } while (!hw_read(ci, OP_USBCMD, USBCMD_ATDTW)); in _hardware_enqueue()
565 if (!hw_read(ci, OP_ENDPTSTAT, BIT(n))) in _hardware_dequeue()
1582 if (!hw_read(ci, OP_PORTSC, PORTSC_SUSP)) { in ci_udc_wakeup()
1868 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != in udc_irq()
2043 if (!hw_read(ci, CAP_DCCPARAMS, DCCPARAMS_DC)) in ci_hdrc_gadget_init()