Home
last modified time | relevance | path

Searched refs:mtu3_writel (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/drivers/usb/mtu3/
Dmtu3_core.c181 mtu3_writel(mbase, U3D_EPISR, ~0x0); in mtu3_intr_status_clear()
183 mtu3_writel(mbase, U3D_COMMON_USB_INTR, ~0x0); in mtu3_intr_status_clear()
185 mtu3_writel(mbase, U3D_LTSSM_INTR, ~0x0); in mtu3_intr_status_clear()
187 mtu3_writel(mbase, U3D_DEV_LINK_INTR, ~0x0); in mtu3_intr_status_clear()
189 mtu3_writel(mbase, U3D_QISAR0, ~0x0); in mtu3_intr_status_clear()
196 mtu3_writel(mtu->mac_base, U3D_LV1IECR, ~0x0); in mtu3_intr_disable()
198 mtu3_writel(mtu->mac_base, U3D_EPIECR, ~0x0); in mtu3_intr_disable()
210 mtu3_writel(mbase, U3D_LV1IESR, value); in mtu3_intr_enable()
214 mtu3_writel(mbase, U3D_COMMON_USB_INTR_ENABLE, value); in mtu3_intr_enable()
220 mtu3_writel(mbase, U3D_LTSSM_INTR_ENABLE, value); in mtu3_intr_enable()
[all …]
Dmtu3_host.c152 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_enable()
163 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_enable()
188 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_disable()
198 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_disable()
233 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_resume()
243 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_resume()
265 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_suspend()
275 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_suspend()
Dmtu3_qmu.c99 mtu3_writel(mbase, USB_QMU_TQSAR(epnum), in write_txq_start_addr()
104 mtu3_writel(mbase, USB_QMU_TQHIAR(epnum), tqhiar); in write_txq_start_addr()
111 mtu3_writel(mbase, USB_QMU_RQSAR(epnum), in write_rxq_start_addr()
116 mtu3_writel(mbase, USB_QMU_RQHIAR(epnum), rqhiar); in write_rxq_start_addr()
198 mtu3_writel(mbase, offset, QMU_Q_RESUME); in mtu3_qmu_resume()
200 mtu3_writel(mbase, offset, QMU_Q_RESUME); in mtu3_qmu_resume()
343 mtu3_writel(mbase, U3D_TQERRIESR0, in mtu3_qmu_start()
350 mtu3_writel(mbase, USB_QMU_TQCSR(epnum), QMU_Q_START); in mtu3_qmu_start()
359 mtu3_writel(mbase, U3D_RQERRIESR0, in mtu3_qmu_start()
361 mtu3_writel(mbase, U3D_RQERRIESR1, QMU_RX_ZLP_ERR(epnum)); in mtu3_qmu_start()
[all …]
Dmtu3_gadget_ep0.c147 mtu3_writel(mtu->mac_base, U3D_EP0CSR, csr); in ep0_stall_set()
162 mtu3_writel(mbase, U3D_EP0CSR, value | EP0_SETUPPKTRDY | EP0_DATAEND); in ep0_do_status_stage()
315 mtu3_writel(mbase, U3D_USB2_TEST_MODE, mtu->test_mode_nr); in handle_test_mode()
352 mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); in ep0_handle_feature_dev()
367 mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); in ep0_handle_feature_dev()
461 mtu3_writel(mbase, U3D_DEVICE_CONF, dev_conf); in handle_standard_request()
554 mtu3_writel(mbase, U3D_EP0CSR, csr); in ep0_rx_state()
597 mtu3_writel(mtu->mac_base, U3D_EP0CSR, csr | EP0_TXPKTRDY); in ep0_tx_state()
627 mtu3_writel(mtu->mac_base, U3D_EP0CSR, in ep0_read_setup()
631 mtu3_writel(mtu->mac_base, U3D_EP0CSR, in ep0_read_setup()
[all …]
Dmtu3_dr.c42 mtu3_writel(ibase, SSUSB_U2_CTRL(0), value); in ssusb_port0_switch()
49 mtu3_writel(ibase, SSUSB_U2_CTRL(0), value); in ssusb_port0_switch()
54 mtu3_writel(ibase, SSUSB_U3_CTRL(0), value); in ssusb_port0_switch()
61 mtu3_writel(ibase, SSUSB_U3_CTRL(0), value); in ssusb_port0_switch()
257 mtu3_writel(ssusb->ippc_base, SSUSB_U2_CTRL(0), value); in ssusb_set_force_mode()
Dmtu3.h387 static inline void mtu3_writel(void __iomem *base, u32 offset, u32 data) in mtu3_writel() function
Dmtu3_debugfs.c337 mtu3_writel(mtu->ippc_base, (u32)regs->offset, val); in mtu3_probe_write()