Searched refs:mtu3_readl (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/usb/mtu3/ |
H A D | mtu3_core.c | 316 csr = mtu3_readl(mbase, MU3D_EP_TXCR0(epnum)) & TX_W1C_BITS; in mtu3_ep_stall_set() 323 csr = mtu3_readl(mbase, MU3D_EP_RXCR0(epnum)) & RX_W1C_BITS; in mtu3_ep_stall_set() 358 mtu3_readl(mbase, U3D_DEVICE_CONTROL)); in mtu3_start() 456 epnum, mtu3_readl(mbase, MU3D_EP_TXCR0(epnum)), in mtu3_config_ep() 457 mtu3_readl(mbase, MU3D_EP_TXCR1(epnum)), in mtu3_config_ep() 458 mtu3_readl(mbase, MU3D_EP_TXCR2(epnum))); in mtu3_config_ep() 492 epnum, mtu3_readl(mbase, MU3D_EP_RXCR0(epnum)), in mtu3_config_ep() 493 mtu3_readl(mbase, MU3D_EP_RXCR1(epnum)), in mtu3_config_ep() 494 mtu3_readl(mbase, MU3D_EP_RXCR2(epnum))); in mtu3_config_ep() 548 fifosize = mtu3_readl(mtu->mac_base, U3D_CAP_EPNTXFFSZ); in get_ep_fifo_config() [all …]
|
H A D | mtu3_host.c | 150 xhci_cap = mtu3_readl(ssusb->ippc_base, U3D_SSUSB_IP_XHCI_CAP); in host_ports_num_get() 180 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_enable() 191 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_enable() 217 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_disable() 227 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_disable() 262 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_resume() 272 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_resume() 294 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_suspend() 304 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_suspend()
|
H A D | mtu3_qmu.c | 78 txcpr = mtu3_readl(mbase, USB_QMU_TQCPR(epnum)); in read_txq_cur_addr() 79 txhiar = mtu3_readl(mbase, USB_QMU_TQHIAR(epnum)); in read_txq_cur_addr() 89 rxcpr = mtu3_readl(mbase, USB_QMU_RQCPR(epnum)); in read_rxq_cur_addr() 90 rxhiar = mtu3_readl(mbase, USB_QMU_RQHIAR(epnum)); in read_rxq_cur_addr() 101 tqhiar = mtu3_readl(mbase, USB_QMU_TQHIAR(epnum)); in write_txq_start_addr() 113 rqhiar = mtu3_readl(mbase, USB_QMU_RQHIAR(epnum)); in write_rxq_start_addr() 199 if (!(mtu3_readl(mbase, offset) & QMU_Q_ACTIVE)) in mtu3_qmu_resume() 347 if (mtu3_readl(mbase, USB_QMU_TQCSR(epnum)) & QMU_Q_ACTIVE) { in mtu3_qmu_start() 364 if (mtu3_readl(mbase, USB_QMU_RQCSR(epnum)) & QMU_Q_ACTIVE) { in mtu3_qmu_start() 386 if (!(mtu3_readl(mbase, qcsr) & QMU_Q_ACTIVE)) { in mtu3_qmu_stop() [all …]
|
H A D | mtu3_gadget_ep0.c | 142 csr = mtu3_readl(mbase, U3D_EP0CSR) & EP0_W1C_BITS; in ep0_stall_set() 161 value = mtu3_readl(mbase, U3D_EP0CSR) & EP0_W1C_BITS; in ep0_do_status_stage() 349 lpc = mtu3_readl(mbase, U3D_LINK_POWER_CONTROL); in ep0_handle_feature_dev() 364 lpc = mtu3_readl(mbase, U3D_LINK_POWER_CONTROL); in ep0_handle_feature_dev() 458 dev_conf = mtu3_readl(mbase, U3D_DEVICE_CONF); in handle_standard_request() 520 csr = mtu3_readl(mbase, U3D_EP0CSR) & EP0_W1C_BITS; in ep0_rx_state() 530 count = mtu3_readl(mbase, U3D_RXCOUNT0); in ep0_rx_state() 596 csr = mtu3_readl(mtu->mac_base, U3D_EP0CSR) & EP0_W1C_BITS; in ep0_tx_state() 600 mtu3_readl(mtu->mac_base, U3D_EP0CSR)); in ep0_tx_state() 609 csr = mtu3_readl(mtu->mac_base, U3D_EP0CSR) & EP0_W1C_BITS; in ep0_read_setup() [all …]
|
H A D | mtu3_dr.c | 40 value = mtu3_readl(ibase, SSUSB_U2_CTRL(0)); in ssusb_port0_switch() 45 value = mtu3_readl(ibase, SSUSB_U2_CTRL(0)); in ssusb_port0_switch() 52 value = mtu3_readl(ibase, SSUSB_U3_CTRL(0)); in ssusb_port0_switch() 57 value = mtu3_readl(ibase, SSUSB_U3_CTRL(0)); in ssusb_port0_switch() 242 value = mtu3_readl(ssusb->ippc_base, SSUSB_U2_CTRL(0)); in ssusb_set_force_mode()
|
H A D | mtu3_debugfs.c | 85 mtu3_readl(mbase, U3D_USB20_OPSTATE), in mtu3_link_state_show() 86 LTSSM_STATE(mtu3_readl(mbase, U3D_LINK_STATE_MACHINE))); in mtu3_link_state_show() 304 mtu3_readl(mtu->ippc_base, (u32)regs->offset)); in mtu3_probe_show()
|
H A D | mtu3.h | 396 static inline u32 mtu3_readl(void __iomem *base, u32 offset) in mtu3_readl() function
|
H A D | mtu3_gadget.c | 432 return (int)mtu3_readl(mtu->mac_base, U3D_USB20_FRAME_NUM); in mtu3_gadget_get_frame()
|