dmac               63 arch/mips/include/asm/mach-rc32434/dma.h 	u32 dmac;		/* Control. */
dmac               29 arch/mips/include/asm/mach-rc32434/dma_v.h 	if (__raw_readl(&ch->dmac) & DMA_CHAN_RUN_BIT) {
dmac               30 arch/mips/include/asm/mach-rc32434/dma_v.h 		__raw_writel(0, &ch->dmac);
dmac             1683 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t dmac:48;
dmac             1685 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t dmac:48;
dmac              128 arch/sh/drivers/dma/dma-api.c int request_dma_bycap(const char **dmac, const char **caps, const char *dev_id)
dmac              135 arch/sh/drivers/dma/dma-api.c 	BUG_ON(!dmac || !caps);
dmac              138 arch/sh/drivers/dma/dma-api.c 		if (strcmp(*dmac, info->name) == 0) {
dmac              243 arch/sh/drivers/dma/dma-api.c int register_chan_caps(const char *dmac, struct dma_chan_caps *caps)
dmac              250 arch/sh/drivers/dma/dma-api.c 		if (strcmp(dmac, info->name) == 0) {
dmac              122 arch/sh/include/asm/dma.h extern int request_dma_bycap(const char **dmac, const char **caps,
dmac              135 arch/sh/include/asm/dma.h extern int register_chan_caps(const char *dmac, struct dma_chan_caps *capslist);
dmac              196 drivers/dma/dma-axi-dmac.c 	struct axi_dmac *dmac = chan_to_axi_dmac(chan);
dmac              203 drivers/dma/dma-axi-dmac.c 	val = axi_dmac_read(dmac, AXI_DMAC_REG_START_TRANSFER);
dmac              236 drivers/dma/dma-axi-dmac.c 	sg->id = axi_dmac_read(dmac, AXI_DMAC_REG_TRANSFER_ID);
dmac              239 drivers/dma/dma-axi-dmac.c 		axi_dmac_write(dmac, AXI_DMAC_REG_DEST_ADDRESS, sg->dest_addr);
dmac              240 drivers/dma/dma-axi-dmac.c 		axi_dmac_write(dmac, AXI_DMAC_REG_DEST_STRIDE, sg->dest_stride);
dmac              244 drivers/dma/dma-axi-dmac.c 		axi_dmac_write(dmac, AXI_DMAC_REG_SRC_ADDRESS, sg->src_addr);
dmac              245 drivers/dma/dma-axi-dmac.c 		axi_dmac_write(dmac, AXI_DMAC_REG_SRC_STRIDE, sg->src_stride);
dmac              260 drivers/dma/dma-axi-dmac.c 	axi_dmac_write(dmac, AXI_DMAC_REG_X_LENGTH, sg->x_len - 1);
dmac              261 drivers/dma/dma-axi-dmac.c 	axi_dmac_write(dmac, AXI_DMAC_REG_Y_LENGTH, sg->y_len - 1);
dmac              262 drivers/dma/dma-axi-dmac.c 	axi_dmac_write(dmac, AXI_DMAC_REG_FLAGS, flags);
dmac              263 drivers/dma/dma-axi-dmac.c 	axi_dmac_write(dmac, AXI_DMAC_REG_START_TRANSFER, 1);
dmac              283 drivers/dma/dma-axi-dmac.c 	struct axi_dmac *dmac = chan_to_axi_dmac(chan);
dmac              290 drivers/dma/dma-axi-dmac.c 		len = axi_dmac_read(dmac, AXI_DMAC_REG_PARTIAL_XFER_LEN);
dmac              291 drivers/dma/dma-axi-dmac.c 		id  = axi_dmac_read(dmac, AXI_DMAC_REG_PARTIAL_XFER_ID);
dmac              311 drivers/dma/dma-axi-dmac.c 			dev_dbg(dmac->dma_dev.dev,
dmac              315 drivers/dma/dma-axi-dmac.c 			dev_warn(dmac->dma_dev.dev,
dmac              321 drivers/dma/dma-axi-dmac.c 		xfer_done = axi_dmac_read(dmac, AXI_DMAC_REG_TRANSFER_DONE);
dmac              400 drivers/dma/dma-axi-dmac.c 	struct axi_dmac *dmac = devid;
dmac              404 drivers/dma/dma-axi-dmac.c 	pending = axi_dmac_read(dmac, AXI_DMAC_REG_IRQ_PENDING);
dmac              408 drivers/dma/dma-axi-dmac.c 	axi_dmac_write(dmac, AXI_DMAC_REG_IRQ_PENDING, pending);
dmac              410 drivers/dma/dma-axi-dmac.c 	spin_lock(&dmac->chan.vchan.lock);
dmac              415 drivers/dma/dma-axi-dmac.c 		completed = axi_dmac_read(dmac, AXI_DMAC_REG_TRANSFER_DONE);
dmac              416 drivers/dma/dma-axi-dmac.c 		start_next = axi_dmac_transfer_done(&dmac->chan, completed);
dmac              420 drivers/dma/dma-axi-dmac.c 		axi_dmac_start_transfer(&dmac->chan);
dmac              421 drivers/dma/dma-axi-dmac.c 	spin_unlock(&dmac->chan.vchan.lock);
dmac              429 drivers/dma/dma-axi-dmac.c 	struct axi_dmac *dmac = chan_to_axi_dmac(chan);
dmac              434 drivers/dma/dma-axi-dmac.c 	axi_dmac_write(dmac, AXI_DMAC_REG_CTRL, 0);
dmac              455 drivers/dma/dma-axi-dmac.c 	struct axi_dmac *dmac = chan_to_axi_dmac(chan);
dmac              458 drivers/dma/dma-axi-dmac.c 	axi_dmac_write(dmac, AXI_DMAC_REG_CTRL, AXI_DMAC_CTRL_ENABLE);
dmac              777 drivers/dma/dma-axi-dmac.c static int axi_dmac_detect_caps(struct axi_dmac *dmac)
dmac              779 drivers/dma/dma-axi-dmac.c 	struct axi_dmac_chan *chan = &dmac->chan;
dmac              782 drivers/dma/dma-axi-dmac.c 	version = axi_dmac_read(dmac, ADI_AXI_REG_VERSION);
dmac              784 drivers/dma/dma-axi-dmac.c 	axi_dmac_write(dmac, AXI_DMAC_REG_FLAGS, AXI_DMAC_FLAG_CYCLIC);
dmac              785 drivers/dma/dma-axi-dmac.c 	if (axi_dmac_read(dmac, AXI_DMAC_REG_FLAGS) == AXI_DMAC_FLAG_CYCLIC)
dmac              788 drivers/dma/dma-axi-dmac.c 	axi_dmac_write(dmac, AXI_DMAC_REG_Y_LENGTH, 1);
dmac              789 drivers/dma/dma-axi-dmac.c 	if (axi_dmac_read(dmac, AXI_DMAC_REG_Y_LENGTH) == 1)
dmac              792 drivers/dma/dma-axi-dmac.c 	axi_dmac_write(dmac, AXI_DMAC_REG_X_LENGTH, 0xffffffff);
dmac              793 drivers/dma/dma-axi-dmac.c 	chan->max_length = axi_dmac_read(dmac, AXI_DMAC_REG_X_LENGTH);
dmac              797 drivers/dma/dma-axi-dmac.c 	axi_dmac_write(dmac, AXI_DMAC_REG_DEST_ADDRESS, 0xffffffff);
dmac              798 drivers/dma/dma-axi-dmac.c 	if (axi_dmac_read(dmac, AXI_DMAC_REG_DEST_ADDRESS) == 0 &&
dmac              800 drivers/dma/dma-axi-dmac.c 		dev_err(dmac->dma_dev.dev,
dmac              805 drivers/dma/dma-axi-dmac.c 	axi_dmac_write(dmac, AXI_DMAC_REG_SRC_ADDRESS, 0xffffffff);
dmac              806 drivers/dma/dma-axi-dmac.c 	if (axi_dmac_read(dmac, AXI_DMAC_REG_SRC_ADDRESS) == 0 &&
dmac              808 drivers/dma/dma-axi-dmac.c 		dev_err(dmac->dma_dev.dev,
dmac              817 drivers/dma/dma-axi-dmac.c 		axi_dmac_write(dmac, AXI_DMAC_REG_X_LENGTH, 0x00);
dmac              819 drivers/dma/dma-axi-dmac.c 			axi_dmac_read(dmac, AXI_DMAC_REG_X_LENGTH);
dmac              831 drivers/dma/dma-axi-dmac.c 	struct axi_dmac *dmac;
dmac              836 drivers/dma/dma-axi-dmac.c 	dmac = devm_kzalloc(&pdev->dev, sizeof(*dmac), GFP_KERNEL);
dmac              837 drivers/dma/dma-axi-dmac.c 	if (!dmac)
dmac              840 drivers/dma/dma-axi-dmac.c 	dmac->irq = platform_get_irq(pdev, 0);
dmac              841 drivers/dma/dma-axi-dmac.c 	if (dmac->irq < 0)
dmac              842 drivers/dma/dma-axi-dmac.c 		return dmac->irq;
dmac              843 drivers/dma/dma-axi-dmac.c 	if (dmac->irq == 0)
dmac              847 drivers/dma/dma-axi-dmac.c 	dmac->base = devm_ioremap_resource(&pdev->dev, res);
dmac              848 drivers/dma/dma-axi-dmac.c 	if (IS_ERR(dmac->base))
dmac              849 drivers/dma/dma-axi-dmac.c 		return PTR_ERR(dmac->base);
dmac              851 drivers/dma/dma-axi-dmac.c 	dmac->clk = devm_clk_get(&pdev->dev, NULL);
dmac              852 drivers/dma/dma-axi-dmac.c 	if (IS_ERR(dmac->clk))
dmac              853 drivers/dma/dma-axi-dmac.c 		return PTR_ERR(dmac->clk);
dmac              855 drivers/dma/dma-axi-dmac.c 	INIT_LIST_HEAD(&dmac->chan.active_descs);
dmac              862 drivers/dma/dma-axi-dmac.c 		ret = axi_dmac_parse_chan_dt(of_chan, &dmac->chan);
dmac              871 drivers/dma/dma-axi-dmac.c 	pdev->dev.dma_parms = &dmac->dma_parms;
dmac              874 drivers/dma/dma-axi-dmac.c 	dma_dev = &dmac->dma_dev;
dmac              888 drivers/dma/dma-axi-dmac.c 	dma_dev->src_addr_widths = BIT(dmac->chan.src_width);
dmac              889 drivers/dma/dma-axi-dmac.c 	dma_dev->dst_addr_widths = BIT(dmac->chan.dest_width);
dmac              890 drivers/dma/dma-axi-dmac.c 	dma_dev->directions = BIT(dmac->chan.direction);
dmac              894 drivers/dma/dma-axi-dmac.c 	dmac->chan.vchan.desc_free = axi_dmac_desc_free;
dmac              895 drivers/dma/dma-axi-dmac.c 	vchan_init(&dmac->chan.vchan, dma_dev);
dmac              897 drivers/dma/dma-axi-dmac.c 	ret = clk_prepare_enable(dmac->clk);
dmac              901 drivers/dma/dma-axi-dmac.c 	ret = axi_dmac_detect_caps(dmac);
dmac              905 drivers/dma/dma-axi-dmac.c 	dma_dev->copy_align = (dmac->chan.address_align_mask + 1);
dmac              907 drivers/dma/dma-axi-dmac.c 	axi_dmac_write(dmac, AXI_DMAC_REG_IRQ_MASK, 0x00);
dmac              918 drivers/dma/dma-axi-dmac.c 	ret = request_irq(dmac->irq, axi_dmac_interrupt_handler, IRQF_SHARED,
dmac              919 drivers/dma/dma-axi-dmac.c 		dev_name(&pdev->dev), dmac);
dmac              923 drivers/dma/dma-axi-dmac.c 	platform_set_drvdata(pdev, dmac);
dmac              925 drivers/dma/dma-axi-dmac.c 	regmap = devm_regmap_init_mmio(&pdev->dev, dmac->base,
dmac              935 drivers/dma/dma-axi-dmac.c 	free_irq(dmac->irq, dmac);
dmac              939 drivers/dma/dma-axi-dmac.c 	dma_async_device_unregister(&dmac->dma_dev);
dmac              941 drivers/dma/dma-axi-dmac.c 	clk_disable_unprepare(dmac->clk);
dmac              948 drivers/dma/dma-axi-dmac.c 	struct axi_dmac *dmac = platform_get_drvdata(pdev);
dmac              951 drivers/dma/dma-axi-dmac.c 	free_irq(dmac->irq, dmac);
dmac              952 drivers/dma/dma-axi-dmac.c 	tasklet_kill(&dmac->chan.vchan.task);
dmac              953 drivers/dma/dma-axi-dmac.c 	dma_async_device_unregister(&dmac->dma_dev);
dmac              954 drivers/dma/dma-axi-dmac.c 	clk_disable_unprepare(dmac->clk);
dmac              729 drivers/dma/dma-jz4780.c 	uint32_t dmac;
dmac              740 drivers/dma/dma-jz4780.c 	dmac = jz4780_dma_ctrl_readl(jzdma, JZ_DMA_REG_DMAC);
dmac              741 drivers/dma/dma-jz4780.c 	dmac &= ~(JZ_DMA_DMAC_HLT | JZ_DMA_DMAC_AR);
dmac              742 drivers/dma/dma-jz4780.c 	jz4780_dma_ctrl_writel(jzdma, JZ_DMA_REG_DMAC, dmac);
dmac              376 drivers/dma/pl330.c 	struct pl330_dmac *dmac;
dmac              431 drivers/dma/pl330.c 	struct pl330_dmac *dmac;
dmac              558 drivers/dma/pl330.c 	return thrd->dmac->manager == thrd;
dmac              564 drivers/dma/pl330.c 	return (thrd->dmac->pcfg.mode & DMAC_MODE_NS) ? true : false;
dmac              865 drivers/dma/pl330.c 	void __iomem *regs = thrd->dmac->base;
dmac              885 drivers/dma/pl330.c 	void __iomem *regs = thrd->dmac->base;
dmac              900 drivers/dma/pl330.c 		dev_err(thrd->dmac->ddma.dev, "DMAC halted!\n");
dmac              910 drivers/dma/pl330.c 	void __iomem *regs = thrd->dmac->base;
dmac              968 drivers/dma/pl330.c 	void __iomem *regs = thrd->dmac->base;
dmac              995 drivers/dma/pl330.c 	void __iomem *regs = thrd->dmac->base;
dmac             1032 drivers/dma/pl330.c 		dev_info(thrd->dmac->ddma.dev, "%s:%d Recipe for ABORT!\n",
dmac             1463 drivers/dma/pl330.c 	struct pl330_dmac *pl330 = thrd->dmac;
dmac             1486 drivers/dma/pl330.c 		dev_info(thrd->dmac->ddma.dev, "%s:%d\n",
dmac             1494 drivers/dma/pl330.c 		dev_info(thrd->dmac->ddma.dev,
dmac             1732 drivers/dma/pl330.c 	struct pl330_dmac *pl330 = thrd->dmac;
dmac             1785 drivers/dma/pl330.c 	struct pl330_dmac *pl330 = thrd->dmac;
dmac             1854 drivers/dma/pl330.c 	struct pl330_dmac *pl330 = thrd->dmac;
dmac             1887 drivers/dma/pl330.c 		thrd->dmac = pl330;
dmac             1895 drivers/dma/pl330.c 	thrd->dmac = pl330;
dmac             2050 drivers/dma/pl330.c 			dev_err(pch->dmac->ddma.dev, "%s:%d Bad Desc(%d)\n",
dmac             2078 drivers/dma/pl330.c 		spin_lock(&pch->thread->dmac->lock);
dmac             2080 drivers/dma/pl330.c 		spin_unlock(&pch->thread->dmac->lock);
dmac             2085 drivers/dma/pl330.c 		spin_lock(&pch->thread->dmac->lock);
dmac             2087 drivers/dma/pl330.c 		spin_unlock(&pch->thread->dmac->lock);
dmac             2103 drivers/dma/pl330.c 				spin_lock(&pch->thread->dmac->lock);
dmac             2105 drivers/dma/pl330.c 				spin_unlock(&pch->thread->dmac->lock);
dmac             2110 drivers/dma/pl330.c 			list_move_tail(&desc->node, &pch->dmac->desc_pool);
dmac             2125 drivers/dma/pl330.c 		pm_runtime_mark_last_busy(pch->dmac->ddma.dev);
dmac             2126 drivers/dma/pl330.c 		pm_runtime_put_autosuspend(pch->dmac->ddma.dev);
dmac             2153 drivers/dma/pl330.c 	struct pl330_dmac *pl330 = pch->dmac;
dmac             2247 drivers/dma/pl330.c 			pch->dmac->quirks);
dmac             2254 drivers/dma/pl330.c 			pch->dmac->quirks);
dmac             2275 drivers/dma/pl330.c 	struct pl330_dmac *pl330 = pch->dmac;
dmac             2324 drivers/dma/pl330.c 	struct pl330_dmac *pl330 = pch->dmac;
dmac             2344 drivers/dma/pl330.c 	struct pl330_dmac *pl330 = pch->dmac;
dmac             2349 drivers/dma/pl330.c 	pm_runtime_get_sync(pch->dmac->ddma.dev);
dmac             2356 drivers/dma/pl330.c 		list_splice_tail_init(&pch->work_list, &pch->dmac->desc_pool);
dmac             2359 drivers/dma/pl330.c 	pm_runtime_mark_last_busy(pch->dmac->ddma.dev);
dmac             2360 drivers/dma/pl330.c 	pm_runtime_put_autosuspend(pch->dmac->ddma.dev);
dmac             2368 drivers/dma/pl330.c 	struct pl330_dmac *pl330 = pch->dmac;
dmac             2369 drivers/dma/pl330.c 	void __iomem *regs = thrd->dmac->base;
dmac             2381 drivers/dma/pl330.c 	pm_runtime_mark_last_busy(pch->dmac->ddma.dev);
dmac             2410 drivers/dma/pl330.c 	spin_lock(&pch->thread->dmac->lock);
dmac             2453 drivers/dma/pl330.c 	spin_unlock(&pch->thread->dmac->lock);
dmac             2476 drivers/dma/pl330.c 		pm_runtime_get_sync(pch->dmac->ddma.dev);
dmac             2579 drivers/dma/pl330.c 	struct pl330_dmac *pl330 = pch->dmac;
dmac             2604 drivers/dma/pl330.c 	desc->rqcfg.pcfg = &pch->dmac->pcfg;
dmac             2626 drivers/dma/pl330.c 		dev_err(pch->dmac->ddma.dev, "%s:%d Unable to fetch desc\n",
dmac             2650 drivers/dma/pl330.c 	struct pl330_dmac *pl330 = pch->dmac;
dmac             2671 drivers/dma/pl330.c 	struct pl330_dmac *pl330 = pch->dmac;
dmac             2680 drivers/dma/pl330.c 		dev_err(pch->dmac->ddma.dev, "%s:%d Invalid dma direction\n",
dmac             2693 drivers/dma/pl330.c 			dev_err(pch->dmac->ddma.dev, "%s:%d Unable to fetch desc\n",
dmac             2766 drivers/dma/pl330.c 	pl330 = pch->dmac;
dmac             2852 drivers/dma/pl330.c 			struct pl330_dmac *pl330 = pch->dmac;
dmac             2854 drivers/dma/pl330.c 			dev_err(pch->dmac->ddma.dev,
dmac             3109 drivers/dma/pl330.c 		pch->dmac = pl330;
dmac              296 drivers/dma/sh/rcar-dmac.c static void rcar_dmac_write(struct rcar_dmac *dmac, u32 reg, u32 data)
dmac              299 drivers/dma/sh/rcar-dmac.c 		writew(data, dmac->iomem + reg);
dmac              301 drivers/dma/sh/rcar-dmac.c 		writel(data, dmac->iomem + reg);
dmac              304 drivers/dma/sh/rcar-dmac.c static u32 rcar_dmac_read(struct rcar_dmac *dmac, u32 reg)
dmac              307 drivers/dma/sh/rcar-dmac.c 		return readw(dmac->iomem + reg);
dmac              309 drivers/dma/sh/rcar-dmac.c 		return readl(dmac->iomem + reg);
dmac              438 drivers/dma/sh/rcar-dmac.c static int rcar_dmac_init(struct rcar_dmac *dmac)
dmac              443 drivers/dma/sh/rcar-dmac.c 	rcar_dmac_write(dmac, RCAR_DMACHCLR, dmac->channels_mask);
dmac              444 drivers/dma/sh/rcar-dmac.c 	rcar_dmac_write(dmac, RCAR_DMAOR,
dmac              447 drivers/dma/sh/rcar-dmac.c 	dmaor = rcar_dmac_read(dmac, RCAR_DMAOR);
dmac              449 drivers/dma/sh/rcar-dmac.c 		dev_warn(dmac->dev, "DMAOR initialization failed.\n");
dmac              811 drivers/dma/sh/rcar-dmac.c static void rcar_dmac_stop_all_chan(struct rcar_dmac *dmac)
dmac              816 drivers/dma/sh/rcar-dmac.c 	for (i = 0; i < dmac->n_channels; ++i) {
dmac              817 drivers/dma/sh/rcar-dmac.c 		struct rcar_dmac_chan *chan = &dmac->channels[i];
dmac              819 drivers/dma/sh/rcar-dmac.c 		if (!(dmac->channels_mask & BIT(i)))
dmac             1043 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac *dmac = to_rcar_dmac(chan->device);
dmac             1062 drivers/dma/sh/rcar-dmac.c 		clear_bit(rchan->mid_rid, dmac->modules);
dmac             1555 drivers/dma/sh/rcar-dmac.c 		struct rcar_dmac *dmac = to_rcar_dmac(chan->chan.device);
dmac             1562 drivers/dma/sh/rcar-dmac.c 		rcar_dmac_write(dmac, RCAR_DMACHCLR, 1 << chan->index);
dmac             1652 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac *dmac = to_rcar_dmac(chan->device);
dmac             1665 drivers/dma/sh/rcar-dmac.c 	return !test_and_set_bit(dma_spec->args[0], dmac->modules);
dmac             1705 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac *dmac = dev_get_drvdata(dev);
dmac             1707 drivers/dma/sh/rcar-dmac.c 	return rcar_dmac_init(dmac);
dmac             1727 drivers/dma/sh/rcar-dmac.c static int rcar_dmac_chan_probe(struct rcar_dmac *dmac,
dmac             1731 drivers/dma/sh/rcar-dmac.c 	struct platform_device *pdev = to_platform_device(dmac->dev);
dmac             1738 drivers/dma/sh/rcar-dmac.c 	rchan->iomem = dmac->iomem + RCAR_DMAC_CHAN_OFFSET(index);
dmac             1755 drivers/dma/sh/rcar-dmac.c 	irqname = devm_kasprintf(dmac->dev, GFP_KERNEL, "%s:%u",
dmac             1756 drivers/dma/sh/rcar-dmac.c 				 dev_name(dmac->dev), index);
dmac             1764 drivers/dma/sh/rcar-dmac.c 	chan->device = &dmac->engine;
dmac             1767 drivers/dma/sh/rcar-dmac.c 	list_add_tail(&chan->device_node, &dmac->engine.channels);
dmac             1769 drivers/dma/sh/rcar-dmac.c 	ret = devm_request_threaded_irq(dmac->dev, rchan->irq,
dmac             1774 drivers/dma/sh/rcar-dmac.c 		dev_err(dmac->dev, "failed to request IRQ %u (%d)\n",
dmac             1784 drivers/dma/sh/rcar-dmac.c static int rcar_dmac_parse_of(struct device *dev, struct rcar_dmac *dmac)
dmac             1789 drivers/dma/sh/rcar-dmac.c 	ret = of_property_read_u32(np, "dma-channels", &dmac->n_channels);
dmac             1796 drivers/dma/sh/rcar-dmac.c 	if (dmac->n_channels <= 0 ||
dmac             1797 drivers/dma/sh/rcar-dmac.c 	    dmac->n_channels >= RCAR_DMAC_MAX_CHANNELS) {
dmac             1799 drivers/dma/sh/rcar-dmac.c 			dmac->n_channels);
dmac             1803 drivers/dma/sh/rcar-dmac.c 	dmac->channels_mask = GENMASK(dmac->n_channels - 1, 0);
dmac             1815 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac *dmac;
dmac             1820 drivers/dma/sh/rcar-dmac.c 	dmac = devm_kzalloc(&pdev->dev, sizeof(*dmac), GFP_KERNEL);
dmac             1821 drivers/dma/sh/rcar-dmac.c 	if (!dmac)
dmac             1824 drivers/dma/sh/rcar-dmac.c 	dmac->dev = &pdev->dev;
dmac             1825 drivers/dma/sh/rcar-dmac.c 	platform_set_drvdata(pdev, dmac);
dmac             1826 drivers/dma/sh/rcar-dmac.c 	dmac->dev->dma_parms = &dmac->parms;
dmac             1827 drivers/dma/sh/rcar-dmac.c 	dma_set_max_seg_size(dmac->dev, RCAR_DMATCR_MASK);
dmac             1828 drivers/dma/sh/rcar-dmac.c 	dma_set_mask_and_coherent(dmac->dev, DMA_BIT_MASK(40));
dmac             1830 drivers/dma/sh/rcar-dmac.c 	ret = rcar_dmac_parse_of(&pdev->dev, dmac);
dmac             1843 drivers/dma/sh/rcar-dmac.c 		dmac->channels_mask &= ~BIT(0);
dmac             1845 drivers/dma/sh/rcar-dmac.c 	dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels,
dmac             1846 drivers/dma/sh/rcar-dmac.c 				      sizeof(*dmac->channels), GFP_KERNEL);
dmac             1847 drivers/dma/sh/rcar-dmac.c 	if (!dmac->channels)
dmac             1852 drivers/dma/sh/rcar-dmac.c 	dmac->iomem = devm_ioremap_resource(&pdev->dev, mem);
dmac             1853 drivers/dma/sh/rcar-dmac.c 	if (IS_ERR(dmac->iomem))
dmac             1854 drivers/dma/sh/rcar-dmac.c 		return PTR_ERR(dmac->iomem);
dmac             1864 drivers/dma/sh/rcar-dmac.c 	ret = rcar_dmac_init(dmac);
dmac             1873 drivers/dma/sh/rcar-dmac.c 	engine = &dmac->engine;
dmac             1900 drivers/dma/sh/rcar-dmac.c 	for (i = 0; i < dmac->n_channels; ++i) {
dmac             1901 drivers/dma/sh/rcar-dmac.c 		if (!(dmac->channels_mask & BIT(i)))
dmac             1904 drivers/dma/sh/rcar-dmac.c 		ret = rcar_dmac_chan_probe(dmac, &dmac->channels[i], i);
dmac             1934 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac *dmac = platform_get_drvdata(pdev);
dmac             1937 drivers/dma/sh/rcar-dmac.c 	dma_async_device_unregister(&dmac->engine);
dmac             1946 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac *dmac = platform_get_drvdata(pdev);
dmac             1948 drivers/dma/sh/rcar-dmac.c 	rcar_dmac_stop_all_chan(dmac);
dmac              151 drivers/dma/sh/usb-dmac.c static void usb_dmac_write(struct usb_dmac *dmac, u32 reg, u32 data)
dmac              153 drivers/dma/sh/usb-dmac.c 	writel(data, dmac->iomem + reg);
dmac              156 drivers/dma/sh/usb-dmac.c static u32 usb_dmac_read(struct usb_dmac *dmac, u32 reg)
dmac              158 drivers/dma/sh/usb-dmac.c 	return readl(dmac->iomem + reg);
dmac              244 drivers/dma/sh/usb-dmac.c static int usb_dmac_init(struct usb_dmac *dmac)
dmac              249 drivers/dma/sh/usb-dmac.c 	usb_dmac_write(dmac, USB_DMAOR, USB_DMAOR_DME);
dmac              251 drivers/dma/sh/usb-dmac.c 	dmaor = usb_dmac_read(dmac, USB_DMAOR);
dmac              253 drivers/dma/sh/usb-dmac.c 		dev_warn(dmac->dev, "DMAOR initialization failed.\n");
dmac              346 drivers/dma/sh/usb-dmac.c 	struct usb_dmac *dmac = to_usb_dmac(chan->device);
dmac              350 drivers/dma/sh/usb-dmac.c 	for (i = 0; i < dmac->n_channels; ++i) {
dmac              355 drivers/dma/sh/usb-dmac.c 	usb_dmac_write(dmac, USB_DMAOR, 0);
dmac              356 drivers/dma/sh/usb-dmac.c 	usb_dmac_write(dmac, USB_DMASWR, USB_DMASWR_SWR);
dmac              358 drivers/dma/sh/usb-dmac.c 	usb_dmac_write(dmac, USB_DMASWR, 0);
dmac              359 drivers/dma/sh/usb-dmac.c 	usb_dmac_write(dmac, USB_DMAOR, 1);
dmac              372 drivers/dma/sh/usb-dmac.c static void usb_dmac_stop(struct usb_dmac *dmac)
dmac              374 drivers/dma/sh/usb-dmac.c 	usb_dmac_write(dmac, USB_DMAOR, 0);
dmac              674 drivers/dma/sh/usb-dmac.c 	struct usb_dmac *dmac = dev_get_drvdata(dev);
dmac              677 drivers/dma/sh/usb-dmac.c 	for (i = 0; i < dmac->n_channels; ++i) {
dmac              678 drivers/dma/sh/usb-dmac.c 		if (!dmac->channels[i].iomem)
dmac              680 drivers/dma/sh/usb-dmac.c 		usb_dmac_chan_halt(&dmac->channels[i]);
dmac              688 drivers/dma/sh/usb-dmac.c 	struct usb_dmac *dmac = dev_get_drvdata(dev);
dmac              690 drivers/dma/sh/usb-dmac.c 	return usb_dmac_init(dmac);
dmac              705 drivers/dma/sh/usb-dmac.c static int usb_dmac_chan_probe(struct usb_dmac *dmac,
dmac              709 drivers/dma/sh/usb-dmac.c 	struct platform_device *pdev = to_platform_device(dmac->dev);
dmac              715 drivers/dma/sh/usb-dmac.c 	uchan->iomem = dmac->iomem + USB_DMAC_CHAN_OFFSET(index);
dmac              723 drivers/dma/sh/usb-dmac.c 	irqname = devm_kasprintf(dmac->dev, GFP_KERNEL, "%s:%u",
dmac              724 drivers/dma/sh/usb-dmac.c 				 dev_name(dmac->dev), index);
dmac              728 drivers/dma/sh/usb-dmac.c 	ret = devm_request_irq(dmac->dev, uchan->irq, usb_dmac_isr_channel,
dmac              731 drivers/dma/sh/usb-dmac.c 		dev_err(dmac->dev, "failed to request IRQ %u (%d)\n",
dmac              737 drivers/dma/sh/usb-dmac.c 	vchan_init(&uchan->vc, &dmac->engine);
dmac              744 drivers/dma/sh/usb-dmac.c static int usb_dmac_parse_of(struct device *dev, struct usb_dmac *dmac)
dmac              749 drivers/dma/sh/usb-dmac.c 	ret = of_property_read_u32(np, "dma-channels", &dmac->n_channels);
dmac              755 drivers/dma/sh/usb-dmac.c 	if (dmac->n_channels <= 0 || dmac->n_channels >= 100) {
dmac              757 drivers/dma/sh/usb-dmac.c 			dmac->n_channels);
dmac              768 drivers/dma/sh/usb-dmac.c 	struct usb_dmac *dmac;
dmac              773 drivers/dma/sh/usb-dmac.c 	dmac = devm_kzalloc(&pdev->dev, sizeof(*dmac), GFP_KERNEL);
dmac              774 drivers/dma/sh/usb-dmac.c 	if (!dmac)
dmac              777 drivers/dma/sh/usb-dmac.c 	dmac->dev = &pdev->dev;
dmac              778 drivers/dma/sh/usb-dmac.c 	platform_set_drvdata(pdev, dmac);
dmac              780 drivers/dma/sh/usb-dmac.c 	ret = usb_dmac_parse_of(&pdev->dev, dmac);
dmac              784 drivers/dma/sh/usb-dmac.c 	dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels,
dmac              785 drivers/dma/sh/usb-dmac.c 				      sizeof(*dmac->channels), GFP_KERNEL);
dmac              786 drivers/dma/sh/usb-dmac.c 	if (!dmac->channels)
dmac              791 drivers/dma/sh/usb-dmac.c 	dmac->iomem = devm_ioremap_resource(&pdev->dev, mem);
dmac              792 drivers/dma/sh/usb-dmac.c 	if (IS_ERR(dmac->iomem))
dmac              793 drivers/dma/sh/usb-dmac.c 		return PTR_ERR(dmac->iomem);
dmac              803 drivers/dma/sh/usb-dmac.c 	ret = usb_dmac_init(dmac);
dmac              811 drivers/dma/sh/usb-dmac.c 	INIT_LIST_HEAD(&dmac->engine.channels);
dmac              813 drivers/dma/sh/usb-dmac.c 	for (i = 0; i < dmac->n_channels; ++i) {
dmac              814 drivers/dma/sh/usb-dmac.c 		ret = usb_dmac_chan_probe(dmac, &dmac->channels[i], i);
dmac              830 drivers/dma/sh/usb-dmac.c 	engine = &dmac->engine;
dmac              862 drivers/dma/sh/usb-dmac.c static void usb_dmac_chan_remove(struct usb_dmac *dmac,
dmac              866 drivers/dma/sh/usb-dmac.c 	devm_free_irq(dmac->dev, uchan->irq, uchan);
dmac              871 drivers/dma/sh/usb-dmac.c 	struct usb_dmac *dmac = platform_get_drvdata(pdev);
dmac              874 drivers/dma/sh/usb-dmac.c 	for (i = 0; i < dmac->n_channels; ++i)
dmac              875 drivers/dma/sh/usb-dmac.c 		usb_dmac_chan_remove(dmac, &dmac->channels[i]);
dmac              877 drivers/dma/sh/usb-dmac.c 	dma_async_device_unregister(&dmac->engine);
dmac              886 drivers/dma/sh/usb-dmac.c 	struct usb_dmac *dmac = platform_get_drvdata(pdev);
dmac              888 drivers/dma/sh/usb-dmac.c 	usb_dmac_stop(dmac);
dmac             2302 drivers/dma/ste_dma40.c 	struct d40_gen_dmac *dmac = &d40c->base->gen_dmac;
dmac             2304 drivers/dma/ste_dma40.c 	rtreg = realtime ? dmac->realtime_en : dmac->realtime_clear;
dmac             2316 drivers/dma/ste_dma40.c 	prioreg = highprio ? dmac->high_prio_en : dmac->high_prio_clear;
dmac              123 drivers/gpu/drm/nouveau/dispnv50/disp.c nv50_dmac_destroy(struct nv50_dmac *dmac)
dmac              125 drivers/gpu/drm/nouveau/dispnv50/disp.c 	nvif_object_fini(&dmac->vram);
dmac              126 drivers/gpu/drm/nouveau/dispnv50/disp.c 	nvif_object_fini(&dmac->sync);
dmac              128 drivers/gpu/drm/nouveau/dispnv50/disp.c 	nv50_chan_destroy(&dmac->base);
dmac              130 drivers/gpu/drm/nouveau/dispnv50/disp.c 	nvif_mem_fini(&dmac->push);
dmac              136 drivers/gpu/drm/nouveau/dispnv50/disp.c 		 struct nv50_dmac *dmac)
dmac              143 drivers/gpu/drm/nouveau/dispnv50/disp.c 	mutex_init(&dmac->lock);
dmac              157 drivers/gpu/drm/nouveau/dispnv50/disp.c 	ret = nvif_mem_init_map(&cli->mmu, type, 0x1000, &dmac->push);
dmac              161 drivers/gpu/drm/nouveau/dispnv50/disp.c 	dmac->ptr = dmac->push.object.map.ptr;
dmac              163 drivers/gpu/drm/nouveau/dispnv50/disp.c 	args->pushbuf = nvif_handle(&dmac->push.object);
dmac              166 drivers/gpu/drm/nouveau/dispnv50/disp.c 			       &dmac->base);
dmac              173 drivers/gpu/drm/nouveau/dispnv50/disp.c 	ret = nvif_object_init(&dmac->base.user, 0xf0000000, NV_DMA_IN_MEMORY,
dmac              180 drivers/gpu/drm/nouveau/dispnv50/disp.c 			       &dmac->sync);
dmac              184 drivers/gpu/drm/nouveau/dispnv50/disp.c 	ret = nvif_object_init(&dmac->base.user, 0xf0000001, NV_DMA_IN_MEMORY,
dmac              191 drivers/gpu/drm/nouveau/dispnv50/disp.c 			       &dmac->vram);
dmac              202 drivers/gpu/drm/nouveau/dispnv50/disp.c evo_flush(struct nv50_dmac *dmac)
dmac              207 drivers/gpu/drm/nouveau/dispnv50/disp.c 	if (dmac->push.type & NVIF_MEM_VRAM) {
dmac              208 drivers/gpu/drm/nouveau/dispnv50/disp.c 		struct nvif_device *device = dmac->base.device;
dmac              220 drivers/gpu/drm/nouveau/dispnv50/disp.c 	struct nv50_dmac *dmac = evoc;
dmac              221 drivers/gpu/drm/nouveau/dispnv50/disp.c 	struct nvif_device *device = dmac->base.device;
dmac              222 drivers/gpu/drm/nouveau/dispnv50/disp.c 	u32 put = nvif_rd32(&dmac->base.user, 0x0000) / 4;
dmac              224 drivers/gpu/drm/nouveau/dispnv50/disp.c 	mutex_lock(&dmac->lock);
dmac              226 drivers/gpu/drm/nouveau/dispnv50/disp.c 		dmac->ptr[put] = 0x20000000;
dmac              227 drivers/gpu/drm/nouveau/dispnv50/disp.c 		evo_flush(dmac);
dmac              229 drivers/gpu/drm/nouveau/dispnv50/disp.c 		nvif_wr32(&dmac->base.user, 0x0000, 0x00000000);
dmac              231 drivers/gpu/drm/nouveau/dispnv50/disp.c 			if (!nvif_rd32(&dmac->base.user, 0x0004))
dmac              234 drivers/gpu/drm/nouveau/dispnv50/disp.c 			mutex_unlock(&dmac->lock);
dmac              242 drivers/gpu/drm/nouveau/dispnv50/disp.c 	return dmac->ptr + put;
dmac              248 drivers/gpu/drm/nouveau/dispnv50/disp.c 	struct nv50_dmac *dmac = evoc;
dmac              250 drivers/gpu/drm/nouveau/dispnv50/disp.c 	evo_flush(dmac);
dmac              252 drivers/gpu/drm/nouveau/dispnv50/disp.c 	nvif_wr32(&dmac->base.user, 0x0000, (push - dmac->ptr) << 2);
dmac              253 drivers/gpu/drm/nouveau/dispnv50/disp.c 	mutex_unlock(&dmac->lock);
dmac               73 drivers/gpu/drm/nouveau/dispnv50/disp.h 		     u64 syncbuf, struct nv50_dmac *dmac);
dmac              811 drivers/infiniband/core/addr.c 				 u8 *dmac, const struct ib_gid_attr *sgid_attr,
dmac              842 drivers/infiniband/core/addr.c 	memcpy(dmac, dev_addr.dst_dev_addr, ETH_ALEN);
dmac             2001 drivers/infiniband/core/cm.c 				 cm_id_priv->av.ah_attr.roce.dmac);
dmac              381 drivers/infiniband/core/core_priv.h 				 u8 *dmac, const struct ib_gid_attr *sgid_attr,
dmac             1276 drivers/infiniband/core/sa_query.c 		memcpy(ah_attr->roce.dmac, sa_path_get_dmac(rec), ETH_ALEN);
dmac              742 drivers/infiniband/core/verbs.c 				ah_attr->roce.dmac);
dmac              747 drivers/infiniband/core/verbs.c 					   ah_attr->roce.dmac,
dmac             1595 drivers/infiniband/core/verbs.c 			ip_eth_mc_map(addr, (char *)ah_attr->roce.dmac);
dmac             1598 drivers/infiniband/core/verbs.c 					(char *)ah_attr->roce.dmac);
dmac              692 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	memcpy(ah->qplib_ah.dmac, ah_attr->roce.dmac, ETH_ALEN);
dmac              728 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	memcpy(ah_attr->roce.dmac, ah->qplib_ah.dmac, ETH_ALEN);
dmac              922 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	ether_addr_copy(ah->qplib_ah.dmac, rdev->netdev->dev_addr);
dmac             1632 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		ether_addr_copy(qp->qplib_qp.ah.dmac,
dmac             1633 drivers/infiniband/hw/bnxt_re/ib_verbs.c 				qp_attr->ah_attr.roce.dmac);
dmac             1807 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	ether_addr_copy(qp_attr->ah_attr.roce.dmac, qplib_qp->ah.dmac);
dmac             1899 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	ether_addr_copy(qp->qp1_hdr.eth.dmac_h, ah->qplib_ah.dmac);
dmac             1239 drivers/infiniband/hw/bnxt_re/qplib_fp.c 		memcpy(req.dest_mac, qp->ah.dmac, 6);
dmac             1342 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	memcpy(qp->ah.dmac, sb->dest_mac, 6);
dmac              525 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	memcpy(temp16, ah->dmac, 6);
dmac              103 drivers/infiniband/hw/bnxt_re/qplib_sp.h 	u8				dmac[6];
dmac               60 drivers/infiniband/hw/hns/hns_roce_ah.c 	memcpy(ah->av.mac, ah_attr->roce.dmac, ETH_ALEN);
dmac             2730 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	u8 *dmac;
dmac             2896 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		dmac = (u8 *)attr->ah_attr.roce.dmac;
dmac             2930 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		if (ether_addr_equal_unaligned(dmac, smac) ||
dmac             2958 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		memcpy(&(context->dmac_l), dmac, 4);
dmac             2963 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 			       *((u16 *)(&dmac[4])));
dmac              315 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			roce_set_field(ud_sq_wqe->dmac, V2_UD_SEND_WQE_DMAC_0_M,
dmac              317 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			roce_set_field(ud_sq_wqe->dmac, V2_UD_SEND_WQE_DMAC_1_M,
dmac              319 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			roce_set_field(ud_sq_wqe->dmac, V2_UD_SEND_WQE_DMAC_2_M,
dmac              321 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			roce_set_field(ud_sq_wqe->dmac, V2_UD_SEND_WQE_DMAC_3_M,
dmac             3684 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	u8 *dmac;
dmac             3718 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	dmac = (u8 *)attr->ah_attr.roce.dmac;
dmac             3829 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (ether_addr_equal_unaligned(dmac, smac) ||
dmac             3852 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	memcpy(&(context->dmac), dmac, sizeof(u32));
dmac             3854 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       V2_QPC_BYTE_52_DMAC_S, *((u16 *)(&dmac[4])));
dmac             3855 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	qpc_mask->dmac = 0;
dmac              471 drivers/infiniband/hw/hns/hns_roce_hw_v2.h 	__le32	dmac;
dmac             1081 drivers/infiniband/hw/hns/hns_roce_hw_v2.h 	__le32	dmac;
dmac               93 drivers/infiniband/hw/mlx4/ah.c 	memcpy(ah->av.eth.mac, ah_attr->roce.dmac, ETH_ALEN);
dmac             1494 drivers/infiniband/hw/mlx4/mad.c 	u8 *dmac;
dmac             1582 drivers/infiniband/hw/mlx4/mad.c 	dmac = rdma_ah_retrieve_dmac(&ah_attr);
dmac             1583 drivers/infiniband/hw/mlx4/mad.c 	if (dmac)
dmac             1584 drivers/infiniband/hw/mlx4/mad.c 		memcpy(dmac, tunnel->hdr.mac, ETH_ALEN);
dmac             1901 drivers/infiniband/hw/mlx4/qp.c 		memcpy(path->dmac, ah->roce.dmac, 6);
dmac               56 drivers/infiniband/hw/mlx5/ah.c 		memcpy(ah->av.rmac, ah_attr->roce.dmac,
dmac               57 drivers/infiniband/hw/mlx5/ah.c 		       sizeof(ah_attr->roce.dmac));
dmac               86 drivers/infiniband/hw/mlx5/ah.c 		u32 min_resp_len = offsetof(typeof(resp), dmac) +
dmac               87 drivers/infiniband/hw/mlx5/ah.c 				   sizeof(resp.dmac);
dmac               94 drivers/infiniband/hw/mlx5/ah.c 		memcpy(resp.dmac, ah_attr->roce.dmac, ETH_ALEN);
dmac             4057 drivers/infiniband/hw/mlx5/main.c 	void *dmac, *dmac_mask;
dmac             4070 drivers/infiniband/hw/mlx5/main.c 	dmac = MLX5_ADDR_OF(fte_match_set_lyr_2_4, match_v_set_lyr_2_4,
dmac             4075 drivers/infiniband/hw/mlx5/main.c 	if (is_multicast_ether_addr(dmac) &&
dmac             2937 drivers/infiniband/hw/mlx5/qp.c 		memcpy(path->rmac, ah->roce.dmac, sizeof(ah->roce.dmac));
dmac              540 drivers/infiniband/hw/ocrdma/ocrdma.h 		memcpy(mac_addr, ah_attr->roce.dmac, ETH_ALEN);
dmac              120 drivers/infiniband/hw/ocrdma/ocrdma_ah.c 	status = ocrdma_resolve_dmac(dev, attr, &eth.dmac[0]);
dmac             1894 drivers/infiniband/hw/ocrdma/ocrdma_sli.h 	u8 dmac[6];
dmac             1900 drivers/infiniband/hw/ocrdma/ocrdma_sli.h 	u8 dmac[6];
dmac              520 drivers/infiniband/hw/qedr/qedr.h 	u8 *dmac;
dmac              529 drivers/infiniband/hw/qedr/qedr.h 	dmac = rdma_ah_retrieve_dmac(ah_attr);
dmac              530 drivers/infiniband/hw/qedr/qedr.h 	if (!dmac)
dmac              532 drivers/infiniband/hw/qedr/qedr.h 	ether_addr_copy(mac_addr, dmac);
dmac              437 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	ether_addr_copy(udh->eth.dmac_h, ah_attr->roce.dmac);
dmac              286 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c 	memcpy(dst->roce.dmac, &src->dmac, ETH_ALEN);
dmac              299 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c 	memcpy(&dst->dmac, src->roce.dmac, sizeof(dst->dmac));
dmac              539 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	memcpy(ah->av.dmac, ah_attr->roce.dmac, ETH_ALEN);
dmac              236 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h 	u8				dmac[6];
dmac               41 drivers/infiniband/sw/rxe/rxe_av.c 	memcpy(av->dmac, attr->roce.dmac, ETH_ALEN);
dmac              405 drivers/infiniband/sw/rxe/rxe_net.c 	if (ether_addr_equal(skb->dev->dev_addr, rxe_get_av(pkt)->dmac))
dmac              221 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct dma_chan *dmac;
dmac              387 drivers/mtd/nand/raw/atmel/nand-controller.c 	tx = dmaengine_prep_dma_memcpy(nc->dmac, dst_dma, src_dma, len,
dmac              403 drivers/mtd/nand/raw/atmel/nand-controller.c 	dma_async_issue_pending(nc->dmac);
dmac              446 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (nc->dmac && virt_addr_valid(buf) &&
dmac              470 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (nc->dmac && virt_addr_valid(buf) &&
dmac              655 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (nc->base.dmac)
dmac              678 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (nc->base.dmac)
dmac             1496 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (nc->dmac)
dmac             1841 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (nc->dmac)
dmac             1842 drivers/mtd/nand/raw/atmel/nand-controller.c 		dma_release_channel(nc->dmac);
dmac             1993 drivers/mtd/nand/raw/atmel/nand-controller.c 		nc->dmac = dma_request_channel(mask, NULL, NULL);
dmac             1994 drivers/mtd/nand/raw/atmel/nand-controller.c 		if (!nc->dmac)
dmac              248 drivers/mtd/nand/raw/sunxi_nand.c 	struct dma_chan *dmac;
dmac              366 drivers/mtd/nand/raw/sunxi_nand.c 	dmad = dmaengine_prep_slave_sg(nfc->dmac, sg, 1, tdir, DMA_CTRL_ACK);
dmac              932 drivers/mtd/nand/raw/sunxi_nand.c 	dma_async_issue_pending(nfc->dmac);
dmac              939 drivers/mtd/nand/raw/sunxi_nand.c 		dmaengine_terminate_all(nfc->dmac);
dmac             1307 drivers/mtd/nand/raw/sunxi_nand.c 	dma_async_issue_pending(nfc->dmac);
dmac             1315 drivers/mtd/nand/raw/sunxi_nand.c 		dmaengine_terminate_all(nfc->dmac);
dmac             1697 drivers/mtd/nand/raw/sunxi_nand.c 	if (nfc->dmac) {
dmac             2128 drivers/mtd/nand/raw/sunxi_nand.c 	nfc->dmac = dma_request_slave_channel(dev, "rxtx");
dmac             2129 drivers/mtd/nand/raw/sunxi_nand.c 	if (nfc->dmac) {
dmac             2138 drivers/mtd/nand/raw/sunxi_nand.c 		dmaengine_slave_config(nfc->dmac, &dmac_cfg);
dmac             2159 drivers/mtd/nand/raw/sunxi_nand.c 	if (nfc->dmac)
dmac             2160 drivers/mtd/nand/raw/sunxi_nand.c 		dma_release_channel(nfc->dmac);
dmac             2179 drivers/mtd/nand/raw/sunxi_nand.c 	if (nfc->dmac)
dmac             2180 drivers/mtd/nand/raw/sunxi_nand.c 		dma_release_channel(nfc->dmac);
dmac             6132 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h 	__be16	dmac[3];
dmac              206 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 		ether_addr_copy(flow->l2_key.dmac, match.key->dst);
dmac              207 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 		ether_addr_copy(flow->l2_mask.dmac, match.mask->dst);
dmac              415 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 		memcpy(req.dmac, flow->l2_key.dmac, ETH_ALEN);
dmac              482 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 			memcpy(&req.l2_rewrite_dmac, &req.dmac, ETH_ALEN);
dmac              490 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 			memcpy(&req.l2_rewrite_dmac, &req.dmac, ETH_ALEN);
dmac              547 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 		ether_addr_copy(req.dst_macaddr, l2_info->dmac);
dmac              623 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 	ether_addr_copy(encap->dst_mac_addr, l2_info->dmac);
dmac              784 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 	if (bits_set(&flow->l2_key.dmac, sizeof(flow->l2_key.dmac)) &&
dmac              785 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 	    !is_exactmatch(&flow->l2_mask.dmac, sizeof(flow->l2_mask.dmac))) {
dmac             1012 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 	neigh_ha_snapshot(l2_info->dmac, nbr, dst_dev);
dmac             1068 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 	ether_addr_copy(decap_l2_info->dmac, l2_info.smac);
dmac               20 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h 	u8		dmac[ETH_ALEN];
dmac               39 drivers/net/ethernet/cavium/thunder/thunder_bgx.c 	u64                     dmac;
dmac              274 drivers/net/ethernet/cavium/thunder/thunder_bgx.c 			lmac->dmacs[i].dmac = 0;
dmac              280 drivers/net/ethernet/cavium/thunder/thunder_bgx.c static int bgx_lmac_save_filter(struct lmac *lmac, u64 dmac, u8 vf_id)
dmac              295 drivers/net/ethernet/cavium/thunder/thunder_bgx.c 		if (lmac->dmacs[i].dmac == dmac) {
dmac              305 drivers/net/ethernet/cavium/thunder/thunder_bgx.c 	lmac->dmacs[lmac->dmacs_cfg].dmac = dmac;
dmac              382 drivers/net/ethernet/cavium/thunder/thunder_bgx.c 						    lmac->dmacs[i].dmac, i);
dmac              224 drivers/net/ethernet/cavium/thunder/thunder_bgx.h void bgx_add_dmac_addr(u64 dmac, int node, int bgx_idx, int lmac);
dmac              105 drivers/net/ethernet/chelsio/cxgb3/l2t.c 	memcpy(e->dmac, e->neigh->ha, sizeof(e->dmac));
dmac              106 drivers/net/ethernet/chelsio/cxgb3/l2t.c 	memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac));
dmac              292 drivers/net/ethernet/chelsio/cxgb3/l2t.c 	if (memcmp(e->dmac, neigh->ha, sizeof(e->dmac)) ||
dmac              433 drivers/net/ethernet/chelsio/cxgb3/l2t.c 			if (!ether_addr_equal(e->dmac, neigh->ha))
dmac               70 drivers/net/ethernet/chelsio/cxgb3/l2t.h 	u8 dmac[6];		/* neighbour's MAC address */
dmac             1209 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	uint8_t dmac[ETH_ALEN]; /* new destination MAC address */
dmac              561 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 						f->fs.eport, f->fs.dmac);
dmac             1129 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 						f->fs.eport, f->fs.dmac);
dmac               47 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c 	PEDIT_FIELDS(ETH_, DMAC_31_0, 4, dmac, 0),
dmac               48 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c 	PEDIT_FIELDS(ETH_, DMAC_47_32, 2, dmac, 4),
dmac              159 drivers/net/ethernet/chelsio/cxgb4/l2t.c 		memcpy(e->dmac, e->neigh->ha, sizeof(e->dmac));
dmac              160 drivers/net/ethernet/chelsio/cxgb4/l2t.c 	memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac));
dmac              299 drivers/net/ethernet/chelsio/cxgb4/l2t.c 					   u8 port, u8 *dmac)
dmac              310 drivers/net/ethernet/chelsio/cxgb4/l2t.c 				if (ether_addr_equal(e->dmac, dmac) &&
dmac              409 drivers/net/ethernet/chelsio/cxgb4/l2t.c 	if (memcmp(e->dmac, neigh->ha, sizeof(e->dmac)) ||
dmac              459 drivers/net/ethernet/chelsio/cxgb4/l2t.c 			memcpy(e->dmac, physdev->dev_addr, sizeof(e->dmac));
dmac              572 drivers/net/ethernet/chelsio/cxgb4/l2t.c 		if (memcmp(e->dmac, neigh->ha, sizeof(e->dmac)))
dmac              600 drivers/net/ethernet/chelsio/cxgb4/l2t.c 			ether_addr_copy(e->dmac, eth_addr);
dmac              629 drivers/net/ethernet/chelsio/cxgb4/l2t.c 					    u8 port, u8 *dmac)
dmac              633 drivers/net/ethernet/chelsio/cxgb4/l2t.c 	return t4_l2t_alloc_switching(adap, vlan, port, dmac);
dmac              723 drivers/net/ethernet/chelsio/cxgb4/l2t.c 			   e->idx + d->l2t_start, ip, e->dmac,
dmac               88 drivers/net/ethernet/chelsio/cxgb4/l2t.h 	u8 dmac[ETH_ALEN];          /* neighbour's MAC address */
dmac              119 drivers/net/ethernet/chelsio/cxgb4/l2t.h 					    u8 port, u8 *dmac);
dmac              122 drivers/net/ethernet/chelsio/cxgb4/l2t.h 					 u8 port, u8 *dmac);
dmac              154 drivers/net/ethernet/korina.c 	if (readl(&ch->dmac) & DMA_CHAN_RUN_BIT) {
dmac              155 drivers/net/ethernet/korina.c 		writel(0x10, &ch->dmac);
dmac               73 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c 	DECLARE_MASK_VAL(u64, dmac) = {
dmac               81 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c 	PRINT_MASKED_VALP(dmac, u8 *, p, "%pM");
dmac              324 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	u8 *dmac;
dmac              355 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	dmac = MLX5_ADDR_OF(fte_match_param, match_criteria, outer_headers.dmac_47_16);
dmac              359 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	eth_broadcast_addr(dmac);
dmac              373 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	eth_zero_addr(dmac);
dmac              374 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	dmac[0] = 0x01;
dmac              386 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	eth_zero_addr(dmac);
dmac             1057 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	u8 *dmac;
dmac             1182 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	dmac = MLX5_ADDR_OF(fte_match_param, match_criteria,
dmac             1184 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	dmac[0] = 0x01;
dmac              150 drivers/net/ethernet/mellanox/mlxsw/core.c MLXSW_ITEM_BUF(emad, eth_hdr, dmac, 0x00, 6);
dmac              111 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 			      unsigned char dmac[ETH_ALEN])
dmac              126 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 		memcpy(dmac, neigh->ha, ETH_ALEN);
dmac              144 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 				 unsigned char *dmac,
dmac              158 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 	edev = br_fdb_find_port(br_dev, dmac, vid);
dmac              173 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 				 unsigned char *dmac)
dmac              175 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 	return br_fdb_find_port(br_dev, dmac, 0);
dmac              180 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 			   unsigned char dmac[ETH_ALEN],
dmac              190 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 		dev = mlxsw_sp_span_entry_bridge_8021q(br_dev, dmac, p_vid);
dmac              192 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 		dev = mlxsw_sp_span_entry_bridge_8021d(br_dev, dmac);
dmac              244 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 	unsigned char dmac[ETH_ALEN];
dmac              250 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 	if (!edev || mlxsw_sp_span_dmac(tbl, &gw, edev, dmac))
dmac              257 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 		edev = mlxsw_sp_span_entry_bridge(edev, dmac, &vid);
dmac              281 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 	memcpy(sparmsp->dmac, dmac, ETH_ALEN);
dmac              373 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 				    sparms.dmac, !!sparms.vid);
dmac              474 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 				    sparms.dmac, !!sparms.vid);
dmac               32 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.h 	unsigned char dmac[ETH_ALEN];
dmac              370 drivers/net/ethernet/mscc/ocelot_ace.c 		VCAP_KEY_BYTES_SET(L2_DMAC, etype->dmac.value,
dmac              371 drivers/net/ethernet/mscc/ocelot_ace.c 				   etype->dmac.mask);
dmac              385 drivers/net/ethernet/mscc/ocelot_ace.c 		VCAP_KEY_BYTES_SET(L2_DMAC, llc->dmac.value, llc->dmac.mask);
dmac              398 drivers/net/ethernet/mscc/ocelot_ace.c 		VCAP_KEY_BYTES_SET(L2_DMAC, snap->dmac.value, snap->dmac.mask);
dmac               96 drivers/net/ethernet/mscc/ocelot_ace.h 	struct ocelot_vcap_u48 dmac;
dmac              103 drivers/net/ethernet/mscc/ocelot_ace.h 	struct ocelot_vcap_u48 dmac;
dmac              111 drivers/net/ethernet/mscc/ocelot_ace.h 	struct ocelot_vcap_u48 dmac;
dmac               88 drivers/net/ethernet/mscc/ocelot_flower.c 		ether_addr_copy(ocelot_rule->frame.etype.dmac.value,
dmac               92 drivers/net/ethernet/mscc/ocelot_flower.c 		ether_addr_copy(ocelot_rule->frame.etype.dmac.mask,
dmac              161 drivers/net/wan/hd64570.c 		u16 dmac = transmit ? get_dmac_tx(port) : get_dmac_rx(port);
dmac              184 drivers/net/wan/hd64570.c 		sca_out(0, dmac + CPB, card); /* pointer base */
dmac              185 drivers/net/wan/hd64570.c 		sca_outw(desc_offset(port, 0, transmit), dmac + CDAL, card);
dmac              188 drivers/net/wan/hd64570.c 				 dmac + EDAL, card);
dmac              190 drivers/net/wan/hd64570.c 			sca_outw(desc_offset(port, 0, transmit), dmac + EDAL,
dmac              199 drivers/net/wan/hd64570.c 			sca_outw(HDLC_MAX_MRU, dmac + BFLL, card);
dmac              290 drivers/net/wan/hd64570.c 	u16 dmac = get_dmac_rx(port);
dmac              305 drivers/net/wan/hd64570.c 		u32 cda = sca_inw(dmac + CDAL, card);
dmac              329 drivers/net/wan/hd64570.c 		sca_outw(desc_off, dmac + EDAL, card);
dmac              342 drivers/net/wan/hd64570.c 	u16 dmac = get_dmac_tx(port);
dmac              358 drivers/net/wan/hd64570.c 		u32 cda = sca_inw(dmac + CDAL, card);
dmac              233 drivers/net/wan/hd64572.c 	u16 dmac = get_dmac_rx(port);
dmac              249 drivers/net/wan/hd64572.c 		u32 cda = sca_inl(dmac + CDAL, card);
dmac              275 drivers/net/wan/hd64572.c 		sca_outl(desc_off, dmac + EDAL, card);
dmac              158 include/linux/mlx4/qp.h 	u8			dmac[ETH_ALEN];
dmac              136 include/net/llc.h 			      unsigned char *dmac, unsigned char dsap);
dmac               65 include/net/llc_if.h int llc_establish_connection(struct sock *sk, u8 *lmac, u8 *dmac, u8 dsap);
dmac               29 include/net/llc_sap.h 				 unsigned char *dmac, unsigned char dsap);
dmac               31 include/net/llc_sap.h 				unsigned char *dmac, unsigned char dsap);
dmac              175 include/rdma/ib_sa.h 	u8	dmac[ETH_ALEN];
dmac              644 include/rdma/ib_sa.h static inline void sa_path_set_dmac(struct sa_path_rec *rec, u8 *dmac)
dmac              647 include/rdma/ib_sa.h 		memcpy(rec->roce.dmac, dmac, ETH_ALEN);
dmac              653 include/rdma/ib_sa.h 		eth_zero_addr(rec->roce.dmac);
dmac              659 include/rdma/ib_sa.h 		return rec->roce.dmac;
dmac              889 include/rdma/ib_verbs.h 	u8			dmac[ETH_ALEN];
dmac             4364 include/rdma/ib_verbs.h 		return attr->roce.dmac;
dmac             3536 include/uapi/linux/bpf.h 	__u8	dmac[6];     /* ETH_ALEN */
dmac              404 include/uapi/rdma/mlx5-abi.h 	__u8	dmac[ETH_ALEN];
dmac               61 include/uapi/rdma/rdma_user_rxe.h 	__u8			dmac[6];
dmac              205 include/uapi/rdma/vmw_pvrdma-abi.h 	__u8 dmac[6];
dmac              136 net/bridge/netfilter/ebt_among.c 	const char *dmac, *smac;
dmac              159 net/bridge/netfilter/ebt_among.c 		dmac = eth_hdr(skb)->h_dest;
dmac              164 net/bridge/netfilter/ebt_among.c 			if (!ebt_mac_wormhash_contains(wh_dst, dmac, dip))
dmac              168 net/bridge/netfilter/ebt_among.c 			if (ebt_mac_wormhash_contains(wh_dst, dmac, dip))
dmac             4603 net/core/filter.c 	memcpy(params->dmac, neigh->ha, ETH_ALEN);
dmac               14 net/dsa/tag_sja1105.c 	u64 dmac = ether_addr_to_u64(hdr->h_dest);
dmac               18 net/dsa/tag_sja1105.c 	if ((dmac & SJA1105_LINKLOCAL_FILTER_A_MASK) ==
dmac               21 net/dsa/tag_sja1105.c 	if ((dmac & SJA1105_LINKLOCAL_FILTER_B_MASK) ==
dmac               61 net/dsa/tag_sja1105.c 	u64 dmac = ether_addr_to_u64(hdr->h_dest);
dmac               65 net/dsa/tag_sja1105.c 	if (dmac != SJA1105_META_DMAC)
dmac              784 net/llc/llc_c_ac.c 		u8 *dmac = llc->daddr.mac;
dmac              787 net/llc/llc_c_ac.c 			dmac = llc->dev->dev_addr;
dmac              791 net/llc/llc_c_ac.c 		rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, dmac);
dmac               83 net/llc/llc_if.c int llc_establish_connection(struct sock *sk, u8 *lmac, u8 *dmac, u8 dsap)
dmac               93 net/llc/llc_if.c 	memcpy(daddr.mac, dmac, sizeof(daddr.mac));
dmac               59 net/llc/llc_output.c 			      unsigned char *dmac, unsigned char dsap)
dmac               65 net/llc/llc_output.c 	rc = llc_mac_hdr_init(skb, skb->dev->dev_addr, dmac);
dmac              231 net/llc/llc_sap.c 				 struct sk_buff *skb, u8 *dmac, u8 dsap)
dmac              238 net/llc/llc_sap.c 	memcpy(ev->daddr.mac, dmac, IFHWADDRLEN);
dmac              257 net/llc/llc_sap.c 				u8 *dmac, u8 dsap)
dmac              264 net/llc/llc_sap.c 	memcpy(ev->daddr.mac, dmac, IFHWADDRLEN);
dmac               74 net/smc/smc_ib.c 	memcpy(&qp_attr.ah_attr.roce.dmac, lnk->peer_mac,
dmac              170 samples/bpf/test_lwt_bpf.c 	uint64_t smac = SRC_MAC, dmac = DST_MAC;
dmac              181 samples/bpf/test_lwt_bpf.c 	memcpy(&ehdr.h_dest, &dmac, 6);
dmac              138 samples/bpf/xdp_fwd_kern.c 		memcpy(eth->h_dest, fib_params.dmac, ETH_ALEN);
dmac               31 samples/bpf/xdp_tx_iptunnel_common.h 	__u8 dmac[6];
dmac               73 samples/bpf/xdp_tx_iptunnel_kern.c 	memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest));
dmac              221 samples/bpf/xdp_tx_iptunnel_user.c 					  (struct ether_addr *)tnl.dmac)) {
dmac             1239 sound/pci/sonicvibes.c 	unsigned int dmaa, dmac;
dmac             1289 sound/pci/sonicvibes.c 	pci_read_config_dword(pci, 0x48, &dmac);
dmac             1292 sound/pci/sonicvibes.c 	dmac &= ~0x0f;
dmac             1300 sound/pci/sonicvibes.c 	if (!dmac) {
dmac             1301 sound/pci/sonicvibes.c 		dmac = dmaio;
dmac             1305 sound/pci/sonicvibes.c 			 dmac);
dmac             1308 sound/pci/sonicvibes.c 	pci_write_config_dword(pci, 0x48, dmac);
dmac             1317 sound/pci/sonicvibes.c 	if ((sonic->res_dmac = request_region(dmac, 0x10, "S3 SonicVibes DDMA-C")) == NULL) {
dmac             1321 sound/pci/sonicvibes.c 			dmac, dmac + 0x10 - 1);
dmac               85 sound/soc/intel/atom/sst/sst.h 		u32 dmac:1;
dmac               96 sound/soc/intel/atom/sst/sst.h 		u32 dmac:1;
dmac              237 sound/soc/sh/rcar/dma.c 	struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv);
dmac              265 sound/soc/sh/rcar/dma.c 	dmac->dmaen_num++;
dmac              391 sound/soc/sh/rcar/dma.c #define rsnd_dmapp_addr(dmac, dma, reg) \
dmac              392 sound/soc/sh/rcar/dma.c 	(dmac->base + 0x20 + reg + \
dmac              398 sound/soc/sh/rcar/dma.c 	struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv);
dmac              401 sound/soc/sh/rcar/dma.c 	dev_dbg(dev, "w 0x%px : %08x\n", rsnd_dmapp_addr(dmac, dma, reg), data);
dmac              403 sound/soc/sh/rcar/dma.c 	iowrite32(data, rsnd_dmapp_addr(dmac, dma, reg));
dmac              410 sound/soc/sh/rcar/dma.c 	struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv);
dmac              412 sound/soc/sh/rcar/dma.c 	return ioread32(rsnd_dmapp_addr(dmac, dma, reg));
dmac              419 sound/soc/sh/rcar/dma.c 	struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv);
dmac              420 sound/soc/sh/rcar/dma.c 	void __iomem *addr = rsnd_dmapp_addr(dmac, dma, reg);
dmac              467 sound/soc/sh/rcar/dma.c 	struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv);
dmac              470 sound/soc/sh/rcar/dma.c 	dmapp->dmapp_id = dmac->dmapp_num;
dmac              473 sound/soc/sh/rcar/dma.c 	dmac->dmapp_num++;
dmac              734 sound/soc/sh/rcar/dma.c 	struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv);
dmac              750 sound/soc/sh/rcar/dma.c 	if (!dmac)
dmac              759 sound/soc/sh/rcar/dma.c 		dma_id	= dmac->dmapp_num;
dmac              764 sound/soc/sh/rcar/dma.c 		dma_id	= dmac->dmaen_num;
dmac              772 sound/soc/sh/rcar/dma.c 		dma_id	= dmac->dmaen_num;
dmac              821 sound/soc/sh/rcar/dma.c 	struct rsnd_dma_ctrl *dmac;
dmac              834 sound/soc/sh/rcar/dma.c 	dmac = devm_kzalloc(dev, sizeof(*dmac), GFP_KERNEL);
dmac              835 sound/soc/sh/rcar/dma.c 	if (!dmac || !res) {
dmac              840 sound/soc/sh/rcar/dma.c 	dmac->dmapp_num = 0;
dmac              841 sound/soc/sh/rcar/dma.c 	dmac->base = devm_ioremap_resource(dev, res);
dmac              842 sound/soc/sh/rcar/dma.c 	if (IS_ERR(dmac->base))
dmac              843 sound/soc/sh/rcar/dma.c 		return PTR_ERR(dmac->base);
dmac              845 sound/soc/sh/rcar/dma.c 	priv->dma = dmac;
dmac             3536 tools/include/uapi/linux/bpf.h 	__u8	dmac[6];     /* ETH_ALEN */
dmac               76 tools/testing/selftests/bpf/progs/test_xdp.c 	memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest));
dmac               72 tools/testing/selftests/bpf/progs/test_xdp_loop.c 	memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest));
dmac               31 tools/testing/selftests/bpf/test_iptunnel_common.h 	__u8 dmac[6];