/linux/drivers/usb/mtu3/ |
H A D | mtu3_core.c | 181 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 …]
|
H A 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() 344 mtu3_writel(mbase, U3D_TQERRIESR0, in mtu3_qmu_start() 351 mtu3_writel(mbase, USB_QMU_TQCSR(epnum), QMU_Q_START); in mtu3_qmu_start() 360 mtu3_writel(mbase, U3D_RQERRIESR0, in mtu3_qmu_start() 362 mtu3_writel(mbase, U3D_RQERRIESR1, QMU_RX_ZLP_ERR(epnum)); in mtu3_qmu_start() [all …]
|
H A D | mtu3_host.c | 183 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_enable() 194 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_enable() 219 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_disable() 229 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_disable() 264 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_resume() 274 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_resume() 296 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_suspend() 306 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_suspend()
|
H A 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() 317 mtu3_writel(mbase, U3D_USB2_TEST_MODE, mtu->test_mode_nr); in handle_test_mode() 354 mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); in ep0_handle_feature_dev() 369 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 …]
|
H A D | mtu3_dr.c | 42 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()
|
H A D | mtu3.h | 391 static inline void mtu3_writel(void __iomem *base, u32 offset, u32 data) in mtu3_writel() function
|
H A D | mtu3_debugfs.c | 337 mtu3_writel(mtu->ippc_base, (u32)regs->offset, val); in mtu3_probe_write()
|
H A D | mtu3_gadget.c | 437 mtu3_writel(mtu->mac_base, U3D_DEV_NOTIF_0, in function_wake_notif()
|