Lines Matching refs:mlx4_dev

136 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave,
189 static int mlx4_internal_err_ret_value(struct mlx4_dev *dev, u16 op, in mlx4_internal_err_ret_value()
241 static int mlx4_cmd_reset_flow(struct mlx4_dev *dev, u16 op, u8 op_modifier, in mlx4_cmd_reset_flow()
255 static int comm_pending(struct mlx4_dev *dev) in comm_pending()
263 static int mlx4_comm_cmd_post(struct mlx4_dev *dev, u8 cmd, u16 param) in mlx4_comm_cmd_post()
288 static int mlx4_comm_cmd_poll(struct mlx4_dev *dev, u8 cmd, u16 param, in mlx4_comm_cmd_poll()
338 static int mlx4_comm_cmd_wait(struct mlx4_dev *dev, u8 vhcr_cmd, in mlx4_comm_cmd_wait()
407 int mlx4_comm_cmd(struct mlx4_dev *dev, u8 cmd, u16 param, in mlx4_comm_cmd()
418 static int cmd_pending(struct mlx4_dev *dev) in cmd_pending()
432 static int mlx4_cmd_post(struct mlx4_dev *dev, u64 in_param, u64 out_param, in mlx4_cmd_post()
511 static int mlx4_slave_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_slave_cmd()
576 static int mlx4_cmd_poll(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_cmd_poll()
660 void mlx4_cmd_event(struct mlx4_dev *dev, u16 token, u8 status, u64 out_param) in mlx4_cmd_event()
677 static int mlx4_cmd_wait(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_cmd_wait()
774 int __mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in __mlx4_cmd()
806 int mlx4_ARM_COMM_CHANNEL(struct mlx4_dev *dev) in mlx4_ARM_COMM_CHANNEL()
812 static int mlx4_ACCESS_MEM(struct mlx4_dev *dev, u64 master_addr, in mlx4_ACCESS_MEM()
839 static int query_pkey_block(struct mlx4_dev *dev, u8 port, u16 index, u16 *pkey, in query_pkey_block()
865 static int get_full_pkey_table(struct mlx4_dev *dev, u8 port, u16 *table, in get_full_pkey_table()
883 static enum ib_port_state vf_port_state(struct mlx4_dev *dev, int port, int vf) in vf_port_state()
891 static int mlx4_MAD_IFC_wrapper(struct mlx4_dev *dev, int slave, in mlx4_MAD_IFC_wrapper()
1025 static int mlx4_CMD_EPERM_wrapper(struct mlx4_dev *dev, int slave, in mlx4_CMD_EPERM_wrapper()
1034 int mlx4_DMA_wrapper(struct mlx4_dev *dev, int slave, in mlx4_DMA_wrapper()
1661 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave, in mlx4_master_process_vhcr()
1847 struct mlx4_dev *dev = &(priv->dev); in mlx4_master_immediate_activate_vlan_qos()
1937 static void mlx4_set_default_port_qos(struct mlx4_dev *dev, int port) in mlx4_set_default_port_qos()
1949 static void mlx4_allocate_port_vpps(struct mlx4_dev *dev, int port) in mlx4_allocate_port_vpps()
2084 static void mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd, in mlx4_master_do_cmd()
2232 struct mlx4_dev *dev = &priv->dev; in mlx4_master_comm_channel()
2289 static int sync_toggles(struct mlx4_dev *dev) in sync_toggles()
2345 int mlx4_multi_func_init(struct mlx4_dev *dev) in mlx4_multi_func_init()
2494 int mlx4_cmd_init(struct mlx4_dev *dev) in mlx4_cmd_init()
2548 void mlx4_report_internal_err_comm_event(struct mlx4_dev *dev) in mlx4_report_internal_err_comm_event()
2572 void mlx4_multi_func_cleanup(struct mlx4_dev *dev) in mlx4_multi_func_cleanup()
2593 void mlx4_cmd_cleanup(struct mlx4_dev *dev, int cleanup_mask) in mlx4_cmd_cleanup()
2621 int mlx4_cmd_use_events(struct mlx4_dev *dev) in mlx4_cmd_use_events()
2669 void mlx4_cmd_use_polling(struct mlx4_dev *dev) in mlx4_cmd_use_polling()
2691 struct mlx4_cmd_mailbox *mlx4_alloc_cmd_mailbox(struct mlx4_dev *dev) in mlx4_alloc_cmd_mailbox()
2710 void mlx4_free_cmd_mailbox(struct mlx4_dev *dev, in mlx4_free_cmd_mailbox()
2726 static int mlx4_get_slave_indx(struct mlx4_dev *dev, int vf) in mlx4_get_slave_indx()
2737 int mlx4_get_vf_indx(struct mlx4_dev *dev, int slave) in mlx4_get_vf_indx()
2748 void mlx4_cmd_wake_completions(struct mlx4_dev *dev) in mlx4_cmd_wake_completions()
2767 struct mlx4_active_ports mlx4_get_active_ports(struct mlx4_dev *dev, int slave) in mlx4_get_active_ports()
2791 int mlx4_slave_convert_port(struct mlx4_dev *dev, int slave, int port) in mlx4_slave_convert_port()
2808 int mlx4_phys_to_slave_port(struct mlx4_dev *dev, int slave, int port) in mlx4_phys_to_slave_port()
2819 struct mlx4_slaves_pport mlx4_phys_to_slaves_pport(struct mlx4_dev *dev, in mlx4_phys_to_slaves_pport()
2842 struct mlx4_dev *dev, in mlx4_phys_to_slaves_pport_actv()
2862 static int mlx4_slaves_closest_port(struct mlx4_dev *dev, int slave, int port) in mlx4_slaves_closest_port()
2884 struct mlx4_dev *dev = &priv->dev; in mlx4_set_vport_qos()
2924 static bool mlx4_is_vf_vst_and_prio_qos(struct mlx4_dev *dev, int port, in mlx4_is_vf_vst_and_prio_qos()
2943 static bool mlx4_valid_vf_state_change(struct mlx4_dev *dev, int port, in mlx4_valid_vf_state_change()
2975 int mlx4_set_vf_mac(struct mlx4_dev *dev, int port, int vf, u8 *mac) in mlx4_set_vf_mac()
3007 int mlx4_set_vf_vlan(struct mlx4_dev *dev, int port, int vf, u16 vlan, u8 qos, in mlx4_set_vf_vlan()
3079 int mlx4_set_vf_rate(struct mlx4_dev *dev, int port, int vf, int min_tx_rate, in mlx4_set_vf_rate()
3146 bool mlx4_get_slave_default_vlan(struct mlx4_dev *dev, int port, int slave, in mlx4_get_slave_default_vlan()
3167 int mlx4_set_vf_spoofchk(struct mlx4_dev *dev, int port, int vf, bool setting) in mlx4_set_vf_spoofchk()
3197 int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf) in mlx4_get_vf_config()
3238 int mlx4_set_vf_link_state(struct mlx4_dev *dev, int port, int vf, int link_state) in mlx4_set_vf_link_state()
3286 int mlx4_get_counter_stats(struct mlx4_dev *dev, int counter_index, in mlx4_get_counter_stats()
3342 int mlx4_get_vf_stats(struct mlx4_dev *dev, int port, int vf_idx, in mlx4_get_vf_stats()
3372 int mlx4_vf_smi_enabled(struct mlx4_dev *dev, int slave, int port) in mlx4_vf_smi_enabled()
3385 int mlx4_vf_get_enable_smi_admin(struct mlx4_dev *dev, int slave, int port) in mlx4_vf_get_enable_smi_admin()
3401 int mlx4_vf_set_enable_smi_admin(struct mlx4_dev *dev, int slave, int port, in mlx4_vf_set_enable_smi_admin()