Home
last modified time | relevance | path

Searched refs:musb_readb (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/drivers/usb/musb-new/
Dmusb_regs.h405 return musb_readb(mbase, MUSB_TXFIFOSZ); in musb_read_txfifosz()
415 return musb_readb(mbase, MUSB_RXFIFOSZ); in musb_read_rxfifosz()
428 return musb_readb(mbase, MUSB_ULPI_BUSCONTROL); in musb_read_ulpi_buscontrol()
440 return musb_readb(mbase, 0x10 + MUSB_CONFIGDATA); in musb_read_configdata()
499 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_RXFUNCADDR)); in musb_read_rxfunaddr()
504 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_RXHUBADDR)); in musb_read_rxhubaddr()
509 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_RXHUBPORT)); in musb_read_rxhubport()
514 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_TXFUNCADDR)); in musb_read_txfunaddr()
519 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_TXHUBADDR)); in musb_read_txhubaddr()
524 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_TXHUBPORT)); in musb_read_txhubport()
Dmusb_core.c132 power = musb_readb(addr, MUSB_POWER); in musb_ulpi_read()
144 while (!(musb_readb(addr, MUSB_ULPI_REG_CONTROL) in musb_ulpi_read()
153 r = musb_readb(addr, MUSB_ULPI_REG_CONTROL); in musb_ulpi_read()
157 ret = musb_readb(addr, MUSB_ULPI_REG_DATA); in musb_ulpi_read()
176 power = musb_readb(addr, MUSB_POWER); in musb_ulpi_write()
184 while (!(musb_readb(addr, MUSB_ULPI_REG_CONTROL) in musb_ulpi_write()
193 r = musb_readb(addr, MUSB_ULPI_REG_CONTROL); in musb_ulpi_write()
287 dst[index] = musb_readb(fifo, 0); in musb_read_fifo()
386 reg = musb_readb(mbase, MUSB_POWER); in musb_hnp_stop()
904 u8 devctl = musb_readb(regs, MUSB_DEVCTL); in musb_start()
[all …]
Dmusb_io.h64 static inline u8 musb_readb(const void __iomem *addr, unsigned offset) in musb_readb() function
93 static inline u8 musb_readb(const void __iomem *addr, unsigned offset) in musb_readb() function
Dmusb_uboot.c189 power = musb_readb(mbase, MUSB_POWER); in _musb_reset_root_port()
197 power = musb_readb(mbase, MUSB_POWER); in _musb_reset_root_port()
204 host->host_speed = (musb_readb(mbase, MUSB_POWER) & MUSB_POWER_HSMODE) ? in _musb_reset_root_port()
206 (musb_readb(mbase, MUSB_DEVCTL) & MUSB_DEVCTL_FSDEV) ? in _musb_reset_root_port()
231 if (musb_readb(mbase, MUSB_DEVCTL) & MUSB_DEVCTL_HM) in musb_lowlevel_init()
Dmusb_gadget_ep0.c191 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_try_b_hnp_enable()
484 count = musb_readb(regs, MUSB_COUNT0); in ep0_rxstate()
655 len = musb_readb(regs, MUSB_COUNT0); in musb_g_ep0_irq()
659 musb_readb(mbase, MUSB_FADDR), in musb_g_ep0_irq()
798 power = musb_readb(mbase, MUSB_POWER); in musb_g_ep0_irq()
Dam35x.c150 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
160 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in otg_timer()
178 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
285 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in am35x_musb_interrupt()
Dmusb_gadget.c1641 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1645 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1648 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1654 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1677 power = musb_readb(mregs, MUSB_POWER); in musb_gadget_wakeup()
1685 power = musb_readb(mregs, MUSB_POWER); in musb_gadget_wakeup()
1709 power = musb_readb(musb->mregs, MUSB_POWER); in musb_pullup()
2177 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_g_suspend()
2213 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_g_disconnect()
2261 u8 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_g_reset()
[all …]
Dpic32.c74 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in pic32_interrupt()
136 power = musb_readb(musb->mregs, MUSB_POWER); in pic32_musb_init()
Dda8xx.c101 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in da8xx_musb_interrupt()
174 musb_readb(reg_base, DA8XX_USB_CTRL_REG)); in da8xx_musb_init()
Dmusb_core.h188 (musb_readb((_x)->mregs, MUSB_DEVCTL)&MUSB_DEVCTL_HM)
467 reg = musb_readb(mbase, MUSB_EP_OFFSET(epnum, MUSB_FIFOSIZE)); in musb_read_fifosize()
Dmusb_host.c982 ? musb_readb(epio, MUSB_COUNT0) in musb_h_ep0_irq()
1848 txtype = (musb_readb(hw_ep->regs, MUSB_TXTYPE) in musb_schedule()
1902 if ((musb_readb(musb->mregs, MUSB_POWER) & MUSB_POWER_HSMODE) && in tt_needed()
2340 devctl = musb_readb(musb->mregs, MUSB_DEVCTL);
Dsunxi.c204 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in sunxi_musb_interrupt()