Home
last modified time | relevance | path

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

123456789

/linux-6.6.21/drivers/dma/
Ddma-axi-dmac.c209 struct axi_dmac *dmac = chan_to_axi_dmac(chan); in axi_dmac_start_transfer() local
216 val = axi_dmac_read(dmac, AXI_DMAC_REG_START_TRANSFER); in axi_dmac_start_transfer()
249 sg->id = axi_dmac_read(dmac, AXI_DMAC_REG_TRANSFER_ID); in axi_dmac_start_transfer()
252 axi_dmac_write(dmac, AXI_DMAC_REG_DEST_ADDRESS, sg->dest_addr); in axi_dmac_start_transfer()
253 axi_dmac_write(dmac, AXI_DMAC_REG_DEST_STRIDE, sg->dest_stride); in axi_dmac_start_transfer()
257 axi_dmac_write(dmac, AXI_DMAC_REG_SRC_ADDRESS, sg->src_addr); in axi_dmac_start_transfer()
258 axi_dmac_write(dmac, AXI_DMAC_REG_SRC_STRIDE, sg->src_stride); in axi_dmac_start_transfer()
273 axi_dmac_write(dmac, AXI_DMAC_REG_X_LENGTH, sg->x_len - 1); in axi_dmac_start_transfer()
274 axi_dmac_write(dmac, AXI_DMAC_REG_Y_LENGTH, sg->y_len - 1); in axi_dmac_start_transfer()
275 axi_dmac_write(dmac, AXI_DMAC_REG_FLAGS, flags); in axi_dmac_start_transfer()
[all …]
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-6.6.21/Documentation/devicetree/bindings/dma/
Drenesas,rcar-dmac.yaml4 $id: http://devicetree.org/schemas/dma/renesas,rcar-dmac.yaml#
20 - 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
28 - renesas,dmac-r8a774e1 # RZ/G2H
[all …]
Drenesas,usb-dmac.yaml4 $id: http://devicetree.org/schemas/dma/renesas,usb-dmac.yaml#
19 - 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
[all …]
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";
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.6.21/drivers/dma/sh/
Drz-dmac.c175 static void rz_dmac_writel(struct rz_dmac *dmac, unsigned int val, in rz_dmac_writel() argument
178 writel(val, dmac->base + offset); in rz_dmac_writel()
181 static void rz_dmac_ext_writel(struct rz_dmac *dmac, unsigned int val, in rz_dmac_ext_writel() argument
184 writel(val, dmac->ext_base + offset); in rz_dmac_ext_writel()
187 static u32 rz_dmac_ext_readl(struct rz_dmac *dmac, unsigned int offset) in rz_dmac_ext_readl() argument
189 return readl(dmac->ext_base + offset); in rz_dmac_ext_readl()
256 struct rz_dmac *dmac = to_rz_dmac(chan->device); in rz_dmac_enable_hw() local
262 dev_dbg(dmac->dev, "%s channel %d\n", __func__, channel->index); in rz_dmac_enable_hw()
287 struct rz_dmac *dmac = to_rz_dmac(chan->device); in rz_dmac_disable_hw() local
290 dev_dbg(dmac->dev, "%s channel %d\n", __func__, channel->index); in rz_dmac_disable_hw()
[all …]
Dusb-dmac.c151 static void usb_dmac_write(struct usb_dmac *dmac, u32 reg, u32 data) in usb_dmac_write() argument
153 writel(data, dmac->iomem + reg); in usb_dmac_write()
156 static u32 usb_dmac_read(struct usb_dmac *dmac, u32 reg) in usb_dmac_read() argument
158 return readl(dmac->iomem + reg); in usb_dmac_read()
244 static int usb_dmac_init(struct usb_dmac *dmac) in usb_dmac_init() argument
249 usb_dmac_write(dmac, USB_DMAOR, USB_DMAOR_DME); in usb_dmac_init()
251 dmaor = usb_dmac_read(dmac, USB_DMAOR); in usb_dmac_init()
253 dev_warn(dmac->dev, "DMAOR initialization failed.\n"); in usb_dmac_init()
346 struct usb_dmac *dmac = to_usb_dmac(chan->device); in usb_dmac_soft_reset() local
350 for (i = 0; i < dmac->n_channels; ++i) { in usb_dmac_soft_reset()
[all …]
Drcar-dmac.c214 #define for_each_rcar_dmac_chan(i, dmac, chan) \ argument
215 for (i = 0, chan = &(dmac)->channels[0]; i < (dmac)->n_channels; i++, chan++) \
216 if (!((dmac)->channels_mask & BIT(i))) continue; else
312 static void rcar_dmac_write(struct rcar_dmac *dmac, u32 reg, u32 data) in rcar_dmac_write() argument
315 writew(data, dmac->dmac_base + reg); in rcar_dmac_write()
317 writel(data, dmac->dmac_base + reg); in rcar_dmac_write()
320 static u32 rcar_dmac_read(struct rcar_dmac *dmac, u32 reg) in rcar_dmac_read() argument
323 return readw(dmac->dmac_base + reg); in rcar_dmac_read()
325 return readl(dmac->dmac_base + reg); in rcar_dmac_read()
344 static void rcar_dmac_chan_clear(struct rcar_dmac *dmac, in rcar_dmac_chan_clear() argument
[all …]
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.6.21/tools/testing/selftests/net/forwarding/
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 …]
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 …]
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 \
Dbridge_mdb.sh816 local dmac=$1; shift
839 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
846 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
852 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
859 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
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
893 bridge mdb add dev br0 port $swp2 grp $dmac permanent vid 10
894 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
[all …]
/linux-6.6.21/tools/testing/selftests/drivers/net/dsa/
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 …]
Dbridge_mdb.sh816 local dmac=$1; shift
839 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
846 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
852 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
859 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
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
893 bridge mdb add dev br0 port $swp2 grp $dmac permanent vid 10
894 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
[all …]
/linux-6.6.21/tools/testing/selftests/net/
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 …]
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"
/linux-6.6.21/sound/soc/sh/rcar/
Ddma.c273 struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv); in rsnd_dmaen_attach() local
301 dmac->dmaen_num++; in rsnd_dmaen_attach()
427 #define rsnd_dmapp_addr(dmac, dma, reg) \ argument
428 (dmac->ppbase + 0x20 + reg + \
434 struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv); in rsnd_dmapp_write() local
437 dev_dbg(dev, "w 0x%px : %08x\n", rsnd_dmapp_addr(dmac, dma, reg), data); in rsnd_dmapp_write()
439 iowrite32(data, rsnd_dmapp_addr(dmac, dma, reg)); in rsnd_dmapp_write()
446 struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv); in rsnd_dmapp_read() local
448 return ioread32(rsnd_dmapp_addr(dmac, dma, reg)); in rsnd_dmapp_read()
455 struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv); in rsnd_dmapp_bset() local
[all …]
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/
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-6.6.21/tools/testing/selftests/bpf/prog_tests/
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()
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c119 nv50_dmac_destroy(struct nv50_dmac *dmac) in nv50_dmac_destroy() argument
121 nvif_object_dtor(&dmac->vram); in nv50_dmac_destroy()
122 nvif_object_dtor(&dmac->sync); in nv50_dmac_destroy()
124 nv50_chan_destroy(&dmac->base); in nv50_dmac_destroy()
126 nvif_mem_dtor(&dmac->_push.mem); in nv50_dmac_destroy()
132 struct nv50_dmac *dmac = container_of(push, typeof(*dmac), _push); in nv50_dmac_kick() local
134 dmac->cur = push->cur - (u32 __iomem *)dmac->_push.mem.object.map.ptr; in nv50_dmac_kick()
135 if (dmac->put != dmac->cur) { in nv50_dmac_kick()
139 if (dmac->push->mem.type & NVIF_MEM_VRAM) { in nv50_dmac_kick()
140 struct nvif_device *device = dmac->base.device; in nv50_dmac_kick()
[all …]
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
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 …]
/linux-6.6.21/drivers/infiniband/hw/mlx5/
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.6.21/sound/soc/intel/catpt/
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()

123456789