Lines Matching refs:mfunc

141 	struct mlx4_mfunc *mfunc =  in mlx4_gen_slave_eqe()  local
143 struct mlx4_priv *priv = container_of(mfunc, struct mlx4_priv, mfunc); in mlx4_gen_slave_eqe()
145 struct mlx4_slave_event_eq *slave_eq = &mfunc->master.slave_eq; in mlx4_gen_slave_eqe()
185 struct mlx4_slave_event_eq *slave_eq = &priv->mfunc.master.slave_eq; in slave_event()
206 queue_work(priv->mfunc.master.comm_wq, in slave_event()
207 &priv->mfunc.master.slave_event_work); in slave_event()
218 !priv->mfunc.master.slave_state[slave].active) in mlx4_slave_event()
245 struct mlx4_slave_state *s_slave = &priv->mfunc.master.slave_state[slave]; in mlx4_gen_pkey_eqe()
301 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_get_slave_port_state()
318 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_set_slave_port_state()
374 ctx = &priv->mfunc.master.slave_state[slave]; in set_and_calc_slave_port_state()
441 struct mlx4_mfunc *mfunc = in mlx4_master_handle_slave_flr() local
444 container_of(mfunc, struct mlx4_priv, mfunc); in mlx4_master_handle_slave_flr()
446 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; in mlx4_master_handle_slave_flr()
467 spin_lock_irqsave(&priv->mfunc.master.slave_state_lock, flags); in mlx4_master_handle_slave_flr()
470 spin_unlock_irqrestore(&priv->mfunc.master.slave_state_lock, flags); in mlx4_master_handle_slave_flr()
604 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state; in mlx4_eq_int()
643 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state; in mlx4_eq_int()
706 memcpy(&priv->mfunc.master.comm_arm_bit_vector, in mlx4_eq_int()
709 queue_work(priv->mfunc.master.comm_wq, in mlx4_eq_int()
710 &priv->mfunc.master.comm_work); in mlx4_eq_int()
730 spin_lock_irqsave(&priv->mfunc.master.slave_state_lock, flags); in mlx4_eq_int()
732 priv->mfunc.master.slave_state[flr_slave].active = false; in mlx4_eq_int()
733 priv->mfunc.master.slave_state[flr_slave].last_cmd = MLX4_COMM_CMD_FLR; in mlx4_eq_int()
734 priv->mfunc.master.slave_state[flr_slave].is_slave_going_down = 1; in mlx4_eq_int()
736 spin_unlock_irqrestore(&priv->mfunc.master.slave_state_lock, flags); in mlx4_eq_int()
739 queue_work(priv->mfunc.master.comm_wq, in mlx4_eq_int()
740 &priv->mfunc.master.slave_flr_event_work); in mlx4_eq_int()
866 priv->mfunc.master.slave_state[slave].event_eq; in mlx4_MAP_EQ_wrapper()