Searched refs:to_dev (Results 1 - 19 of 19) sorted by relevance

/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_span.h56 const struct net_device *to_dev; member in struct:mlxsw_sp_span_agent_parms
71 const struct net_device *to_dev; member in struct:mlxsw_sp_span_entry
80 bool (*can_handle)(const struct net_device *to_dev);
82 const struct net_device *to_dev,
95 const struct net_device *to_dev);
H A Dspectrum_span.c140 const struct net_device *to_dev,
169 const struct net_device *to_dev,
172 sparmsp->dest_port = netdev_priv(to_dev);
412 mlxsw_sp_span_gretap4_route(const struct net_device *to_dev, argument
415 struct ip_tunnel *tun = netdev_priv(to_dev);
424 parms = mlxsw_sp_ipip_netdev_parms4(to_dev);
426 0, 0, dev_net(to_dev), parms.link, tun->fwmark, 0,
451 const struct net_device *to_dev,
454 struct ip_tunnel_parm tparm = mlxsw_sp_ipip_netdev_parms4(to_dev);
462 if (!(to_dev
139 mlxsw_sp1_span_entry_cpu_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) argument
168 mlxsw_sp_span_entry_phys_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) argument
450 mlxsw_sp_span_entry_gretap4_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) argument
521 mlxsw_sp_span_gretap6_route(const struct net_device *to_dev, struct in6_addr *saddrp, struct in6_addr *daddrp) argument
554 mlxsw_sp_span_entry_gretap6_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) argument
631 mlxsw_sp_span_entry_vlan_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) argument
699 mlxsw_sp2_span_entry_cpu_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) argument
749 mlxsw_sp_span_entry_nop_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, struct mlxsw_sp_span_parms *sparmsp) argument
850 mlxsw_sp_span_entry_create(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, const struct mlxsw_sp_span_entry_ops *ops, struct mlxsw_sp_span_parms sparms) argument
896 mlxsw_sp_span_entry_find_by_port(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev) argument
932 mlxsw_sp_span_entry_find_by_parms(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, const struct mlxsw_sp_span_parms *sparms) argument
951 mlxsw_sp_span_entry_get(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev, const struct mlxsw_sp_span_entry_ops *ops, struct mlxsw_sp_span_parms sparms) argument
1015 mlxsw_sp_span_entry_ops(struct mlxsw_sp *mlxsw_sp, const struct net_device *to_dev) argument
1070 const struct net_device *to_dev = parms->to_dev; local
[all...]
H A Dspectrum_matchall.c36 if (!mall_entry->mirror.to_dev) {
41 agent_parms.to_dev = mall_entry->mirror.to_dev;
271 mall_entry->mirror.to_dev = act->dev;
418 .to_dev = NULL, /* Mirror to CPU. */
H A Dspectrum_acl_flex_actions.c144 agent_parms.to_dev = out_dev;
H A Dspectrum_qdisc.c1834 .to_dev = mall_entry->mirror.to_dev,
2031 mall_entry->mirror.to_dev = act->dev;
H A Dspectrum.h1197 const struct net_device *to_dev; member in struct:mlxsw_sp_mall_mirror_entry
/linux-master/drivers/dma/ioat/
H A Ddma.c80 dev_err(to_dev(ioat_chan), "Err(%d): %s\n",
177 dev_dbg(to_dev(ioat_chan),
213 dev_err(to_dev(ioat_chan),
218 dev_dbg(to_dev(ioat_chan),
256 dev_dbg(to_dev(ioat_chan),
317 dev_dbg(to_dev(ioat_chan), "%s: cookie: %d\n", __func__, cookie);
391 descs->virt = dma_alloc_coherent(to_dev(ioat_chan),
398 dma_free_coherent(to_dev(ioat_chan),
420 dma_free_coherent(to_dev(ioat_chan),
472 dev_dbg(to_dev(ioat_cha
[all...]
H A Dsysfs.c88 dev_warn(to_dev(ioat_chan),
H A Ddma.h23 #define to_dev(ioat_chan) (&(ioat_chan)->ioat_dma->pdev->dev) macro
222 struct device *dev = to_dev(ioat_chan);
H A Dprep.c279 struct device *dev = to_dev(ioat_chan);
306 struct device *dev = to_dev(ioat_chan);
358 dev_dbg(to_dev(ioat_chan), "%s\n", __func__);
480 dev_dbg(to_dev(ioat_chan), "%s\n", __func__);
507 dev_err(to_dev(ioat_chan),
H A Dinit.c637 dev_dbg(to_dev(ioat_chan), "freeing %d idle descriptors\n", descs);
644 dev_err(to_dev(ioat_chan), "Freeing %d in use descriptors!\n",
654 dma_free_coherent(to_dev(ioat_chan), IOAT_CHUNK_SIZE,
758 dev_WARN(to_dev(ioat_chan),
/linux-master/tools/testing/selftests/net/forwarding/
H A Dmirror_lib.sh7 local to_dev=$1; shift
12 action mirred egress mirror dev $to_dev
/linux-master/samples/bpf/
H A Dxdp_sample.bpf.c207 const struct net_device *to_dev, int sent, int drops, int err)
214 idx_out = to_dev->ifindex;
238 const struct net_device *to_dev, int sent, int drops, int err)
246 idx_out = to_dev->ifindex;
206 BPF_PROG(tp_xdp_devmap_xmit, const struct net_device *from_dev, const struct net_device *to_dev, int sent, int drops, int err) argument
237 BPF_PROG(tp_xdp_devmap_xmit_multi, const struct net_device *from_dev, const struct net_device *to_dev, int sent, int drops, int err) argument
/linux-master/drivers/nvdimm/
H A Dbtt.c28 static struct device *to_dev(struct arena_info *arena) function
69 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->infooff, 512),
71 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->info2off, 512),
101 dev_err_ratelimited(to_dev(arena),
142 dev_err_ratelimited(to_dev(arena),
160 dev_err_ratelimited(to_dev(arena),
341 dev_err(to_dev(arena),
424 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->mapoff, 512),
430 dev_WARN_ONCE(to_dev(arena), size < 512,
468 dev_WARN_ONCE(to_dev(aren
[all...]
H A Dpmem.c35 static struct device *to_dev(struct pmem_device *pmem) function
46 return to_nd_region(to_dev(pmem)->parent);
102 long cleared = nvdimm_clear_poison(to_dev(pmem), phys, len);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dcore_kern.c44 *from_dev, const struct net_device *to_dev, int sent, int drops,
43 BPF_PROG(tp_xdp_devmap_xmit_multi, const struct net_device *from_dev, const struct net_device *to_dev, int sent, int drops, int err) argument
/linux-master/include/trace/events/
H A Dxdp.h271 const struct net_device *to_dev,
274 TP_ARGS(from_dev, to_dev, sent, drops, err),
288 __entry->to_ifindex = to_dev->ifindex;
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c1233 struct kfd_topology_device *dev, *to_dev; local
1283 to_dev = kfd_topology_device_by_proximity_domain_no_lock(id_to);
1284 if (!to_dev)
1294 to_dev->node_props.io_links_count++;
1295 list_add_tail(&props2->list, &to_dev->io_link_props);
H A Dkfd_topology.c1219 static void kfd_set_iolink_non_coherent(struct kfd_topology_device *to_dev, argument
1224 if (!to_dev->gpu &&
1228 if (to_dev->gpu) {
1234 KFD_GC_VERSION(to_dev->gpu) == IP_VERSION(9, 4, 0))) {

Completed in 223 milliseconds