Lines Matching defs:dev

218 	struct mlx5_core_dev   *dev;  member
691 #define MLX5_LOG_SW_ICM_BLOCK_SIZE(dev) (MLX5_CAP_DEV_MEM(dev, log_sw_icm_alloc_granularity)) argument
692 #define MLX5_SW_ICM_BLOCK_SIZE(dev) (1 << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)) argument
881 static inline u16 fw_rev_maj(struct mlx5_core_dev *dev) in fw_rev_maj()
886 static inline u16 fw_rev_min(struct mlx5_core_dev *dev) in fw_rev_min()
891 static inline u16 fw_rev_sub(struct mlx5_core_dev *dev) in fw_rev_sub()
955 struct mlx5_core_dev *dev; member
986 #define mlx5_cmd_exec_inout(dev, ifc_cmd, in, out) \ argument
992 #define mlx5_cmd_exec_in(dev, ifc_cmd, in) \ argument
1056 static inline int mlx5_db_alloc(struct mlx5_core_dev *dev, struct mlx5_db *db) in mlx5_db_alloc()
1148 #define mlx5_lag_for_each_peer_mdev(dev, peer, i) \ argument
1179 static inline bool mlx5_core_is_pf(const struct mlx5_core_dev *dev) in mlx5_core_is_pf()
1184 static inline bool mlx5_core_is_vf(const struct mlx5_core_dev *dev) in mlx5_core_is_vf()
1195 static inline bool mlx5_core_is_ecpf(const struct mlx5_core_dev *dev) in mlx5_core_is_ecpf()
1201 mlx5_core_is_ecpf_esw_manager(const struct mlx5_core_dev *dev) in mlx5_core_is_ecpf_esw_manager()
1206 static inline bool mlx5_ecpf_vport_exists(const struct mlx5_core_dev *dev) in mlx5_ecpf_vport_exists()
1211 static inline u16 mlx5_core_max_vfs(const struct mlx5_core_dev *dev) in mlx5_core_max_vfs()
1216 static inline int mlx5_lag_is_lacp_owner(struct mlx5_core_dev *dev) in mlx5_lag_is_lacp_owner()
1228 static inline u16 mlx5_core_max_ec_vfs(const struct mlx5_core_dev *dev) in mlx5_core_max_ec_vfs()
1243 static inline bool mlx5_rl_is_supported(struct mlx5_core_dev *dev) in mlx5_rl_is_supported()
1248 static inline int mlx5_core_is_mp_slave(struct mlx5_core_dev *dev) in mlx5_core_is_mp_slave()
1254 static inline int mlx5_core_is_mp_master(struct mlx5_core_dev *dev) in mlx5_core_is_mp_master()
1259 static inline int mlx5_core_mp_enabled(struct mlx5_core_dev *dev) in mlx5_core_mp_enabled()
1265 static inline int mlx5_core_native_port_num(struct mlx5_core_dev *dev) in mlx5_core_native_port_num()
1273 static inline int mlx5_get_dev_index(struct mlx5_core_dev *dev) in mlx5_get_dev_index()
1289 static inline bool mlx5_get_roce_state(struct mlx5_core_dev *dev) in mlx5_get_roce_state()