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;
667 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state;
730 memcpy(&priv->mfunc.master.comm_arm_bit_vector,
733 queue_work(priv->mfunc.master.comm_wq,
734 &priv->mfunc.master.comm_work);
754 spin_lock_irqsave(&priv->mfunc.master.slave_state_lock, flags);
756 priv->mfunc.master.slave_state[flr_slave].active = false;
757 priv->mfunc.master.slave_state[flr_slave].last_cmd = MLX4_COMM_CMD_FLR;
758 priv->mfunc.master.slave_state[flr_slave].is_slave_going_down = 1;
760 spin_unlock_irqrestore(&priv->mfunc.master.slave_state_lock, flags);
763 queue_work(priv->mfunc.master.comm_wq,
764 &priv->mfunc.master.slave_flr_event_work);
883 priv->mfunc.master.slave_state[slave].event_eq;