Lines Matching defs:channel
33 static inline efx_qword_t *efx_event(struct efx_channel *channel,
36 return ((efx_qword_t *) (channel->eventq.buf.addr)) +
37 (index & channel->eventq_mask);
57 * descriptor queue belonging to the specified channel.
159 static inline int efx_nic_probe_eventq(struct efx_channel *channel)
161 return channel->efx->type->ev_probe(channel);
163 static inline int efx_nic_init_eventq(struct efx_channel *channel)
165 return channel->efx->type->ev_init(channel);
167 static inline void efx_nic_fini_eventq(struct efx_channel *channel)
169 channel->efx->type->ev_fini(channel);
171 static inline void efx_nic_remove_eventq(struct efx_channel *channel)
173 channel->efx->type->ev_remove(channel);
176 efx_nic_process_eventq(struct efx_channel *channel, int quota)
178 return channel->efx->type->ev_process(channel, quota);
180 static inline void efx_nic_eventq_read_ack(struct efx_channel *channel)
182 channel->efx->type->ev_read_ack(channel);
185 void efx_siena_event_test_start(struct efx_channel *channel);
187 bool efx_siena_event_present(struct efx_channel *channel);
223 static inline int efx_nic_event_test_irq_cpu(struct efx_channel *channel)
225 return READ_ONCE(channel->event_test_cpu);