Searched refs:mtu3_writel (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/usb/mtu3/ |
D | mtu3_core.c | 156 mtu3_writel(mbase, U3D_LV1IECR, ~0x0); in mtu3_intr_disable() 158 mtu3_writel(mbase, U3D_EPIECR, ~0x0); in mtu3_intr_disable() 166 mtu3_writel(mbase, U3D_EPISR, ~0x0); in mtu3_intr_status_clear() 168 mtu3_writel(mbase, U3D_COMMON_USB_INTR, ~0x0); in mtu3_intr_status_clear() 170 mtu3_writel(mbase, U3D_LTSSM_INTR, ~0x0); in mtu3_intr_status_clear() 172 mtu3_writel(mbase, U3D_DEV_LINK_INTR, ~0x0); in mtu3_intr_status_clear() 183 mtu3_writel(mbase, U3D_LV1IESR, value); in mtu3_intr_enable() 187 mtu3_writel(mbase, U3D_COMMON_USB_INTR_ENABLE, value); in mtu3_intr_enable() 193 mtu3_writel(mbase, U3D_LTSSM_INTR_ENABLE, value); in mtu3_intr_enable() 199 mtu3_writel(mbase, U3D_QIESR1, 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() 339 mtu3_writel(mbase, U3D_TQERRIESR0, in mtu3_qmu_start() 346 mtu3_writel(mbase, USB_QMU_TQCSR(epnum), QMU_Q_START); in mtu3_qmu_start() 355 mtu3_writel(mbase, U3D_RQERRIESR0, in mtu3_qmu_start() 357 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() 301 mtu3_writel(mbase, U3D_EP0CSR, value | EP0_SETUPPKTRDY | EP0_DATAEND); in handle_test_mode() 307 mtu3_writel(mbase, U3D_USB2_TEST_MODE, mtu->test_mode_nr); in handle_test_mode() 344 mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); in ep0_handle_feature_dev() 359 mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); in ep0_handle_feature_dev() 453 mtu3_writel(mbase, U3D_DEVICE_CONF, dev_conf); in handle_standard_request() 546 mtu3_writel(mbase, U3D_EP0CSR, csr); in ep0_rx_state() 589 mtu3_writel(mtu->mac_base, U3D_EP0CSR, csr | EP0_TXPKTRDY); in ep0_tx_state() 619 mtu3_writel(mtu->mac_base, U3D_EP0CSR, in ep0_read_setup() 623 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 | 64 mtu3_writel(ibase, SSUSB_U2_CTRL(0), value); in ssusb_port0_switch() 71 mtu3_writel(ibase, SSUSB_U2_CTRL(0), value); in ssusb_port0_switch() 76 mtu3_writel(ibase, SSUSB_U3_CTRL(0), value); in ssusb_port0_switch() 83 mtu3_writel(ibase, SSUSB_U3_CTRL(0), value); in ssusb_port0_switch() 320 mtu3_writel(ssusb->ippc_base, SSUSB_U2_CTRL(0), value); in ssusb_set_force_mode()
|
D | mtu3.h | 396 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()
|