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()
174 struct mlx4_slave_event_eq *slave_eq = &priv->mfunc.master.slave_eq; in slave_event()
195 queue_work(priv->mfunc.master.comm_wq, in slave_event()
196 &priv->mfunc.master.slave_event_work); in slave_event()
207 !priv->mfunc.master.slave_state[slave].active) in mlx4_slave_event()
218 struct mlx4_slave_state *s_slave = &priv->mfunc.master.slave_state[slave]; in mlx4_gen_pkey_eqe()
273 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_get_slave_port_state()
290 struct mlx4_slave_state *s_state = priv->mfunc.master.slave_state; in mlx4_set_slave_port_state()
346 ctx = &priv->mfunc.master.slave_state[slave]; in set_and_calc_slave_port_state()
413 struct mlx4_mfunc *mfunc = in mlx4_master_handle_slave_flr() local
416 container_of(mfunc, struct mlx4_priv, mfunc); in mlx4_master_handle_slave_flr()
418 struct mlx4_slave_state *slave_state = priv->mfunc.master.slave_state; in mlx4_master_handle_slave_flr()
439 spin_lock_irqsave(&priv->mfunc.master.slave_state_lock, flags); in mlx4_master_handle_slave_flr()
442 spin_unlock_irqrestore(&priv->mfunc.master.slave_state_lock, flags); in mlx4_master_handle_slave_flr()
576 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state; in mlx4_eq_int()
611 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state; in mlx4_eq_int()
674 memcpy(&priv->mfunc.master.comm_arm_bit_vector, in mlx4_eq_int()
677 queue_work(priv->mfunc.master.comm_wq, in mlx4_eq_int()
678 &priv->mfunc.master.comm_work); in mlx4_eq_int()
698 spin_lock_irqsave(&priv->mfunc.master.slave_state_lock, flags); in mlx4_eq_int()
700 priv->mfunc.master.slave_state[flr_slave].active = false; in mlx4_eq_int()
701 priv->mfunc.master.slave_state[flr_slave].last_cmd = MLX4_COMM_CMD_FLR; in mlx4_eq_int()
702 priv->mfunc.master.slave_state[flr_slave].is_slave_going_down = 1; in mlx4_eq_int()
704 spin_unlock_irqrestore(&priv->mfunc.master.slave_state_lock, flags); in mlx4_eq_int()
707 queue_work(priv->mfunc.master.comm_wq, in mlx4_eq_int()
708 &priv->mfunc.master.slave_flr_event_work); in mlx4_eq_int()
834 priv->mfunc.master.slave_state[slave].event_eq; in mlx4_MAP_EQ_wrapper()