Lines Matching defs:mfunc

141 	struct mlx4_mfunc *mfunc =
143 struct mlx4_priv *priv = container_of(mfunc, struct mlx4_priv, mfunc);
145 struct mlx4_slave_event_eq *slave_eq = &mfunc->master.slave_eq;
197 struct mlx4_slave_event_eq *slave_eq = &priv->mfunc.master.slave_eq;
218 queue_work(priv->mfunc.master.comm_wq,
219 &priv->mfunc.master.slave_event_work);
230 !priv->mfunc.master.slave_state[slave].active)
258 struct mlx4_slave_state *s_slave = &priv->mfunc.master.slave_state[slave];
314 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state;
331 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state;
387 ctx = &priv->mfunc.master.slave_state[slave];
454 struct mlx4_mfunc *mfunc =
457 container_of(mfunc, struct mlx4_priv, mfunc);
459 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state;
480 spin_lock_irqsave(&priv->mfunc.master.slave_state_lock, flags);
483 spin_unlock_irqrestore(&priv->mfunc.master.slave_state_lock, flags);
625 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state;
666 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state;
729 memcpy(&priv->mfunc.master.comm_arm_bit_vector,
732 queue_work(priv->mfunc.master.comm_wq,
733 &priv->mfunc.master.comm_work);
753 spin_lock_irqsave(&priv->mfunc.master.slave_state_lock, flags);
755 priv->mfunc.master.slave_state[flr_slave].active = false;
756 priv->mfunc.master.slave_state[flr_slave].last_cmd = MLX4_COMM_CMD_FLR;
757 priv->mfunc.master.slave_state[flr_slave].is_slave_going_down = 1;
759 spin_unlock_irqrestore(&priv->mfunc.master.slave_state_lock, flags);
762 queue_work(priv->mfunc.master.comm_wq,
763 &priv->mfunc.master.slave_flr_event_work);
882 priv->mfunc.master.slave_state[slave].event_eq;