Lines Matching refs:mlx4_priv

256 	struct mlx4_priv *priv = mlx4_priv(dev);  in comm_pending()
264 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_comm_cmd_post()
291 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_comm_cmd_poll()
341 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_comm_cmd_wait()
413 if (mlx4_priv(dev)->cmd.use_events) in mlx4_comm_cmd()
425 status = readl(mlx4_priv(dev)->cmd.hcr + HCR_STATUS_OFFSET); in cmd_pending()
428 (mlx4_priv(dev)->cmd.toggle == in cmd_pending()
436 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_post()
521 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_slave_cmd()
586 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_poll()
668 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_event()
687 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_wait()
791 if (mlx4_priv(dev)->cmd.use_events) in __mlx4_cmd()
905 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_MAD_IFC_wrapper()
1664 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_master_process_vhcr()
1833 static int mlx4_master_immediate_activate_vlan_qos(struct mlx4_priv *priv, in mlx4_master_immediate_activate_vlan_qos()
1929 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_default_port_qos()
1946 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_allocate_port_vpps()
1984 static int mlx4_master_activate_admin_state(struct mlx4_priv *priv, int slave) in mlx4_master_activate_admin_state()
2037 static void mlx4_master_deactivate_admin_state(struct mlx4_priv *priv, int slave) in mlx4_master_deactivate_admin_state()
2071 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_master_do_cmd()
2214 struct mlx4_priv *priv = in mlx4_master_comm_channel()
2215 container_of(mfunc, struct mlx4_priv, mfunc); in mlx4_master_comm_channel()
2266 struct mlx4_priv *priv = mlx4_priv(dev); in sync_toggles()
2311 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_multi_func_init()
2453 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_init()
2506 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_report_internal_err_comm_event()
2527 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_multi_func_cleanup()
2548 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_cleanup()
2576 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_use_events()
2619 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_use_polling()
2640 mailbox->buf = pci_pool_alloc(mlx4_priv(dev)->cmd.pool, GFP_KERNEL, in mlx4_alloc_cmd_mailbox()
2659 pci_pool_free(mlx4_priv(dev)->cmd.pool, mailbox->buf, mailbox->dma); in mlx4_free_cmd_mailbox()
2693 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_wake_completions()
2821 static int mlx4_set_vport_qos(struct mlx4_priv *priv, int slave, int port, in mlx4_set_vport_qos()
2871 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_is_vf_vst_and_prio_qos()
2920 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_vf_mac()
2943 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_vf_vlan()
2991 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_vf_rate()
3056 struct mlx4_priv *priv; in mlx4_get_slave_default_vlan()
3058 priv = mlx4_priv(dev); in mlx4_get_slave_default_vlan()
3075 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_vf_spoofchk()
3097 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_get_vf_config()
3137 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_set_vf_link_state()
3271 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_vf_smi_enabled()
3284 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_vf_get_enable_smi_admin()
3301 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_vf_set_enable_smi_admin()