Searched refs:mtu3_writel (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/mtu3/ |
D | mtu3_core.c | 159 mtu3_writel(mbase, U3D_EPISR, ~0x0); in mtu3_intr_status_clear() 161 mtu3_writel(mbase, U3D_COMMON_USB_INTR, ~0x0); in mtu3_intr_status_clear() 163 mtu3_writel(mbase, U3D_LTSSM_INTR, ~0x0); in mtu3_intr_status_clear() 165 mtu3_writel(mbase, U3D_DEV_LINK_INTR, ~0x0); in mtu3_intr_status_clear() 167 mtu3_writel(mbase, U3D_QISAR0, ~0x0); in mtu3_intr_status_clear() 174 mtu3_writel(mtu->mac_base, U3D_LV1IECR, ~0x0); in mtu3_intr_disable() 176 mtu3_writel(mtu->mac_base, U3D_EPIECR, ~0x0); in mtu3_intr_disable() 188 mtu3_writel(mbase, U3D_LV1IESR, value); in mtu3_intr_enable() 192 mtu3_writel(mbase, U3D_COMMON_USB_INTR_ENABLE, value); in mtu3_intr_enable() 198 mtu3_writel(mbase, U3D_LTSSM_INTR_ENABLE, value); in mtu3_intr_enable() [all …]
|
D | mtu3_qmu.c | 99 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 …]
|
D | mtu3_gadget_ep0.c | 147 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 …]
|
D | mtu3_host.c | 131 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_enable() 139 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_enable() 166 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_disable() 174 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_disable()
|
D | mtu3_dr.c | 62 mtu3_writel(ibase, SSUSB_U2_CTRL(0), value); in ssusb_port0_switch() 69 mtu3_writel(ibase, SSUSB_U2_CTRL(0), value); in ssusb_port0_switch() 74 mtu3_writel(ibase, SSUSB_U3_CTRL(0), value); in ssusb_port0_switch() 81 mtu3_writel(ibase, SSUSB_U3_CTRL(0), value); in ssusb_port0_switch() 318 mtu3_writel(ssusb->ippc_base, SSUSB_U2_CTRL(0), value); in ssusb_set_force_mode()
|
D | mtu3.h | 389 static inline void mtu3_writel(void __iomem *base, u32 offset, u32 data) in mtu3_writel() function
|
D | mtu3_debugfs.c | 336 mtu3_writel(mtu->ippc_base, (u32)regs->offset, val); in mtu3_probe_write()
|