Home
last modified time | relevance | path

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

/u-boot/drivers/usb/musb-new/
A 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()
A Dmusb_core.c141 musb_writeb(addr, MUSB_POWER, power); in musb_ulpi_read()
148 musb_writeb(addr, MUSB_ULPI_REG_CONTROL, in musb_ulpi_read()
185 musb_writeb(addr, MUSB_POWER, power); in musb_ulpi_write()
254 musb_writeb(fifo, 0, src[index]); in musb_write_fifo()
395 musb_writeb(mbase, MUSB_POWER, reg); in musb_hnp_stop()
461 musb_writeb(mbase, MUSB_POWER, in musb_stage0_irq()
923 musb_writeb(regs, MUSB_TESTMODE, 0); in musb_start()
981 musb_writeb(mbase, MUSB_INTRUSBE, 0); in musb_generic_disable()
986 musb_writeb(mbase, MUSB_DEVCTL, 0); in musb_generic_disable()
2362 musb_writeb(epio, MUSB_TXTYPE, in musb_restore_context()
[all …]
A 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
A Dpic32.c65 musb_writeb(musb->mregs, MUSB_SOFTRST, MUSB_SOFTRST_NRSTX); in pic32_musb_enable()
81 musb_writeb(musb->mregs, MUSB_INTRUSB, musb->int_usb); in pic32_interrupt()
143 musb_writeb(musb->mregs, MUSB_POWER, power); in pic32_musb_init()
148 musb_writeb(musb->mregs, MUSB_POWER, power); in pic32_musb_init()
A Dmusb_host.c279 musb_writeb(mbase, MUSB_INTRUSBE, 0xff); in musb_start_urb()
606 musb_writeb(ep->regs, MUSB_RXTYPE, qh->type_reg); in musb_rx_reinit()
782 musb_writeb(mbase, MUSB_FADDR, qh->addr_reg); in musb_ep_program()
786 musb_writeb(epio, MUSB_TXTYPE, qh->type_reg); in musb_ep_program()
798 musb_writeb(epio, MUSB_TXINTERVAL, qh->intv_reg); in musb_ep_program()
800 musb_writeb(epio, MUSB_NAKLIMIT0, qh->intv_reg); in musb_ep_program()
802 musb_writeb(epio, MUSB_TYPE0, in musb_ep_program()
1040 musb_writeb(epio, MUSB_NAKLIMIT0, 0); in musb_h_ep0_irq()
1190 musb_writeb(epio, MUSB_TXINTERVAL, 0); in musb_host_tx()
1490 musb_writeb(epio, MUSB_RXINTERVAL, 0); in musb_host_rx()
[all …]
A Dsunxi.c212 musb_writeb(musb->mregs, MUSB_INTRUSB, musb->int_usb); in sunxi_musb_interrupt()
237 musb_writeb(musb->mregs, MUSB_FADDR, 0); in sunxi_musb_enable()
243 musb_writeb(musb->mregs, USBC_REG_o_VEND0, 0); in sunxi_musb_enable()
A Dmt85xx.c188 musb_writeb(musb->mregs, MUSB_INTRUSB, musb->int_usb); in mtk_musb_interrupt()
212 musb_writeb(musb->mregs, MUSB_FADDR, 0); in mtk_musb_enable()
A Dmusb_core.h165 musb_writeb((_mbase), MUSB_INDEX, (_epnum))
176 musb_writeb((_mbase), MUSB_INDEX, (_epnum))
A Dmusb_gadget_ep0.c196 musb_writeb(mbase, MUSB_DEVCTL, devctl | MUSB_DEVCTL_HR); in musb_try_b_hnp_enable()
735 musb_writeb(mbase, MUSB_FADDR, musb->address); in musb_g_ep0_irq()
745 musb_writeb(mbase, MUSB_TESTMODE, in musb_g_ep0_irq()
A Dmusb_uboot.c195 musb_writeb(mbase, MUSB_POWER, MUSB_POWER_RESET | power); in _musb_reset_root_port()
202 musb_writeb(mbase, MUSB_POWER, ~MUSB_POWER_RESET & power); in _musb_reset_root_port()
A Dam35x.c127 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in am35x_musb_disable()
162 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer()
A Dmusb_gadget.c1650 musb_writeb(mregs, MUSB_DEVCTL, devctl); in musb_gadget_wakeup()
1685 musb_writeb(mregs, MUSB_POWER, power); in musb_gadget_wakeup()
1693 musb_writeb(mregs, MUSB_POWER, power); in musb_gadget_wakeup()
1725 musb_writeb(musb->mregs, MUSB_POWER, power); in musb_pullup()
2224 musb_writeb(mregs, MUSB_DEVCTL, devctl & MUSB_DEVCTL_SESSION); in musb_g_disconnect()
2287 musb_writeb(mbase, MUSB_DEVCTL, MUSB_DEVCTL_SESSION); in musb_g_reset()

Completed in 30 milliseconds