Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_span.c140 const struct net_device *to_dev, in mlxsw_sp1_span_entry_cpu_parms() argument
451 const struct net_device *to_dev, in mlxsw_sp_span_entry_gretap4_parms() argument
462 if (!(to_dev->flags & IFF_UP) || in mlxsw_sp_span_entry_gretap4_parms()
566 if (!(to_dev->flags & IFF_UP) || in mlxsw_sp_span_entry_gretap6_parms()
638 if (!(to_dev->flags & IFF_UP)) in mlxsw_sp_span_entry_vlan_parms()
880 span_entry->to_dev = to_dev; in mlxsw_sp_span_entry_create()
904 if (refcount_read(&curr->ref_count) && curr->to_dev == to_dev) in mlxsw_sp_span_entry_find_by_port()
941 if (refcount_read(&curr->ref_count) && curr->to_dev == to_dev && in mlxsw_sp_span_entry_find_by_parms()
952 const struct net_device *to_dev, in mlxsw_sp_span_entry_get() argument
1016 const struct net_device *to_dev) in mlxsw_sp_span_entry_ops() argument
[all …]
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);
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()
A Dspectrum_acl_flex_actions.c144 agent_parms.to_dev = out_dev; in mlxsw_sp_act_mirror_add()
A Dspectrum_qdisc.c1834 .to_dev = mall_entry->mirror.to_dev, in mlxsw_sp_qevent_mirror_configure()
2031 mall_entry->mirror.to_dev = act->dev; in mlxsw_sp_qevent_mall_replace()
A Dspectrum.h1124 const struct net_device *to_dev; member
/linux/drivers/dma/ioat/
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()
398 dma_free_coherent(to_dev(ioat_chan), in ioat_alloc_ring()
420 dma_free_coherent(to_dev(ioat_chan), in ioat_alloc_ring()
480 dev_dbg_ratelimited(to_dev(ioat_chan), in ioat_check_space_lock()
919 dev_err(to_dev(ioat_chan), "Errors:\n"); in ioat_timer_event()
960 dev_err(to_dev(ioat_chan), "Errors:\n"); in ioat_timer_event()
[all …]
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()
A Ddma.h23 #define to_dev(ioat_chan) (&(ioat_chan)->ioat_dma->pdev->dev) macro
223 struct device *dev = to_dev(ioat_chan); in __dump_desc_dbg()
A Dsysfs.c88 dev_warn(to_dev(ioat_chan), in ioat_kobject_add()
A Dinit.c637 dev_dbg(to_dev(ioat_chan), "freeing %d idle descriptors\n", descs); in ioat_free_chan_resources()
644 dev_err(to_dev(ioat_chan), "Freeing %d in use descriptors!\n", in ioat_free_chan_resources()
654 dma_free_coherent(to_dev(ioat_chan), IOAT_CHUNK_SIZE, in ioat_free_chan_resources()
758 dev_WARN(to_dev(ioat_chan), in ioat_alloc_chan_resources()
/linux/drivers/nvdimm/
A Dbtt.c28 static struct device *to_dev(struct arena_info *arena) in to_dev() function
101 dev_err_ratelimited(to_dev(arena), in __btt_map_write()
142 dev_err_ratelimited(to_dev(arena), in btt_map_write()
160 dev_err_ratelimited(to_dev(arena), in btt_map_read()
341 dev_err(to_dev(arena), in btt_log_read()
430 dev_WARN_ONCE(to_dev(arena), size < 512, in btt_map_init()
474 dev_WARN_ONCE(to_dev(arena), size < 512, in btt_log_init()
569 dev_err_ratelimited(to_dev(arena), in btt_freelist_init()
880 dev_err(to_dev(arena), in discover_arenas()
892 dev_err(to_dev(arena), in discover_arenas()
[all …]
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()
75 struct device *dev = to_dev(pmem); in pmem_clear_poison()
/linux/samples/bpf/
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/
A Dmirror_lib.sh7 local to_dev=$1; shift
12 action mirred egress mirror dev $to_dev
/linux/include/trace/events/
A Dxdp.h270 const struct net_device *to_dev,
273 TP_ARGS(from_dev, to_dev, sent, drops, err),
287 __entry->to_ifindex = to_dev->ifindex;
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_crat.c1007 struct kfd_topology_device *dev, *to_dev; in kfd_parse_subtype_iolink() local
1058 to_dev = kfd_topology_device_by_proximity_domain(id_to); in kfd_parse_subtype_iolink()
1059 if (!to_dev) in kfd_parse_subtype_iolink()
1066 to_dev->io_link_count++; in kfd_parse_subtype_iolink()
1067 to_dev->node_props.io_links_count++; in kfd_parse_subtype_iolink()
1068 list_add_tail(&props2->list, &to_dev->io_link_props); in kfd_parse_subtype_iolink()
A Dkfd_topology.c1227 static void kfd_set_iolink_non_coherent(struct kfd_topology_device *to_dev, in kfd_set_iolink_non_coherent() argument
1232 if (!to_dev->gpu && in kfd_set_iolink_non_coherent()
1236 if (to_dev->gpu) { in kfd_set_iolink_non_coherent()
1242 to_dev->gpu->device_info->asic_family == CHIP_VEGA20)) { in kfd_set_iolink_non_coherent()
/linux/drivers/media/i2c/
A Dmt9m032.c155 #define to_dev(sensor) \ macro
175 dev_dbg(to_dev(sensor), "MT9M032 line time: %u ns\n", ns); in mt9m032_row_time()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_ptp.c30 #define to_dev(obj) container_of(obj, struct device, kobj) macro

Completed in 61 milliseconds