Home
last modified time | relevance | path

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

1234567

/linux/drivers/dma/
H A Ddma-axi-dmac.c229 struct axi_dmac *dmac = chan_to_axi_dmac(chan); in axi_dmac_start_transfer() local
237 val = axi_dmac_read(dmac, AXI_DMAC_REG_START_TRANSFER); in axi_dmac_start_transfer()
272 sg->hw->id = axi_dmac_read(dmac, AXI_DMAC_REG_TRANSFER_ID); in axi_dmac_start_transfer()
276 axi_dmac_write(dmac, AXI_DMAC_REG_DEST_ADDRESS, sg->hw->dest_addr); in axi_dmac_start_transfer()
277 axi_dmac_write(dmac, AXI_DMAC_REG_DEST_STRIDE, sg->hw->dst_stride); in axi_dmac_start_transfer()
281 axi_dmac_write(dmac, AXI_DMAC_REG_SRC_ADDRESS, sg->hw->src_addr); in axi_dmac_start_transfer()
282 axi_dmac_write(dmac, AXI_DMAC_REG_SRC_STRIDE, sg->hw->src_stride); in axi_dmac_start_transfer()
301 axi_dmac_write(dmac, AXI_DMAC_REG_SG_ADDRESS, (u32)sg->hw_phys); in axi_dmac_start_transfer()
302 axi_dmac_write(dmac, AXI_DMAC_REG_SG_ADDRESS_HIGH, in axi_dmac_start_transfer()
305 axi_dmac_write(dmac, AXI_DMAC_REG_X_LENGTH, sg->hw->x_len); in axi_dmac_start_transfer()
[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()
572 return (thrd->dmac->pcfg.mode & DMAC_MODE_NS) ? true : false; in _manager_ns()
873 void __iomem *regs = thrd->dmac->base; in _until_dmac_idle()
893 void __iomem *regs = thrd->dmac->base; in _execute_DBGINSN()
898 dev_err(thrd->dmac->ddma.dev, "DMAC halted!\n"); in _execute_DBGINSN()
918 void __iomem *regs = thrd->dmac->base; in _state()
976 void __iomem *regs = thrd->dmac->base; in _stop()
1003 void __iomem *regs = thrd->dmac->base; in _trigger()
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Dtc_flower_l2_miss.sh73 local dmac=00:01:02:03:04:05
81 flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \
85 flower indev $swp1 l2_miss 0 dst_mac $dmac src_ip $sip \
89 $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q
98 bridge fdb replace $dmac dev $swp2 master static
100 $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q
109 bridge fdb del $dmac dev $swp2 master static
111 $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q
130 local dmac=$1; shift
146 $MZ $mode $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q
[all …]
H A Dno_forwarding.sh35 local dmac=$3
37 $MZ -q $if_name "$dmac $smac $NON_IP_PKT"
43 local dmac=$2
45 ip neigh add $H2_IPV4 lladdr $dmac dev $if_name
60 local dmac=$2
62 ip -6 neigh add $H2_IPV6 lladdr $dmac dev $if_name
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
[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.sh1003 local dmac=$1; shift
1026 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
1033 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
1039 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
1046 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
1065 local dmac=01:02:03:04:05:06
1070 dst_mac $dmac action drop
1074 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
1080 bridge mdb add dev br0 port $swp2 grp $dmac permanent vid 10
1081 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
[all …]
/linux/tools/testing/selftests/net/
H A Dtest_bridge_backup_port.sh247 local dmac=00:11:22:33:44:55
255 … replace dev swp1 egress pref 1 handle 101 proto ip flower src_mac $smac dst_mac $dmac action pass"
258 …r replace dev vx0 egress pref 1 handle 101 proto ip flower src_mac $smac dst_mac $dmac action pass"
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 …
275 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
292 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
302 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
312 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
324 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
[all …]
H A Dtest_vxlan_nolocalbypass.sh121 local dmac=00:0a:0b:0c:0d:0e
123 run_cmd "bridge -n $ns1 fdb add $dmac dev vx0 self static dst 192.0.2.1 port 4790"
126 …ter add dev vx1 ingress pref 1 handle 101 proto all flower src_mac $smac dst_mac $dmac action pass"
134 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
144 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
154 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
/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
131 $MZ $h1 "$opt" -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
180 local dmac=de:ad:be:ef:13:37
189 flower dst_mac $dmac action drop
191 $MZ $h1 -Q $vid -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
222 local dmac=de:ad:be:ef:13:37
232 flower dst_mac $dmac action drop
234 $MZ $h1 -Q $vid -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
291 local dmac=de:ad:be:ef:13:37
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Ddisp.c123 nv50_dmac_destroy(struct nv50_dmac *dmac) in nv50_dmac_destroy() argument
125 nvif_object_dtor(&dmac->vram); in nv50_dmac_destroy()
126 nvif_object_dtor(&dmac->sync); in nv50_dmac_destroy()
128 nv50_chan_destroy(&dmac->base); in nv50_dmac_destroy()
130 nvif_mem_dtor(&dmac->push.mem); in nv50_dmac_destroy()
136 struct nv50_dmac *dmac = container_of(push, typeof(*dmac), push); in nv50_dmac_kick() local
138 dmac->cur = push->cur - (u32 __iomem *)dmac->push.mem.object.map.ptr; in nv50_dmac_kick()
139 if (dmac->put != dmac->cur) { in nv50_dmac_kick()
143 if (dmac->push.mem.type & NVIF_MEM_VRAM) { in nv50_dmac_kick()
144 struct nvif_device *device = dmac->base.device; in nv50_dmac_kick()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfib_lookup.c53 __u8 dmac[6]; member
62 .dmac = DMAC_INIT, },
70 .dmac = DMAC_INIT, },
81 .dmac = DMAC_INIT2, },
89 .dmac = DMAC_INIT2, },
355 ret = memcmp(tests[i].dmac, fib_params->dmac, sizeof(tests[i].dmac)); in test_fib_lookup()
359 mac_str(expected, tests[i].dmac); in test_fib_lookup()
360 mac_str(actual, fib_params->dmac); in test_fib_lookup()
/linux/drivers/dma/sh/
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
/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()
/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()
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c203 u64 dmac = U64_MAX; in sja1105_flower_parse_key() local
251 dmac = ether_addr_to_u64(match.key->dst); in sja1105_flower_parse_key()
284 if (dmac == U64_MAX && vid == U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key()
289 if (dmac != U64_MAX && vid != U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key()
291 key->vl.dmac = dmac; in sja1105_flower_parse_key()
296 if (dmac != U64_MAX) { in sja1105_flower_parse_key()
298 key->vl.dmac = dmac; in sja1105_flower_parse_key()
/linux/arch/mips/boot/dts/ingenic/
H A Djz4725b.dtsi207 dmas = <&dmac 25 0xffffffff>, <&dmac 24 0xffffffff>;
231 dmas = <&dmac 27 0xffffffff>, <&dmac 26 0xffffffff>;
249 dmas = <&dmac 31 0xffffffff>, <&dmac 30 0xffffffff>;
295 dmac: dma-controller@13020000 { label
/linux/arch/arm64/boot/dts/renesas/
H A Dr9a07g043.dtsi160 dmas = <&dmac 0x2655>, <&dmac 0x2656>;
180 dmas = <&dmac 0x2659>, <&dmac 0x265a>;
199 dmas = <&dmac 0x265f>;
219 dmas = <&dmac 0x2661>, <&dmac 0x2662>;
235 dmas = <&dmac 0x2e95>, <&dmac 0x2e96>;
253 dmas = <&dmac 0x2e99>, <&dmac 0x2e9a>;
271 dmas = <&dmac 0x2e9d>, <&dmac 0x2e9e>;
609 dmac: dma-controller@11820000 { label
610 compatible = "renesas,r9a07g043-dmac",
611 "renesas,rz-dmac";
/linux/arch/arm/boot/dts/rockchip/
H A Drv1126.dtsi263 dmas = <&dmac 7>, <&dmac 6>;
378 dmac: dma-controller@ff4e0000 { label
454 dmas = <&dmac 5>, <&dmac 4>;
470 dmas = <&dmac 9>, <&dmac 8>;
486 dmas = <&dmac 11>, <&dmac 10>;
502 dmas = <&dmac 13>, <&dmac 12>;
518 dmas = <&dmac 15>, <&dmac 14>;
561 dmas = <&dmac 20>, <&dmac 19>;
/linux/include/net/
H A Dllc_sap.h29 unsigned char *dmac, unsigned char dsap);
31 unsigned char *dmac, unsigned char dsap);
/linux/drivers/net/ethernet/mscc/
H A Docelot_mrp.c68 ether_addr_copy(filter->key.etype.dmac.value, mrp_test_dmac); in ocelot_mrp_redirect_add_vcap()
69 ether_addr_copy(filter->key.etype.dmac.mask, mrp_test_mask); in ocelot_mrp_redirect_add_vcap()
87 ether_addr_copy(filter->key.etype.dmac.value, mrp_test_dmac); in ocelot_populate_mrp_trap_key()
88 ether_addr_copy(filter->key.etype.dmac.mask, mrp_mask); in ocelot_populate_mrp_trap_key()
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_misc.c285 memcpy(dst->roce.dmac, &src->dmac, ETH_ALEN); in pvrdma_ah_attr_to_rdma()
298 memcpy(&dst->dmac, src->roce.dmac, sizeof(dst->dmac)); in rdma_ah_attr_to_pvrdma()
/linux/drivers/net/wan/
H A Dhd64570.c160 u16 dmac = transmit ? get_dmac_tx(port) : get_dmac_rx(port); in sca_init_port() local
183 sca_out(0, dmac + CPB, card); /* pointer base */ in sca_init_port()
184 sca_outw(desc_offset(port, 0, transmit), dmac + CDAL, card); in sca_init_port()
187 dmac + EDAL, card); in sca_init_port()
189 sca_outw(desc_offset(port, 0, transmit), dmac + EDAL, in sca_init_port()
198 sca_outw(HDLC_MAX_MRU, dmac + BFLL, card); in sca_init_port()
287 u16 dmac = get_dmac_rx(port); in sca_rx_intr() local
302 u32 cda = sca_inw(dmac + CDAL, card); in sca_rx_intr()
327 sca_outw(desc_off, dmac + EDAL, card); in sca_rx_intr()
339 u16 dmac = get_dmac_tx(port); in sca_tx_intr() local
[all …]
/linux/arch/mips/include/asm/mach-rc32434/
H 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()
/linux/net/llc/
H A Dllc_output.c59 const unsigned char *dmac, unsigned char dsap) in llc_build_and_send_ui_pkt() argument
65 rc = llc_mac_hdr_init(skb, skb->dev->dev_addr, dmac); in llc_build_and_send_ui_pkt()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c105 memcpy(e->dmac, e->neigh->ha, sizeof(e->dmac)); in setup_l2e_send_pending()
106 memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); in setup_l2e_send_pending()
292 if (memcmp(e->dmac, neigh->ha, sizeof(e->dmac)) || in reuse_entry()
433 if (!ether_addr_equal(e->dmac, neigh->ha)) in t3_l2t_update()

1234567