Home
last modified time | relevance | path

Searched refs:to_dev (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_span.c140 const struct net_device *to_dev, in mlxsw_sp1_span_entry_cpu_parms() argument
169 const struct net_device *to_dev, in mlxsw_sp_span_entry_phys_parms() argument
172 sparmsp->dest_port = netdev_priv(to_dev); in mlxsw_sp_span_entry_phys_parms()
424 mlxsw_sp_span_gretap4_route(const struct net_device *to_dev, in mlxsw_sp_span_gretap4_route()
427 struct ip_tunnel *tun = netdev_priv(to_dev); in mlxsw_sp_span_gretap4_route()
436 parms = mlxsw_sp_ipip_netdev_parms4(to_dev); in mlxsw_sp_span_gretap4_route()
462 const struct net_device *to_dev, in mlxsw_sp_span_entry_gretap4_parms()
465 struct ip_tunnel_parm_kern tparm = mlxsw_sp_ipip_netdev_parms4(to_dev); in mlxsw_sp_span_entry_gretap4_parms()
473 if (!(to_dev->flags & IFF_UP) || in mlxsw_sp_span_entry_gretap4_parms()
483 l3edev = mlxsw_sp_span_gretap4_route(to_dev, in mlxsw_sp_span_entry_gretap4_configure()
412 mlxsw_sp_span_gretap4_route(const struct net_device * to_dev,__be32 * saddrp,__be32 * daddrp) mlxsw_sp_span_gretap4_route() 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) mlxsw_sp_span_entry_gretap4_parms() argument
521 mlxsw_sp_span_gretap6_route(const struct net_device * to_dev,struct in6_addr * saddrp,struct in6_addr * daddrp) mlxsw_sp_span_gretap6_route() argument
555 mlxsw_sp_span_entry_gretap6_parms(struct mlxsw_sp * mlxsw_sp,const struct net_device * to_dev,struct mlxsw_sp_span_parms * sparmsp) mlxsw_sp_span_entry_gretap6_parms() argument
633 mlxsw_sp_span_entry_vlan_parms(struct mlxsw_sp * mlxsw_sp,const struct net_device * to_dev,struct mlxsw_sp_span_parms * sparmsp) mlxsw_sp_span_entry_vlan_parms() argument
701 mlxsw_sp2_span_entry_cpu_parms(struct mlxsw_sp * mlxsw_sp,const struct net_device * to_dev,struct mlxsw_sp_span_parms * sparmsp) mlxsw_sp2_span_entry_cpu_parms() argument
751 mlxsw_sp_span_entry_nop_parms(struct mlxsw_sp * mlxsw_sp,const struct net_device * to_dev,struct mlxsw_sp_span_parms * sparmsp) mlxsw_sp_span_entry_nop_parms() argument
852 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) mlxsw_sp_span_entry_create() argument
898 mlxsw_sp_span_entry_find_by_port(struct mlxsw_sp * mlxsw_sp,const struct net_device * to_dev) mlxsw_sp_span_entry_find_by_port() argument
934 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) mlxsw_sp_span_entry_find_by_parms() argument
953 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) mlxsw_sp_span_entry_get() argument
1017 mlxsw_sp_span_entry_ops(struct mlxsw_sp * mlxsw_sp,const struct net_device * to_dev) mlxsw_sp_span_entry_ops() argument
1071 const struct net_device *to_dev = parms->to_dev; mlxsw_sp_span_agent_get() local
[all...]
H A Dspectrum_span.h56 const struct net_device *to_dev; member
71 const struct net_device *to_dev; member
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_matchall.c36 if (!mall_entry->mirror.to_dev) { in mlxsw_sp_mall_port_mirror_add()
41 agent_parms.to_dev = mall_entry->mirror.to_dev; in mlxsw_sp_mall_port_mirror_add()
271 mall_entry->mirror.to_dev = act->dev; in mlxsw_sp_mall_replace()
418 .to_dev = NULL, /* Mirror to CPU. */ in mlxsw_sp2_mall_sample_add()
H A Dspectrum_acl_flex_actions.c144 agent_parms.to_dev = out_dev; in mlxsw_sp_act_mirror_add()
H A Dspectrum_qdisc.c1833 .to_dev = mall_entry->mirror.to_dev, in mlxsw_sp_qevent_mirror_configure()
2030 mall_entry->mirror.to_dev = act->dev; in mlxsw_sp_qevent_mall_replace()
H A Dspectrum.h1187 const struct net_device *to_dev; member
/linux/drivers/dma/ioat/
H A Ddma.c80 dev_err(to_dev(ioat_chan), "Err(%d): %s\n", in ioat_print_chanerrs()
177 dev_dbg(to_dev(ioat_chan), in __ioat_issue_pending()
213 dev_err(to_dev(ioat_chan), in __ioat_start_null_desc()
218 dev_dbg(to_dev(ioat_chan), in __ioat_start_null_desc()
256 dev_dbg(to_dev(ioat_chan), in __ioat_restart_chan()
317 dev_dbg(to_dev(ioat_chan), "%s: cookie: %d\n", __func__, cookie); in ioat_tx_submit_unlock()
391 descs->virt = dma_alloc_coherent(to_dev(ioat_chan), in ioat_alloc_ring()
398 dma_free_coherent(to_dev(ioat_chan), in ioat_alloc_ring()
420 dma_free_coherent(to_dev(ioat_chan), in ioat_alloc_ring()
472 dev_dbg(to_dev(ioat_chan), "%s: num_descs: %d (%x:%x:%x)\n", in ioat_check_space_lock()
[all …]
H A Dprep.c279 struct device *dev = to_dev(ioat_chan); in dump_pq_desc_dbg()
306 struct device *dev = to_dev(ioat_chan); in dump_pq16_desc_dbg()
358 dev_dbg(to_dev(ioat_chan), "%s\n", __func__); in __ioat_prep_pq_lock()
480 dev_dbg(to_dev(ioat_chan), "%s\n", __func__); in __ioat_prep_pq16_lock()
507 dev_err(to_dev(ioat_chan), in __ioat_prep_pq16_lock()
H A Dinit.c626 dev_dbg(to_dev(ioat_chan), "freeing %d idle descriptors\n", descs); in ioat_free_chan_resources()
633 dev_err(to_dev(ioat_chan), "Freeing %d in use descriptors!\n", in ioat_free_chan_resources()
643 dma_free_coherent(to_dev(ioat_chan), IOAT_CHUNK_SIZE, in ioat_free_chan_resources()
747 dev_WARN(to_dev(ioat_chan), in ioat_alloc_chan_resources()
/linux/drivers/nvdimm/
H A Dbtt.c29 static struct device *to_dev(struct arena_info *arena) in to_dev() function
70 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->infooff, 512), in btt_info_write()
72 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->info2off, 512), in btt_info_write()
102 dev_err_ratelimited(to_dev(arena), in __btt_map_write()
143 dev_err_ratelimited(to_dev(arena), in btt_map_write()
161 dev_err_ratelimited(to_dev(arena), in btt_map_read()
342 dev_err(to_dev(arena), in btt_log_read()
425 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->mapoff, 512), in btt_map_init()
431 dev_WARN_ONCE(to_dev(arena), size < 512, in btt_map_init()
469 dev_WARN_ONCE(to_dev(aren in btt_log_init()
[all...]
H A Dpmem.c34 static struct device *to_dev(struct pmem_device *pmem) in to_dev() function
45 return to_nd_region(to_dev(pmem)->parent); in to_region()
101 long cleared = nvdimm_clear_poison(to_dev(pmem), phys, len); in __pmem_clear_poison()
/linux/samples/bpf/
H A Dxdp_sample.bpf.c207 const struct net_device *to_dev, int sent, int drops, int err) in BPF_PROG() argument
214 idx_out = to_dev->ifindex; in BPF_PROG()
238 const struct net_device *to_dev, int sent, int drops, int err) in BPF_PROG() argument
246 idx_out = to_dev->ifindex; in BPF_PROG()
/linux/tools/testing/selftests/net/forwarding/
H A Dmirror_lib.sh7 local to_dev=$1; shift
12 action mirred egress mirror dev $to_dev
/linux/include/trace/events/
H A Dxdp.h253 const struct net_device *to_dev,
256 TP_ARGS(from_dev, to_dev, sent, drops, err),
270 __entry->to_ifindex = to_dev->ifindex;
/linux/tools/testing/selftests/bpf/progs/
H A Dcore_kern.c44 *from_dev, const struct net_device *to_dev, int sent, int drops, in BPF_PROG() argument
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c1234 struct kfd_topology_device *dev, *to_dev; in kfd_parse_subtype_iolink() local
1284 to_dev = kfd_topology_device_by_proximity_domain_no_lock(id_to); in kfd_parse_subtype_iolink()
1285 if (!to_dev) in kfd_parse_subtype_iolink()
1295 to_dev->node_props.io_links_count++; in kfd_parse_subtype_iolink()
1296 list_add_tail(&props2->list, &to_dev->io_link_props); in kfd_parse_subtype_iolink()