Home
last modified time | relevance | path

Searched refs:dmac (Results 1 – 25 of 206) sorted by relevance

123456789

/linux-6.3-rc2/drivers/dma/
A Ddma-axi-dmac.c912 struct axi_dmac *dmac; in axi_dmac_probe() local
917 dmac = devm_kzalloc(&pdev->dev, sizeof(*dmac), GFP_KERNEL); in axi_dmac_probe()
918 if (!dmac) in axi_dmac_probe()
922 if (dmac->irq < 0) in axi_dmac_probe()
923 return dmac->irq; in axi_dmac_probe()
924 if (dmac->irq == 0) in axi_dmac_probe()
928 if (IS_ERR(dmac->base)) in axi_dmac_probe()
932 if (IS_ERR(dmac->clk)) in axi_dmac_probe()
953 dma_dev = &dmac->dma_dev; in axi_dmac_probe()
1022 free_irq(dmac->irq, dmac); in axi_dmac_probe()
[all …]
A Dpl330.c377 struct pl330_dmac *dmac; member
432 struct pl330_dmac *dmac; member
560 return thrd->dmac->manager == thrd; in is_manager()
1502 dev_info(thrd->dmac->ddma.dev, in pl330_submit_req()
1893 thrd->dmac = pl330; in dmac_alloc_threads()
1901 thrd->dmac = pl330; in dmac_alloc_threads()
2251 pch->dmac->quirks); in pl330_config_write()
2258 pch->dmac->quirks); in pl330_config_write()
2771 pl330 = pch->dmac; in pl330_prep_dma_memcpy()
2857 dev_err(pch->dmac->ddma.dev, in pl330_prep_slave_sg()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/dma/
A Drenesas,rcar-dmac.yaml20 - renesas,dmac-r8a7742 # RZ/G1H
21 - renesas,dmac-r8a7743 # RZ/G1M
22 - renesas,dmac-r8a7744 # RZ/G1N
23 - renesas,dmac-r8a7745 # RZ/G1E
24 - renesas,dmac-r8a77470 # RZ/G1C
25 - renesas,dmac-r8a774a1 # RZ/G2M
26 - renesas,dmac-r8a774b1 # RZ/G2N
27 - renesas,dmac-r8a774c0 # RZ/G2E
42 - const: renesas,rcar-dmac
124 - renesas,rcar-gen4-dmac
[all …]
A Drenesas,usb-dmac.yaml19 - renesas,r8a7742-usb-dmac # RZ/G1H
20 - renesas,r8a7743-usb-dmac # RZ/G1M
21 - renesas,r8a7744-usb-dmac # RZ/G1N
22 - renesas,r8a7745-usb-dmac # RZ/G1E
23 - renesas,r8a77470-usb-dmac # RZ/G1C
24 - renesas,r8a774a1-usb-dmac # RZ/G2M
25 - renesas,r8a774b1-usb-dmac # RZ/G2N
26 - renesas,r8a774c0-usb-dmac # RZ/G2E
27 - renesas,r8a774e1-usb-dmac # RZ/G2H
38 - const: renesas,usb-dmac
[all …]
A Drenesas,rz-dmac.yaml4 $id: http://devicetree.org/schemas/dma/renesas,rz-dmac.yaml#
19 - renesas,r9a07g043-dmac # RZ/G2UL
20 - renesas,r9a07g044-dmac # RZ/G2{L,LC}
21 - renesas,r9a07g054-dmac # RZ/V2L
22 - const: renesas,rz-dmac
98 dmac: dma-controller@11820000 {
99 compatible = "renesas,r9a07g044-dmac",
100 "renesas,rz-dmac";
A Dsocionext,uniphier-mio-dmac.yaml4 $id: http://devicetree.org/schemas/dma/socionext,uniphier-mio-dmac.yaml#
21 const: socionext,uniphier-mio-dmac
55 dmac: dma-controller@5a000000 {
56 compatible = "socionext,uniphier-mio-dmac";
/linux-6.3-rc2/drivers/dma/sh/
A Dusb-dmac.c757 if (dmac->n_channels <= 0 || dmac->n_channels >= 100) { in usb_dmac_parse_of()
759 dmac->n_channels); in usb_dmac_parse_of()
770 struct usb_dmac *dmac; in usb_dmac_probe() local
774 dmac = devm_kzalloc(&pdev->dev, sizeof(*dmac), GFP_KERNEL); in usb_dmac_probe()
775 if (!dmac) in usb_dmac_probe()
778 dmac->dev = &pdev->dev; in usb_dmac_probe()
785 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in usb_dmac_probe()
787 if (!dmac->channels) in usb_dmac_probe()
814 ret = usb_dmac_chan_probe(dmac, &dmac->channels[i], i); in usb_dmac_probe()
875 usb_dmac_chan_remove(dmac, &dmac->channels[i]); in usb_dmac_remove()
[all …]
A Drz-dmac.c833 if (!dmac->n_channels || dmac->n_channels > RZ_DMAC_MAX_CHANNELS) { in rz_dmac_parse_of()
845 struct rz_dmac *dmac; in rz_dmac_probe() local
851 dmac = devm_kzalloc(&pdev->dev, sizeof(*dmac), GFP_KERNEL); in rz_dmac_probe()
852 if (!dmac) in rz_dmac_probe()
855 dmac->dev = &pdev->dev; in rz_dmac_probe()
862 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in rz_dmac_probe()
864 if (!dmac->channels) in rz_dmac_probe()
869 if (IS_ERR(dmac->base)) in rz_dmac_probe()
873 if (IS_ERR(dmac->ext_base)) in rz_dmac_probe()
900 ret = rz_dmac_chan_probe(dmac, &dmac->channels[i], i); in rz_dmac_probe()
[all …]
A Drcar-dmac.c215 for (i = 0, chan = &(dmac)->channels[0]; i < (dmac)->n_channels; i++, chan++) \
347 if (dmac->chan_base) in rcar_dmac_chan_clear()
358 if (dmac->chan_base) { in rcar_dmac_chan_clear_all()
362 rcar_dmac_write(dmac, RCAR_DMACHCLR, dmac->channels_mask); in rcar_dmac_chan_clear_all()
1830 dmac->n_channels); in rcar_dmac_parse_of()
1838 dmac->channels_mask = GENMASK(dmac->n_channels - 1, 0); in rcar_dmac_parse_of()
1842 dmac->channels_mask &= GENMASK(dmac->n_channels - 1, 0); in rcar_dmac_parse_of()
1865 dmac = devm_kzalloc(&pdev->dev, sizeof(*dmac), GFP_KERNEL); in rcar_dmac_probe()
1866 if (!dmac) in rcar_dmac_probe()
1894 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in rcar_dmac_probe()
[all …]
A DMakefile16 obj-$(CONFIG_RCAR_DMAC) += rcar-dmac.o
17 obj-$(CONFIG_RENESAS_USB_DMAC) += usb-dmac.o
18 obj-$(CONFIG_RZ_DMAC) += rz-dmac.o
/linux-6.3-rc2/tools/testing/selftests/drivers/net/dsa/
A Dno_forwarding.sh35 local dmac=$3
43 local dmac=$2
60 local dmac=$2
94 local dmac=$(mac_get $h2)
102 send_non_ip $h1 $smac $dmac
105 send_uc_ipv4 $h1 $dmac
107 send_uc_ipv6 $h1 $dmac
114 send_non_ip $h1.$vid $smac $dmac
117 send_uc_ipv4 $h1.$vid $dmac
119 send_uc_ipv6 $h1.$vid $dmac
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/forwarding/
A Dno_forwarding.sh35 local dmac=$3
43 local dmac=$2
60 local dmac=$2
94 local dmac=$(mac_get $h2)
102 send_non_ip $h1 $smac $dmac
105 send_uc_ipv4 $h1 $dmac
107 send_uc_ipv6 $h1 $dmac
114 send_non_ip $h1.$vid $smac $dmac
117 send_uc_ipv4 $h1.$vid $dmac
119 send_uc_ipv6 $h1.$vid $dmac
[all …]
/linux-6.3-rc2/sound/soc/sh/rcar/
A Ddma.c301 dmac->dmaen_num++; in rsnd_dmaen_attach()
509 dmac->dmapp_num++; in rsnd_dmapp_attach()
527 rsnd_debugfs_reg_show(m, dmac->ppres, dmac->ppbase, in rsnd_dmapp_debug_info()
837 if (!dmac) in rsnd_dma_alloc()
846 dma_id = dmac->dmapp_num; in rsnd_dma_alloc()
851 dma_id = dmac->dmaen_num; in rsnd_dma_alloc()
920 dmac = devm_kzalloc(dev, sizeof(*dmac), GFP_KERNEL); in rsnd_dma_probe()
921 if (!dmac) { in rsnd_dma_probe()
936 dmac->dmapp_num = 0; in rsnd_dma_probe()
939 if (IS_ERR(dmac->ppbase)) in rsnd_dma_probe()
[all …]
/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/
A Ddevlink_trap_l2_drops.sh120 local dmac=de:ad:be:ef:13:37
129 flower dst_mac $dmac action drop
180 local dmac=de:ad:be:ef:13:37
189 flower dst_mac $dmac action drop
222 local dmac=de:ad:be:ef:13:37
232 flower dst_mac $dmac action drop
291 local dmac=de:ad:be:ef:13:37
302 flower dst_mac $dmac action drop
333 local dmac=01:00:5e:00:00:01
347 flower dst_mac $dmac action drop
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dfib_lookup.c34 __u8 dmac[6]; member
42 .dmac = DMAC_INIT, },
50 .dmac = DMAC_INIT, },
172 ret = memcmp(tests[i].dmac, fib_params->dmac, sizeof(tests[i].dmac)); in test_fib_lookup()
176 mac_str(expected, tests[i].dmac); in test_fib_lookup()
177 mac_str(actual, fib_params->dmac); in test_fib_lookup()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/dispnv50/
A Ddisp.c134 if (dmac->put != dmac->cur) { in nv50_dmac_kick()
147 NVIF_WV32(&dmac->base.user, NV507C, PUT, PTR, dmac->cur); in nv50_dmac_kick()
148 dmac->put = dmac->cur; in nv50_dmac_kick()
160 return dmac->max - dmac->cur; in nv50_dmac_free()
182 PUSH_RSVD(dmac->push, PUSH_JUMP(dmac->push, 0)); in nv50_dmac_wind()
197 if (dmac->cur + size >= dmac->max) { in nv50_dmac_wait()
256 dmac->ptr = dmac->_push.mem.object.map.ptr; in nv50_dmac_create()
259 dmac->push = &dmac->_push; in nv50_dmac_create()
260 dmac->push->bgn = dmac->_push.mem.object.map.ptr; in nv50_dmac_create()
261 dmac->push->cur = dmac->push->bgn; in nv50_dmac_create()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dl2t.c159 memcpy(e->dmac, e->neigh->ha, sizeof(e->dmac)); in write_l2e()
160 memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); in write_l2e()
299 u8 port, u8 *dmac) in find_or_alloc_l2e() argument
310 if (ether_addr_equal(e->dmac, dmac) && in find_or_alloc_l2e()
405 if (memcmp(e->dmac, neigh->ha, sizeof(e->dmac)) || in reuse_entry()
455 memcpy(e->dmac, physdev->dev_addr, sizeof(e->dmac)); in cxgb4_l2t_get()
547 if (memcmp(e->dmac, neigh->ha, sizeof(e->dmac))) in t4_l2t_update()
592 ether_addr_copy(e->dmac, eth_addr); in t4_l2t_alloc_switching()
622 u8 port, u8 *dmac) in cxgb4_l2t_alloc_switching() argument
626 return t4_l2t_alloc_switching(adap, vlan, port, dmac); in cxgb4_l2t_alloc_switching()
[all …]
A Dl2t.h88 u8 dmac[ETH_ALEN]; /* neighbour's MAC address */ member
119 u8 port, u8 *dmac);
122 u8 port, u8 *dmac);
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/
A Dah.c79 memcpy(ah->av.rmac, ah_attr->roce.dmac, in create_ib_ah()
80 sizeof(ah_attr->roce.dmac)); in create_ib_ah()
110 offsetofend(struct mlx5_ib_create_ah_resp, dmac); in mlx5_ib_create_ah()
117 memcpy(resp.dmac, ah_attr->roce.dmac, ETH_ALEN); in mlx5_ib_create_ah()
/linux-6.3-rc2/arch/arm/boot/dts/
A Drv1126.dtsi197 dmas = <&dmac 7>, <&dmac 6>;
224 dmac: dma-controller@ff4e0000 { label
242 dmas = <&dmac 5>, <&dmac 4>;
258 dmas = <&dmac 9>, <&dmac 8>;
274 dmas = <&dmac 11>, <&dmac 10>;
290 dmas = <&dmac 13>, <&dmac 12>;
306 dmas = <&dmac 15>, <&dmac 14>;
/linux-6.3-rc2/sound/soc/intel/catpt/
A Ddsp.c117 struct dw_dma_chip *dmac; in catpt_dmac_probe() local
120 dmac = devm_kzalloc(cdev->dev, sizeof(*dmac), GFP_KERNEL); in catpt_dmac_probe()
121 if (!dmac) in catpt_dmac_probe()
124 dmac->regs = cdev->lpe_ba + cdev->spec->host_dma_offset[CATPT_DMA_DEVID]; in catpt_dmac_probe()
125 dmac->dev = cdev->dev; in catpt_dmac_probe()
126 dmac->irq = cdev->irq; in catpt_dmac_probe()
135 ret = dw_dma_probe(dmac); in catpt_dmac_probe()
139 cdev->dmac = dmac; in catpt_dmac_probe()
151 dw_dma_remove(cdev->dmac); in catpt_dmac_remove()
/linux-6.3-rc2/arch/mips/boot/dts/ingenic/
A Djz4725b.dtsi210 dmas = <&dmac 25 0xffffffff>, <&dmac 24 0xffffffff>;
234 dmas = <&dmac 27 0xffffffff>, <&dmac 26 0xffffffff>;
252 dmas = <&dmac 31 0xffffffff>, <&dmac 30 0xffffffff>;
298 dmac: dma-controller@13020000 { label
/linux-6.3-rc2/drivers/net/dsa/sja1105/
A Dsja1105_flower.c203 u64 dmac = U64_MAX; in sja1105_flower_parse_key() local
248 dmac = ether_addr_to_u64(match.key->dst); in sja1105_flower_parse_key()
281 if (dmac == U64_MAX && vid == U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key()
286 if (dmac != U64_MAX && vid != U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key()
288 key->vl.dmac = dmac; in sja1105_flower_parse_key()
293 if (dmac != U64_MAX) { in sja1105_flower_parse_key()
295 key->vl.dmac = dmac; in sja1105_flower_parse_key()
/linux-6.3-rc2/include/net/
A Dllc_sap.h29 unsigned char *dmac, unsigned char dsap);
31 unsigned char *dmac, unsigned char dsap);
/linux-6.3-rc2/arch/mips/include/asm/mach-rc32434/
A Ddma_v.h29 if (__raw_readl(&ch->dmac) & DMA_CHAN_RUN_BIT) { in rc32434_halt_dma()
30 __raw_writel(0, &ch->dmac); in rc32434_halt_dma()

Completed in 81 milliseconds

123456789