Lines Matching refs:musb_writeb

143 	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()
403 void (*musb_writeb)(void __iomem *addr, u32 offset, u8 data); variable
404 EXPORT_SYMBOL_GPL(musb_writeb);
488 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in musb_set_host()
535 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in musb_set_peripheral()
650 musb_writeb(mbase, MUSB_POWER, reg); in musb_hnp_stop()
751 musb_writeb(mbase, MUSB_DEVCTL, MUSB_DEVCTL_SESSION); in musb_handle_intr_sessreq()
796 musb_writeb(mbase, MUSB_DEVCTL, devctl); in musb_handle_intr_vbuserr()
899 musb_writeb(musb->mregs, MUSB_INTRUSBE, 0xf7); in musb_handle_intr_connect()
1160 musb_writeb(mbase, MUSB_INTRUSBE, 0); in musb_disable_interrupts()
1181 musb_writeb(regs, MUSB_INTRUSBE, 0xf7); in musb_enable_interrupts()
1197 musb_writeb(regs, MUSB_TESTMODE, 0); in musb_start()
1207 musb_writeb(regs, MUSB_POWER, power); in musb_start()
1227 musb_writeb(regs, MUSB_DEVCTL, devctl); in musb_start()
1242 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in musb_stop()
1410 musb_writeb(mbase, MUSB_INDEX, hw_ep->epnum); in fifo_setup()
1420 musb_writeb(mbase, MUSB_TXFIFOSZ, c_size); in fifo_setup()
1426 musb_writeb(mbase, MUSB_RXFIFOSZ, c_size); in fifo_setup()
1432 musb_writeb(mbase, MUSB_TXFIFOSZ, c_size); in fifo_setup()
1437 musb_writeb(mbase, MUSB_RXFIFOSZ, c_size); in fifo_setup()
2123 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in musb_recover_from_babble()
2349 musb_writeb = musb_default_writeb; in musb_init_controller()
2411 musb_writeb = musb->ops->writeb; in musb_init_controller()
2493 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in musb_init_controller()
2496 musb_writeb(musb->mregs, MUSB_POWER, 0); in musb_init_controller()
2531 musb_writeb(musb->mregs, MUSB_ULPI_BUSCONTROL, busctl); in musb_init_controller()
2654 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in musb_remove()
2697 musb_writeb(musb_base, MUSB_INDEX, i); in musb_save_context()
2751 musb_writeb(musb_base, MUSB_TESTMODE, musb->context.testmode); in musb_restore_context()
2752 musb_writeb(musb_base, MUSB_ULPI_BUSCONTROL, musb->context.busctl); in musb_restore_context()
2759 musb_writeb(musb_base, MUSB_POWER, power); in musb_restore_context()
2763 musb_writeb(musb_base, MUSB_INTRUSBE, musb->context.intrusbe); in musb_restore_context()
2765 musb_writeb(musb_base, MUSB_DEVCTL, musb->context.devctl); in musb_restore_context()
2778 musb_writeb(musb_base, MUSB_INDEX, i); in musb_restore_context()
2789 musb_writeb(musb_base, MUSB_TXFIFOSZ, in musb_restore_context()
2791 musb_writeb(musb_base, MUSB_RXFIFOSZ, in musb_restore_context()
2799 musb_writeb(epio, MUSB_TXTYPE, in musb_restore_context()
2801 musb_writeb(epio, MUSB_TXINTERVAL, in musb_restore_context()
2803 musb_writeb(epio, MUSB_RXTYPE, in musb_restore_context()
2805 musb_writeb(epio, MUSB_RXINTERVAL, in musb_restore_context()
2822 musb_writeb(musb_base, MUSB_INDEX, musb->context.index); in musb_restore_context()
2846 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in musb_suspend()
2900 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in musb_resume()