Searched refs:slave_eq (Results 1 – 3 of 3) sorted by relevance
127 static struct mlx4_eqe *next_slave_event_eqe(struct mlx4_slave_event_eq *slave_eq) in next_slave_event_eqe() argument130 &slave_eq->event_eqe[slave_eq->cons & (SLAVE_EVENT_EQ_SIZE - 1)]; in next_slave_event_eqe()132 !!(slave_eq->cons & SLAVE_EVENT_EQ_SIZE)) ? in next_slave_event_eqe()145 struct mlx4_slave_event_eq *slave_eq = &mfunc->master.slave_eq; in mlx4_gen_slave_eqe() local150 for (eqe = next_slave_event_eqe(slave_eq); eqe; in mlx4_gen_slave_eqe()151 eqe = next_slave_event_eqe(slave_eq)) { in mlx4_gen_slave_eqe()189 ++slave_eq->cons; in mlx4_gen_slave_eqe()197 struct mlx4_slave_event_eq *slave_eq = &priv->mfunc.master.slave_eq; in slave_event() local201 spin_lock_irqsave(&slave_eq->event_lock, flags); in slave_event()202 s_eqe = &slave_eq->event_eqe[slave_eq->prod & (SLAVE_EVENT_EQ_SIZE - 1)]; in slave_event()[all …]
603 struct mlx4_slave_event_eq slave_eq; member
2453 spin_lock_init(&priv->mfunc.master.slave_eq.event_lock); in mlx4_multi_func_init()