Home
last modified time | relevance | path

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

/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.c141 return hw_read(ci, OP_USBINTR, ~0); in hw_read_intr_enable()
153 return hw_read(ci, OP_USBSTS, ~0); in hw_read_intr_status()
183 return hw_read(ci, OP_PORTSC, PORTSC_PTC) >> __ffs(PORTSC_PTC); in hw_port_test_get()
201 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm_common()
228 reg = hw_read(ci, CAP_HCCPARAMS, HCCPARAMS_LEN) >> in hw_device_init()
237 reg = hw_read(ci, CAP_DCCPARAMS, DCCPARAMS_DEN) >> in hw_device_init()
405 is_device_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_DC; in ci_platform_configure()
406 is_host_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_HC; in ci_platform_configure()
463 while (hw_read(ci, OP_USBCMD, USBCMD_RST)) { in hw_controller_reset()
505 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != USBMODE_CM_DC) { in hw_device_reset()
[all …]
Dudc.c109 while (hw_read(ci, OP_ENDPTFLUSH, BIT(n))) in hw_ep_flush()
111 } while (hw_read(ci, OP_ENDPTSTAT, BIT(n))); in hw_ep_flush()
179 return hw_read(ci, OP_ENDPTCTRL + num, mask) ? 1 : 0; in hw_ep_get_halt()
198 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
203 while (hw_read(ci, OP_ENDPTPRIME, BIT(n))) in hw_ep_prime()
205 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
248 return ci->hw_bank.lpm ? hw_read(ci, OP_DEVLC, DEVLC_PSPD) : in hw_port_is_high_speed()
249 hw_read(ci, OP_PORTSC, PORTSC_HSP); in hw_port_is_high_speed()
340 while (hw_read(ci, OP_ENDPTPRIME, ~0)) in hw_usb_reset()
602 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.h354 static inline u32 hw_read(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask) in hw_read() function
425 u32 val = hw_read(ci, reg, ~0); in hw_test_and_write()
Dotg.c32 u32 val = hw_read(ci, OP_OTGSC, mask); in hw_read_otgsc()
Dhost.c451 if (!hw_read(ci, CAP_DCCPARAMS, DCCPARAMS_HC)) in ci_hdrc_host_init()
Dotg_fsm.c646 port_conn = hw_read(ci, OP_PORTSC, PORTSC_CCS); in ci_otg_fsm_event()
/drivers/acpi/acpica/
Dhwregs.c206 ACPI_FUNCTION_NAME(hw_read); in acpi_hw_read()