Home
last modified time | relevance | path

Searched refs:musbr (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/drivers/usb/musb/
Dmusb_hcd.c43 csr = readw(&musbr->txcsr); in write_toggle()
49 writew(csr, &musbr->txcsr); in write_toggle()
52 writew(csr, &musbr->txcsr); in write_toggle()
54 writew(csr, &musbr->txcsr); in write_toggle()
58 csr = readw(&musbr->txcsr); in write_toggle()
63 writew(csr, &musbr->rxcsr); in write_toggle()
65 csr = readw(&musbr->rxcsr); in write_toggle()
67 writew(csr, &musbr->rxcsr); in write_toggle()
69 writew(csr, &musbr->rxcsr); in write_toggle()
85 csr = readw(&musbr->txcsr); in check_stall()
[all …]
Dmusb_core.c14 struct musb_regs *musbr; variable
27 writew(0, &musbr->intrtxe); in musb_start()
28 writew(0, &musbr->intrrxe); in musb_start()
29 writeb(0, &musbr->intrusbe); in musb_start()
30 writeb(0, &musbr->testmode); in musb_start()
33 writeb(MUSB_POWER_HSENAB, &musbr->power); in musb_start()
37 busctl = musb_read_ulpi_buscontrol(musbr); in musb_start()
38 musb_write_ulpi_buscontrol(musbr, busctl | ULPI_USE_EXTVBUS); in musb_start()
41 devctl = readb(&musbr->devctl); in musb_start()
42 writeb(devctl | MUSB_DEVCTL_SESSION, &musbr->devctl); in musb_start()
[all …]
Dmusb_udc.c112 b = readb(&musbr->faddr); in musb_db_regs()
115 b = readb(&musbr->power); in musb_db_regs()
118 w = readw(&musbr->ep[0].ep0.csr0); in musb_db_regs()
121 b = readb(&musbr->devctl); in musb_db_regs()
124 b = readb(&musbr->ep[0].ep0.configdata); in musb_db_regs()
127 w = readw(&musbr->frame); in musb_db_regs()
130 b = readb(&musbr->index); in musb_db_regs()
133 w = readw(&musbr->ep[1].epN.rxmaxp); in musb_db_regs()
136 w = readw(&musbr->ep[1].epN.rxcsr); in musb_db_regs()
139 w = readw(&musbr->ep[1].epN.txmaxp); in musb_db_regs()
[all …]
Dmusb_core.h326 extern struct musb_regs *musbr;
334 static inline u8 musb_read_ulpi_buscontrol(struct musb_regs *musbr) in musb_read_ulpi_buscontrol() argument
336 return readb(&musbr->ulpi_busctl); in musb_read_ulpi_buscontrol()
338 static inline void musb_write_ulpi_buscontrol(struct musb_regs *musbr, u8 val) in musb_write_ulpi_buscontrol() argument
340 writeb(val, &musbr->ulpi_busctl); in musb_write_ulpi_buscontrol()
Dam35x.c124 writeb(ep, &musbr->index); in read_fifo()
128 val = readl(&musbr->fifox[ep]); in read_fifo()
135 val = readl(&musbr->fifox[ep]); in read_fifo()
Dmusb_hcd.h36 ((readb(&musbr->power) & MUSB_POWER_HSMODE) \