Lines Matching refs:mlx4_dev

193 	struct mlx4_dev *dev = &priv->dev;  in mlx4_devlink_crdump_snapshot_get()
204 struct mlx4_dev *dev = &priv->dev; in mlx4_devlink_crdump_snapshot_set()
288 static inline void mlx4_set_num_reserved_uars(struct mlx4_dev *dev, in mlx4_set_num_reserved_uars()
302 int mlx4_check_port_params(struct mlx4_dev *dev, in mlx4_check_port_params()
326 static void mlx4_set_port_mask(struct mlx4_dev *dev) in mlx4_set_port_mask()
338 static int mlx4_query_func(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) in mlx4_query_func()
357 static void mlx4_enable_cqe_eqe_stride(struct mlx4_dev *dev) in mlx4_enable_cqe_eqe_stride()
392 static int _mlx4_dev_port(struct mlx4_dev *dev, int port, in _mlx4_dev_port()
419 static int mlx4_dev_port(struct mlx4_dev *dev, int port, in mlx4_dev_port()
432 static inline void mlx4_enable_ignore_fcs(struct mlx4_dev *dev) in mlx4_enable_ignore_fcs()
452 static int mlx4_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) in mlx4_dev_cap()
737 static int mlx4_how_many_lives_vf(struct mlx4_dev *dev) in mlx4_how_many_lives_vf()
756 int mlx4_get_parav_qkey(struct mlx4_dev *dev, u32 qpn, u32 *qkey) in mlx4_get_parav_qkey()
774 void mlx4_sync_pkey_table(struct mlx4_dev *dev, int slave, int port, int i, int val) in mlx4_sync_pkey_table()
785 void mlx4_put_slave_node_guid(struct mlx4_dev *dev, int slave, __be64 guid) in mlx4_put_slave_node_guid()
796 __be64 mlx4_get_slave_node_guid(struct mlx4_dev *dev, int slave) in mlx4_get_slave_node_guid()
807 int mlx4_is_slave_active(struct mlx4_dev *dev, int slave) in mlx4_is_slave_active()
837 static void slave_adjust_steering_mode(struct mlx4_dev *dev, in slave_adjust_steering_mode()
854 static void mlx4_slave_destroy_special_qp_cap(struct mlx4_dev *dev) in mlx4_slave_destroy_special_qp_cap()
860 static int mlx4_slave_special_qp_cap(struct mlx4_dev *dev) in mlx4_slave_special_qp_cap()
902 static int mlx4_slave_cap(struct mlx4_dev *dev) in mlx4_slave_cap()
1093 int mlx4_change_port_types(struct mlx4_dev *dev, in mlx4_change_port_types()
1136 struct mlx4_dev *mdev = info->dev; in show_port_type()
1153 struct mlx4_dev *mdev = info->dev; in __set_port_type()
1222 struct mlx4_dev *mdev = info->dev; in set_port_type()
1287 struct mlx4_dev *mdev = info->dev; in show_port_ib_mtu()
1303 struct mlx4_dev *mdev = info->dev; in set_port_ib_mtu()
1344 static int mlx4_mf_bond(struct mlx4_dev *dev) in mlx4_mf_bond()
1397 static int mlx4_mf_unbond(struct mlx4_dev *dev) in mlx4_mf_unbond()
1417 static int mlx4_bond(struct mlx4_dev *dev) in mlx4_bond()
1444 static int mlx4_unbond(struct mlx4_dev *dev) in mlx4_unbond()
1472 static int mlx4_port_map_set(struct mlx4_dev *dev, struct mlx4_port_map *v2p) in mlx4_port_map_set()
1517 struct mlx4_dev *dev;
1550 int mlx4_queue_bond_work(struct mlx4_dev *dev, int is_bonded, u8 v2p_p1, in mlx4_queue_bond_work()
1570 static int mlx4_load_fw(struct mlx4_dev *dev) in mlx4_load_fw()
1604 static int mlx4_init_cmpt_table(struct mlx4_dev *dev, u64 cmpt_base, in mlx4_init_cmpt_table()
1663 static int mlx4_init_icm(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap, in mlx4_init_icm()
1867 static void mlx4_free_icms(struct mlx4_dev *dev) in mlx4_free_icms()
1890 static void mlx4_slave_exit(struct mlx4_dev *dev) in mlx4_slave_exit()
1901 static int map_bf_area(struct mlx4_dev *dev) in map_bf_area()
1922 static void unmap_bf_area(struct mlx4_dev *dev) in unmap_bf_area()
1928 u64 mlx4_read_clock(struct mlx4_dev *dev) in mlx4_read_clock()
1950 static int map_internal_clock(struct mlx4_dev *dev) in map_internal_clock()
1965 int mlx4_get_internal_clock_params(struct mlx4_dev *dev, in mlx4_get_internal_clock_params()
1989 static void unmap_internal_clock(struct mlx4_dev *dev) in unmap_internal_clock()
1997 static void mlx4_close_hca(struct mlx4_dev *dev) in mlx4_close_hca()
2009 static void mlx4_close_fw(struct mlx4_dev *dev) in mlx4_close_fw()
2017 static int mlx4_comm_check_offline(struct mlx4_dev *dev) in mlx4_comm_check_offline()
2053 static void mlx4_reset_vf_support(struct mlx4_dev *dev) in mlx4_reset_vf_support()
2069 static int mlx4_init_slave(struct mlx4_dev *dev) in mlx4_init_slave()
2139 static void mlx4_parav_master_pf_caps(struct mlx4_dev *dev) in mlx4_parav_master_pf_caps()
2192 static void choose_steering_mode(struct mlx4_dev *dev, in choose_steering_mode()
2245 static void choose_tunnel_offload_mode(struct mlx4_dev *dev, in choose_tunnel_offload_mode()
2258 static int mlx4_validate_optimized_steering(struct mlx4_dev *dev) in mlx4_validate_optimized_steering()
2287 static int mlx4_init_fw(struct mlx4_dev *dev) in mlx4_init_fw()
2318 static int mlx4_init_hca(struct mlx4_dev *dev) in mlx4_init_hca()
2525 static int mlx4_init_counters_table(struct mlx4_dev *dev) in mlx4_init_counters_table()
2543 static void mlx4_cleanup_counters_table(struct mlx4_dev *dev) in mlx4_cleanup_counters_table()
2554 static void mlx4_cleanup_default_counters(struct mlx4_dev *dev) in mlx4_cleanup_default_counters()
2564 static int mlx4_allocate_default_counters(struct mlx4_dev *dev) in mlx4_allocate_default_counters()
2601 int __mlx4_counter_alloc(struct mlx4_dev *dev, u32 *idx) in __mlx4_counter_alloc()
2617 int mlx4_counter_alloc(struct mlx4_dev *dev, u32 *idx, u8 usage) in mlx4_counter_alloc()
2637 static int __mlx4_clear_if_stat(struct mlx4_dev *dev, in __mlx4_clear_if_stat()
2656 void __mlx4_counter_free(struct mlx4_dev *dev, u32 idx) in __mlx4_counter_free()
2670 void mlx4_counter_free(struct mlx4_dev *dev, u32 idx) in mlx4_counter_free()
2685 int mlx4_get_default_counter_index(struct mlx4_dev *dev, int port) in mlx4_get_default_counter_index()
2693 void mlx4_set_admin_guid(struct mlx4_dev *dev, __be64 guid, int entry, int port) in mlx4_set_admin_guid()
2701 __be64 mlx4_get_admin_guid(struct mlx4_dev *dev, int entry, int port) in mlx4_get_admin_guid()
2709 void mlx4_set_random_admin_guid(struct mlx4_dev *dev, int entry, int port) in mlx4_set_random_admin_guid()
2724 static int mlx4_setup_hca(struct mlx4_dev *dev) in mlx4_setup_hca()
2926 static int mlx4_init_affinity_hint(struct mlx4_dev *dev, int port, int eqn) in mlx4_init_affinity_hint()
2956 static void mlx4_enable_msi_x(struct mlx4_dev *dev) in mlx4_enable_msi_x()
3080 static int mlx4_init_port_info(struct mlx4_dev *dev, int port) in mlx4_init_port_info()
3174 static int mlx4_init_steering(struct mlx4_dev *dev) in mlx4_init_steering()
3193 static void mlx4_clear_steering(struct mlx4_dev *dev) in mlx4_clear_steering()
3234 static int mlx4_get_ownership(struct mlx4_dev *dev) in mlx4_get_ownership()
3255 static void mlx4_free_ownership(struct mlx4_dev *dev) in mlx4_free_ownership()
3277 static u64 mlx4_enable_sriov(struct mlx4_dev *dev, struct pci_dev *pdev, in mlx4_enable_sriov()
3344 static int mlx4_check_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap, in mlx4_check_dev_cap()
3358 static int mlx4_pci_enable_device(struct mlx4_dev *dev) in mlx4_pci_enable_device()
3374 static void mlx4_pci_disable_device(struct mlx4_dev *dev) in mlx4_pci_disable_device()
3391 struct mlx4_dev *dev; in mlx4_load_one()
3939 struct mlx4_dev *dev = &priv->dev; in mlx4_devlink_param_load_driverinit_values()
3988 struct mlx4_dev *dev = &priv->dev; in mlx4_devlink_reload_down()
4006 struct mlx4_dev *dev = &priv->dev; in mlx4_devlink_reload_up()
4029 struct mlx4_dev *dev; in mlx4_init_one()
4079 static void mlx4_clean_dev(struct mlx4_dev *dev) in mlx4_clean_dev()
4093 struct mlx4_dev *dev = persist->dev; in mlx4_unload_one()
4175 struct mlx4_dev *dev = persist->dev; in mlx4_remove_one()
4222 static int restore_current_port_types(struct mlx4_dev *dev, in restore_current_port_types()
4250 struct mlx4_dev *dev = persist->dev; in mlx4_restart_one_up()
4339 struct mlx4_dev *dev = persist->dev; in mlx4_pci_err_detected()
4363 struct mlx4_dev *dev = persist->dev; in mlx4_pci_slot_reset()
4382 struct mlx4_dev *dev = persist->dev; in mlx4_pci_resume()
4419 struct mlx4_dev *dev = persist->dev; in mlx4_shutdown()
4443 struct mlx4_dev *dev = persist->dev; in mlx4_suspend()
4462 struct mlx4_dev *dev = persist->dev; in mlx4_resume()