Home
last modified time | relevance | path

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

/u-boot/drivers/usb/musb-new/
A 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()
A 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
A Dmusb_core.c139 power = musb_readb(addr, MUSB_POWER); in musb_ulpi_read()
183 power = musb_readb(addr, MUSB_POWER); in musb_ulpi_write()
294 dst[index] = musb_readb(fifo, 0); in musb_read_fifo()
393 reg = musb_readb(mbase, MUSB_POWER); in musb_hnp_stop()
933 devctl = musb_readb(regs, MUSB_DEVCTL); in musb_start()
989 temp = musb_readb(mbase, MUSB_INTRUSB); in musb_generic_disable()
2079 musb_readb(musb->mregs, MUSB_DEVCTL), in musb_init_controller()
2286 musb_readb(epio, MUSB_TXTYPE); in musb_save_context()
2288 musb_readb(epio, MUSB_TXINTERVAL); in musb_save_context()
2290 musb_readb(epio, MUSB_RXTYPE); in musb_save_context()
[all …]
A Dmusb_uboot.c193 power = musb_readb(mbase, MUSB_POWER); in _musb_reset_root_port()
201 power = musb_readb(mbase, MUSB_POWER); in _musb_reset_root_port()
208 host->host_speed = (musb_readb(mbase, MUSB_POWER) & MUSB_POWER_HSMODE) ? in _musb_reset_root_port()
210 (musb_readb(mbase, MUSB_DEVCTL) & MUSB_DEVCTL_FSDEV) ? in _musb_reset_root_port()
235 if (musb_readb(mbase, MUSB_DEVCTL) & MUSB_DEVCTL_HM) in musb_lowlevel_init()
A Dam35x.c154 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
164 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in otg_timer()
182 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
289 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in am35x_musb_interrupt()
A Dmusb_gadget_ep0.c195 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_try_b_hnp_enable()
488 count = musb_readb(regs, MUSB_COUNT0); in ep0_rxstate()
659 len = musb_readb(regs, MUSB_COUNT0); in musb_g_ep0_irq()
663 musb_readb(mbase, MUSB_FADDR), in musb_g_ep0_irq()
802 power = musb_readb(mbase, MUSB_POWER); in musb_g_ep0_irq()
A Dda8xx.c105 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in da8xx_musb_interrupt()
178 musb_readb(reg_base, DA8XX_USB_CTRL_REG)); in da8xx_musb_init()
A Dpic32.c79 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in pic32_interrupt()
141 power = musb_readb(musb->mregs, MUSB_POWER); in pic32_musb_init()
A Dmusb_gadget.c1647 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1651 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1654 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1660 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1683 power = musb_readb(mregs, MUSB_POWER); in musb_gadget_wakeup()
1691 power = musb_readb(mregs, MUSB_POWER); in musb_gadget_wakeup()
1715 power = musb_readb(musb->mregs, MUSB_POWER); in musb_pullup()
2219 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_g_disconnect()
2267 u8 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_g_reset()
2274 musb_readb(mbase, MUSB_FADDR), in musb_g_reset()
[all …]
A 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()
A Dmt85xx.c185 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in mtk_musb_interrupt()
A Dmusb_host.c987 ? musb_readb(epio, MUSB_COUNT0) in musb_h_ep0_irq()
1853 txtype = (musb_readb(hw_ep->regs, MUSB_TXTYPE) in musb_schedule()
1907 if ((musb_readb(musb->mregs, MUSB_POWER) & MUSB_POWER_HSMODE) && in tt_needed()
2345 devctl = musb_readb(musb->mregs, MUSB_DEVCTL);
A Dsunxi.c209 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in sunxi_musb_interrupt()

Completed in 26 milliseconds