Lines Matching refs:hw_write
170 hw_write(ci, OP_PORTSC, PORTSC_PTC, mode << __ffs(PORTSC_PTC)); in hw_port_test_set()
204 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common()
207 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common()
247 hw_write(ci, OP_USBINTR, 0xffffffff, 0); in hw_device_init()
250 hw_write(ci, OP_USBSTS, 0xffffffff, 0xffffffff); in hw_device_init()
298 hw_write(ci, OP_DEVLC, DEVLC_PTS(7) | DEVLC_PTW, lpm); in hw_phymode_configure()
300 hw_write(ci, OP_DEVLC, DEVLC_STS, DEVLC_STS); in hw_phymode_configure()
302 hw_write(ci, OP_PORTSC, PORTSC_PTS(7) | PORTSC_PTW, portsc); in hw_phymode_configure()
304 hw_write(ci, OP_PORTSC, PORTSC_STS, PORTSC_STS); in hw_phymode_configure()
412 hw_write(ci, OP_USBMODE, USBMODE_CI_SDIS, in ci_platform_configure()
420 hw_write(ci, OP_USBMODE, USBMODE_CI_SDIS, in ci_platform_configure()
426 hw_write(ci, OP_DEVLC, DEVLC_PFSC, DEVLC_PFSC); in ci_platform_configure()
428 hw_write(ci, OP_PORTSC, PORTSC_PFSC, PORTSC_PFSC); in ci_platform_configure()
432 hw_write(ci, OP_TTCTRL, TTCTRL_TTHA_MASK, TTCTRL_TTHA); in ci_platform_configure()
434 hw_write(ci, OP_USBCMD, 0xff0000, ci->platdata->itc_setting << 16); in ci_platform_configure()
443 hw_write(ci, OP_BURSTSIZE, TX_BURST_MASK, in ci_platform_configure()
447 hw_write(ci, OP_BURSTSIZE, RX_BURST_MASK, in ci_platform_configure()
462 hw_write(ci, OP_USBCMD, USBCMD_RST, USBCMD_RST); in hw_controller_reset()
483 hw_write(ci, OP_ENDPTFLUSH, ~0, ~0); in hw_device_reset()
484 hw_write(ci, OP_USBCMD, USBCMD_RS, 0); in hw_device_reset()
500 hw_write(ci, OP_USBMODE, USBMODE_CM, USBMODE_CM_IDLE); in hw_device_reset()
501 hw_write(ci, OP_USBMODE, USBMODE_CM, USBMODE_CM_DC); in hw_device_reset()
503 hw_write(ci, OP_USBMODE, USBMODE_SLOM, USBMODE_SLOM); in hw_device_reset()
1175 hw_write(ci, OP_USBCMD, USBCMD_RS, 0); in ci_hdrc_probe()
1258 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_PP, in ci_otg_fsm_suspend_for_srp()
1260 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_WKCN, in ci_otg_fsm_suspend_for_srp()