Home
last modified time | relevance | path

Searched refs:devlink_priv (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Ddevlink.c15 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_flash_update()
50 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_info_get()
115 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_fs_mode_validate()
151 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_fs_mode_set()
166 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_fs_mode_get()
190 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_set_params_init_values()
Deswitch_offloads.c2301 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_check()
2319 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_mode_set()
2345 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_mode_get()
2358 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_inline_mode_set()
2413 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_inline_mode_get()
2465 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_encap_mode_set()
2514 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_eswitch_encap_mode_get()
Dmain.c1329 dev = devlink_priv(devlink); in init_one()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_devlink.c68 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_split()
105 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_unsplit()
139 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_get()
150 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_set()
158 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_get()
166 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_set()
261 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_info_get()
340 return nfp_flash_update_common(devlink_priv(devlink), path, extack); in nfp_devlink_flash_update()
Ddevlink_param.c87 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_param_u8_get()
138 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_param_u8_set()
Dnfp_main.c715 pf = devlink_priv(devlink); in nfp_pci_probe()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.h20 return ((struct bnxt_dl *)devlink_priv(dl))->bp; in bnxt_get_bp_from_dl()
30 struct bnxt_dl *bp_dl = devlink_priv(dl); in bnxt_link_bp_to_dl()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c744 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_port_split()
760 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_port_unsplit()
777 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_sb_pool_get()
792 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_sb_pool_set()
810 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_port_type_set()
826 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_sb_port_pool_get()
842 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_sb_port_pool_set()
859 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_sb_tc_pool_bind_get()
878 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_sb_tc_pool_bind_set()
893 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_sb_occ_snapshot()
[all …]
Dspectrum.c5283 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_sp_params_acl_region_rehash_intrvl_get()
5294 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_sp_params_acl_region_rehash_intrvl_set()
/Linux-v5.4/drivers/net/ethernet/pensando/ionic/
Dionic_devlink.c15 struct ionic *ionic = devlink_priv(dl); in ionic_dl_info_get()
60 return devlink_priv(dl); in ionic_devlink_alloc()
/Linux-v5.4/drivers/net/netdevsim/
Ddev.c278 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_devlink_param_load_driverinit_values()
473 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_dev_traps_init()
518 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_dev_traps_exit()
567 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_dev_flash_update()
617 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_dev_devlink_trap_init()
635 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_dev_devlink_trap_action_set()
670 nsim_dev = devlink_priv(devlink); in nsim_dev_create()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dmain.c198 struct mlx4_priv *priv = devlink_priv(devlink); in mlx4_devlink_crdump_snapshot_get()
208 struct mlx4_priv *priv = devlink_priv(devlink); in mlx4_devlink_crdump_snapshot_set()
3893 struct mlx4_priv *priv = devlink_priv(devlink); in mlx4_devlink_param_load_driverinit_values()
3940 struct mlx4_priv *priv = devlink_priv(devlink); in mlx4_devlink_reload_down()
3953 struct mlx4_priv *priv = devlink_priv(devlink); in mlx4_devlink_reload_up()
3984 priv = devlink_priv(devlink); in mlx4_init_one()
/Linux-v5.4/include/net/
Ddevlink.h744 static inline void *devlink_priv(struct devlink *devlink) in devlink_priv() function
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_main.c364 qed_dl = devlink_priv(dl); in qed_dl_param_get()
377 qed_dl = devlink_priv(dl); in qed_dl_param_set()
404 qed_dl = devlink_priv(dl); in qed_devlink_register()
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c3141 priv = devlink_priv(devlink); in liquidio_eswitch_mode_get()
3157 priv = devlink_priv(devlink); in liquidio_eswitch_mode_set()
3774 lio_devlink = devlink_priv(devlink); in setup_nic_devices()