Lines Matching refs: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)
253 struct mlx4_slave_state *s_slave = &priv->mfunc.master.slave_state[slave];
309 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state;
326 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state;
382 ctx = &priv->mfunc.master.slave_state[slave];
449 struct mlx4_mfunc *mfunc =
452 container_of(mfunc, struct mlx4_priv, mfunc);
454 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state;
475 spin_lock_irqsave(&priv->mfunc.master.slave_state_lock, flags);
478 spin_unlock_irqrestore(&priv->mfunc.master.slave_state_lock, flags);
614 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state;
655 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state;
718 memcpy(&priv->mfunc.master.comm_arm_bit_vector,
721 queue_work(priv->mfunc.master.comm_wq,
722 &priv->mfunc.master.comm_work);
742 spin_lock_irqsave(&priv->mfunc.master.slave_state_lock, flags);
744 priv->mfunc.master.slave_state[flr_slave].active = false;
745 priv->mfunc.master.slave_state[flr_slave].last_cmd = MLX4_COMM_CMD_FLR;
746 priv->mfunc.master.slave_state[flr_slave].is_slave_going_down = 1;
748 spin_unlock_irqrestore(&priv->mfunc.master.slave_state_lock, flags);
751 queue_work(priv->mfunc.master.comm_wq,
752 &priv->mfunc.master.slave_flr_event_work);
871 priv->mfunc.master.slave_state[slave].event_eq;