Lines Matching refs:hw_write

172 	hw_write(ci, OP_PORTSC, PORTSC_PTC, mode << __ffs(PORTSC_PTC));  in hw_port_test_set()
206 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common()
209 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common()
249 hw_write(ci, OP_USBINTR, 0xffffffff, 0); in hw_device_init()
252 hw_write(ci, OP_USBSTS, 0xffffffff, 0xffffffff); in hw_device_init()
300 hw_write(ci, OP_DEVLC, DEVLC_PTS(7) | DEVLC_PTW, lpm); in hw_phymode_configure()
302 hw_write(ci, OP_DEVLC, DEVLC_STS, DEVLC_STS); in hw_phymode_configure()
304 hw_write(ci, OP_PORTSC, PORTSC_PTS(7) | PORTSC_PTW, portsc); in hw_phymode_configure()
306 hw_write(ci, OP_PORTSC, PORTSC_STS, PORTSC_STS); in hw_phymode_configure()
414 hw_write(ci, OP_USBMODE, USBMODE_CI_SDIS, in ci_platform_configure()
422 hw_write(ci, OP_USBMODE, USBMODE_CI_SDIS, in ci_platform_configure()
428 hw_write(ci, OP_DEVLC, DEVLC_PFSC, DEVLC_PFSC); in ci_platform_configure()
430 hw_write(ci, OP_PORTSC, PORTSC_PFSC, PORTSC_PFSC); in ci_platform_configure()
434 hw_write(ci, OP_TTCTRL, TTCTRL_TTHA_MASK, TTCTRL_TTHA); in ci_platform_configure()
436 hw_write(ci, OP_USBCMD, 0xff0000, ci->platdata->itc_setting << 16); in ci_platform_configure()
445 hw_write(ci, OP_BURSTSIZE, TX_BURST_MASK, in ci_platform_configure()
449 hw_write(ci, OP_BURSTSIZE, RX_BURST_MASK, in ci_platform_configure()
464 hw_write(ci, OP_USBCMD, USBCMD_RST, USBCMD_RST); in hw_controller_reset()
485 hw_write(ci, OP_ENDPTFLUSH, ~0, ~0); in hw_device_reset()
486 hw_write(ci, OP_USBCMD, USBCMD_RS, 0); in hw_device_reset()
502 hw_write(ci, OP_USBMODE, USBMODE_CM, USBMODE_CM_IDLE); in hw_device_reset()
503 hw_write(ci, OP_USBMODE, USBMODE_CM, USBMODE_CM_DC); in hw_device_reset()
505 hw_write(ci, OP_USBMODE, USBMODE_SLOM, USBMODE_SLOM); in hw_device_reset()
1166 hw_write(ci, OP_USBCMD, USBCMD_RS, 0); in ci_hdrc_probe()
1249 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_PP, in ci_otg_fsm_suspend_for_srp()
1251 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_WKCN, in ci_otg_fsm_suspend_for_srp()