| /linux/drivers/dma/ |
| A D | dma-axi-dmac.c | 908 struct axi_dmac *dmac; in axi_dmac_probe() local 914 dmac = devm_kzalloc(&pdev->dev, sizeof(*dmac), GFP_KERNEL); in axi_dmac_probe() 915 if (!dmac) in axi_dmac_probe() 919 if (dmac->irq < 0) in axi_dmac_probe() 920 return dmac->irq; in axi_dmac_probe() 921 if (dmac->irq == 0) in axi_dmac_probe() 926 if (IS_ERR(dmac->base)) in axi_dmac_probe() 930 if (IS_ERR(dmac->clk)) in axi_dmac_probe() 951 dma_dev = &dmac->dma_dev; in axi_dmac_probe() 1008 free_irq(dmac->irq, dmac); in axi_dmac_probe() [all …]
|
| A D | pl330.c | 377 struct pl330_dmac *dmac; member 432 struct pl330_dmac *dmac; member 560 return thrd->dmac->manager == thrd; in is_manager() 1502 dev_info(thrd->dmac->ddma.dev, in pl330_submit_req() 1893 thrd->dmac = pl330; in dmac_alloc_threads() 1901 thrd->dmac = pl330; in dmac_alloc_threads() 2251 pch->dmac->quirks); in pl330_config_write() 2258 pch->dmac->quirks); in pl330_config_write() 2772 pl330 = pch->dmac; in pl330_prep_dma_memcpy() 2860 dev_err(pch->dmac->ddma.dev, in pl330_prep_slave_sg() [all …]
|
| /linux/Documentation/devicetree/bindings/dma/ |
| A D | 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 38 - const: renesas,usb-dmac [all …]
|
| A D | 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 42 - const: renesas,rcar-dmac 120 - renesas,dmac-r8a779a0 [all …]
|
| A D | renesas,rz-dmac.yaml | 4 $id: http://devicetree.org/schemas/dma/renesas,rz-dmac.yaml# 19 - renesas,r9a07g044-dmac # RZ/G2{L,LC} 20 - const: renesas,rz-dmac 96 dmac: dma-controller@11820000 { 97 compatible = "renesas,r9a07g044-dmac", 98 "renesas,rz-dmac";
|
| 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";
|
| /linux/drivers/dma/sh/ |
| A D | usb-dmac.c | 757 if (dmac->n_channels <= 0 || dmac->n_channels >= 100) { in usb_dmac_parse_of() 759 dmac->n_channels); in usb_dmac_parse_of() 770 struct usb_dmac *dmac; in usb_dmac_probe() local 775 dmac = devm_kzalloc(&pdev->dev, sizeof(*dmac), GFP_KERNEL); in usb_dmac_probe() 776 if (!dmac) in usb_dmac_probe() 779 dmac->dev = &pdev->dev; in usb_dmac_probe() 786 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in usb_dmac_probe() 788 if (!dmac->channels) in usb_dmac_probe() 816 ret = usb_dmac_chan_probe(dmac, &dmac->channels[i], i); in usb_dmac_probe() 877 usb_dmac_chan_remove(dmac, &dmac->channels[i]); in usb_dmac_remove() [all …]
|
| A D | rz-dmac.c | 817 if (!dmac->n_channels || dmac->n_channels > RZ_DMAC_MAX_CHANNELS) { in rz_dmac_parse_of() 829 struct rz_dmac *dmac; in rz_dmac_probe() local 835 dmac = devm_kzalloc(&pdev->dev, sizeof(*dmac), GFP_KERNEL); in rz_dmac_probe() 836 if (!dmac) in rz_dmac_probe() 839 dmac->dev = &pdev->dev; in rz_dmac_probe() 846 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in rz_dmac_probe() 848 if (!dmac->channels) in rz_dmac_probe() 853 if (IS_ERR(dmac->base)) in rz_dmac_probe() 857 if (IS_ERR(dmac->ext_base)) in rz_dmac_probe() 884 ret = rz_dmac_chan_probe(dmac, &dmac->channels[i], i); in rz_dmac_probe() [all …]
|
| A D | rcar-dmac.c | 215 for (i = 0, chan = &(dmac)->channels[0]; i < (dmac)->n_channels; i++, chan++) \ 347 if (dmac->chan_base) in rcar_dmac_chan_clear() 358 if (dmac->chan_base) { in rcar_dmac_chan_clear_all() 362 rcar_dmac_write(dmac, RCAR_DMACHCLR, dmac->channels_mask); in rcar_dmac_chan_clear_all() 1830 dmac->n_channels); in rcar_dmac_parse_of() 1838 dmac->channels_mask = GENMASK(dmac->n_channels - 1, 0); in rcar_dmac_parse_of() 1842 dmac->channels_mask &= GENMASK(dmac->n_channels - 1, 0); in rcar_dmac_parse_of() 1865 dmac = devm_kzalloc(&pdev->dev, sizeof(*dmac), GFP_KERNEL); in rcar_dmac_probe() 1866 if (!dmac) in rcar_dmac_probe() 1889 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in rcar_dmac_probe() [all …]
|
| 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
|
| A D | built-in.a | 3 rcar-dmac.o/ 4 rz-dmac.o/
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| A D | devlink_trap_l2_drops.sh | 119 local dmac=de:ad:be:ef:13:37 128 flower dst_mac $dmac action drop 179 local dmac=de:ad:be:ef:13:37 188 flower dst_mac $dmac action drop 221 local dmac=de:ad:be:ef:13:37 231 flower dst_mac $dmac action drop 290 local dmac=de:ad:be:ef:13:37 301 flower dst_mac $dmac action drop 332 local dmac=01:00:5e:00:00:01 346 flower dst_mac $dmac action drop [all …]
|
| /linux/sound/soc/sh/rcar/ |
| A D | dma.c | 294 dmac->dmaen_num++; in rsnd_dmaen_attach() 502 dmac->dmapp_num++; in rsnd_dmapp_attach() 520 rsnd_debugfs_reg_show(m, dmac->ppres, dmac->ppbase, in rsnd_dmapp_debug_info() 798 if (!dmac) in rsnd_dma_alloc() 807 dma_id = dmac->dmapp_num; in rsnd_dma_alloc() 812 dma_id = dmac->dmaen_num; in rsnd_dma_alloc() 882 dmac = devm_kzalloc(dev, sizeof(*dmac), GFP_KERNEL); in rsnd_dma_probe() 883 if (!dmac || !res) { in rsnd_dma_probe() 888 dmac->dmapp_num = 0; in rsnd_dma_probe() 891 if (IS_ERR(dmac->ppbase)) in rsnd_dma_probe() [all …]
|
| /linux/drivers/gpu/drm/nouveau/dispnv50/ |
| A D | disp.c | 136 if (dmac->put != dmac->cur) { in nv50_dmac_kick() 149 NVIF_WV32(&dmac->base.user, NV507C, PUT, PTR, dmac->cur); in nv50_dmac_kick() 150 dmac->put = dmac->cur; in nv50_dmac_kick() 162 return dmac->max - dmac->cur; in nv50_dmac_free() 184 PUSH_RSVD(dmac->push, PUSH_JUMP(dmac->push, 0)); in nv50_dmac_wind() 199 if (dmac->cur + size >= dmac->max) { in nv50_dmac_wait() 258 dmac->ptr = dmac->_push.mem.object.map.ptr; in nv50_dmac_create() 261 dmac->push = &dmac->_push; in nv50_dmac_create() 262 dmac->push->bgn = dmac->_push.mem.object.map.ptr; in nv50_dmac_create() 263 dmac->push->cur = dmac->push->bgn; in nv50_dmac_create() [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| A D | l2t.c | 159 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 …]
|
| A D | l2t.h | 88 u8 dmac[ETH_ALEN]; /* neighbour's MAC address */ member 119 u8 port, u8 *dmac); 122 u8 port, u8 *dmac);
|
| /linux/drivers/infiniband/hw/mlx5/ |
| A D | ah.c | 79 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/ |
| A D | dsp.c | 107 struct dw_dma_chip *dmac; in catpt_dmac_probe() local 110 dmac = devm_kzalloc(cdev->dev, sizeof(*dmac), GFP_KERNEL); in catpt_dmac_probe() 111 if (!dmac) in catpt_dmac_probe() 114 dmac->regs = cdev->lpe_ba + cdev->spec->host_dma_offset[CATPT_DMA_DEVID]; in catpt_dmac_probe() 115 dmac->dev = cdev->dev; in catpt_dmac_probe() 116 dmac->irq = cdev->irq; in catpt_dmac_probe() 125 ret = dw_dma_probe(dmac); in catpt_dmac_probe() 129 cdev->dmac = dmac; in catpt_dmac_probe() 141 dw_dma_remove(cdev->dmac); in catpt_dmac_remove()
|
| /linux/drivers/net/dsa/sja1105/ |
| A D | sja1105_flower.c | 203 u64 dmac = U64_MAX; in sja1105_flower_parse_key() local 248 dmac = ether_addr_to_u64(match.key->dst); in sja1105_flower_parse_key() 281 if (dmac == U64_MAX && vid == U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key() 286 if (dmac != U64_MAX && vid != U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key() 288 key->vl.dmac = dmac; in sja1105_flower_parse_key() 293 if (dmac != U64_MAX) { in sja1105_flower_parse_key() 295 key->vl.dmac = dmac; in sja1105_flower_parse_key()
|
| /linux/arch/mips/boot/dts/ingenic/ |
| A D | jz4725b.dtsi | 210 dmas = <&dmac 25 0xffffffff>, <&dmac 24 0xffffffff>; 234 dmas = <&dmac 27 0xffffffff>, <&dmac 26 0xffffffff>; 252 dmas = <&dmac 31 0xffffffff>, <&dmac 30 0xffffffff>; 298 dmac: dma-controller@13020000 { label
|
| /linux/drivers/net/wan/ |
| A D | hd64570.c | 160 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/drivers/infiniband/hw/vmw_pvrdma/ |
| A D | pvrdma_misc.c | 285 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/arch/sh/drivers/dma/ |
| A D | dma-api.c | 128 int request_dma_bycap(const char **dmac, const char **caps, const char *dev_id) in request_dma_bycap() argument 135 BUG_ON(!dmac || !caps); in request_dma_bycap() 138 if (strcmp(*dmac, info->name) == 0) { in request_dma_bycap() 243 int register_chan_caps(const char *dmac, struct dma_chan_caps *caps) in register_chan_caps() argument 250 if (strcmp(dmac, info->name) == 0) { in register_chan_caps()
|
| /linux/include/net/ |
| A D | llc_sap.h | 29 unsigned char *dmac, unsigned char dsap); 31 unsigned char *dmac, unsigned char dsap);
|
| /linux/drivers/net/ethernet/mscc/ |
| A D | ocelot_mrp.c | 68 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() 101 ether_addr_copy(filter->key.etype.dmac.value, mrp_test_dmac); in ocelot_mrp_copy_add_vcap() 102 ether_addr_copy(filter->key.etype.dmac.mask, mrp_mask); in ocelot_mrp_copy_add_vcap()
|