Home
last modified time | relevance | path

Searched refs:csr0 (Results 1 – 3 of 3) sorted by relevance

/u-boot/drivers/usb/musb/
A Dmusb_udc.c214 csr0 = readw(&musbr->ep[0].ep0.csr0); in musb_peri_ep0_stall()
216 writew(csr0, &musbr->ep[0].ep0.csr0); in musb_peri_ep0_stall()
225 csr0 = readw(&musbr->ep[0].ep0.csr0); in musb_peri_ep0_ack_req()
227 writew(csr0, &musbr->ep[0].ep0.csr0); in musb_peri_ep0_ack_req()
234 csr0 = readw(&musbr->ep[0].ep0.csr0); in musb_ep0_tx_ready()
236 writew(csr0, &musbr->ep[0].ep0.csr0); in musb_ep0_tx_ready()
243 csr0 = readw(&musbr->ep[0].ep0.csr0); in musb_ep0_tx_ready_and_last()
245 writew(csr0, &musbr->ep[0].ep0.csr0); in musb_ep0_tx_ready_and_last()
252 csr0 = readw(&musbr->ep[0].ep0.csr0); in musb_peri_ep0_last()
254 writew(csr0, &musbr->ep[0].ep0.csr0); in musb_peri_ep0_last()
[all …]
A Dmusb_core.h20 u16 csr0; member
/u-boot/drivers/usb/mtu3/
A Dmtu3_core.c309 u32 csr0, csr1, csr2; in mtu3_config_ep() local
323 csr0 = TX_TXMAXPKTSZ(mep->maxp); in mtu3_config_ep()
324 csr0 |= TX_DMAREQEN; in mtu3_config_ep()
350 mtu3_writel(mbase, MU3D_EP_TXCR0(epnum), csr0); in mtu3_config_ep()
359 csr0 = RX_RXMAXPKTSZ(mep->maxp); in mtu3_config_ep()
360 csr0 |= RX_DMAREQEN; in mtu3_config_ep()
386 mtu3_writel(mbase, MU3D_EP_RXCR0(epnum), csr0); in mtu3_config_ep()
396 dev_dbg(mtu->dev, "csr0:%#x, csr1:%#x, csr2:%#x\n", csr0, csr1, csr2); in mtu3_config_ep()

Completed in 7 milliseconds