| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/ |
| D | renesas,usb-dmac.yaml | 4 $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 …]
|
| D | renesas,rcar-dmac.yaml | 4 $id: http://devicetree.org/schemas/dma/renesas,rcar-dmac.yaml# 19 - renesas,dmac-r8a7742 # RZ/G1H 20 - renesas,dmac-r8a7743 # RZ/G1M 21 - renesas,dmac-r8a7744 # RZ/G1N 22 - renesas,dmac-r8a7745 # RZ/G1E 23 - renesas,dmac-r8a77470 # RZ/G1C 24 - renesas,dmac-r8a774a1 # RZ/G2M 25 - renesas,dmac-r8a774b1 # RZ/G2N 26 - renesas,dmac-r8a774c0 # RZ/G2E 27 - renesas,dmac-r8a774e1 # RZ/G2H [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/dma/ |
| D | renesas,usb-dmac.yaml | 4 $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 …]
|
| D | renesas,rcar-dmac.yaml | 4 $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 …]
|
| D | renesas,rz-dmac.yaml | 4 $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 65 The cell specifies the encoded MID/RID values of the DMAC port 110 dmac: dma-controller@11820000 { 111 compatible = "renesas,r9a07g044-dmac", 112 "renesas,rz-dmac";
|
| /kernel/linux/linux-6.6/drivers/dma/ |
| D | dma-axi-dmac.c | 3 * Driver for the Analog Devices AXI-DMAC core 27 #include <dt-bindings/dma/axi-dmac.h> 33 * The AXI-DMAC is a soft IP core that is used in FPGA designs. The core has 209 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/ |
| D | dma-axi-dmac.c | 3 * Driver for the Analog Devices AXI-DMAC core 26 #include <dt-bindings/dma/axi-dmac.h> 32 * The AXI-DMAC is a soft IP core that is used in FPGA designs. The core has 205 struct axi_dmac *dmac = chan_to_axi_dmac(chan); in axi_dmac_start_transfer() local 212 val = axi_dmac_read(dmac, AXI_DMAC_REG_START_TRANSFER); in axi_dmac_start_transfer() 245 sg->id = axi_dmac_read(dmac, AXI_DMAC_REG_TRANSFER_ID); in axi_dmac_start_transfer() 248 axi_dmac_write(dmac, AXI_DMAC_REG_DEST_ADDRESS, sg->dest_addr); in axi_dmac_start_transfer() 249 axi_dmac_write(dmac, AXI_DMAC_REG_DEST_STRIDE, sg->dest_stride); in axi_dmac_start_transfer() 253 axi_dmac_write(dmac, AXI_DMAC_REG_SRC_ADDRESS, sg->src_addr); in axi_dmac_start_transfer() 254 axi_dmac_write(dmac, AXI_DMAC_REG_SRC_STRIDE, sg->src_stride); in axi_dmac_start_transfer() [all …]
|
| /kernel/linux/linux-6.6/drivers/dma/sh/ |
| D | rz-dmac.c | 175 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 …]
|
| D | usb-dmac.c | 7 * based on rcar-dmac.c 46 * @residue: residue after the DMAC completed a transfer 48 * @done_cookie: cookie after the DMAC completed a transfer 74 * @desc_freed: freed descriptors after the DMAC completed a transfer 95 * @channels: array of DMAC channels 151 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 [all …]
|
| D | rcar-dmac.c | 195 * @channels: array of DMAC channels 214 #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 220 * @chan_offset_base: DMAC channels base offset 221 * @chan_offset_stride: DMAC channels offset stride 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 [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/sh/ |
| D | usb-dmac.c | 7 * based on rcar-dmac.c 46 * @residue: residue after the DMAC completed a transfer 48 * @done_cookie: cookie after the DMAC completed a transfer 74 * @desc_freed: freed descriptors after the DMAC completed a transfer 95 * @channels: array of DMAC channels 151 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 [all …]
|
| D | rcar-dmac.c | 194 * @channels: array of DMAC channels 214 * @chan_offset_base: DMAC channels base offset 215 * @chan_offset_stride: DMAC channels offset stride 303 static void rcar_dmac_write(struct rcar_dmac *dmac, u32 reg, u32 data) in rcar_dmac_write() argument 306 writew(data, dmac->iomem + reg); in rcar_dmac_write() 308 writel(data, dmac->iomem + reg); in rcar_dmac_write() 311 static u32 rcar_dmac_read(struct rcar_dmac *dmac, u32 reg) in rcar_dmac_read() argument 314 return readw(dmac->iomem + reg); in rcar_dmac_read() 316 return readl(dmac->iomem + reg); in rcar_dmac_read() 383 * first descriptor at beginning of transfer by the DMAC like it in rcar_dmac_chan_start_xfer() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
| D | tc_flower_l2_miss.sh | 73 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 …]
|
| D | no_forwarding.sh | 35 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/dsa/ |
| D | no_forwarding.sh | 35 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 …]
|
| /kernel/linux/linux-6.6/drivers/dma/dw-axi-dmac/ |
| D | dw-axi-dmac.h | 151 #define DMAC_ID 0x000 /* R DMAC ID */ 152 #define DMAC_COMPVER 0x008 /* R DMAC Component Version */ 153 #define DMAC_CFG 0x010 /* R/W DMAC Configuration */ 154 #define DMAC_CHEN 0x018 /* R/W DMAC Channel Enable */ 155 #define DMAC_CHEN_L 0x018 /* R/W DMAC Channel Enable 00-31 */ 156 #define DMAC_CHEN_H 0x01C /* R/W DMAC Channel Enable 32-63 */ 157 #define DMAC_CHSUSPREG 0x020 /* R/W DMAC Channel Suspend */ 158 #define DMAC_CHABORTREG 0x028 /* R/W DMAC Channel Abort */ 159 #define DMAC_INTSTATUS 0x030 /* R DMAC Interrupt Status */ 160 #define DMAC_COMMON_INTCLEAR 0x038 /* W DMAC Interrupt Clear */ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/sh/rcar/ |
| D | dma.c | 3 // Renesas R-Car Audio DMAC support 13 * Audio DMAC peri peri register 67 * Audio DMAC 174 * in case of monaural data writing or reading through Audio-DMAC in rsnd_dmaen_start() 273 struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv); in rsnd_dmaen_attach() local 301 dmac->dmaen_num++; in rsnd_dmaen_attach() 338 * Audio DMAC peri peri 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 [all …]
|
| /kernel/linux/linux-5.10/sound/soc/sh/rcar/ |
| D | dma.c | 3 // Renesas R-Car Audio DMAC support 13 * Audio DMAC peri peri register 66 * Audio DMAC 173 * in case of monaural data writing or reading through Audio-DMAC in rsnd_dmaen_start() 263 struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv); in rsnd_dmaen_attach() local 291 dmac->dmaen_num++; in rsnd_dmaen_attach() 328 * Audio DMAC peri peri 417 #define rsnd_dmapp_addr(dmac, dma, reg) \ argument 418 (dmac->base + 0x20 + reg + \ 424 struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv); in rsnd_dmapp_write() local [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
| D | devlink_trap_l2_drops.sh | 119 local dmac=de:ad:be:ef:13:37 128 flower dst_mac $dmac action drop 130 $MZ $h1 "$opt" -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q & 179 local dmac=de:ad:be:ef:13:37 188 flower dst_mac $dmac action drop 190 $MZ $h1 -Q $vid -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q & 221 local dmac=de:ad:be:ef:13:37 231 flower dst_mac $dmac action drop 233 $MZ $h1 -Q $vid -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q & 290 local dmac=de:ad:be:ef:13:37 [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| D | fib_lookup.c | 25 #define DMAC "11:11:11:11:11:11" macro 36 __u8 dmac[6]; member 44 .dmac = DMAC_INIT, }, 52 .dmac = DMAC_INIT, }, 63 .dmac = DMAC_INIT2, }, 71 .dmac = DMAC_INIT2, }, 94 SYS(fail, "ip neigh add %s dev veth1 lladdr %s nud stale", IPV6_NUD_STALE_ADDR, DMAC); in setup_netns() 98 SYS(fail, "ip neigh add %s dev veth1 lladdr %s nud stale", IPV4_NUD_STALE_ADDR, DMAC); in setup_netns() 210 ret = memcmp(tests[i].dmac, fib_params->dmac, sizeof(tests[i].dmac)); in test_fib_lookup() 211 if (!ASSERT_EQ(ret, 0, "dmac not match")) { in test_fib_lookup() [all …]
|
| /kernel/linux/linux-6.6/arch/sh/kernel/cpu/sh4/ |
| D | setup-sh7750.c | 182 HUDI, GPIOI, DMAC, enumerator 208 { 0xffd0000c, 0, 16, 4, /* IPRC */ { GPIOI, DMAC, SCIF, HUDI } }, 224 INTC_VECT(DMAC, 0x640), INTC_VECT(DMAC, 0x660), 225 INTC_VECT(DMAC, 0x680), INTC_VECT(DMAC, 0x6a0), 226 INTC_VECT(DMAC, 0x6c0), 237 INTC_VECT(DMAC, 0x640), INTC_VECT(DMAC, 0x660), 238 INTC_VECT(DMAC, 0x680), INTC_VECT(DMAC, 0x6a0), 239 INTC_VECT(DMAC, 0x780), INTC_VECT(DMAC, 0x7a0), 240 INTC_VECT(DMAC, 0x7c0), INTC_VECT(DMAC, 0x7e0), 241 INTC_VECT(DMAC, 0x6c0),
|
| /kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4/ |
| D | setup-sh7750.c | 182 HUDI, GPIOI, DMAC, enumerator 208 { 0xffd0000c, 0, 16, 4, /* IPRC */ { GPIOI, DMAC, SCIF, HUDI } }, 224 INTC_VECT(DMAC, 0x640), INTC_VECT(DMAC, 0x660), 225 INTC_VECT(DMAC, 0x680), INTC_VECT(DMAC, 0x6a0), 226 INTC_VECT(DMAC, 0x6c0), 237 INTC_VECT(DMAC, 0x640), INTC_VECT(DMAC, 0x660), 238 INTC_VECT(DMAC, 0x680), INTC_VECT(DMAC, 0x6a0), 239 INTC_VECT(DMAC, 0x780), INTC_VECT(DMAC, 0x7a0), 240 INTC_VECT(DMAC, 0x7c0), INTC_VECT(DMAC, 0x7e0), 241 INTC_VECT(DMAC, 0x6c0),
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
| D | devlink_trap_l2_drops.sh | 120 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| D | test_bridge_backup_port.sh | 247 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 …]
|
| /kernel/linux/linux-6.6/drivers/rapidio/devices/ |
| D | tsi721_dma.c | 75 tsi_debug(DMA, &bdma_chan->dchan.dev->device, "DMAC%d", bdma_chan->id); in tsi721_bdma_ch_init() 92 "DMAC%d descriptors @ %p (phys = %pad)", in tsi721_bdma_ch_init() 116 "DMAC%d desc status FIFO @ %p (phys = %pad) size=0x%x", in tsi721_bdma_ch_init() 157 "Unable to get MSI-X for DMAC%d-DONE", in tsi721_bdma_ch_init() 169 "Unable to get MSI-X for DMAC%d-INT", in tsi721_bdma_ch_init() 307 "DMAC%d Attempt to start non-idle channel", in tsi721_start_dma() 314 "DMAC%d Attempt to start DMA with no BDs ready %d", in tsi721_start_dma() 319 tsi_debug(DMA, &bdma_chan->dchan.dev->device, "DMAC%d (wrc=%d) %d", in tsi721_start_dma() 426 tsi_err(ch_dev, "DMAC%d ERR: Attempt to use non-idle channel", in tsi721_submit_sg() 450 tsi_debug(DMA, ch_dev, "DMAC%d BD ring status: rdi=%d wri=%d", in tsi721_submit_sg() [all …]
|