Lines Matching defs:channel
32 static inline efx_qword_t *efx_event(struct efx_channel *channel,
35 return ((efx_qword_t *)(channel->eventq.addr)) +
36 (index & channel->eventq_mask);
56 * 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_nic_event_test_start(struct efx_channel *channel);
187 bool efx_nic_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);