Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/musb-new/
Dmusb_regs.h378 musb_writeb(mbase, MUSB_TXFIFOSZ, c_size); in musb_write_txfifosz()
388 musb_writeb(mbase, MUSB_RXFIFOSZ, c_size); in musb_write_rxfifosz()
399 musb_writeb(mbase, MUSB_ULPI_BUSCONTROL, val); in musb_write_ulpi_buscontrol()
439 musb_writeb(mbase, MUSB_INDEX, 0); in musb_read_configdata()
461 musb_writeb(ep_target_regs, MUSB_RXFUNCADDR, qh_addr_reg); in musb_write_rxfunaddr()
467 musb_writeb(ep_target_regs, MUSB_RXHUBADDR, qh_h_addr_reg); in musb_write_rxhubaddr()
473 musb_writeb(ep_target_regs, MUSB_RXHUBPORT, qh_h_port_reg); in musb_write_rxhubport()
479 musb_writeb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_TXFUNCADDR), in musb_write_txfunaddr()
486 musb_writeb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_TXHUBADDR), in musb_write_txhubaddr()
493 musb_writeb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_TXHUBPORT), in musb_write_txhubport()
Dmusb_core.c134 musb_writeb(addr, MUSB_POWER, power); in musb_ulpi_read()
140 musb_writeb(addr, MUSB_ULPI_REG_ADDR, (u8)offset); in musb_ulpi_read()
141 musb_writeb(addr, MUSB_ULPI_REG_CONTROL, in musb_ulpi_read()
155 musb_writeb(addr, MUSB_ULPI_REG_CONTROL, r); in musb_ulpi_read()
178 musb_writeb(addr, MUSB_POWER, power); in musb_ulpi_write()
180 musb_writeb(addr, MUSB_ULPI_REG_ADDR, (u8)offset); in musb_ulpi_write()
181 musb_writeb(addr, MUSB_ULPI_REG_DATA, (u8)data); in musb_ulpi_write()
182 musb_writeb(addr, MUSB_ULPI_REG_CONTROL, MUSB_ULPI_REG_REQ); in musb_ulpi_write()
195 musb_writeb(addr, MUSB_ULPI_REG_CONTROL, r); in musb_ulpi_write()
247 musb_writeb(fifo, 0, src[index]); in musb_write_fifo()
[all …]
Dpic32.c60 musb_writeb(musb->mregs, MUSB_SOFTRST, MUSB_SOFTRST_NRSTX); in pic32_musb_enable()
76 musb_writeb(musb->mregs, MUSB_INTRUSB, musb->int_usb); in pic32_interrupt()
138 musb_writeb(musb->mregs, MUSB_POWER, power); in pic32_musb_init()
143 musb_writeb(musb->mregs, MUSB_POWER, power); in pic32_musb_init()
Dmusb_io.h78 static inline void musb_writeb(void __iomem *addr, unsigned offset, u8 data) in musb_writeb() function
96 static inline void musb_writeb(void __iomem *addr, unsigned offset, u8 data) in musb_writeb() function
Domap2430.c75 musb_writeb(musb->mregs, MUSB_POWER, power); in musb_do_idle()
149 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in omap2430_musb_set_vbus()
188 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in omap2430_musb_set_vbus()
201 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in omap2430_musb_set_mode()
412 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in omap2430_musb_enable()
Dmusb_host.c274 musb_writeb(mbase, MUSB_INTRUSBE, 0xff); in musb_start_urb()
598 musb_writeb(musb->mregs, MUSB_FADDR, qh->addr_reg); in musb_rx_reinit()
601 musb_writeb(ep->regs, MUSB_RXTYPE, qh->type_reg); in musb_rx_reinit()
602 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()
793 musb_writeb(epio, MUSB_TXINTERVAL, qh->intv_reg); in musb_ep_program()
795 musb_writeb(epio, MUSB_NAKLIMIT0, qh->intv_reg); in musb_ep_program()
797 musb_writeb(epio, MUSB_TYPE0, in musb_ep_program()
1035 musb_writeb(epio, MUSB_NAKLIMIT0, 0); in musb_h_ep0_irq()
[all …]
Dsunxi.c204 musb_writeb(musb->mregs, MUSB_INTRUSB, musb->int_usb); in sunxi_musb_interrupt()
229 musb_writeb(musb->mregs, MUSB_FADDR, 0); in sunxi_musb_enable()
235 musb_writeb(musb->mregs, USBC_REG_o_VEND0, 0); in sunxi_musb_enable()
Dmusb_core.h165 musb_writeb((_mbase), MUSB_INDEX, (_epnum))
176 musb_writeb((_mbase), MUSB_INDEX, (_epnum))
Dmusb_gadget_ep0.c192 musb_writeb(mbase, MUSB_DEVCTL, devctl | MUSB_DEVCTL_HR); in musb_try_b_hnp_enable()
731 musb_writeb(mbase, MUSB_FADDR, musb->address); in musb_g_ep0_irq()
741 musb_writeb(mbase, MUSB_TESTMODE, in musb_g_ep0_irq()
Dmusb_uboot.c191 musb_writeb(mbase, MUSB_POWER, MUSB_POWER_RESET | power); in _musb_reset_root_port()
198 musb_writeb(mbase, MUSB_POWER, ~MUSB_POWER_RESET & power); in _musb_reset_root_port()
Dmusb_gadget.c1644 musb_writeb(mregs, MUSB_DEVCTL, devctl); in musb_gadget_wakeup()
1679 musb_writeb(mregs, MUSB_POWER, power); in musb_gadget_wakeup()
1687 musb_writeb(mregs, MUSB_POWER, power); in musb_gadget_wakeup()
1719 musb_writeb(musb->mregs, MUSB_POWER, power); in musb_pullup()
2207 musb_writeb(mregs, MUSB_DEVCTL, devctl & MUSB_DEVCTL_SESSION); in musb_g_disconnect()
2270 musb_writeb(mbase, MUSB_DEVCTL, MUSB_DEVCTL_SESSION); in musb_g_reset()
Dam35x.c123 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in am35x_musb_disable()
158 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer()