/linux-6.3-rc2/drivers/scsi/ |
A D | jazz_esp.c | 51 vdma_disable ((int)esp->dma_regs); in jazz_esp_reset_dma() 61 vdma_disable ((int)esp->dma_regs); in jazz_esp_dma_invalidate() 71 vdma_disable ((int)esp->dma_regs); in jazz_esp_send_dma_cmd() 73 vdma_set_mode ((int)esp->dma_regs, DMA_MODE_READ); in jazz_esp_send_dma_cmd() 75 vdma_set_mode ((int)esp->dma_regs, DMA_MODE_WRITE); in jazz_esp_send_dma_cmd() 77 vdma_set_addr ((int)esp->dma_regs, addr); in jazz_esp_send_dma_cmd() 78 vdma_set_count ((int)esp->dma_regs, dma_count); in jazz_esp_send_dma_cmd() 79 vdma_enable ((int)esp->dma_regs); in jazz_esp_send_dma_cmd() 86 u32 enable = vdma_get_enable((int)esp->dma_regs); in jazz_esp_dma_error() 138 esp->dma_regs = (void __iomem *)res->start; in esp_jazz_probe()
|
A D | zorro_esp.c | 193 struct cyber_dma_registers __iomem *dregs = esp->dma_regs; in cyber_esp_irq_pending() 203 struct fastlane_dma_registers __iomem *dregs = esp->dma_regs; in fastlane_esp_irq_pending() 249 struct fastlane_dma_registers __iomem *dregs = esp->dma_regs; in fastlane_esp_dma_invalidate() 262 struct blz1230_dma_registers __iomem *dregs = esp->dma_regs; in zorro_esp_send_blz1230_dma_cmd() 358 struct blz2060_dma_registers __iomem *dregs = esp->dma_regs; in zorro_esp_send_blz2060_dma_cmd() 404 struct cyber_dma_registers __iomem *dregs = esp->dma_regs; in zorro_esp_send_cyber_dma_cmd() 844 esp->dma_regs = ioremap(dmaaddr, in zorro_esp_probe() 848 esp->dma_regs = ZTWO_VADDR(dmaaddr); in zorro_esp_probe() 850 if (!esp->dma_regs) { in zorro_esp_probe() 892 iounmap(esp->dma_regs); in zorro_esp_probe() [all …]
|
A D | sun3x_esp.c | 44 readl(esp->dma_regs + (REG)) 46 writel((VAL), esp->dma_regs + (REG)) 49 *(volatile u32 *)(esp->dma_regs + (REG)) 51 do { *(volatile u32 *)(esp->dma_regs + (REG)) = (VAL); } while (0) 201 esp->dma_regs = ioremap(res->start, 0x10); in esp_sun3x_probe() 237 iounmap(esp->dma_regs); in esp_sun3x_probe()
|
A D | sun_esp.c | 32 sbus_readl(esp->dma_regs + (REG)) 34 sbus_writel((VAL), esp->dma_regs + (REG)) 51 esp->dma_regs = of_ioremap(&dma_of->resource[0], 0, in esp_sbus_setup_dma() 54 if (!esp->dma_regs) in esp_sbus_setup_dma() 575 of_iounmap(&dma_of->resource[0], esp->dma_regs, in esp_sbus_remove()
|
A D | esp_scsi.h | 428 void __iomem *dma_regs; member
|
A D | am53c974.c | 437 esp->dma_regs = esp->regs; in pci_esp_probe_one()
|
/linux-6.3-rc2/drivers/macintosh/ |
A D | rack-meter.c | 62 struct dbdma_regs __iomem *dma_regs; member 152 DBDMA_DO_STOP(rm->dma_regs); in rackmeter_do_pause() 161 out_le32(&rm->dma_regs->cmdptr_hi, 0); in rackmeter_do_pause() 172 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_setup_dbdma() 348 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_irq() 477 if (rm->dma_regs == NULL) { in rackmeter_probe() 502 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_probe() 504 iounmap(rm->dma_regs); in rackmeter_probe() 537 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_remove() 543 iounmap(rm->dma_regs); in rackmeter_remove() [all …]
|
/linux-6.3-rc2/drivers/ata/ |
A D | pata_macio.c | 580 if (dma_regs) { in pata_macio_freeze() 603 writel(priv->dma_table_dma, &dma_regs->cmdptr); in pata_macio_bmdma_setup() 630 writel((RUN << 16) | RUN, &dma_regs->control); in pata_macio_bmdma_start() 632 (void)readl(&dma_regs->control); in pata_macio_bmdma_start() 657 dstat = readl(&dma_regs->status); in pata_macio_bmdma_status() 695 dstat = readl(&dma_regs->status); in pata_macio_bmdma_status() 1042 void __iomem *dma_regs = NULL; in pata_macio_common_init() local 1078 dma_regs = devm_ioremap(priv->dev, dmaregs, in pata_macio_common_init() 1080 if (dma_regs == NULL) in pata_macio_common_init() 1095 priv->tfregs, dma_regs); in pata_macio_common_init() [all …]
|
/linux-6.3-rc2/drivers/usb/gadget/udc/ |
A D | atmel_usba_udc.h | 197 readl_relaxed((ep)->dma_regs + USBA_DMA_##reg) 199 writel_relaxed((value), (ep)->dma_regs + USBA_DMA_##reg) 271 void __iomem *dma_regs; member
|
A D | renesas_usbf.c | 284 void __iomem *dma_regs; member 519 return readl(ep->dma_regs + offset); in usbf_ep_dma_reg_readl() 525 writel(val, ep->dma_regs + offset); in usbf_ep_dma_reg_writel() 1177 epn->dma_regs + USBF_REG_DMA_EPN_DCR1, in usbf_epn_dma_out_complete_dma() 1620 ret = epn->dma_regs ? in usbf_epn_start_queue() 1665 usbf_ep_xfer = ep->dma_regs ? in usbf_ep_process_queue() 1671 usbf_ep_xfer = ep->dma_regs ? in usbf_ep_process_queue() 1872 if (ep->dma_regs) { in usbf_ep_enable() 1914 if (ep->dma_regs) { in usbf_ep_disable() 3338 ep->dma_regs = ep->udc->regs + in usbf_probe()
|
/linux-6.3-rc2/drivers/net/ethernet/xilinx/ |
A D | xilinx_axienet.h | 459 void __iomem *dma_regs; member 575 iowrite32(value, lp->dma_regs + reg); in axienet_dma_out32() 591 iowrite64(value, lp->dma_regs + reg); in axienet_dma_out64()
|
A D | xilinx_axienet_main.c | 133 return ioread32(lp->dma_regs + reg); in axienet_dma_in32() 2021 lp->dma_regs = devm_ioremap_resource(&pdev->dev, in axienet_probe() 2029 lp->dma_regs = devm_platform_get_and_ioremap_resource(pdev, 1, NULL); in axienet_probe() 2034 if (IS_ERR(lp->dma_regs)) { in axienet_probe() 2036 ret = PTR_ERR(lp->dma_regs); in axienet_probe() 2054 void __iomem *desc = lp->dma_regs + XAXIDMA_TX_CDESC_OFFSET + 4; in axienet_probe()
|
/linux-6.3-rc2/arch/powerpc/platforms/pasemi/ |
A D | dma_lib.c | 28 static void __iomem *dma_regs; variable 88 return in_le32(dma_regs+reg); in pasemi_read_dma_reg() 98 out_le32(dma_regs+reg, val); in pasemi_write_dma_reg() 535 dma_regs = map_onedev(dma_pdev, 0); in pasemi_dma_init()
|
/linux-6.3-rc2/drivers/net/ethernet/ni/ |
A D | nixge.c | 186 void __iomem *dma_regs; member 210 writel(val, priv->dma_regs + offset); in nixge_dma_write_reg() 216 writel(lower_32_bits(addr), priv->dma_regs + offset); in nixge_dma_write_desc_reg() 218 writel(upper_32_bits(addr), priv->dma_regs + offset + 4); in nixge_dma_write_desc_reg() 224 return readl(priv->dma_regs + offset); in nixge_dma_read_reg() 242 readl_poll_timeout((priv)->dma_regs + (addr), (val), (cond), \ 1275 priv->dma_regs = devm_platform_get_and_ioremap_resource(pdev, 0, NULL); in nixge_of_get_resources() 1277 priv->dma_regs = devm_platform_ioremap_resource_byname(pdev, "dma"); in nixge_of_get_resources() 1278 if (IS_ERR(priv->dma_regs)) { in nixge_of_get_resources() 1280 return PTR_ERR(priv->dma_regs); in nixge_of_get_resources() [all …]
|
/linux-6.3-rc2/drivers/dma/ppc4xx/ |
A D | adma.h | 61 struct dma_regs __iomem *dma_reg;
|
A D | dma.h | 121 struct dma_regs { struct
|
A D | adma.c | 899 struct dma_regs *dma_reg; in ppc440spe_adma_device_clear_eot_status() 1018 struct dma_regs *dma_reg; in ppc440spe_chan_is_busy() 1078 struct dma_regs *dma_reg = chan->device->dma_reg; in ppc440spe_dma_put_desc() 1175 struct dma_regs *dma_reg; in ppc440spe_chan_get_current_descriptor()
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/fman/ |
A D | fman.c | 619 tmp = ioread32be(&fman->dma_regs->fmdmplr[port_id / 2]); in set_port_liodn() 627 iowrite32be(tmp, &fman->dma_regs->fmdmplr[port_id / 2]); in set_port_liodn() 681 struct fman_dma_regs __iomem *dma_rg = fman->dma_regs; in dma_init() 955 tmp = ioread32be(&fman->dma_regs->fmdmmr); in set_exception() 961 iowrite32be(tmp, &fman->dma_regs->fmdmmr); in set_exception() 966 tmp = ioread32be(&fman->dma_regs->fmdmmr); in set_exception() 971 iowrite32be(tmp, &fman->dma_regs->fmdmmr); in set_exception() 1259 struct fman_dma_regs __iomem *dma_rg = fman->dma_regs; in dma_err_event() 1719 fman->dma_regs = base_addr + DMA_OFFSET; in fman_config() 1926 liodn_base = ioread32be(&fman->dma_regs->fmdmplr[i / 2]); in fman_init()
|
A D | fman.h | 304 struct fman_dma_regs __iomem *dma_regs; member
|
/linux-6.3-rc2/drivers/net/ethernet/synopsys/ |
A D | dwc-xlgmac-desc.c | 260 channel->dma_regs = pdata->mac_regs + DMA_CH_BASE + in xlgmac_alloc_channels() 283 channel->name, channel->dma_regs, in xlgmac_alloc_channels()
|
A D | dwc-xlgmac-reg.h | 742 #define XLGMAC_DMA_REG(channel, reg) ((channel)->dma_regs + (reg))
|
A D | dwc-xlgmac.h | 364 void __iomem *dma_regs; member
|
/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-common.h | 1553 ioread32((_channel)->dma_regs + _reg) 1561 iowrite32((_val), (_channel)->dma_regs + _reg)
|
A D | xgbe.h | 505 void __iomem *dma_regs; member
|
A D | xgbe-drv.c | 214 channel->dma_regs = pdata->xgmac_regs + DMA_CH_BASE + in xgbe_alloc_channels() 249 channel->name, channel->dma_regs, channel->dma_irq, in xgbe_alloc_channels()
|