Lines Matching refs:mlx4_dev

135 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave,
188 static int mlx4_internal_err_ret_value(struct mlx4_dev *dev, u16 op, in mlx4_internal_err_ret_value()
240 static int mlx4_cmd_reset_flow(struct mlx4_dev *dev, u16 op, u8 op_modifier, in mlx4_cmd_reset_flow()
254 static int comm_pending(struct mlx4_dev *dev) in comm_pending()
262 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()
517 static int mlx4_slave_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_slave_cmd()
582 static int mlx4_cmd_poll(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_cmd_poll()
666 void mlx4_cmd_event(struct mlx4_dev *dev, u16 token, u8 status, u64 out_param) in mlx4_cmd_event()
683 static int mlx4_cmd_wait(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_cmd_wait()
780 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()
1839 struct mlx4_dev *dev = &(priv->dev); in mlx4_master_immediate_activate_vlan_qos()
1926 static void mlx4_set_default_port_qos(struct mlx4_dev *dev, int port) in mlx4_set_default_port_qos()
1938 static void mlx4_allocate_port_vpps(struct mlx4_dev *dev, int port) in mlx4_allocate_port_vpps()
2068 static void mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd, in mlx4_master_do_cmd()
2216 struct mlx4_dev *dev = &priv->dev; in mlx4_master_comm_channel()
2264 static int sync_toggles(struct mlx4_dev *dev) in sync_toggles()
2309 int mlx4_multi_func_init(struct mlx4_dev *dev) in mlx4_multi_func_init()
2451 int mlx4_cmd_init(struct mlx4_dev *dev) in mlx4_cmd_init()
2504 void mlx4_report_internal_err_comm_event(struct mlx4_dev *dev) in mlx4_report_internal_err_comm_event()
2525 void mlx4_multi_func_cleanup(struct mlx4_dev *dev) in mlx4_multi_func_cleanup()
2546 void mlx4_cmd_cleanup(struct mlx4_dev *dev, int cleanup_mask) in mlx4_cmd_cleanup()
2574 int mlx4_cmd_use_events(struct mlx4_dev *dev) in mlx4_cmd_use_events()
2617 void mlx4_cmd_use_polling(struct mlx4_dev *dev) in mlx4_cmd_use_polling()
2632 struct mlx4_cmd_mailbox *mlx4_alloc_cmd_mailbox(struct mlx4_dev *dev) in mlx4_alloc_cmd_mailbox()
2653 void mlx4_free_cmd_mailbox(struct mlx4_dev *dev, in mlx4_free_cmd_mailbox()
2669 static int mlx4_get_slave_indx(struct mlx4_dev *dev, int vf) in mlx4_get_slave_indx()
2680 int mlx4_get_vf_indx(struct mlx4_dev *dev, int slave) in mlx4_get_vf_indx()
2691 void mlx4_cmd_wake_completions(struct mlx4_dev *dev) in mlx4_cmd_wake_completions()
2710 struct mlx4_active_ports mlx4_get_active_ports(struct mlx4_dev *dev, int slave) in mlx4_get_active_ports()
2734 int mlx4_slave_convert_port(struct mlx4_dev *dev, int slave, int port) in mlx4_slave_convert_port()
2751 int mlx4_phys_to_slave_port(struct mlx4_dev *dev, int slave, int port) in mlx4_phys_to_slave_port()
2762 struct mlx4_slaves_pport mlx4_phys_to_slaves_pport(struct mlx4_dev *dev, in mlx4_phys_to_slaves_pport()
2785 struct mlx4_dev *dev, in mlx4_phys_to_slaves_pport_actv()
2805 static int mlx4_slaves_closest_port(struct mlx4_dev *dev, int slave, int port) in mlx4_slaves_closest_port()
2827 struct mlx4_dev *dev = &priv->dev; in mlx4_set_vport_qos()
2867 static bool mlx4_is_vf_vst_and_prio_qos(struct mlx4_dev *dev, int port, in mlx4_is_vf_vst_and_prio_qos()
2886 static bool mlx4_valid_vf_state_change(struct mlx4_dev *dev, int port, in mlx4_valid_vf_state_change()
2918 int mlx4_set_vf_mac(struct mlx4_dev *dev, int port, int vf, u64 mac) in mlx4_set_vf_mac()
2941 int mlx4_set_vf_vlan(struct mlx4_dev *dev, int port, int vf, u16 vlan, u8 qos) in mlx4_set_vf_vlan()
2985 int mlx4_set_vf_rate(struct mlx4_dev *dev, int port, int vf, int min_tx_rate, in mlx4_set_vf_rate()
3052 bool mlx4_get_slave_default_vlan(struct mlx4_dev *dev, int port, int slave, in mlx4_get_slave_default_vlan()
3073 int mlx4_set_vf_spoofchk(struct mlx4_dev *dev, int port, int vf, bool setting) in mlx4_set_vf_spoofchk()
3095 int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf) in mlx4_get_vf_config()
3135 int mlx4_set_vf_link_state(struct mlx4_dev *dev, int port, int vf, int link_state) in mlx4_set_vf_link_state()
3183 int mlx4_get_counter_stats(struct mlx4_dev *dev, int counter_index, in mlx4_get_counter_stats()
3239 int mlx4_get_vf_stats(struct mlx4_dev *dev, int port, int vf_idx, in mlx4_get_vf_stats()
3269 int mlx4_vf_smi_enabled(struct mlx4_dev *dev, int slave, int port) in mlx4_vf_smi_enabled()
3282 int mlx4_vf_get_enable_smi_admin(struct mlx4_dev *dev, int slave, int port) in mlx4_vf_get_enable_smi_admin()
3298 int mlx4_vf_set_enable_smi_admin(struct mlx4_dev *dev, int slave, int port, in mlx4_vf_set_enable_smi_admin()