Lines Matching refs:hw_read
143 return hw_read(ci, OP_USBINTR, ~0); in hw_read_intr_enable()
155 return hw_read(ci, OP_USBSTS, ~0); in hw_read_intr_status()
185 return hw_read(ci, OP_PORTSC, PORTSC_PTC) >> __ffs(PORTSC_PTC); in hw_port_test_get()
203 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm_common()
230 reg = hw_read(ci, CAP_HCCPARAMS, HCCPARAMS_LEN) >> in hw_device_init()
239 reg = hw_read(ci, CAP_DCCPARAMS, DCCPARAMS_DEN) >> in hw_device_init()
407 is_device_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_DC; in ci_platform_configure()
408 is_host_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_HC; in ci_platform_configure()
465 while (hw_read(ci, OP_USBCMD, USBCMD_RST)) { in hw_controller_reset()
507 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != USBMODE_CM_DC) { in hw_device_reset()
948 ci->is_otg = (hw_read(ci, CAP_DCCPARAMS, in ci_get_otg_capable()
1414 power_lost = !hw_read(ci, OP_ENDPTLISTADDR, ~0); in ci_resume()