Home
last modified time | relevance | path

Searched refs:hw_read (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/usb/chipidea/
Dulpi.c24 if (!hw_read(ci, OP_ULPI_VIEWPORT, mask)) in ci_ulpi_wait()
48 return hw_read(ci, OP_ULPI_VIEWPORT, GENMASK(15, 8)) >> 8; in ci_ulpi_read()
102 if (hw_read(ci, OP_ULPI_VIEWPORT, ULPI_SYNC_STATE)) in ci_ulpi_resume()
Dcore.c167 return hw_read(ci, OP_USBINTR, ~0); in hw_read_intr_enable()
179 return hw_read(ci, OP_USBSTS, ~0); in hw_read_intr_status()
208 return hw_read(ci, OP_PORTSC, PORTSC_PTC) >> __ffs(PORTSC_PTC); in hw_port_test_get()
226 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm()
248 reg = hw_read(ci, CAP_HCCPARAMS, HCCPARAMS_LEN) >> in hw_device_init()
257 reg = hw_read(ci, CAP_DCCPARAMS, DCCPARAMS_DEN) >> in hw_device_init()
425 is_device_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_DC; in ci_platform_configure()
426 is_host_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_HC; in ci_platform_configure()
483 while (hw_read(ci, OP_USBCMD, USBCMD_RST)) { in hw_controller_reset()
525 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != USBMODE_CM_DC) { in hw_device_reset()
[all …]
Dudc.c106 while (hw_read(ci, OP_ENDPTFLUSH, BIT(n))) in hw_ep_flush()
108 } while (hw_read(ci, OP_ENDPTSTAT, BIT(n))); in hw_ep_flush()
173 return hw_read(ci, OP_ENDPTCTRL + num, mask) ? 1 : 0; in hw_ep_get_halt()
191 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
196 while (hw_read(ci, OP_ENDPTPRIME, BIT(n))) in hw_ep_prime()
198 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
239 return ci->hw_bank.lpm ? hw_read(ci, OP_DEVLC, DEVLC_PSPD) : in hw_port_is_high_speed()
240 hw_read(ci, OP_PORTSC, PORTSC_HSP); in hw_port_is_high_speed()
325 while (hw_read(ci, OP_ENDPTPRIME, ~0)) in hw_usb_reset()
484 if (hw_read(ci, OP_ENDPTPRIME, BIT(n))) in _hardware_enqueue()
[all …]
Ddebug.c319 tmp_reg = hw_read(ci, OP_USBMODE, ~0); in ci_registers_show()
322 tmp_reg = hw_read(ci, OP_USBCMD, ~0); in ci_registers_show()
325 tmp_reg = hw_read(ci, OP_PORTSC, ~0); in ci_registers_show()
Dci.h343 static inline u32 hw_read(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask) in hw_read() function
414 u32 val = hw_read(ci, reg, ~0); in hw_test_and_write()
Dotg.c31 u32 val = hw_read(ci, OP_OTGSC, mask); in hw_read_otgsc()
Dhost.c354 if (!hw_read(ci, CAP_DCCPARAMS, DCCPARAMS_HC)) in ci_hdrc_host_init()
Dotg_fsm.c644 port_conn = hw_read(ci, OP_PORTSC, PORTSC_CCS); in ci_otg_fsm_event()
/Linux-v5.4/drivers/acpi/acpica/
Dhwregs.c206 ACPI_FUNCTION_NAME(hw_read); in acpi_hw_read()