/u-boot/drivers/usb/musb-new/ |
A D | musb_regs.h | 378 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 D | musb_core.c | 141 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 D | musb_io.h | 78 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 D | pic32.c | 65 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 D | musb_host.c | 279 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 D | sunxi.c | 212 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 D | mt85xx.c | 188 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 D | musb_core.h | 165 musb_writeb((_mbase), MUSB_INDEX, (_epnum)) 176 musb_writeb((_mbase), MUSB_INDEX, (_epnum))
|
A D | musb_gadget_ep0.c | 196 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 D | musb_uboot.c | 195 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 D | am35x.c | 127 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in am35x_musb_disable() 162 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer()
|
A D | musb_gadget.c | 1650 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()
|