/linux/Documentation/devicetree/bindings/dma/ |
H A 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 …]
|
H A 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 …]
|
H A D | socionext,uniphier-mio-dmac.yaml | 4 $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";
|
H A D | adi,axi-dmac.txt |
|
/linux/drivers/dma/ |
H A 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 229 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() [all …]
|
H A D | pl330.c | 318 * One cycle of DMAC operation. 370 /* A DMAC Thread */ 376 /* Parent DMAC */ 377 struct pl330_dmac *dmac; member 393 /* In the DMAC pool */ 433 /* Pointer to the DMAC that manages this channel, 435 * As the parent, this DMAC also provides descriptors 438 struct pl330_dmac *dmac; member 444 * Hardware channel thread of PL330 DMAC. NULL if the channel is 469 /* Pool of descriptors available for the DMAC's channels */ [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A 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 …]
|
H A 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 …]
|
H A D | tc_flower_port_range.sh | 84 local dmac=$(mac_get $h2) 106 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 113 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 120 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 129 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 131 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 133 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 135 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 137 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 206 local dmac=$(mac_get $h2) [all …]
|
H A D | bridge_mdb.sh | 1003 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/arch/sh/kernel/cpu/sh4/ |
H A 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),
|
H A D | setup-sh7760.c | 21 HUDI, GPIOI, DMAC, enumerator 45 INTC_VECT(DMAC, 0x640), INTC_VECT(DMAC, 0x660), 46 INTC_VECT(DMAC, 0x680), INTC_VECT(DMAC, 0x6a0), 47 INTC_VECT(DMAC, 0x780), INTC_VECT(DMAC, 0x7a0), 48 INTC_VECT(DMAC, 0x7c0), INTC_VECT(DMAC, 0x7e0), 49 INTC_VECT(DMAC, 0x6c0), 106 { 0xffd0000c, 0, 16, 4, /* IPRC */ { GPIOI, DMAC, 0, HUDI } },
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A 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 …]
|
/linux/tools/testing/selftests/net/ |
H A 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 …]
|
/linux/drivers/rapidio/devices/ |
H A 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() 309 "DMAC%d Attempt to start non-idle channel", in tsi721_start_dma() 316 "DMAC%d Attempt to start DMA with no BDs ready %d", in tsi721_start_dma() 321 tsi_debug(DMA, &bdma_chan->dchan.dev->device, "DMAC%d (wrc=%d) %d", in tsi721_start_dma() 428 tsi_err(ch_dev, "DMAC%d ERR: Attempt to use non-idle channel", in tsi721_submit_sg() 452 tsi_debug(DMA, ch_dev, "DMAC%d BD ring status: rdi=%d wri=%d", in tsi721_submit_sg() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | fib_lookup.c | 40 #define DMAC "11:11:11:11:11:11" macro 53 __u8 dmac[6]; member 62 .dmac = DMAC_INIT, }, 70 .dmac = DMAC_INIT, }, 81 .dmac = DMAC_INIT2, }, 89 .dmac = DMAC_INIT2, }, 165 SYS(fail, "ip neigh add %s dev veth1 lladdr %s nud stale", IPV6_NUD_STALE_ADDR, DMAC); in setup_netns() 169 SYS(fail, "ip neigh add %s dev veth1 lladdr %s nud stale", IPV4_NUD_STALE_ADDR, DMAC); in setup_netns() 355 ret = memcmp(tests[i].dmac, fib_params->dmac, sizeof(tests[i].dmac)); in test_fib_lookup() 356 if (!ASSERT_EQ(ret, 0, "dmac not match")) { in test_fib_lookup() [all …]
|
/linux/include/linux/ |
H A D | sh_dma.h | 34 * struct sh_dmae_channel - DMAC channel platform data 50 * struct sh_dmae_pdata - DMAC platform data 66 * @no_dmars: DMAC has no DMARS registers 67 * @chclr_present: DMAC has one or several CHCLR registers 69 * @slave_only: DMAC cannot be used for MEMCPY 99 /* Definitions for the SuperH DMAC */
|
/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | disp.c | 123 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/arch/sh/drivers/dma/ |
H A D | dmabrg.c | 20 * from the traditional SH DMAC (although it blocks usage of DMAC 0) 162 /* request DMAC channel 0 before anyone else can get it */ in dmabrg_init() 163 ret = request_dma(0, "DMAC 0 (DMABRG)"); in dmabrg_init() 165 printk(KERN_INFO "DMABRG: DMAC ch0 not reserved!\n"); in dmabrg_init() 170 __raw_writel(0x94000000, DMARSRA); /* enable DMABRG in DMAC 0 */ in dmabrg_init() 172 /* enable DMABRG mode, enable the DMAC */ in dmabrg_init()
|
H A D | Kconfig | 6 bool "SuperH on-chip DMA controller (DMAC) support" 41 DMAC supports. This will be 4 for SH7709/SH7750/SH7750S/SH7751/SH7091, 54 tristate "PowerVR 2 DMAC support" 58 As this chains off of the on-chip DMAC, that must also be
|
/linux/arch/sh/include/asm/ |
H A D | dma.h | 18 * channel configuration. Consult your DMAC documentation and module 28 * DMAC (dma_info) flags 42 * Transfer end interrupt, inherited from DMAC. 62 char dev_id[16]; /* unique name per DMAC of channel */ 64 unsigned int chan; /* DMAC channel number */
|
/linux/drivers/net/ethernet/renesas/ |
H A D | sh_eth.h | 28 /* E-DMAC registers */ 511 unsigned hw_swap:1; /* E-DMAC has DE bit in EDMR */ 512 unsigned nbst:1; /* E-DMAC has NBST bit in EDMR */ 513 unsigned rpadir:1; /* E-DMAC has RPADIR */ 514 unsigned no_trimd:1; /* E-DMAC DOES NOT have TRIMD */ 515 unsigned no_ade:1; /* E-DMAC DOES NOT have ADE bit in EESR */ 516 unsigned no_xdfar:1; /* E-DMAC DOES NOT have RDFAR/TDFAR */ 517 unsigned xdfar_rw:1; /* E-DMAC has writeable RDFAR/TDFAR */ 518 unsigned csmr:1; /* E-DMAC has CSMR */ 526 unsigned dual_port:1; /* Dual EtherC/E-DMAC */
|
/linux/arch/sh/kernel/cpu/sh3/ |
H A D | setup-sh7705.c | 26 DMAC, SCIF0, SCIF2, ADC_ADI, USB, enumerator 37 INTC_VECT(DMAC, 0x800), INTC_VECT(DMAC, 0x820), 38 INTC_VECT(DMAC, 0x840), INTC_VECT(DMAC, 0x860), 60 { 0xa400001a, 0, 16, 4, /* IPRE */ { DMAC, SCIF0, SCIF2, ADC_ADI } },
|
/linux/drivers/mmc/host/ |
H A D | renesas_sdhi_internal_dmac.c | 3 * DMA support for Internal DMAC with SDHI SD/SDIO controller 71 * - Since this SDHI DMAC register set has 16 but 32-bit width, we 77 * Workaround for avoiding to use RX DMAC by multiple channels. On R-Car M3-W 78 * ES1.0, when multiple SDHI channels use RX DMAC simultaneously, sometimes 80 * DMAC interrupt happened. So, this driver then uses one RX DMAC channel only. 103 /* DMAC can handle 32bit blk count but only 1 segment */ 118 /* DMAC can handle 32bit blk count but only 1 segment */ 134 /* DMAC can handle 32bit blk count but only 1 segment */ 395 /* This DMAC needs buffers to be 128-byte aligned */ in renesas_sdhi_internal_dmac_map() 453 /* start the DMAC */ in renesas_sdhi_internal_dmac_issue_work_fn() [all …]
|
/linux/drivers/dma/sh/ |
H A D | Makefile | 16 obj-$(CONFIG_RCAR_DMAC) += rcar-dmac.o 17 obj-$(CONFIG_RENESAS_USB_DMAC) += usb-dmac.o 18 obj-$(CONFIG_RZ_DMAC) += rz-dmac.o
|