Home
last modified time | relevance | path

Searched refs:slave_eq (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Deq.c127 static struct mlx4_eqe *next_slave_event_eqe(struct mlx4_slave_event_eq *slave_eq) in next_slave_event_eqe() argument
130 &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() local
150 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() local
201 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 …]
Dmlx4.h603 struct mlx4_slave_event_eq slave_eq; member
Dcmd.c2464 spin_lock_init(&priv->mfunc.master.slave_eq.event_lock); in mlx4_multi_func_init()