Lines Matching refs:hw_read
166 return hw_read(ci, OP_USBINTR, ~0); in hw_read_intr_enable()
178 return hw_read(ci, OP_USBSTS, ~0); in hw_read_intr_status()
207 return hw_read(ci, OP_PORTSC, PORTSC_PTC) >> __ffs(PORTSC_PTC); in hw_port_test_get()
225 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm()
247 reg = hw_read(ci, CAP_HCCPARAMS, HCCPARAMS_LEN) >> in hw_device_init()
256 reg = hw_read(ci, CAP_DCCPARAMS, DCCPARAMS_DEN) >> in hw_device_init()
424 is_device_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_DC; in ci_platform_configure()
425 is_host_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_HC; in ci_platform_configure()
482 while (hw_read(ci, OP_USBCMD, USBCMD_RST)) { in hw_controller_reset()
524 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != USBMODE_CM_DC) { in hw_device_reset()
827 ci->is_otg = (hw_read(ci, CAP_DCCPARAMS, in ci_get_otg_capable()