Home
last modified time | relevance | path

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

/Linux-v6.1/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.c143 return hw_read(ci, OP_USBINTR, ~0); in hw_read_intr_enable()
155 return hw_read(ci, OP_USBSTS, ~0); in hw_read_intr_status()
185 return hw_read(ci, OP_PORTSC, PORTSC_PTC) >> __ffs(PORTSC_PTC); in hw_port_test_get()
203 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm_common()
230 reg = hw_read(ci, CAP_HCCPARAMS, HCCPARAMS_LEN) >> in hw_device_init()
239 reg = hw_read(ci, CAP_DCCPARAMS, DCCPARAMS_DEN) >> in hw_device_init()
407 is_device_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_DC; in ci_platform_configure()
408 is_host_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_HC; in ci_platform_configure()
465 while (hw_read(ci, OP_USBCMD, USBCMD_RST)) { in hw_controller_reset()
507 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != USBMODE_CM_DC) { in hw_device_reset()
[all …]
Dudc.c111 while (hw_read(ci, OP_ENDPTFLUSH, BIT(n))) in hw_ep_flush()
113 } while (hw_read(ci, OP_ENDPTSTAT, BIT(n))); in hw_ep_flush()
181 return hw_read(ci, OP_ENDPTCTRL + num, mask) ? 1 : 0; in hw_ep_get_halt()
200 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
205 while (hw_read(ci, OP_ENDPTPRIME, BIT(n))) in hw_ep_prime()
207 if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num))) in hw_ep_prime()
250 return ci->hw_bank.lpm ? hw_read(ci, OP_DEVLC, DEVLC_PSPD) : in hw_port_is_high_speed()
251 hw_read(ci, OP_PORTSC, PORTSC_HSP); in hw_port_is_high_speed()
342 while (hw_read(ci, OP_ENDPTPRIME, ~0)) in hw_usb_reset()
606 if (!hw_read(ci, OP_ENDPTSTAT, 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.h353 static inline u32 hw_read(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask) in hw_read() function
424 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.c466 if (!hw_read(ci, CAP_DCCPARAMS, DCCPARAMS_HC)) in ci_hdrc_host_init()
Dotg_fsm.c653 port_conn = hw_read(ci, OP_PORTSC, PORTSC_CCS); in ci_otg_fsm_event()
/Linux-v6.1/drivers/acpi/acpica/
Dhwregs.c206 ACPI_FUNCTION_NAME(hw_read); in acpi_hw_read()