Searched refs:slave_eq (Results 1 – 3 of 3) sorted by relevance
122 static struct mlx4_eqe *next_slave_event_eqe(struct mlx4_slave_event_eq *slave_eq) in next_slave_event_eqe() argument125 &slave_eq->event_eqe[slave_eq->cons & (SLAVE_EVENT_EQ_SIZE - 1)]; in next_slave_event_eqe()127 !!(slave_eq->cons & SLAVE_EVENT_EQ_SIZE)) ? in next_slave_event_eqe()140 struct mlx4_slave_event_eq *slave_eq = &mfunc->master.slave_eq; in mlx4_gen_slave_eqe() local145 for (eqe = next_slave_event_eqe(slave_eq); eqe; in mlx4_gen_slave_eqe()146 eqe = next_slave_event_eqe(slave_eq)) { in mlx4_gen_slave_eqe()164 ++slave_eq->cons; in mlx4_gen_slave_eqe()172 struct mlx4_slave_event_eq *slave_eq = &priv->mfunc.master.slave_eq; in slave_event() local176 spin_lock_irqsave(&slave_eq->event_lock, flags); in slave_event()177 s_eqe = &slave_eq->event_eqe[slave_eq->prod & (SLAVE_EVENT_EQ_SIZE - 1)]; in slave_event()[all …]
544 struct mlx4_slave_event_eq slave_eq; member
1848 spin_lock_init(&priv->mfunc.master.slave_eq.event_lock); in mlx4_multi_func_init()