Lines Matching refs:mlx4_dev
134 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave,
187 static int mlx4_internal_err_ret_value(struct mlx4_dev *dev, u16 op, in mlx4_internal_err_ret_value()
239 static int mlx4_cmd_reset_flow(struct mlx4_dev *dev, u16 op, u8 op_modifier, in mlx4_cmd_reset_flow()
253 static int comm_pending(struct mlx4_dev *dev) in comm_pending()
261 static int mlx4_comm_cmd_post(struct mlx4_dev *dev, u8 cmd, u16 param) in mlx4_comm_cmd_post()
287 static int mlx4_comm_cmd_poll(struct mlx4_dev *dev, u8 cmd, u16 param, in mlx4_comm_cmd_poll()
337 static int mlx4_comm_cmd_wait(struct mlx4_dev *dev, u8 vhcr_cmd, in mlx4_comm_cmd_wait()
406 int mlx4_comm_cmd(struct mlx4_dev *dev, u8 cmd, u16 param, in mlx4_comm_cmd()
417 static int cmd_pending(struct mlx4_dev *dev) in cmd_pending()
431 static int mlx4_cmd_post(struct mlx4_dev *dev, u64 in_param, u64 out_param, in mlx4_cmd_post()
516 static int mlx4_slave_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_slave_cmd()
581 static int mlx4_cmd_poll(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_cmd_poll()
665 void mlx4_cmd_event(struct mlx4_dev *dev, u16 token, u8 status, u64 out_param) in mlx4_cmd_event()
682 static int mlx4_cmd_wait(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_cmd_wait()
766 int __mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in __mlx4_cmd()
792 int mlx4_ARM_COMM_CHANNEL(struct mlx4_dev *dev) in mlx4_ARM_COMM_CHANNEL()
798 static int mlx4_ACCESS_MEM(struct mlx4_dev *dev, u64 master_addr, in mlx4_ACCESS_MEM()
825 static int query_pkey_block(struct mlx4_dev *dev, u8 port, u16 index, u16 *pkey, in query_pkey_block()
851 static int get_full_pkey_table(struct mlx4_dev *dev, u8 port, u16 *table, in get_full_pkey_table()
869 static enum ib_port_state vf_port_state(struct mlx4_dev *dev, int port, int vf) in vf_port_state()
877 static int mlx4_MAD_IFC_wrapper(struct mlx4_dev *dev, int slave, in mlx4_MAD_IFC_wrapper()
1009 static int mlx4_CMD_EPERM_wrapper(struct mlx4_dev *dev, int slave, in mlx4_CMD_EPERM_wrapper()
1018 int mlx4_DMA_wrapper(struct mlx4_dev *dev, int slave, in mlx4_DMA_wrapper()
1645 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave, in mlx4_master_process_vhcr()
1823 struct mlx4_dev *dev = &(priv->dev); in mlx4_master_immediate_activate_vlan_qos()
1910 static void mlx4_set_default_port_qos(struct mlx4_dev *dev, int port) in mlx4_set_default_port_qos()
1922 static void mlx4_allocate_port_vpps(struct mlx4_dev *dev, int port) in mlx4_allocate_port_vpps()
2052 static void mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd, in mlx4_master_do_cmd()
2200 struct mlx4_dev *dev = &priv->dev; in mlx4_master_comm_channel()
2248 static int sync_toggles(struct mlx4_dev *dev) in sync_toggles()
2293 int mlx4_multi_func_init(struct mlx4_dev *dev) in mlx4_multi_func_init()
2435 int mlx4_cmd_init(struct mlx4_dev *dev) in mlx4_cmd_init()
2488 void mlx4_report_internal_err_comm_event(struct mlx4_dev *dev) in mlx4_report_internal_err_comm_event()
2509 void mlx4_multi_func_cleanup(struct mlx4_dev *dev) in mlx4_multi_func_cleanup()
2530 void mlx4_cmd_cleanup(struct mlx4_dev *dev, int cleanup_mask) in mlx4_cmd_cleanup()
2558 int mlx4_cmd_use_events(struct mlx4_dev *dev) in mlx4_cmd_use_events()
2601 void mlx4_cmd_use_polling(struct mlx4_dev *dev) in mlx4_cmd_use_polling()
2616 struct mlx4_cmd_mailbox *mlx4_alloc_cmd_mailbox(struct mlx4_dev *dev) in mlx4_alloc_cmd_mailbox()
2637 void mlx4_free_cmd_mailbox(struct mlx4_dev *dev, in mlx4_free_cmd_mailbox()
2653 static int mlx4_get_slave_indx(struct mlx4_dev *dev, int vf) in mlx4_get_slave_indx()
2664 int mlx4_get_vf_indx(struct mlx4_dev *dev, int slave) in mlx4_get_vf_indx()
2675 void mlx4_cmd_wake_completions(struct mlx4_dev *dev) in mlx4_cmd_wake_completions()
2694 struct mlx4_active_ports mlx4_get_active_ports(struct mlx4_dev *dev, int slave) in mlx4_get_active_ports()
2718 int mlx4_slave_convert_port(struct mlx4_dev *dev, int slave, int port) in mlx4_slave_convert_port()
2735 int mlx4_phys_to_slave_port(struct mlx4_dev *dev, int slave, int port) in mlx4_phys_to_slave_port()
2746 struct mlx4_slaves_pport mlx4_phys_to_slaves_pport(struct mlx4_dev *dev, in mlx4_phys_to_slaves_pport()
2769 struct mlx4_dev *dev, in mlx4_phys_to_slaves_pport_actv()
2789 static int mlx4_slaves_closest_port(struct mlx4_dev *dev, int slave, int port) in mlx4_slaves_closest_port()
2811 struct mlx4_dev *dev = &priv->dev; in mlx4_set_vport_qos()
2851 static bool mlx4_is_vf_vst_and_prio_qos(struct mlx4_dev *dev, int port, in mlx4_is_vf_vst_and_prio_qos()
2870 static bool mlx4_valid_vf_state_change(struct mlx4_dev *dev, int port, in mlx4_valid_vf_state_change()
2902 int mlx4_set_vf_mac(struct mlx4_dev *dev, int port, int vf, u64 mac) in mlx4_set_vf_mac()
2925 int mlx4_set_vf_vlan(struct mlx4_dev *dev, int port, int vf, u16 vlan, u8 qos) in mlx4_set_vf_vlan()
2969 int mlx4_set_vf_rate(struct mlx4_dev *dev, int port, int vf, int min_tx_rate, in mlx4_set_vf_rate()
3036 bool mlx4_get_slave_default_vlan(struct mlx4_dev *dev, int port, int slave, in mlx4_get_slave_default_vlan()
3057 int mlx4_set_vf_spoofchk(struct mlx4_dev *dev, int port, int vf, bool setting) in mlx4_set_vf_spoofchk()
3079 int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf) in mlx4_get_vf_config()
3119 int mlx4_set_vf_link_state(struct mlx4_dev *dev, int port, int vf, int link_state) in mlx4_set_vf_link_state()
3167 int mlx4_vf_smi_enabled(struct mlx4_dev *dev, int slave, int port) in mlx4_vf_smi_enabled()
3180 int mlx4_vf_get_enable_smi_admin(struct mlx4_dev *dev, int slave, int port) in mlx4_vf_get_enable_smi_admin()
3196 int mlx4_vf_set_enable_smi_admin(struct mlx4_dev *dev, int slave, int port, in mlx4_vf_set_enable_smi_admin()