/linux/drivers/usb/musb/ |
H A D | musb_regs.h | 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() 328 return musb_readb(musb->mregs, in musb_read_rxfunaddr() 334 return musb_readb(musb->mregs, in musb_read_rxhubaddr() 340 return musb_readb(musb->mregs, in musb_read_rxhubport() 346 return musb_readb(musb->mregs, in musb_read_txfunaddr() [all …]
|
H A D | musb_debugfs.c | 96 musb_readb(musb->mregs, musb_regmap[i].offset)); in musb_regdump_show() 100 musb_readw(musb->mregs, musb_regmap[i].offset)); in musb_regdump_show() 104 musb_readl(musb->mregs, musb_regmap[i].offset)); in musb_regdump_show() 121 test = musb_readb(musb->mregs, MUSB_TESTMODE); in musb_test_mode_show() 177 test = musb_readb(musb->mregs, MUSB_TESTMODE); in musb_test_mode_write() 216 musb_writeb(musb->mregs, MUSB_TESTMODE, test); in musb_test_mode_write() 243 reg = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_softconnect_show() 281 reg = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_softconnect_write() 283 musb_writeb(musb->mregs, MUSB_DEVCTL, reg); in musb_softconnect_write() 298 reg = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_softconnect_write() [all …]
|
H A D | musb_virthub.c | 31 power = musb_readb(musb->mregs, MUSB_POWER); in musb_host_finish_resume() 34 musb_writeb(musb->mregs, MUSB_POWER, power); in musb_host_finish_resume() 54 void __iomem *mbase = musb->mregs; in musb_port_suspend() 125 void __iomem *mbase = musb->mregs; 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()
|
H A D | musb_core.h | 104 (musb_readb((_x)->mregs, MUSB_DEVCTL)&MUSB_DEVCTL_HM) 325 void __iomem *mregs; member 455 void __iomem *mbase = musb->mregs; in musb_read_fifosize()
|
H A D | musb_cppi41.c | 82 musb_ep_select(musb->mregs, hw_ep->epnum); in update_rx_toggle() 107 musb_ep_select(musb->mregs, hw_ep->epnum); in musb_is_tx_fifo_empty() 139 musb_ep_select(musb->mregs, hw_ep->epnum); in cppi41_trans_done() 177 musb_ep_select(musb->mregs, hw_ep->epnum); in cppi41_trans_done()
|
H A D | cppi_dma.h | 111 void __iomem *mregs; /* Mentor regs */ member
|
H A D | tusb6010_omap.c | 106 void __iomem *mbase = musb->mregs; in tusb_omap_dma_cb() 189 void __iomem *mbase = musb->mregs; in tusb_omap_dma_program()
|
/linux/drivers/usb/mtu3/ |
H A D | mtu3_debugfs.c | 129 struct mtu3_regset *mregs; in mtu3_debugfs_regset() local 131 mregs = devm_kzalloc(mtu->dev, sizeof(*mregs), GFP_KERNEL); in mtu3_debugfs_regset() 132 if (!mregs) in mtu3_debugfs_regset() 135 sprintf(mregs->name, "%s", name); in mtu3_debugfs_regset() 136 regset = &mregs->regset; in mtu3_debugfs_regset() 141 debugfs_create_regset32(mregs->name, 0444, parent, regset); in mtu3_debugfs_regset()
|
/linux/drivers/net/ethernet/sun/ |
H A D | sunqe.h | 336 void __iomem *mregs; /* Per-channel MACE Registers */ member
|
/linux/Documentation/driver-api/usb/ |
H A D | writing_musb_glue_layer.rst | 355 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); 356 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); 357 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); 651 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); 652 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); 653 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX);
|