Home
last modified time | relevance | path

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

/linux-6.1.9/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()
177 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_core.c141 power = musb_readb(addr, MUSB_POWER); in musb_ulpi_read()
153 while (!(musb_readb(addr, MUSB_ULPI_REG_CONTROL) in musb_ulpi_read()
162 r = musb_readb(addr, MUSB_ULPI_REG_CONTROL); in musb_ulpi_read()
166 ret = musb_readb(addr, MUSB_ULPI_REG_DATA); in musb_ulpi_read()
185 power = musb_readb(addr, MUSB_POWER); in musb_ulpi_write()
193 while (!(musb_readb(addr, MUSB_ULPI_REG_CONTROL) in musb_ulpi_write()
202 r = musb_readb(addr, MUSB_ULPI_REG_CONTROL); in musb_ulpi_write()
400 u8 (*musb_readb)(void __iomem *addr, u32 offset); variable
401 EXPORT_SYMBOL_GPL(musb_readb);
458 return musb_readb(musb->mregs, MUSB_DEVCTL); in musb_read_devctl()
[all …]
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()
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()
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()
Dmpfs.c59 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in mpfs_musb_interrupt()
84 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in mpfs_musb_set_vbus()
110 musb_readb(musb->mregs, MUSB_DEVCTL)); in mpfs_musb_set_vbus()
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_dsps.c225 devctl = musb_readb(mregs, MUSB_DEVCTL); in dsps_check_status()
351 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in dsps_interrupt()
486 val = musb_readb(musb->mregs, MUSB_BABBLE_CTL); in dsps_musb_init()
563 babble_ctl = musb_readb(musb->mregs, MUSB_BABBLE_CTL); in dsps_sw_babble_control()
580 babble_ctl = musb_readb(musb->mregs, MUSB_BABBLE_CTL); in dsps_sw_babble_control()
587 babble_ctl = musb_readb(musb->mregs, MUSB_BABBLE_CTL); in dsps_sw_babble_control()
Dmusb_gadget.c1537 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1541 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1544 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1550 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1573 power = musb_readb(mregs, MUSB_POWER); in musb_gadget_wakeup()
1581 power = musb_readb(mregs, MUSB_POWER); in musb_gadget_wakeup()
1600 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_io.h40 extern u8 (*musb_readb)(void __iomem *addr, u32 offset);
Dmusb_gadget_ep0.c189 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_try_b_hnp_enable()
478 count = musb_readb(regs, MUSB_COUNT0); in ep0_rxstate()
651 len = musb_readb(regs, MUSB_COUNT0); in musb_g_ep0_irq()
792 power = musb_readb(mbase, MUSB_POWER); in musb_g_ep0_irq()
Dmusb_core.h104 (musb_readb((_x)->mregs, MUSB_DEVCTL)&MUSB_DEVCTL_HM)
459 reg = musb_readb(mbase, musb->io.ep_offset(epnum, MUSB_FIFOSIZE)); in musb_read_fifosize()
Domap2430.c100 musb_readb(musb->mregs, MUSB_DEVCTL)); in omap_musb_set_mailbox()
177 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in omap2430_musb_interrupt()
Djz4740.c38 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in jz4740_musb_interrupt()
Dtusb6010.c565 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_musb_set_vbus()
616 musb_readb(musb->mregs, MUSB_DEVCTL), in tusb_musb_set_vbus()
784 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_otg_ints()
Dmusb_trace.h77 DEFINE_EVENT(musb_regb, musb_readb,
Dmediatek.c202 data = musb_readb(addr, offset); in mtk_musb_clearb()
Dmusb_host.c1066 ? musb_readb(epio, MUSB_COUNT0) in musb_h_ep0_irq()
2053 txtype = (musb_readb(hw_ep->regs, MUSB_TXTYPE) in musb_schedule()
2512 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_bus_suspend()
/linux-6.1.9/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);