Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/
Deq.c106 static struct mlx4_eqe *next_slave_event_eqe(struct mlx4_slave_event_eq *slave_eq) in next_slave_event_eqe() argument
109 &slave_eq->event_eqe[slave_eq->cons & (SLAVE_EVENT_EQ_SIZE - 1)]; in next_slave_event_eqe()
111 !!(slave_eq->cons & SLAVE_EVENT_EQ_SIZE)) ? in next_slave_event_eqe()
124 struct mlx4_slave_event_eq *slave_eq = &mfunc->master.slave_eq; in mlx4_gen_slave_eqe() local
129 for (eqe = next_slave_event_eqe(slave_eq); eqe; in mlx4_gen_slave_eqe()
130 eqe = next_slave_event_eqe(slave_eq)) { in mlx4_gen_slave_eqe()
148 ++slave_eq->cons; in mlx4_gen_slave_eqe()
156 struct mlx4_slave_event_eq *slave_eq = &priv->mfunc.master.slave_eq; in slave_event() local
158 &slave_eq->event_eqe[slave_eq->prod & (SLAVE_EVENT_EQ_SIZE - 1)]; in slave_event()
161 (!!(slave_eq->prod & SLAVE_EVENT_EQ_SIZE))) { in slave_event()
[all …]
Dmlx4.h520 struct mlx4_slave_event_eq slave_eq; member