Lines Matching defs:dev
145 static inline int mlx4_master_get_num_eqs(struct mlx4_dev *dev) in mlx4_master_get_num_eqs()
151 int mlx4_check_port_params(struct mlx4_dev *dev, in mlx4_check_port_params()
179 static void mlx4_set_port_mask(struct mlx4_dev *dev) in mlx4_set_port_mask()
187 static int mlx4_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) in mlx4_dev_cap()
378 static int mlx4_how_many_lives_vf(struct mlx4_dev *dev) in mlx4_how_many_lives_vf()
397 static int mlx4_is_slave_active(struct mlx4_dev *dev, int slave) in mlx4_is_slave_active()
410 static int mlx4_slave_cap(struct mlx4_dev *dev) in mlx4_slave_cap()
524 int mlx4_change_port_types(struct mlx4_dev *dev, in mlx4_change_port_types()
557 static ssize_t show_port_type(struct device *dev, in show_port_type()
577 static ssize_t set_port_type(struct device *dev, in set_port_type()
649 static int mlx4_load_fw(struct mlx4_dev *dev) in mlx4_load_fw()
683 static int mlx4_init_cmpt_table(struct mlx4_dev *dev, u64 cmpt_base, in mlx4_init_cmpt_table()
744 static int mlx4_init_icm(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap, in mlx4_init_icm()
948 static void mlx4_free_icms(struct mlx4_dev *dev) in mlx4_free_icms()
971 static void mlx4_slave_exit(struct mlx4_dev *dev) in mlx4_slave_exit()
981 static int map_bf_area(struct mlx4_dev *dev) in map_bf_area()
1002 static void unmap_bf_area(struct mlx4_dev *dev) in unmap_bf_area()
1008 static void mlx4_close_hca(struct mlx4_dev *dev) in mlx4_close_hca()
1021 static int mlx4_init_slave(struct mlx4_dev *dev) in mlx4_init_slave()
1088 static int mlx4_init_hca(struct mlx4_dev *dev) in mlx4_init_hca()
1197 static int mlx4_init_counters_table(struct mlx4_dev *dev) in mlx4_init_counters_table()
1209 static void mlx4_cleanup_counters_table(struct mlx4_dev *dev) in mlx4_cleanup_counters_table()
1214 int mlx4_counter_alloc(struct mlx4_dev *dev, u32 *idx) in mlx4_counter_alloc()
1229 void mlx4_counter_free(struct mlx4_dev *dev, u32 idx) in mlx4_counter_free()
1236 static int mlx4_setup_hca(struct mlx4_dev *dev) in mlx4_setup_hca()
1425 static void mlx4_enable_msi_x(struct mlx4_dev *dev) in mlx4_enable_msi_x()
1494 static int mlx4_init_port_info(struct mlx4_dev *dev, int port) in mlx4_init_port_info()
1538 static int mlx4_init_steering(struct mlx4_dev *dev) in mlx4_init_steering()
1558 static void mlx4_clear_steering(struct mlx4_dev *dev) in mlx4_clear_steering()
1599 static int mlx4_get_ownership(struct mlx4_dev *dev) in mlx4_get_ownership()
1616 static void mlx4_free_ownership(struct mlx4_dev *dev) in mlx4_free_ownership()
1634 struct mlx4_dev *dev; in __mlx4_init_one() local
1944 struct mlx4_dev *dev = pci_get_drvdata(pdev); in mlx4_remove_one() local