Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/musb/
Dmusb_regs.h279 return musb_readb(mbase, 0x10 + MUSB_CONFIGDATA); in musb_read_configdata()
328 return musb_readb(musb->mregs, in musb_read_rxfunaddr()
334 return musb_readb(musb->mregs, in musb_read_rxhubaddr()
340 return musb_readb(musb->mregs, in musb_read_rxhubport()
346 return musb_readb(musb->mregs, in musb_read_txfunaddr()
352 return musb_readb(musb->mregs, in musb_read_txhubaddr()
358 return musb_readb(musb->mregs, in musb_read_txhubport()
Dmusb_debugfs.c96 musb_readb(musb->mregs, musb_regmap[i].offset)); in musb_regdump_show()
121 test = musb_readb(musb->mregs, MUSB_TESTMODE); in musb_test_mode_show()
172 test = musb_readb(musb->mregs, MUSB_TESTMODE); in musb_test_mode_write()
243 reg = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_softconnect_show()
281 reg = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_softconnect_write()
298 reg = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_softconnect_write()
Dmusb_virthub.c31 power = musb_readb(musb->mregs, MUSB_POWER); in musb_host_finish_resume()
65 power = musb_readb(mbase, MUSB_POWER); in musb_port_suspend()
77 power = musb_readb(mbase, MUSB_POWER); in musb_port_suspend()
79 power = musb_readb(mbase, MUSB_POWER); in musb_port_suspend()
138 power = musb_readb(mbase, MUSB_POWER); in musb_port_reset()
181 power = musb_readb(mbase, MUSB_POWER); in musb_port_reset()
Dmusb_core.c140 power = musb_readb(addr, MUSB_POWER); in musb_ulpi_read()
152 while (!(musb_readb(addr, MUSB_ULPI_REG_CONTROL) in musb_ulpi_read()
161 r = musb_readb(addr, MUSB_ULPI_REG_CONTROL); in musb_ulpi_read()
165 ret = musb_readb(addr, MUSB_ULPI_REG_DATA); in musb_ulpi_read()
184 power = musb_readb(addr, MUSB_POWER); in musb_ulpi_write()
192 while (!(musb_readb(addr, MUSB_ULPI_REG_CONTROL) in musb_ulpi_write()
201 r = musb_readb(addr, MUSB_ULPI_REG_CONTROL); in musb_ulpi_write()
367 u8 (*musb_readb)(const void __iomem *addr, unsigned offset); variable
368 EXPORT_SYMBOL_GPL(musb_readb);
506 reg = musb_readb(mbase, MUSB_POWER); in musb_hnp_stop()
[all …]
Dux500.c43 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in ux500_musb_set_vbus()
54 while (musb_readb(musb->mregs, MUSB_DEVCTL) & 0x80) { in ux500_musb_set_vbus()
91 musb_readb(musb->mregs, MUSB_DEVCTL)); in ux500_musb_set_vbus()
132 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in ux500_musb_interrupt()
Domap2430.c51 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in omap2430_musb_set_vbus()
63 while (musb_readb(musb->mregs, MUSB_DEVCTL) & in omap2430_musb_set_vbus()
101 musb_readb(musb->mregs, MUSB_DEVCTL)); in omap2430_musb_set_vbus()
212 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in omap2430_musb_interrupt()
307 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in omap2430_musb_enable()
311 while (musb_readb(musb->mregs, MUSB_DEVCTL) & in omap2430_musb_enable()
Ddavinci.c196 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
231 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
293 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in davinci_musb_interrupt()
412 musb_readb(tibase, DAVINCI_USB_CTRL_REG)); in davinci_musb_init()
448 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in davinci_musb_exit()
Dda8xx.c133 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
143 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in otg_timer()
181 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
260 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in da8xx_musb_interrupt()
402 musb_readb(reg_base, DA8XX_USB_CTRL_REG)); in da8xx_musb_init()
Dam35x.c131 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
141 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in otg_timer()
156 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
244 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in am35x_musb_interrupt()
Dmusb_io.h36 extern u8 (*musb_readb)(const void __iomem *addr, unsigned offset);
Dmusb_dsps.c224 devctl = musb_readb(mregs, MUSB_DEVCTL); in dsps_check_status()
350 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in dsps_interrupt()
485 val = musb_readb(musb->mregs, MUSB_BABBLE_CTL); in dsps_musb_init()
562 babble_ctl = musb_readb(musb->mregs, MUSB_BABBLE_CTL); in dsps_sw_babble_control()
579 babble_ctl = musb_readb(musb->mregs, MUSB_BABBLE_CTL); in dsps_sw_babble_control()
586 babble_ctl = musb_readb(musb->mregs, MUSB_BABBLE_CTL); in dsps_sw_babble_control()
Dmusb_gadget.c1533 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1537 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1540 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1546 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1569 power = musb_readb(mregs, MUSB_POWER); in musb_gadget_wakeup()
1577 power = musb_readb(mregs, MUSB_POWER); in musb_gadget_wakeup()
1596 power = musb_readb(musb->mregs, MUSB_POWER); in musb_pullup()
1950 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_g_suspend()
1985 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_g_disconnect()
2031 u8 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_g_reset()
[all …]
Dmusb_gadget_ep0.c189 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_try_b_hnp_enable()
482 count = musb_readb(regs, MUSB_COUNT0); in ep0_rxstate()
655 len = musb_readb(regs, MUSB_COUNT0); in musb_g_ep0_irq()
796 power = musb_readb(mbase, MUSB_POWER); in musb_g_ep0_irq()
Dmusb_core.h103 (musb_readb((_x)->mregs, MUSB_DEVCTL)&MUSB_DEVCTL_HM)
450 reg = musb_readb(mbase, musb->io.ep_offset(epnum, MUSB_FIFOSIZE)); in musb_read_fifosize()
Dmusbhsdma.c292 int_hsdma = musb_readb(mbase, MUSB_HSDMA_INTR); in dma_controller_irq()
344 devctl = musb_readb(mbase, MUSB_DEVCTL); in dma_controller_irq()
Djz4740.c33 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in jz4740_musb_interrupt()
Dtusb6010.c563 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_musb_set_vbus()
614 musb_readb(musb->mregs, MUSB_DEVCTL), in tusb_musb_set_vbus()
782 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_otg_ints()
Dmusb_trace.h59 DEFINE_EVENT(musb_regb, musb_readb,
Dmusb_host.c1098 ? musb_readb(epio, MUSB_COUNT0) in musb_h_ep0_irq()
2086 txtype = (musb_readb(hw_ep->regs, MUSB_TXTYPE) in musb_schedule()
2545 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_bus_suspend()
/Linux-v5.4/Documentation/driver-api/usb/
Dwriting_musb_glue_layer.rst355 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB);
394 Note that :c:func:`musb_readb` is used to read 8-bit registers at most, while
651 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB);