Lines Matching refs:hw_read
167 return hw_read(ci, OP_USBINTR, ~0); in hw_read_intr_enable()
179 return hw_read(ci, OP_USBSTS, ~0); in hw_read_intr_status()
208 return hw_read(ci, OP_PORTSC, PORTSC_PTC) >> __ffs(PORTSC_PTC); in hw_port_test_get()
226 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm()
248 reg = hw_read(ci, CAP_HCCPARAMS, HCCPARAMS_LEN) >> in hw_device_init()
257 reg = hw_read(ci, CAP_DCCPARAMS, DCCPARAMS_DEN) >> in hw_device_init()
425 is_device_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_DC; in ci_platform_configure()
426 is_host_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_HC; in ci_platform_configure()
483 while (hw_read(ci, OP_USBCMD, USBCMD_RST)) { in hw_controller_reset()
525 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != USBMODE_CM_DC) { in hw_device_reset()
915 ci->is_otg = (hw_read(ci, CAP_DCCPARAMS, in ci_get_otg_capable()