Lines Matching refs:mlx4_priv

198 	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()
575 if (mlx4_priv(dev)->pci_dev_data & MLX4_PCI_DEV_FORCE_SENSE_PORT) in mlx4_dev_cap()
616 mlx4_priv(dev)->sense.sense_allowed[i] = in mlx4_dev_cap()
626 if (mlx4_priv(dev)->sense.sense_allowed[i] && dev->caps.default_sense[i]) { in mlx4_dev_cap()
744 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_how_many_lives_vf()
781 struct mlx4_priv *priv = container_of(dev, struct mlx4_priv, dev); in mlx4_sync_pkey_table()
792 struct mlx4_priv *priv = container_of(dev, struct mlx4_priv, dev); in mlx4_put_slave_node_guid()
803 struct mlx4_priv *priv = container_of(dev, struct mlx4_priv, dev); in mlx4_get_slave_node_guid()
814 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_is_slave_active()
1181 struct mlx4_priv *priv = mlx4_priv(mdev); in __set_port_type()
1331 struct mlx4_priv *priv = mlx4_priv(mdev); in set_port_ib_mtu()
1450 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_bond()
1478 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_unbond()
1509 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_port_map_set()
1551 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_load_fw()
1586 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_init_cmpt_table()
1645 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_init_icm()
1848 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_free_icms()
1871 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_slave_exit()
1882 struct mlx4_priv *priv = mlx4_priv(dev); in map_bf_area()
1903 if (mlx4_priv(dev)->bf_mapping) in unmap_bf_area()
1904 io_mapping_free(mlx4_priv(dev)->bf_mapping); in unmap_bf_area()
1912 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_read_clock()
1931 struct mlx4_priv *priv = mlx4_priv(dev); in map_internal_clock()
1947 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_get_internal_clock_params()
1970 struct mlx4_priv *priv = mlx4_priv(dev); in unmap_internal_clock()
1992 mlx4_free_icm(dev, mlx4_priv(dev)->fw.fw_icm, 0); in mlx4_close_fw()
2003 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_comm_check_offline()
2036 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_reset_vf_support()
2050 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_init_slave()
2299 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_init_hca()
2506 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_init_counters_table()
2530 mlx4_bitmap_cleanup(&mlx4_priv(dev)->counters_bitmap); in mlx4_cleanup_counters_table()
2535 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cleanup_default_counters()
2545 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_allocate_default_counters()
2582 struct mlx4_priv *priv = mlx4_priv(dev); in __mlx4_counter_alloc()
2645 mlx4_bitmap_free(&mlx4_priv(dev)->counters_bitmap, idx, MLX4_USE_RR); in __mlx4_counter_free()
2666 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_get_default_counter_index()
2674 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_admin_guid()
2682 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_get_admin_guid()
2690 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_random_admin_guid()
2705 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_setup_hca()
2908 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_init_affinity_hint()
2937 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_enable_msi_x()
3032 struct devlink *devlink = priv_to_devlink(mlx4_priv(dev)); in mlx4_init_port_info()
3033 struct mlx4_port_info *info = &mlx4_priv(dev)->port[port]; in mlx4_init_port_info()
3125 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_init_steering()
3144 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_clear_steering()
3336 int total_vfs, int *nvfs, struct mlx4_priv *priv, in mlx4_load_one()
3733 struct mlx4_priv *priv) in __mlx4_init_one()
3907 struct mlx4_priv *priv = devlink_priv(devlink); in mlx4_devlink_param_load_driverinit_values()
3956 struct mlx4_priv *priv = devlink_priv(devlink); in mlx4_devlink_reload_down()
3974 struct mlx4_priv *priv = devlink_priv(devlink); in mlx4_devlink_reload_up()
3998 struct mlx4_priv *priv; in mlx4_init_one()
4053 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_clean_dev()
4065 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_unload_one()
4145 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_remove_one()
4195 struct mlx4_priv *priv = mlx4_priv(dev); in restore_current_port_types()
4220 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_restart_one_up()
4314 devlink = priv_to_devlink(mlx4_priv(dev)); in mlx4_pci_err_detected()
4352 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_pci_resume()
4392 devlink = priv_to_devlink(mlx4_priv(dev)); in mlx4_shutdown()
4416 devlink = priv_to_devlink(mlx4_priv(dev)); in mlx4_suspend()
4432 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_resume()