/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | devlink.c | 18 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_flash_update() 44 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_info_get() 86 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_reload_fw_activate() 118 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_trigger_fw_live_patch() 139 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_reload_down() 192 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_reload_up() 237 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_trap_init() 261 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_trap_fini() 278 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_trap_action_set() 407 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_enable_roce_validate() [all …]
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_devlink.c | 24 struct qed_devlink *qdl = devlink_priv(devlink); in qed_report_fatal_error() 100 struct qed_devlink *dl = devlink_priv(devlink); in qed_fw_reporters_create() 113 struct qed_devlink *dl = devlink_priv(devlink); in qed_fw_reporters_destroy() 125 struct qed_devlink *qed_dl = devlink_priv(dl); in qed_dl_param_get() 138 struct qed_devlink *qed_dl = devlink_priv(dl); in qed_dl_param_set() 158 struct qed_devlink *qed_dl = devlink_priv(devlink); in qed_devlink_info_get() 211 qdevlink = devlink_priv(dl); in qed_devlink_register()
|
/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cpt_devlink.c | 10 struct otx2_cpt_devlink *cpt_dl = devlink_priv(dl); in otx2_cpt_dl_egrp_create() 20 struct otx2_cpt_devlink *cpt_dl = devlink_priv(dl); in otx2_cpt_dl_egrp_delete() 37 struct otx2_cpt_devlink *cpt_dl = devlink_priv(dl); in otx2_cpt_dl_t106_mode_get() 53 struct otx2_cpt_devlink *cpt_dl = devlink_priv(dl); in otx2_cpt_dl_t106_mode_set() 119 struct otx2_cpt_devlink *cpt_dl = devlink_priv(dl); in otx2_cpt_devlink_info_get() 155 cpt_dl = devlink_priv(dl); in otx2_cpt_register_dl()
|
/linux/drivers/net/ethernet/intel/ice/devlink/ |
H A D | devlink.c | 275 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_info_get() 475 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_reload_down() 614 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_tx_sched_layers_get() 637 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_tx_sched_layers_set() 962 struct ice_pf *pf = devlink_priv(rate_node->devlink); in ice_get_pi_from_dev_rate() 975 if (!ice_enable_custom_tx(devlink_priv(rate_node->devlink))) in ice_devlink_rate_node_new() 998 if (!ice_enable_custom_tx(devlink_priv(rate_node->devlink))) in ice_devlink_rate_node_del() 1017 if (!ice_enable_custom_tx(devlink_priv(rate_leaf->devlink))) in ice_devlink_rate_leaf_tx_max_set() 1032 if (!ice_enable_custom_tx(devlink_priv(rate_leaf->devlink))) in ice_devlink_rate_leaf_tx_share_set() 1047 if (!ice_enable_custom_tx(devlink_priv(rate_leaf->devlink))) in ice_devlink_rate_leaf_tx_priority_set() [all …]
|
H A D | devlink_port.c | 185 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_port_split() 422 pf = devlink_priv(devlink); in ice_devlink_port_set_vf_fn_mac() 985 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_port_new()
|
/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_devlink.c | 67 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_split() 95 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_unsplit() 123 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_get() 134 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_set() 142 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_get() 150 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_set() 241 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_info_get() 315 return nfp_flash_update_common(devlink_priv(devlink), params->fw, extack); in nfp_devlink_flash_update()
|
H A D | devlink_param.c | 87 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_param_u8_get() 139 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_param_u8_set()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_devlink.c | 11 struct hclge_devlink_priv *priv = devlink_priv(devlink); in hclge_devlink_scc_info_get() 41 struct hclge_devlink_priv *priv = devlink_priv(devlink); in hclge_devlink_info_get() 75 struct hclge_devlink_priv *priv = devlink_priv(devlink); in hclge_devlink_reload_down() 110 struct hclge_devlink_priv *priv = devlink_priv(devlink); in hclge_devlink_reload_up() 151 priv = devlink_priv(devlink); in hclge_devlink_init()
|
/linux/drivers/net/ethernet/amd/pds_core/ |
H A D | devlink.c | 27 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_enable_get() 43 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_enable_set() 70 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_enable_validate() 87 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_flash_update() 106 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_info_get()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_devlink.c | 13 struct hclgevf_devlink_priv *priv = devlink_priv(devlink); in hclgevf_devlink_info_get() 38 struct hclgevf_devlink_priv *priv = devlink_priv(devlink); in hclgevf_devlink_reload_down() 73 struct hclgevf_devlink_priv *priv = devlink_priv(devlink); in hclgevf_devlink_reload_up() 115 priv = devlink_priv(devlink); in hclgevf_devlink_init()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_devlink.h | 21 return ((struct bnxt_dl *)devlink_priv(dl))->bp; in bnxt_get_bp_from_dl() 33 return ((struct bnxt_dl *)devlink_priv(dl))->remote_reset; in bnxt_dl_get_remote_reset() 38 ((struct bnxt_dl *)devlink_priv(dl))->remote_reset = value; in bnxt_dl_set_remote_reset()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_devlink.c | 16 struct ionic *ionic = devlink_priv(dl); in ionic_dl_flash_update() 24 struct ionic *ionic = devlink_priv(dl); in ionic_dl_info_get() 67 return devlink_priv(dl); in ionic_devlink_alloc()
|
/linux/drivers/net/netdevsim/ |
H A D | dev.c | 538 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_devlink_param_load_driverinit_values() 623 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_devlink_eswitch_mode_set() 638 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_devlink_eswitch_mode_get() 863 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_dev_traps_init() 935 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_dev_traps_exit() 958 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_dev_reload_down() 976 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_dev_reload_up() 1013 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_dev_flash_update() 1066 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_dev_devlink_trap_init() 1085 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_dev_devlink_trap_action_set() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_linecard_dev.c | 104 struct mlxsw_linecard_dev *linecard_dev = devlink_priv(devlink); in mlxsw_linecard_dev_devlink_info_get() 115 struct mlxsw_linecard_dev *linecard_dev = devlink_priv(devlink); in mlxsw_linecard_dev_devlink_flash_update() 141 linecard_dev = devlink_priv(devlink); in mlxsw_linecard_bdev_probe()
|
H A D | core.c | 1362 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_port_split() 1376 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_port_unsplit() 1390 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_sb_pool_get() 1405 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_sb_pool_set() 1419 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_sb_port_pool_get() 1435 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_sb_port_pool_set() 1452 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_sb_tc_pool_bind_get() 1471 struct mlxsw_core *mlxsw_core = devlink_priv(devlink_port->devlink); in mlxsw_devlink_sb_tc_pool_bind_set() 1486 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_sb_occ_snapshot() 1497 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_devlink_sb_occ_max_clear() [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth-devlink.c | 37 struct dpaa2_eth_devlink_priv *dl_priv = devlink_priv(devlink); in dpaa2_eth_dl_info_get() 111 struct dpaa2_eth_devlink_priv *dl_priv = devlink_priv(devlink); in dpaa2_eth_dl_trap_init() 142 struct dpaa2_eth_devlink_priv *dl_priv = devlink_priv(devlink); in dpaa2_eth_dl_trap_group_action_set() 195 dl_priv = devlink_priv(priv->devlink); in dpaa2_eth_dl_alloc()
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_devlink.c | 67 struct fbnic_dev *fbd = devlink_priv(devlink); in fbnic_devlink_info_get() 134 fbd = devlink_priv(devlink); in fbnic_devlink_alloc()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_devlink.c | 356 struct prestera_switch *sw = devlink_priv(dl); in prestera_dl_info_get() 391 return devlink_priv(dl); in prestera_devlink_alloc() 546 struct prestera_switch *sw = devlink_priv(devlink); in prestera_trap_init() 572 struct prestera_switch *sw = devlink_priv(devlink); in prestera_drop_counter_get()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
H A D | devlink.c | 150 struct mlx5_core_dev *dev = devlink_priv(dl_port->devlink); in mlx5_devlink_sf_port_fn_state_get() 231 struct mlx5_core_dev *dev = devlink_priv(dl_port->devlink); in mlx5_devlink_sf_port_fn_state_set() 305 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_sf_port_new() 368 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_devlink_sf_port_del()
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_devlink.c | 70 struct i40e_pf *pf = devlink_priv(dl); in i40e_devlink_info_get() 144 return devlink_priv(devlink); in i40e_alloc_pf()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | efx_devlink.c | 33 struct efx_devlink *devlink = devlink_priv(port->devlink); in efx_devlink_port_addr_get() 83 struct efx_devlink *devlink = devlink_priv(port->devlink); in efx_devlink_port_addr_set() 598 struct efx_devlink *devlink_private = devlink_priv(devlink); in efx_devlink_info_get() 719 devlink_private = devlink_priv(efx->devlink); in efx_probe_devlink_and_lock()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | devlink.c | 29 return devlink_priv(devlink); in mlx5e_create_devlink()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
H A D | driver.c | 36 mdev = devlink_priv(devlink); in mlx5_sf_dev_probe()
|
/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_devlink.c | 214 struct es58x_device *es58x_dev = devlink_priv(devlink); in es58x_devlink_info_get()
|
/linux/net/devlink/ |
H A D | core.c | 235 void *devlink_priv(struct devlink *devlink) in devlink_priv() function 239 EXPORT_SYMBOL_GPL(devlink_priv);
|