Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/usb/musb/
Dmusb_regs.h346 return musb_readb(mbase, MUSB_TXFIFOSZ); in musb_read_txfifosz()
356 return musb_readb(mbase, MUSB_RXFIFOSZ); in musb_read_rxfifosz()
366 return musb_readb(mbase, MUSB_ULPI_BUSCONTROL); in musb_read_ulpi_buscontrol()
372 return musb_readb(mbase, 0x10 + MUSB_CONFIGDATA); in musb_read_configdata()
426 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_RXFUNCADDR)); in musb_read_rxfunaddr()
431 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_RXHUBADDR)); in musb_read_rxhubaddr()
436 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_RXHUBPORT)); in musb_read_rxhubport()
441 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_TXFUNCADDR)); in musb_read_txfunaddr()
446 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_TXHUBADDR)); in musb_read_txhubaddr()
451 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_TXHUBPORT)); in musb_read_txhubport()
Domap2430.c64 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_do_idle()
77 power = musb_readb(musb->mregs, MUSB_POWER); in musb_do_idle()
93 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_do_idle()
149 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in omap2430_musb_set_vbus()
160 while (musb_readb(musb->mregs, MUSB_DEVCTL) & 0x80) { in omap2430_musb_set_vbus()
199 musb_readb(musb->mregs, MUSB_DEVCTL)); in omap2430_musb_set_vbus()
204 u8 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in omap2430_musb_set_mode()
366 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in omap2430_musb_enable()
370 while (musb_readb(musb->mregs, MUSB_DEVCTL) & in omap2430_musb_enable()
Dmusb_virthub.c61 power = musb_readb(mbase, MUSB_POWER); in musb_port_suspend()
70 power = musb_readb(mbase, MUSB_POWER); in musb_port_suspend()
72 power = musb_readb(mbase, MUSB_POWER); in musb_port_suspend()
135 power = musb_readb(mbase, MUSB_POWER); in musb_port_reset()
168 power = musb_readb(mbase, MUSB_POWER); in musb_port_reset()
330 power = musb_readb(musb->mregs, MUSB_POWER); in musb_hub_control()
Dmusb_core.c145 power = musb_readb(addr, MUSB_POWER); in musb_ulpi_read()
157 while (!(musb_readb(addr, MUSB_ULPI_REG_CONTROL) in musb_ulpi_read()
166 r = musb_readb(addr, MUSB_ULPI_REG_CONTROL); in musb_ulpi_read()
170 return musb_readb(addr, MUSB_ULPI_REG_DATA); in musb_ulpi_read()
182 power = musb_readb(addr, MUSB_POWER); in musb_ulpi_write()
190 while (!(musb_readb(addr, MUSB_ULPI_REG_CONTROL) in musb_ulpi_write()
199 r = musb_readb(addr, MUSB_ULPI_REG_CONTROL); in musb_ulpi_write()
291 dst[index] = musb_readb(fifo, 0); in musb_read_fifo()
408 reg = musb_readb(mbase, MUSB_POWER); in musb_hnp_stop()
937 u8 devctl = musb_readb(regs, MUSB_DEVCTL); in musb_start()
[all …]
Dmusb_io.h82 static inline u8 musb_readb(const void __iomem *addr, unsigned offset) in musb_readb() function
111 static inline u8 musb_readb(const void __iomem *addr, unsigned offset) in musb_readb() function
121 static inline u8 musb_readb(const void __iomem *addr, unsigned offset) in musb_readb() function
Dblackfin.c171 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in blackfin_interrupt()
221 val = musb_readb(musb->mregs, MUSB_INTRUSBE); in musb_conn_timer_handler()
253 val = musb_readb(musb->mregs, MUSB_INTRUSBE); in musb_conn_timer_handler()
264 val = musb_readb(musb->mregs, MUSB_POWER); in musb_conn_timer_handler()
269 val = musb_readb(musb->mregs, MUSB_POWER); in musb_conn_timer_handler()
312 musb_readb(musb->mregs, MUSB_DEVCTL)); in bfin_musb_set_vbus()
Ddavinci.c222 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
258 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
319 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in davinci_musb_interrupt()
446 musb_readb(tibase, DAVINCI_USB_CTRL_REG)); in davinci_musb_init()
482 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in davinci_musb_exit()
Dda8xx.c201 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
210 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in otg_timer()
251 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
331 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in da8xx_musb_interrupt()
451 musb_readb(reg_base, DA8XX_USB_CTRL_REG)); in da8xx_musb_init()
Dmusb_debugfs.c133 musb_readb(musb->mregs, musb_regmap[i].offset)); in musb_regdump_show()
159 test = musb_readb(musb->mregs, MUSB_TESTMODE); in musb_test_mode_show()
Dam35x.c153 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
162 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in otg_timer()
180 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
269 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in am35x_musb_interrupt()
Dmusb_gadget.c1534 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1538 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1541 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1547 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1565 power = musb_readb(mregs, MUSB_POWER); in musb_gadget_wakeup()
1573 power = musb_readb(mregs, MUSB_POWER); in musb_gadget_wakeup()
1594 power = musb_readb(musb->mregs, MUSB_POWER); in musb_pullup()
2049 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_g_suspend()
2084 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_g_disconnect()
2132 u8 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_g_reset()
[all …]
Dmusb_gadget_ep0.c213 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_try_b_hnp_enable()
508 count = musb_readb(regs, MUSB_COUNT0); in ep0_rxstate()
679 len = musb_readb(regs, MUSB_COUNT0); in musb_g_ep0_irq()
683 musb_readb(mbase, MUSB_FADDR), in musb_g_ep0_irq()
814 power = musb_readb(mbase, MUSB_POWER); in musb_g_ep0_irq()
Dmusbhsdma.c269 int_hsdma = musb_readb(mbase, MUSB_HSDMA_INTR); in dma_controller_irq()
326 devctl = musb_readb(mbase, MUSB_DEVCTL); in dma_controller_irq()
Dmusb_core.h250 (musb_readb((_x)->mregs, MUSB_DEVCTL)&MUSB_DEVCTL_HM)
563 reg = musb_readb(mbase, MUSB_EP_OFFSET(epnum, MUSB_FIFOSIZE)); in musb_read_fifosize()
Dtusb6010.c526 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_musb_set_vbus()
577 musb_readb(musb->mregs, MUSB_DEVCTL), in tusb_musb_set_vbus()
766 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_otg_ints()
Dmusb_host.c988 ? musb_readb(epio, MUSB_COUNT0) in musb_h_ep0_irq()
1848 txtype = (musb_readb(hw_ep->regs, MUSB_TXTYPE) in musb_schedule()
2297 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_bus_suspend()