Home
last modified time | relevance | path

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

/drivers/usb/chipidea/
Dcore.c198 hw_write(ci, OP_PORTSC, PORTSC_PTC, mode << __ffs(PORTSC_PTC)); in hw_port_test_set()
232 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm()
235 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm()
270 hw_write(ci, OP_USBINTR, 0xffffffff, 0); in hw_device_init()
273 hw_write(ci, OP_USBSTS, 0xffffffff, 0xffffffff); in hw_device_init()
321 hw_write(ci, OP_DEVLC, DEVLC_PTS(7) | DEVLC_PTW, lpm); in hw_phymode_configure()
323 hw_write(ci, OP_DEVLC, DEVLC_STS, DEVLC_STS); in hw_phymode_configure()
325 hw_write(ci, OP_PORTSC, PORTSC_PTS(7) | PORTSC_PTW, portsc); in hw_phymode_configure()
327 hw_write(ci, OP_PORTSC, PORTSC_STS, PORTSC_STS); in hw_phymode_configure()
426 hw_write(ci, OP_USBMODE, USBMODE_CI_SDIS, USBMODE_CI_SDIS); in ci_platform_configure()
[all …]
Dudc.c85 hw_write(ci, OP_ENDPTLISTADDR, ~0, dma); in hw_device_state()
87 hw_write(ci, OP_USBINTR, ~0, in hw_device_state()
90 hw_write(ci, OP_USBINTR, ~0, 0); in hw_device_state()
108 hw_write(ci, OP_ENDPTFLUSH, ~0, BIT(n)); in hw_ep_flush()
126 hw_write(ci, OP_ENDPTCTRL + num, in hw_ep_disable()
162 hw_write(ci, OP_ENDPTCTRL + num, mask, data); in hw_ep_enable()
195 hw_write(ci, OP_ENDPTPRIME, ~0, BIT(n)); in hw_ep_prime()
226 hw_write(ci, reg, mask_xs|mask_xr, in hw_ep_set_halt()
267 hw_write(ci, OP_USBSTS, ~0, reg); in hw_test_and_clear_intr_active()
302 hw_write(ci, OP_DEVICEADDR, DEVICEADDR_USBADR, in hw_usb_set_address()
[all …]
Dotg_fsm.c448 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_PP, in ci_otg_drv_vbus()
481 hw_write(ci, OP_USBCMD, USBCMD_RS, USBCMD_RS); in ci_otg_loc_conn()
483 hw_write(ci, OP_USBCMD, USBCMD_RS, 0); in ci_otg_loc_conn()
497 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_FPR, in ci_otg_loc_sof()
500 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_SUSP, in ci_otg_loc_sof()
582 hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | in ci_otg_fsm_work()
Dci.h357 static inline void hw_write(struct ci_hdrc *ci, enum ci_hw_regs reg, in hw_write() function
398 hw_write(ci, reg, mask, data); in hw_test_and_write()
Dotg.c116 hw_write(ci, OP_OTGSC, mask | OTGSC_INT_STATUS_BITS, data); in hw_write_otgsc()
/drivers/acpi/acpica/
Dhwregs.c217 ACPI_FUNCTION_NAME(hw_write); in acpi_hw_write()