Lines Matching defs:dev

171 int mlx4_check_port_params(struct mlx4_dev *dev,  in mlx4_check_port_params()
195 static void mlx4_set_port_mask(struct mlx4_dev *dev) in mlx4_set_port_mask()
207 static int mlx4_query_func(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) in mlx4_query_func()
226 static void mlx4_enable_cqe_eqe_stride(struct mlx4_dev *dev) in mlx4_enable_cqe_eqe_stride()
261 static int _mlx4_dev_port(struct mlx4_dev *dev, int port, in _mlx4_dev_port()
287 static int mlx4_dev_port(struct mlx4_dev *dev, int port, in mlx4_dev_port()
300 static inline void mlx4_enable_ignore_fcs(struct mlx4_dev *dev) in mlx4_enable_ignore_fcs()
320 static int mlx4_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) in mlx4_dev_cap()
590 static int mlx4_get_pcie_dev_link_caps(struct mlx4_dev *dev, in mlx4_get_pcie_dev_link_caps()
631 static void mlx4_check_pcie_caps(struct mlx4_dev *dev) in mlx4_check_pcie_caps()
670 static int mlx4_how_many_lives_vf(struct mlx4_dev *dev) in mlx4_how_many_lives_vf()
689 int mlx4_get_parav_qkey(struct mlx4_dev *dev, u32 qpn, u32 *qkey) in mlx4_get_parav_qkey()
707 void mlx4_sync_pkey_table(struct mlx4_dev *dev, int slave, int port, int i, int val) in mlx4_sync_pkey_table()
718 void mlx4_put_slave_node_guid(struct mlx4_dev *dev, int slave, __be64 guid) in mlx4_put_slave_node_guid()
729 __be64 mlx4_get_slave_node_guid(struct mlx4_dev *dev, int slave) in mlx4_get_slave_node_guid()
740 int mlx4_is_slave_active(struct mlx4_dev *dev, int slave) in mlx4_is_slave_active()
753 static void slave_adjust_steering_mode(struct mlx4_dev *dev, in slave_adjust_steering_mode()
770 static int mlx4_slave_cap(struct mlx4_dev *dev) in mlx4_slave_cap()
971 static void mlx4_request_modules(struct mlx4_dev *dev) in mlx4_request_modules()
996 int mlx4_change_port_types(struct mlx4_dev *dev, in mlx4_change_port_types()
1034 static ssize_t show_port_type(struct device *dev, in show_port_type()
1054 static ssize_t set_port_type(struct device *dev, in set_port_type()
1163 static ssize_t show_port_ib_mtu(struct device *dev, in show_port_ib_mtu()
1179 static ssize_t set_port_ib_mtu(struct device *dev, in set_port_ib_mtu()
1224 int mlx4_bond(struct mlx4_dev *dev) in mlx4_bond()
1245 int mlx4_unbond(struct mlx4_dev *dev) in mlx4_unbond()
1265 int mlx4_port_map_set(struct mlx4_dev *dev, struct mlx4_port_map *v2p) in mlx4_port_map_set()
1309 static int mlx4_load_fw(struct mlx4_dev *dev) in mlx4_load_fw()
1343 static int mlx4_init_cmpt_table(struct mlx4_dev *dev, u64 cmpt_base, in mlx4_init_cmpt_table()
1402 static int mlx4_init_icm(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap, in mlx4_init_icm()
1606 static void mlx4_free_icms(struct mlx4_dev *dev) in mlx4_free_icms()
1629 static void mlx4_slave_exit(struct mlx4_dev *dev) in mlx4_slave_exit()
1640 static int map_bf_area(struct mlx4_dev *dev) in map_bf_area()
1661 static void unmap_bf_area(struct mlx4_dev *dev) in unmap_bf_area()
1667 cycle_t mlx4_read_clock(struct mlx4_dev *dev) in mlx4_read_clock()
1689 static int map_internal_clock(struct mlx4_dev *dev) in map_internal_clock()
1704 int mlx4_get_internal_clock_params(struct mlx4_dev *dev, in mlx4_get_internal_clock_params()
1723 static void unmap_internal_clock(struct mlx4_dev *dev) in unmap_internal_clock()
1731 static void mlx4_close_hca(struct mlx4_dev *dev) in mlx4_close_hca()
1743 static void mlx4_close_fw(struct mlx4_dev *dev) in mlx4_close_fw()
1751 static int mlx4_comm_check_offline(struct mlx4_dev *dev) in mlx4_comm_check_offline()
1779 static void mlx4_reset_vf_support(struct mlx4_dev *dev) in mlx4_reset_vf_support()
1795 static int mlx4_init_slave(struct mlx4_dev *dev) in mlx4_init_slave()
1865 static void mlx4_parav_master_pf_caps(struct mlx4_dev *dev) in mlx4_parav_master_pf_caps()
1918 static void choose_steering_mode(struct mlx4_dev *dev, in choose_steering_mode()
1971 static void choose_tunnel_offload_mode(struct mlx4_dev *dev, in choose_tunnel_offload_mode()
1984 static int mlx4_validate_optimized_steering(struct mlx4_dev *dev) in mlx4_validate_optimized_steering()
2013 static int mlx4_init_fw(struct mlx4_dev *dev) in mlx4_init_fw()
2044 static int mlx4_init_hca(struct mlx4_dev *dev) in mlx4_init_hca()
2239 static int mlx4_init_counters_table(struct mlx4_dev *dev) in mlx4_init_counters_table()
2257 static void mlx4_cleanup_counters_table(struct mlx4_dev *dev) in mlx4_cleanup_counters_table()
2268 static void mlx4_cleanup_default_counters(struct mlx4_dev *dev) in mlx4_cleanup_default_counters()
2278 static int mlx4_allocate_default_counters(struct mlx4_dev *dev) in mlx4_allocate_default_counters()
2314 int __mlx4_counter_alloc(struct mlx4_dev *dev, u32 *idx) in __mlx4_counter_alloc()
2330 int mlx4_counter_alloc(struct mlx4_dev *dev, u32 *idx) in mlx4_counter_alloc()
2348 static int __mlx4_clear_if_stat(struct mlx4_dev *dev, in __mlx4_clear_if_stat()
2367 void __mlx4_counter_free(struct mlx4_dev *dev, u32 idx) in __mlx4_counter_free()
2381 void mlx4_counter_free(struct mlx4_dev *dev, u32 idx) in mlx4_counter_free()
2396 int mlx4_get_default_counter_index(struct mlx4_dev *dev, int port) in mlx4_get_default_counter_index()
2404 void mlx4_set_admin_guid(struct mlx4_dev *dev, __be64 guid, int entry, int port) in mlx4_set_admin_guid()
2412 __be64 mlx4_get_admin_guid(struct mlx4_dev *dev, int entry, int port) in mlx4_get_admin_guid()
2420 void mlx4_set_random_admin_guid(struct mlx4_dev *dev, int entry, int port) in mlx4_set_random_admin_guid()
2435 static int mlx4_setup_hca(struct mlx4_dev *dev) in mlx4_setup_hca()
2637 static int mlx4_init_affinity_hint(struct mlx4_dev *dev, int port, int eqn) in mlx4_init_affinity_hint()
2667 static void mlx4_enable_msi_x(struct mlx4_dev *dev) in mlx4_enable_msi_x()
2761 static int mlx4_init_port_info(struct mlx4_dev *dev, int port) in mlx4_init_port_info()
2829 static int mlx4_init_steering(struct mlx4_dev *dev) in mlx4_init_steering()
2847 static void mlx4_clear_steering(struct mlx4_dev *dev) in mlx4_clear_steering()
2888 static int mlx4_get_ownership(struct mlx4_dev *dev) in mlx4_get_ownership()
2909 static void mlx4_free_ownership(struct mlx4_dev *dev) in mlx4_free_ownership()
2931 static u64 mlx4_enable_sriov(struct mlx4_dev *dev, struct pci_dev *pdev, in mlx4_enable_sriov()
2998 static int mlx4_check_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap, in mlx4_check_dev_cap()
3016 struct mlx4_dev *dev; in mlx4_load_one() local
3563 struct mlx4_dev *dev; in mlx4_init_one() local
3596 static void mlx4_clean_dev(struct mlx4_dev *dev) in mlx4_clean_dev()
3610 struct mlx4_dev *dev = persist->dev; in mlx4_unload_one() local
3691 struct mlx4_dev *dev = persist->dev; in mlx4_remove_one() local
3728 static int restore_current_port_types(struct mlx4_dev *dev, in restore_current_port_types()
3750 struct mlx4_dev *dev = persist->dev; in mlx4_restart_one() local
3847 struct mlx4_dev *dev = persist->dev; in mlx4_pci_slot_reset() local