/linux-master/drivers/dma/dw-axi-dmac/ |
H A D | Makefile | 2 obj-$(CONFIG_DW_AXI_DMAC) += dw-axi-dmac-platform.o
|
/linux-master/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
|
H A D | rz-dmac.c | 175 static void rz_dmac_writel(struct rz_dmac *dmac, unsigned int val, argument 178 writel(val, dmac->base + offset); 181 static void rz_dmac_ext_writel(struct rz_dmac *dmac, unsigned int val, argument 184 writel(val, dmac->ext_base + offset); 187 static u32 rz_dmac_ext_readl(struct rz_dmac *dmac, unsigned int offset) argument 189 return readl(dmac->ext_base + offset); 256 struct rz_dmac *dmac = to_rz_dmac(chan->device); local 262 dev_dbg(dmac->dev, "%s channel %d\n", __func__, channel->index); 287 struct rz_dmac *dmac = to_rz_dmac(chan->device); local 290 dev_dbg(dmac 297 rz_dmac_set_dmars_register(struct rz_dmac *dmac, int nr, u32 dmars) argument 313 struct rz_dmac *dmac = to_rz_dmac(chan->device); local 336 struct rz_dmac *dmac = to_rz_dmac(chan->device); local 440 struct rz_dmac *dmac = to_rz_dmac(chan->device); local 476 struct rz_dmac *dmac = to_rz_dmac(chan->device); local 553 struct rz_dmac *dmac = to_rz_dmac(chan->device); local 638 struct rz_dmac *dmac = to_rz_dmac(chan->device); local 658 struct rz_dmac *dmac = to_rz_dmac(chan->device); local 724 struct rz_dmac *dmac = to_rz_dmac(chan->device); local 756 rz_dmac_chan_probe(struct rz_dmac *dmac, struct rz_dmac_chan *channel, u8 index) argument 823 rz_dmac_parse_of(struct device *dev, struct rz_dmac *dmac) argument 846 struct rz_dmac *dmac; local 974 struct rz_dmac *dmac = platform_get_drvdata(pdev); local [all...] |
H A D | usb-dmac.c | 7 * based on rcar-dmac.c 151 static void usb_dmac_write(struct usb_dmac *dmac, u32 reg, u32 data) argument 153 writel(data, dmac->iomem + reg); 156 static u32 usb_dmac_read(struct usb_dmac *dmac, u32 reg) argument 158 return readl(dmac->iomem + reg); 244 static int usb_dmac_init(struct usb_dmac *dmac) argument 249 usb_dmac_write(dmac, USB_DMAOR, USB_DMAOR_DME); 251 dmaor = usb_dmac_read(dmac, USB_DMAOR); 253 dev_warn(dmac->dev, "DMAOR initialization failed.\n"); 346 struct usb_dmac *dmac local 372 usb_dmac_stop(struct usb_dmac *dmac) argument 676 struct usb_dmac *dmac = dev_get_drvdata(dev); local 690 struct usb_dmac *dmac = dev_get_drvdata(dev); local 707 usb_dmac_chan_probe(struct usb_dmac *dmac, struct usb_dmac_chan *uchan, u8 index) argument 746 usb_dmac_parse_of(struct device *dev, struct usb_dmac *dmac) argument 770 struct usb_dmac *dmac; local 862 usb_dmac_chan_remove(struct usb_dmac *dmac, struct usb_dmac_chan *uchan) argument 871 struct usb_dmac *dmac = platform_get_drvdata(pdev); local 884 struct usb_dmac *dmac = platform_get_drvdata(pdev); local [all...] |
H A D | rcar-dmac.c | 214 #define for_each_rcar_dmac_chan(i, dmac, chan) \ 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) argument 315 writew(data, dmac->dmac_base + reg); 317 writel(data, dmac->dmac_base + reg); 320 static u32 rcar_dmac_read(struct rcar_dmac *dmac, u32 reg) argument 323 return readw(dmac->dmac_base + reg); 325 return readl(dmac 344 rcar_dmac_chan_clear(struct rcar_dmac *dmac, struct rcar_dmac_chan *chan) argument 353 rcar_dmac_chan_clear_all(struct rcar_dmac *dmac) argument 476 rcar_dmac_init(struct rcar_dmac *dmac) argument 849 rcar_dmac_stop_all_chan(struct rcar_dmac *dmac) argument 1077 struct rcar_dmac *dmac = to_rcar_dmac(chan->device); local 1589 struct rcar_dmac *dmac = to_rcar_dmac(chan->chan.device); local 1686 struct rcar_dmac *dmac = to_rcar_dmac(chan->device); local 1739 struct rcar_dmac *dmac = dev_get_drvdata(dev); local 1761 rcar_dmac_chan_probe(struct rcar_dmac *dmac, struct rcar_dmac_chan *rchan) argument 1815 rcar_dmac_parse_of(struct device *dev, struct rcar_dmac *dmac) argument 1857 struct rcar_dmac *dmac; local 1995 struct rcar_dmac *dmac = platform_get_drvdata(pdev); local 2005 struct rcar_dmac *dmac = platform_get_drvdata(pdev); local [all...] |
/linux-master/drivers/dma/ |
H A D | dma-axi-dmac.c | 27 #include <dt-bindings/dma/axi-dmac.h> 229 struct axi_dmac *dmac = chan_to_axi_dmac(chan); local 237 val = axi_dmac_read(dmac, AXI_DMAC_REG_START_TRANSFER); 272 sg->hw->id = axi_dmac_read(dmac, AXI_DMAC_REG_TRANSFER_ID); 276 axi_dmac_write(dmac, AXI_DMAC_REG_DEST_ADDRESS, sg->hw->dest_addr); 277 axi_dmac_write(dmac, AXI_DMAC_REG_DEST_STRIDE, sg->hw->dst_stride); 281 axi_dmac_write(dmac, AXI_DMAC_REG_SRC_ADDRESS, sg->hw->src_addr); 282 axi_dmac_write(dmac, AXI_DMAC_REG_SRC_STRIDE, sg->hw->src_stride); 301 axi_dmac_write(dmac, AXI_DMAC_REG_SG_ADDRESS, (u32)sg->hw_phys); 302 axi_dmac_write(dmac, AXI_DMAC_REG_SG_ADDRESS_HIG 329 struct axi_dmac *dmac = chan_to_axi_dmac(chan); local 460 struct axi_dmac *dmac = devid; local 489 struct axi_dmac *dmac = chan_to_axi_dmac(chan); local 515 struct axi_dmac *dmac = chan_to_axi_dmac(chan); local 533 struct axi_dmac *dmac = chan_to_axi_dmac(chan); local 572 struct axi_dmac *dmac = chan_to_axi_dmac(desc->chan); local 887 axi_dmac_parse_dt(struct device *dev, struct axi_dmac *dmac) argument 909 axi_dmac_read_chan_config(struct device *dev, struct axi_dmac *dmac) argument 954 axi_dmac_detect_caps(struct axi_dmac *dmac, unsigned int version) argument 1008 struct axi_dmac *dmac; local 1135 struct axi_dmac *dmac = platform_get_drvdata(pdev); local [all...] |
H A D | pl330.c | 377 struct pl330_dmac *dmac; member in struct:pl330_thread 438 struct pl330_dmac *dmac; member in struct:dma_pl330_chan 566 return thrd->dmac->manager == thrd; 572 return (thrd->dmac->pcfg.mode & DMAC_MODE_NS) ? true : false; 873 void __iomem *regs = thrd->dmac->base; 893 void __iomem *regs = thrd->dmac->base; 898 dev_err(thrd->dmac->ddma.dev, "DMAC halted!\n"); 918 void __iomem *regs = thrd->dmac->base; 976 void __iomem *regs = thrd->dmac->base; 1003 void __iomem *regs = thrd->dmac [all...] |
/linux-master/tools/testing/selftests/net/forwarding/ |
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_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 [all...] |
H A D | tc_flower_port_range.sh | 83 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 \
|
/linux-master/include/net/ |
H A D | llc_sap.h | 29 unsigned char *dmac, unsigned char dsap); 31 unsigned char *dmac, unsigned char dsap);
|
H A D | llc_if.h | 65 int llc_establish_connection(struct sock *sk, const u8 *lmac, u8 *dmac,
|
/linux-master/tools/testing/selftests/net/ |
H A D | test_bridge_backup_port.sh | 247 local dmac=00:11:22:33:44:55 255 run_cmd "tc -n $sw1 filter replace dev swp1 egress pref 1 handle 101 proto ip flower src_mac $smac dst_mac $dmac action pass" 258 run_cmd "tc -n $sw1 filter 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 ip -p 100 -q -c 1" 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 ip -p 100 -q -c 1" 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 ip -p 100 -q -c 1" 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 ip -p 100 -q -c 1" 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 ip -p 100 -q -c 1" 324 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac [all...] |
H A D | test_vxlan_nolocalbypass.sh | 121 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 run_cmd "tc -n $ns1 filter 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-master/arch/mips/include/asm/mach-rc32434/ |
H A D | dma_v.h | 29 if (__raw_readl(&ch->dmac) & DMA_CHAN_RUN_BIT) { 30 __raw_writel(0, &ch->dmac);
|
H A D | dma.h | 63 u32 dmac; /* Control. */ member in struct:dma_reg
|
/linux-master/net/llc/ |
H A D | llc_output.c | 48 * @dmac: destination mac address 59 const unsigned char *dmac, unsigned char dsap) 65 rc = llc_mac_hdr_init(skb, skb->dev->dev_addr, dmac); 58 llc_build_and_send_ui_pkt(struct llc_sap *sap, struct sk_buff *skb, const unsigned char *dmac, unsigned char dsap) argument
|
/linux-master/samples/bpf/ |
H A D | xdp_tx_iptunnel_common.h | 31 __u8 dmac[6]; member in struct:iptnl_info
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_iptunnel_common.h | 31 __u8 dmac[6]; member in struct:iptnl_info
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | l2t.h | 88 u8 dmac[ETH_ALEN]; /* neighbour's MAC address */ member in struct:l2t_entry 119 u8 port, u8 *dmac); 122 u8 port, u8 *dmac);
|
/linux-master/sound/soc/sh/rcar/ |
H A D | dma.c | 273 struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv); local 301 dmac->dmaen_num++; 427 #define rsnd_dmapp_addr(dmac, dma, reg) \ 428 (dmac->ppbase + 0x20 + reg + \ 434 struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv); local 437 dev_dbg(dev, "w 0x%px : %08x\n", rsnd_dmapp_addr(dmac, dma, reg), data); 439 iowrite32(data, rsnd_dmapp_addr(dmac, dma, reg)); 446 struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv); local 448 return ioread32(rsnd_dmapp_addr(dmac, dma, reg)); 455 struct rsnd_dma_ctrl *dmac local 503 struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv); local 523 struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv); local 821 struct rsnd_dma_ctrl *dmac = rsnd_priv_to_dmac(priv); local 908 struct rsnd_dma_ctrl *dmac; local [all...] |
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | ah.c | 79 memcpy(ah->av.rmac, ah_attr->roce.dmac, 80 sizeof(ah_attr->roce.dmac)); 110 offsetofend(struct mlx5_ib_create_ah_resp, dmac); 117 memcpy(resp.dmac, ah_attr->roce.dmac, ETH_ALEN);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | fib_lookup.c | 41 __u8 dmac[6]; member in struct:fib_lookup_test 49 .dmac = DMAC_INIT, }, 57 .dmac = DMAC_INIT, }, 68 .dmac = DMAC_INIT2, }, 76 .dmac = DMAC_INIT2, }, 281 ret = memcmp(tests[i].dmac, fib_params->dmac, sizeof(tests[i].dmac)); 282 if (!ASSERT_EQ(ret, 0, "dmac not match")) { 285 mac_str(expected, tests[i].dmac); [all...] |
/linux-master/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 [all...] |
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_ah.c | 89 memcpy(ah->av.mac, ah_attr->roce.dmac, ETH_ALEN); 102 memcpy(resp.dmac, ah_attr->roce.dmac, ETH_ALEN);
|