Lines Matching refs:mlx4_dev
261 struct mlx4_dev;
268 int __mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param,
273 static inline int mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u32 in_modifier, in mlx4_cmd()
282 static inline int mlx4_cmd_box(struct mlx4_dev *dev, u64 in_param, u64 out_param, in mlx4_cmd_box()
295 static inline int mlx4_cmd_imm(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_cmd_imm()
303 struct mlx4_cmd_mailbox *mlx4_alloc_cmd_mailbox(struct mlx4_dev *dev);
304 void mlx4_free_cmd_mailbox(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox);
306 int mlx4_get_counter_stats(struct mlx4_dev *dev, int counter_index,
308 int mlx4_get_vf_stats(struct mlx4_dev *dev, int port, int vf_idx,
311 int mlx4_set_vf_mac(struct mlx4_dev *dev, int port, int vf, u8 *mac);
312 int mlx4_set_vf_vlan(struct mlx4_dev *dev, int port, int vf, u16 vlan,
314 int mlx4_set_vf_rate(struct mlx4_dev *dev, int port, int vf, int min_tx_rate,
316 int mlx4_set_vf_spoofchk(struct mlx4_dev *dev, int port, int vf, bool setting);
317 int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf);
318 int mlx4_set_vf_link_state(struct mlx4_dev *dev, int port, int vf, int link_state);
319 int mlx4_config_dev_retrieval(struct mlx4_dev *dev,
321 void mlx4_cmd_wake_completions(struct mlx4_dev *dev);
322 void mlx4_report_internal_err_comm_event(struct mlx4_dev *dev);
328 bool mlx4_get_slave_default_vlan(struct mlx4_dev *dev, int port, int slave,