Home
last modified time | relevance | path

Searched refs:hw_write (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/usb/chipidea/
Dulpi.c38 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()
Dcore.c195 hw_write(ci, OP_PORTSC, PORTSC_PTC, mode << __ffs(PORTSC_PTC)); in hw_port_test_set()
229 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm()
232 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm()
267 hw_write(ci, OP_USBINTR, 0xffffffff, 0); in hw_device_init()
270 hw_write(ci, OP_USBSTS, 0xffffffff, 0xffffffff); in hw_device_init()
318 hw_write(ci, OP_DEVLC, DEVLC_PTS(7) | DEVLC_PTW, lpm); in hw_phymode_configure()
320 hw_write(ci, OP_DEVLC, DEVLC_STS, DEVLC_STS); in hw_phymode_configure()
322 hw_write(ci, OP_PORTSC, PORTSC_PTS(7) | PORTSC_PTW, portsc); in hw_phymode_configure()
324 hw_write(ci, OP_PORTSC, PORTSC_STS, PORTSC_STS); in hw_phymode_configure()
432 hw_write(ci, OP_USBMODE, USBMODE_CI_SDIS, in ci_platform_configure()
[all …]
Dudc.c82 hw_write(ci, OP_ENDPTLISTADDR, ~0, dma); in hw_device_state()
84 hw_write(ci, OP_USBINTR, ~0, in hw_device_state()
87 hw_write(ci, OP_USBINTR, ~0, 0); in hw_device_state()
105 hw_write(ci, OP_ENDPTFLUSH, ~0, BIT(n)); in hw_ep_flush()
122 hw_write(ci, OP_ENDPTCTRL + num, in hw_ep_disable()
158 hw_write(ci, OP_ENDPTCTRL + num, mask, data); in hw_ep_enable()
194 hw_write(ci, OP_ENDPTPRIME, ~0, BIT(n)); in hw_ep_prime()
225 hw_write(ci, reg, mask_xs|mask_xr, in hw_ep_set_halt()
266 hw_write(ci, OP_USBSTS, ~0, reg); in hw_test_and_clear_intr_active()
301 hw_write(ci, OP_DEVICEADDR, DEVICEADDR_USBADR, in hw_usb_set_address()
[all …]
Dci.h375 static inline void hw_write(struct ci_hdrc *ci, enum ci_hw_regs reg, in hw_write() function
416 hw_write(ci, reg, mask, data); in hw_test_and_write()
Dotg_fsm.c463 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_PP, in ci_otg_drv_vbus()
496 hw_write(ci, OP_USBCMD, USBCMD_RS, USBCMD_RS); in ci_otg_loc_conn()
498 hw_write(ci, OP_USBCMD, USBCMD_RS, 0); in ci_otg_loc_conn()
607 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | in ci_otg_fsm_work()
Dotg.c113 hw_write(ci, OP_OTGSC, mask | OTGSC_INT_STATUS_BITS, data); in hw_write_otgsc()
Dci_hdrc_msm.c121 hw_write(ci, OP_USBCMD, HSPHY_SESS_VLD_CTRL, in ci_hdrc_msm_notify_event()
/Linux-v5.4/drivers/acpi/acpica/
Dhwregs.c300 ACPI_FUNCTION_NAME(hw_write); in acpi_hw_write()