Home
last modified time | relevance | path

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

12345678910

/openbmc/linux/drivers/dma/
H 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()
1021 free_irq(dmac->irq, dmac); in axi_dmac_probe()
[all …]
H A Dpl330.c377 struct pl330_dmac *dmac; member
438 struct pl330_dmac *dmac; member
566 return thrd->dmac->manager == thrd; in is_manager()
1508 dev_info(thrd->dmac->ddma.dev, in pl330_submit_req()
1899 thrd->dmac = pl330; in dmac_alloc_threads()
1907 thrd->dmac = pl330; in dmac_alloc_threads()
2257 pch->dmac->quirks); in pl330_config_write()
2264 pch->dmac->quirks); in pl330_config_write()
2785 pl330 = pch->dmac; in pl330_prep_dma_memcpy()
2871 dev_err(pch->dmac->ddma.dev, in pl330_prep_slave_sg()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/dma/
H 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 …]
H 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 …]
H 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
110 dmac: dma-controller@11820000 {
111 compatible = "renesas,r9a07g044-dmac",
112 "renesas,rz-dmac";
H 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";
/openbmc/linux/drivers/dma/sh/
H A Drz-dmac.c834 if (!dmac->n_channels || dmac->n_channels > RZ_DMAC_MAX_CHANNELS) { in rz_dmac_parse_of()
846 struct rz_dmac *dmac; in rz_dmac_probe() local
852 dmac = devm_kzalloc(&pdev->dev, sizeof(*dmac), GFP_KERNEL); in rz_dmac_probe()
853 if (!dmac) in rz_dmac_probe()
856 dmac->dev = &pdev->dev; in rz_dmac_probe()
863 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in rz_dmac_probe()
865 if (!dmac->channels) in rz_dmac_probe()
870 if (IS_ERR(dmac->base)) in rz_dmac_probe()
894 if (IS_ERR(dmac->rstc)) in rz_dmac_probe()
910 ret = rz_dmac_chan_probe(dmac, &dmac->channels[i], i); in rz_dmac_probe()
[all …]
H 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 …]
H 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 …]
H 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
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dtc_flower_l2_miss.sh73 local dmac=00:01:02:03:04:05
109 bridge fdb del $dmac dev $swp2 master static
130 local dmac=$1; shift
187 local dmac=01:00:5e:01:01:01
199 local dmac=33:33:00:00:00:01
237 local dmac=$1; shift
246 local dmac=$1; shift
271 local dmac=01:00:5e:00:00:01
283 local dmac=33:33:00:00:00:01
300 local dmac=ff:ff:ff:ff:ff:ff
[all …]
H 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 …]
H A Dtc_flower_port_range.sh83 local dmac=$(mac_get $h2)
105 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
112 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
119 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
128 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
130 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
132 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
134 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
136 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
H A Dbridge_mdb.sh816 local dmac=$1; shift
878 local dmac=01:02:03:04:05:06
883 dst_mac $dmac action drop
887 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
894 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
900 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
907 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
933 local dmac=$1; shift
1025 local dmac=01:02:03:04:05:06
1030 dst_mac $dmac action drop
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H 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 …]
H A Dbridge_mdb.sh816 local dmac=$1; shift
878 local dmac=01:02:03:04:05:06
883 dst_mac $dmac action drop
887 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
894 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
900 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
907 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
933 local dmac=$1; shift
1025 local dmac=01:02:03:04:05:06
1030 dst_mac $dmac action drop
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dtest_bridge_backup_port.sh247 local dmac=00:11:22:33:44:55
260 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10"
265 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
343 local dmac=00:11:22:33:44:55
360 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10"
361 run_cmd "bridge -n $sw1 fdb replace $dmac dev vx0 self static dst 192.0.2.36 src_vni 10010"
479 local dmac=00:11:22:33:44:55
505 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10"
653 local dmac=00:11:22:33:44:55
671 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10"
[all …]
H A Dtest_vxlan_nolocalbypass.sh123 local dmac=00:0a:0b:0c:0d:0e
125 run_cmd "bridge -n ns1 fdb add $dmac dev vx0 self static dst 192.0.2.1 port 4790"
128 …ter add dev vx1 ingress pref 1 handle 101 proto all flower src_mac $smac dst_mac $dmac action pass"
136 run_cmd "ip netns exec ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
146 run_cmd "ip netns exec ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
156 run_cmd "ip netns exec ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
/openbmc/linux/sound/soc/sh/rcar/
H 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 …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfib_lookup.c36 __u8 dmac[6]; member
44 .dmac = DMAC_INIT, },
52 .dmac = DMAC_INIT, },
63 .dmac = DMAC_INIT2, },
71 .dmac = DMAC_INIT2, },
210 ret = memcmp(tests[i].dmac, fib_params->dmac, sizeof(tests[i].dmac)); in test_fib_lookup()
214 mac_str(expected, tests[i].dmac); in test_fib_lookup()
215 mac_str(actual, fib_params->dmac); in test_fib_lookup()
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H 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 …]
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Ddisp.c135 if (dmac->put != dmac->cur) { in nv50_dmac_kick()
148 NVIF_WV32(&dmac->base.user, NV507C, PUT, PTR, dmac->cur); in nv50_dmac_kick()
149 dmac->put = dmac->cur; in nv50_dmac_kick()
161 return dmac->max - dmac->cur; in nv50_dmac_free()
183 PUSH_RSVD(dmac->push, PUSH_JUMP(dmac->push, 0)); in nv50_dmac_wind()
198 if (dmac->cur + size >= dmac->max) { in nv50_dmac_wait()
257 dmac->ptr = dmac->_push.mem.object.map.ptr; in nv50_dmac_create()
260 dmac->push = &dmac->_push; in nv50_dmac_create()
261 dmac->push->bgn = dmac->_push.mem.object.map.ptr; in nv50_dmac_create()
262 dmac->push->cur = dmac->push->bgn; in nv50_dmac_create()
[all …]
/openbmc/linux/drivers/infiniband/hw/mlx5/
H 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()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H 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 …]
/openbmc/linux/sound/soc/intel/catpt/
H 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()

12345678910