/external/u-boot/drivers/usb/musb-new/ |
D | musb_regs.h | 405 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()
|
D | musb_core.c | 132 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 …]
|
D | musb_io.h | 64 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
|
D | musb_uboot.c | 189 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()
|
D | musb_gadget_ep0.c | 191 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()
|
D | am35x.c | 150 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()
|
D | musb_gadget.c | 1641 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 …]
|
D | pic32.c | 74 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in pic32_interrupt() 136 power = musb_readb(musb->mregs, MUSB_POWER); in pic32_musb_init()
|
D | da8xx.c | 101 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in da8xx_musb_interrupt() 174 musb_readb(reg_base, DA8XX_USB_CTRL_REG)); in da8xx_musb_init()
|
D | musb_core.h | 188 (musb_readb((_x)->mregs, MUSB_DEVCTL)&MUSB_DEVCTL_HM) 467 reg = musb_readb(mbase, MUSB_EP_OFFSET(epnum, MUSB_FIFOSIZE)); in musb_read_fifosize()
|
D | musb_host.c | 982 ? 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);
|
D | sunxi.c | 204 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in sunxi_musb_interrupt()
|