/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_span.c | 55 mlxsw_sp_span_entry_phys_parms(const struct net_device *to_dev, in mlxsw_sp_span_entry_phys_parms() argument 58 sparmsp->dest_port = netdev_priv(to_dev); in mlxsw_sp_span_entry_phys_parms() 294 mlxsw_sp_span_gretap4_route(const struct net_device *to_dev, in mlxsw_sp_span_gretap4_route() argument 297 struct ip_tunnel *tun = netdev_priv(to_dev); in mlxsw_sp_span_gretap4_route() 306 parms = mlxsw_sp_ipip_netdev_parms4(to_dev); in mlxsw_sp_span_gretap4_route() 327 mlxsw_sp_span_entry_gretap4_parms(const struct net_device *to_dev, in mlxsw_sp_span_entry_gretap4_parms() argument 330 struct ip_tunnel_parm tparm = mlxsw_sp_ipip_netdev_parms4(to_dev); in mlxsw_sp_span_entry_gretap4_parms() 338 if (!(to_dev->flags & IFF_UP) || in mlxsw_sp_span_entry_gretap4_parms() 347 l3edev = mlxsw_sp_span_gretap4_route(to_dev, &saddr.addr4, &gw.addr4); in mlxsw_sp_span_entry_gretap4_parms() 395 mlxsw_sp_span_gretap6_route(const struct net_device *to_dev, in mlxsw_sp_span_gretap6_route() argument [all …]
|
D | spectrum_span.h | 42 const struct net_device *to_dev; member 51 bool (*can_handle)(const struct net_device *to_dev); 52 int (*parms)(const struct net_device *to_dev, 64 const struct net_device *to_dev, 71 const struct net_device *to_dev);
|
D | spectrum.c | 1258 struct net_device *to_dev; in mlxsw_sp_port_add_cls_matchall_mirror() local 1260 to_dev = tcf_mirred_dev(a); in mlxsw_sp_port_add_cls_matchall_mirror() 1261 if (!to_dev) { in mlxsw_sp_port_add_cls_matchall_mirror() 1268 return mlxsw_sp_span_mirror_add(mlxsw_sp_port, to_dev, span_type, in mlxsw_sp_port_add_cls_matchall_mirror()
|
/Linux-v4.19/drivers/dma/ioat/ |
D | dma.c | 80 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() 389 descs->virt = dma_alloc_coherent(to_dev(ioat_chan), in ioat_alloc_ring() 395 dma_free_coherent(to_dev(ioat_chan), SZ_2M, in ioat_alloc_ring() 416 dma_free_coherent(to_dev(ioat_chan), in ioat_alloc_ring() 457 dev_dbg(to_dev(ioat_chan), "%s: num_descs: %d (%x:%x:%x)\n", in ioat_check_space_lock() [all …]
|
D | prep.c | 291 struct device *dev = to_dev(ioat_chan); in dump_pq_desc_dbg() 318 struct device *dev = to_dev(ioat_chan); in dump_pq16_desc_dbg() 370 dev_dbg(to_dev(ioat_chan), "%s\n", __func__); in __ioat_prep_pq_lock() 492 dev_dbg(to_dev(ioat_chan), "%s\n", __func__); in __ioat_prep_pq16_lock() 519 dev_err(to_dev(ioat_chan), in __ioat_prep_pq16_lock()
|
D | dma.h | 35 #define to_dev(ioat_chan) (&(ioat_chan)->ioat_dma->pdev->dev) macro 232 struct device *dev = to_dev(ioat_chan); in __dump_desc_dbg()
|
D | sysfs.c | 100 dev_warn(to_dev(ioat_chan), in ioat_kobject_add()
|
D | init.c | 642 dev_dbg(to_dev(ioat_chan), "freeing %d idle descriptors\n", descs); in ioat_free_chan_resources() 649 dev_err(to_dev(ioat_chan), "Freeing %d in use descriptors!\n", in ioat_free_chan_resources() 659 dma_free_coherent(to_dev(ioat_chan), SZ_2M, in ioat_free_chan_resources() 741 dev_WARN(to_dev(ioat_chan), in ioat_alloc_chan_resources()
|
/Linux-v4.19/drivers/nvdimm/ |
D | btt.c | 35 static struct device *to_dev(struct arena_info *arena) in to_dev() function 76 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->infooff, 512), in btt_info_write() 78 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->info2off, 512), in btt_info_write() 108 dev_err_ratelimited(to_dev(arena), in __btt_map_write() 149 dev_err_ratelimited(to_dev(arena), in btt_map_write() 167 dev_err_ratelimited(to_dev(arena), in btt_map_read() 348 dev_err(to_dev(arena), in btt_log_read() 431 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->mapoff, 512), in btt_map_init() 437 dev_WARN_ONCE(to_dev(arena), size < 512, in btt_map_init() 475 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->logoff, 512), in btt_log_init() [all …]
|
D | pmem.c | 41 static struct device *to_dev(struct pmem_device *pmem) in to_dev() function 52 return to_nd_region(to_dev(pmem)->parent); in to_region() 82 struct device *dev = to_dev(pmem); in pmem_clear_poison()
|
/Linux-v4.19/tools/testing/selftests/net/forwarding/ |
D | mirror_lib.sh | 7 local to_dev=$1; shift 12 action mirred egress mirror dev $to_dev
|
/Linux-v4.19/include/trace/events/ |
D | xdp.h | 236 const struct net_device *to_dev, int err), 238 TP_ARGS(map, map_index, sent, drops, from_dev, to_dev, err), 258 __entry->to_ifindex = to_dev->ifindex;
|
/Linux-v4.19/Documentation/translations/zh_CN/filesystems/ |
D | sysfs.txt | 157 #define to_dev(obj) container_of(obj, struct device, kobj) 164 struct device *dev = to_dev(kobj);
|
/Linux-v4.19/net/dsa/ |
D | slave.c | 766 struct net_device *to_dev; in dsa_slave_add_cls_matchall() local 782 to_dev = tcf_mirred_dev(a); in dsa_slave_add_cls_matchall() 783 if (!to_dev) in dsa_slave_add_cls_matchall() 786 if (!dsa_slave_dev_check(to_dev)) in dsa_slave_add_cls_matchall() 797 to_dp = dsa_slave_to_port(to_dev); in dsa_slave_add_cls_matchall()
|
/Linux-v4.19/drivers/media/i2c/ |
D | mt9m032.c | 163 #define to_dev(sensor) \ macro 183 dev_dbg(to_dev(sensor), "MT9M032 line time: %u ns\n", ns); in mt9m032_row_time()
|
/Linux-v4.19/Documentation/filesystems/ |
D | sysfs.txt | 144 #define to_dev(obj) container_of(obj, struct device, kobj) 151 struct device *dev = to_dev(kobj);
|