Home
last modified time | relevance | path

Searched refs:musb_writeb (Results 1 – 17 of 17) sorted by relevance

/linux-5.19.10/drivers/usb/musb/
Dmusb_core.c143 musb_writeb(addr, MUSB_POWER, power); in musb_ulpi_read()
149 musb_writeb(addr, MUSB_ULPI_REG_ADDR, (u8)reg); in musb_ulpi_read()
150 musb_writeb(addr, MUSB_ULPI_REG_CONTROL, in musb_ulpi_read()
164 musb_writeb(addr, MUSB_ULPI_REG_CONTROL, r); in musb_ulpi_read()
187 musb_writeb(addr, MUSB_POWER, power); in musb_ulpi_write()
189 musb_writeb(addr, MUSB_ULPI_REG_ADDR, (u8)reg); in musb_ulpi_write()
190 musb_writeb(addr, MUSB_ULPI_REG_DATA, (u8)val); in musb_ulpi_write()
191 musb_writeb(addr, MUSB_ULPI_REG_CONTROL, MUSB_ULPI_REG_REQ); in musb_ulpi_write()
204 musb_writeb(addr, MUSB_ULPI_REG_CONTROL, r); in musb_ulpi_write()
237 musb_writeb(mbase, MUSB_INDEX, epnum); in musb_indexed_ep_select()
[all …]
Dmusb_regs.h278 musb_writeb(mbase, MUSB_INDEX, 0); in musb_read_configdata()
285 musb_writeb(musb->mregs, in musb_write_rxfunaddr()
293 musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_RXHUBADDR), in musb_write_rxhubaddr()
300 musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_RXHUBPORT), in musb_write_rxhubport()
307 musb_writeb(musb->mregs, in musb_write_txfunaddr()
315 musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_TXHUBADDR), in musb_write_txhubaddr()
322 musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_TXHUBPORT), in musb_write_txhubport()
Dmusb_virthub.c34 musb_writeb(musb->mregs, MUSB_POWER, power); in musb_host_finish_resume()
74 musb_writeb(mbase, MUSB_POWER, power); in musb_port_suspend()
110 musb_writeb(mbase, MUSB_POWER, power); in musb_port_suspend()
157 musb_writeb(mbase, MUSB_POWER, in musb_port_reset()
167 musb_writeb(mbase, MUSB_POWER, in musb_port_reset()
177 musb_writeb(mbase, MUSB_POWER, in musb_port_reset()
410 musb_writeb(musb->mregs, MUSB_DEVCTL, in musb_hub_control()
420 musb_writeb(musb->mregs, MUSB_TESTMODE, temp); in musb_hub_control()
Dmusb_debugfs.c216 musb_writeb(musb->mregs, MUSB_TESTMODE, test); in musb_test_mode_write()
283 musb_writeb(musb->mregs, MUSB_DEVCTL, reg); in musb_softconnect_write()
300 musb_writeb(musb->mregs, MUSB_DEVCTL, reg); in musb_softconnect_write()
Dmediatek.c83 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in mtk_otg_switch_set()
91 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in mtk_otg_switch_set()
101 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in mtk_otg_switch_set()
162 musb_writeb(musb->mregs, MUSB_FADDR, 0); in generic_interrupt()
203 musb_writeb(addr, offset, data); in mtk_musb_clearb()
Dmusb_host.c260 musb_writeb(mbase, MUSB_INTRUSBE, 0xff); in musb_start_urb()
551 musb_writeb(musb->mregs, MUSB_FADDR, qh->addr_reg); in musb_rx_reinit()
554 musb_writeb(ep->regs, MUSB_RXTYPE, qh->type_reg); in musb_rx_reinit()
555 musb_writeb(ep->regs, MUSB_RXINTERVAL, qh->intv_reg); in musb_rx_reinit()
771 musb_writeb(mbase, MUSB_FADDR, qh->addr_reg); in musb_ep_program()
775 musb_writeb(epio, MUSB_TXTYPE, qh->type_reg); in musb_ep_program()
786 musb_writeb(epio, MUSB_TXINTERVAL, qh->intv_reg); in musb_ep_program()
788 musb_writeb(epio, MUSB_NAKLIMIT0, qh->intv_reg); in musb_ep_program()
790 musb_writeb(epio, MUSB_TYPE0, in musb_ep_program()
1119 musb_writeb(epio, MUSB_NAKLIMIT0, 0); in musb_h_ep0_irq()
[all …]
Dmusb_io.h41 extern void (*musb_writeb)(void __iomem *addr, u32 offset, u8 data);
Dux500.c49 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in ux500_musb_set_vbus()
78 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in ux500_musb_set_vbus()
Dmusb_dsps.c244 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in dsps_check_status()
263 musb_writeb(mregs, MUSB_DEVCTL, in dsps_check_status()
490 musb_writeb(musb->mregs, MUSB_BABBLE_CTL, val); in dsps_musb_init()
582 musb_writeb(musb->mregs, MUSB_BABBLE_CTL, babble_ctl); in dsps_sw_babble_control()
Dmusb_gadget_ep0.c190 musb_writeb(mbase, MUSB_DEVCTL, devctl | MUSB_DEVCTL_HR); in musb_try_b_hnp_enable()
725 musb_writeb(mbase, MUSB_FADDR, musb->address); in musb_g_ep0_irq()
735 musb_writeb(mbase, MUSB_TESTMODE, in musb_g_ep0_irq()
Dda8xx.c141 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer()
180 musb_writeb(mregs, MUSB_DEVCTL, devctl | MUSB_DEVCTL_SESSION); in otg_timer()
Dmusb_gadget.c1537 musb_writeb(mregs, MUSB_DEVCTL, devctl); in musb_gadget_wakeup()
1572 musb_writeb(mregs, MUSB_POWER, power); in musb_gadget_wakeup()
1580 musb_writeb(mregs, MUSB_POWER, power); in musb_gadget_wakeup()
1607 musb_writeb(musb->mregs, MUSB_POWER, power); in musb_pullup()
1991 musb_writeb(mregs, MUSB_DEVCTL, devctl & MUSB_DEVCTL_SESSION); in musb_g_disconnect()
2052 musb_writeb(mbase, MUSB_DEVCTL, MUSB_DEVCTL_SESSION); in musb_g_reset()
Ddavinci.c229 musb_writeb(mregs, MUSB_DEVCTL, in otg_timer()
Dmusb_trace.h83 DEFINE_EVENT(musb_regb, musb_writeb,
Dtusb6010.c139 musb_writeb(mbase, MUSB_INDEX, epnum); in tusb_ep_select()
612 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in tusb_musb_set_vbus()
Dam35x.c139 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer()
Dsunxi.c181 musb_writeb(musb->mregs, MUSB_FADDR, 0); in sunxi_musb_interrupt()