Home
last modified time | relevance | path

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

/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()
73 musb_writeb(mbase, MUSB_POWER, power); in musb_port_suspend()
111 musb_writeb(mbase, MUSB_POWER, power); in musb_port_suspend()
158 musb_writeb(mbase, MUSB_POWER, in musb_port_reset()
168 musb_writeb(mbase, MUSB_POWER, in musb_port_reset()
178 musb_writeb(mbase, MUSB_POWER, in musb_port_reset()
409 musb_writeb(musb->mregs, MUSB_DEVCTL, in musb_hub_control()
419 musb_writeb(musb->mregs, MUSB_TESTMODE, temp); in musb_hub_control()
Dmediatek.c84 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in mtk_otg_switch_set()
92 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in mtk_otg_switch_set()
102 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in mtk_otg_switch_set()
163 musb_writeb(musb->mregs, MUSB_FADDR, 0); in generic_interrupt()
204 musb_writeb(addr, offset, data); in mtk_musb_clearb()
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()
Dmusb_host.c260 musb_writeb(mbase, MUSB_INTRUSBE, 0xff); in musb_start_urb()
557 musb_writeb(musb->mregs, MUSB_FADDR, qh->addr_reg); in musb_rx_reinit()
560 musb_writeb(ep->regs, MUSB_RXTYPE, qh->type_reg); in musb_rx_reinit()
561 musb_writeb(ep->regs, MUSB_RXINTERVAL, qh->intv_reg); in musb_rx_reinit()
777 musb_writeb(mbase, MUSB_FADDR, qh->addr_reg); in musb_ep_program()
781 musb_writeb(epio, MUSB_TXTYPE, qh->type_reg); in musb_ep_program()
792 musb_writeb(epio, MUSB_TXINTERVAL, qh->intv_reg); in musb_ep_program()
794 musb_writeb(epio, MUSB_NAKLIMIT0, qh->intv_reg); in musb_ep_program()
796 musb_writeb(epio, MUSB_TYPE0, in musb_ep_program()
1125 musb_writeb(epio, MUSB_NAKLIMIT0, 0); in musb_h_ep0_irq()
[all …]
Dmpfs.c65 musb_writeb(musb->mregs, MUSB_INTRUSB, musb->int_usb); in mpfs_musb_interrupt()
107 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in mpfs_musb_set_vbus()
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_io.h41 extern void (*musb_writeb)(void __iomem *addr, u32 offset, u8 data);
Dmusb_dsps.c242 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in dsps_check_status()
261 musb_writeb(mregs, MUSB_DEVCTL, in dsps_check_status()
488 musb_writeb(musb->mregs, MUSB_BABBLE_CTL, val); in dsps_musb_init()
580 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()
Dmusb_gadget.c1540 musb_writeb(mregs, MUSB_DEVCTL, devctl); in musb_gadget_wakeup()
1577 musb_writeb(mregs, MUSB_POWER, power); in musb_gadget_wakeup()
1585 musb_writeb(mregs, MUSB_POWER, power); in musb_gadget_wakeup()
1612 musb_writeb(musb->mregs, MUSB_POWER, power); in musb_pullup()
1999 musb_writeb(mregs, MUSB_DEVCTL, devctl & MUSB_DEVCTL_SESSION); in musb_g_disconnect()
2060 musb_writeb(mbase, MUSB_DEVCTL, MUSB_DEVCTL_SESSION); in musb_g_reset()
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()
Dtusb6010.c144 musb_writeb(mbase, MUSB_INDEX, epnum); in tusb_ep_select()
617 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in tusb_musb_set_vbus()
Dmusb_trace.h83 DEFINE_EVENT(musb_regb, musb_writeb,
Dsunxi.c188 musb_writeb(musb->mregs, MUSB_FADDR, 0); in sunxi_musb_interrupt()