Lines Matching refs:mlx4_priv

255 	struct mlx4_priv *priv = mlx4_priv(dev);  in comm_pending()
263 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_comm_cmd_post()
290 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_comm_cmd_poll()
340 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_comm_cmd_wait()
412 if (mlx4_priv(dev)->cmd.use_events) in mlx4_comm_cmd()
424 status = readl(mlx4_priv(dev)->cmd.hcr + HCR_STATUS_OFFSET); in cmd_pending()
427 (mlx4_priv(dev)->cmd.toggle == in cmd_pending()
435 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_post()
520 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_slave_cmd()
585 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_poll()
667 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_event()
686 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_wait()
777 if (mlx4_priv(dev)->cmd.use_events) in __mlx4_cmd()
891 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_MAD_IFC_wrapper()
1648 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_master_process_vhcr()
1817 static int mlx4_master_immediate_activate_vlan_qos(struct mlx4_priv *priv, in mlx4_master_immediate_activate_vlan_qos()
1913 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_default_port_qos()
1930 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_allocate_port_vpps()
1968 static int mlx4_master_activate_admin_state(struct mlx4_priv *priv, int slave) in mlx4_master_activate_admin_state()
2021 static void mlx4_master_deactivate_admin_state(struct mlx4_priv *priv, int slave) in mlx4_master_deactivate_admin_state()
2055 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_master_do_cmd()
2198 struct mlx4_priv *priv = in mlx4_master_comm_channel()
2199 container_of(mfunc, struct mlx4_priv, mfunc); in mlx4_master_comm_channel()
2250 struct mlx4_priv *priv = mlx4_priv(dev); in sync_toggles()
2295 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_multi_func_init()
2437 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_init()
2490 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_report_internal_err_comm_event()
2511 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_multi_func_cleanup()
2532 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_cleanup()
2560 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_use_events()
2603 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_use_polling()
2624 mailbox->buf = pci_pool_alloc(mlx4_priv(dev)->cmd.pool, GFP_KERNEL, in mlx4_alloc_cmd_mailbox()
2643 pci_pool_free(mlx4_priv(dev)->cmd.pool, mailbox->buf, mailbox->dma); in mlx4_free_cmd_mailbox()
2677 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_wake_completions()
2805 static int mlx4_set_vport_qos(struct mlx4_priv *priv, int slave, int port, in mlx4_set_vport_qos()
2855 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_is_vf_vst_and_prio_qos()
2904 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_vf_mac()
2927 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_vf_vlan()
2975 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_vf_rate()
3040 struct mlx4_priv *priv; in mlx4_get_slave_default_vlan()
3042 priv = mlx4_priv(dev); in mlx4_get_slave_default_vlan()
3059 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_vf_spoofchk()
3081 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_get_vf_config()
3121 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_vf_link_state()
3169 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_vf_smi_enabled()
3182 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_vf_get_enable_smi_admin()
3199 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_vf_set_enable_smi_admin()