/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
H A D | core.c | 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() 207 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm() 242 hw_write(ci, OP_USBINTR, 0xffffffff, 0); in hw_device_init() 245 hw_write(ci, OP_USBSTS, 0xffffffff, 0xffffffff); in hw_device_init() 293 hw_write(ci, OP_DEVLC, DEVLC_PTS(7) | DEVLC_PTW, lpm); in hw_phymode_configure() 295 hw_write(ci, OP_DEVLC, DEVLC_STS, DEVLC_STS); in hw_phymode_configure() 297 hw_write(ci, OP_PORTSC, PORTSC_PTS(7) | PORTSC_PTW, portsc); in hw_phymode_configure() 299 hw_write(ci, OP_PORTSC, PORTSC_STS, PORTSC_STS); in hw_phymode_configure() 407 hw_write(c in ci_platform_configure() [all...] |
H A D | ulpi.c | 38 hw_write(ci, OP_ULPI_VIEWPORT, 0xffffffff, ULPI_WRITE | ULPI_WAKEUP); in ci_ulpi_read() 43 hw_write(ci, OP_ULPI_VIEWPORT, 0xffffffff, ULPI_RUN | ULPI_ADDR(addr)); in ci_ulpi_read() 56 hw_write(ci, OP_ULPI_VIEWPORT, 0xffffffff, ULPI_WRITE | ULPI_WAKEUP); in ci_ulpi_write() 61 hw_write(ci, OP_ULPI_VIEWPORT, 0xffffffff, in ci_ulpi_write()
|
H A D | udc.c | 83 hw_write(ci, OP_ENDPTLISTADDR, ~0, dma); in hw_device_state() 85 hw_write(ci, OP_USBINTR, ~0, in hw_device_state() 88 hw_write(ci, OP_USBINTR, ~0, 0); in hw_device_state() 107 hw_write(ci, OP_ENDPTFLUSH, ~0, BIT(n)); in hw_ep_flush() 125 hw_write(ci, OP_ENDPTCTRL + num, in hw_ep_disable() 162 hw_write(ci, OP_ENDPTCTRL + num, mask, data); in hw_ep_enable() 200 hw_write(ci, OP_ENDPTPRIME, ~0, BIT(n)); in hw_ep_prime() 232 hw_write(ci, reg, mask_xs|mask_xr, in hw_ep_set_halt() 276 hw_write(ci, OP_USBSTS, ~0, reg); in hw_test_and_clear_intr_active() 314 hw_write(c in hw_usb_set_address() [all...] |
H A D | otg_fsm.c | 465 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_PP, in ci_otg_drv_vbus() 498 hw_write(ci, OP_USBCMD, USBCMD_RS, USBCMD_RS); in ci_otg_loc_conn() 500 hw_write(ci, OP_USBCMD, USBCMD_RS, 0); in ci_otg_loc_conn() 609 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | in ci_otg_fsm_work()
|
H A D | ci.h | 382 * hw_write: writes to a hw register 388 static inline void hw_write(struct ci_hdrc *ci, enum ci_hw_regs reg, in hw_write() function 429 hw_write(ci, reg, mask, data); in hw_test_and_write()
|
H A D | otg.c | 115 hw_write(ci, OP_OTGSC, mask | OTGSC_INT_STATUS_BITS, data); in hw_write_otgsc()
|
H A D | ci_hdrc_msm.c | 121 hw_write(ci, OP_USBCMD, HSPHY_SESS_VLD_CTRL, in ci_hdrc_msm_notify_event()
|
/kernel/linux/linux-6.6/drivers/usb/chipidea/ |
H A D | core.c | 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(c in ci_platform_configure() [all...] |
H A D | ulpi.c | 38 hw_write(ci, OP_ULPI_VIEWPORT, 0xffffffff, ULPI_WRITE | ULPI_WAKEUP); in ci_ulpi_read() 43 hw_write(ci, OP_ULPI_VIEWPORT, 0xffffffff, ULPI_RUN | ULPI_ADDR(addr)); in ci_ulpi_read() 56 hw_write(ci, OP_ULPI_VIEWPORT, 0xffffffff, ULPI_WRITE | ULPI_WAKEUP); in ci_ulpi_write() 61 hw_write(ci, OP_ULPI_VIEWPORT, 0xffffffff, in ci_ulpi_write()
|
H A D | udc.c | 86 hw_write(ci, OP_ENDPTLISTADDR, ~0, dma); in hw_device_state() 88 hw_write(ci, OP_USBINTR, ~0, in hw_device_state() 91 hw_write(ci, OP_USBINTR, ~0, 0); in hw_device_state() 110 hw_write(ci, OP_ENDPTFLUSH, ~0, BIT(n)); in hw_ep_flush() 128 hw_write(ci, OP_ENDPTCTRL + num, in hw_ep_disable() 165 hw_write(ci, OP_ENDPTCTRL + num, mask, data); in hw_ep_enable() 203 hw_write(ci, OP_ENDPTPRIME, ~0, BIT(n)); in hw_ep_prime() 235 hw_write(ci, reg, mask_xs|mask_xr, in hw_ep_set_halt() 279 hw_write(ci, OP_USBSTS, ~0, reg); in hw_test_and_clear_intr_active() 317 hw_write(c in hw_usb_set_address() [all...] |
H A D | otg_fsm.c | 465 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_PP, in ci_otg_drv_vbus() 505 hw_write(ci, OP_USBCMD, USBCMD_RS, USBCMD_RS); in ci_otg_loc_conn() 507 hw_write(ci, OP_USBCMD, USBCMD_RS, 0); in ci_otg_loc_conn() 616 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | in ci_otg_fsm_work()
|
H A D | ci.h | 402 * hw_write: writes to a hw register 408 static inline void hw_write(struct ci_hdrc *ci, enum ci_hw_regs reg, in hw_write() function 449 hw_write(ci, reg, mask, data); in hw_test_and_write()
|
H A D | otg.c | 115 hw_write(ci, OP_OTGSC, mask | OTGSC_INT_STATUS_BITS, data); in hw_write_otgsc()
|
H A D | ci_hdrc_msm.c | 121 hw_write(ci, OP_USBCMD, HSPHY_SESS_VLD_CTRL, in ci_hdrc_msm_notify_event()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | hwregs.c | 300 ACPI_FUNCTION_NAME(hw_write); in acpi_hw_write()
|
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | hwregs.c | 300 ACPI_FUNCTION_NAME(hw_write); in acpi_hw_write()
|