/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_span.h | 56 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 D | spectrum_span.c | 140 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 D | spectrum_matchall.c | 36 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 D | spectrum_acl_flex_actions.c | 144 agent_parms.to_dev = out_dev;
|
H A D | spectrum_qdisc.c | 1834 .to_dev = mall_entry->mirror.to_dev, 2031 mall_entry->mirror.to_dev = act->dev;
|
H A D | spectrum.h | 1197 const struct net_device *to_dev; member in struct:mlxsw_sp_mall_mirror_entry
|
/linux-master/drivers/dma/ioat/ |
H A D | dma.c | 80 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 D | sysfs.c | 88 dev_warn(to_dev(ioat_chan),
|
H A D | dma.h | 23 #define to_dev(ioat_chan) (&(ioat_chan)->ioat_dma->pdev->dev) macro 222 struct device *dev = to_dev(ioat_chan);
|
H A D | prep.c | 279 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 D | init.c | 637 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 D | mirror_lib.sh | 7 local to_dev=$1; shift 12 action mirred egress mirror dev $to_dev
|
/linux-master/samples/bpf/ |
H A D | xdp_sample.bpf.c | 207 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 D | btt.c | 28 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 D | pmem.c | 35 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 D | core_kern.c | 44 *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 D | xdp.h | 271 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 D | kfd_crat.c | 1233 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 D | kfd_topology.c | 1219 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))) {
|