Lines Matching defs:channel
36 static inline ef4_qword_t *ef4_event(struct ef4_channel *channel,
39 return ((ef4_qword_t *) (channel->eventq.buf.addr)) +
40 (index & channel->eventq_mask);
60 * descriptor queue belonging to the specified channel.
355 static inline int ef4_nic_probe_eventq(struct ef4_channel *channel)
357 return channel->efx->type->ev_probe(channel);
359 static inline int ef4_nic_init_eventq(struct ef4_channel *channel)
361 return channel->efx->type->ev_init(channel);
363 static inline void ef4_nic_fini_eventq(struct ef4_channel *channel)
365 channel->efx->type->ev_fini(channel);
367 static inline void ef4_nic_remove_eventq(struct ef4_channel *channel)
369 channel->efx->type->ev_remove(channel);
372 ef4_nic_process_eventq(struct ef4_channel *channel, int quota)
374 return channel->efx->type->ev_process(channel, quota);
376 static inline void ef4_nic_eventq_read_ack(struct ef4_channel *channel)
378 channel->efx->type->ev_read_ack(channel);
380 void ef4_nic_event_test_start(struct ef4_channel *channel);
396 int ef4_farch_ev_probe(struct ef4_channel *channel);
397 int ef4_farch_ev_init(struct ef4_channel *channel);
398 void ef4_farch_ev_fini(struct ef4_channel *channel);
399 void ef4_farch_ev_remove(struct ef4_channel *channel);
400 int ef4_farch_ev_process(struct ef4_channel *channel, int quota);
401 void ef4_farch_ev_read_ack(struct ef4_channel *channel);
402 void ef4_farch_ev_test_generate(struct ef4_channel *channel);
433 bool ef4_nic_event_present(struct ef4_channel *channel);
464 static inline int ef4_nic_event_test_irq_cpu(struct ef4_channel *channel)
466 return READ_ONCE(channel->event_test_cpu);