Lines Matching refs:channel

42 static inline efx_qword_t *efx_event(struct efx_channel *channel,  in efx_event()  argument
45 return ((efx_qword_t *) (channel->eventq.buf.addr)) + in efx_event()
46 (index & channel->eventq_mask); in efx_event()
559 int efx_ptp_probe(struct efx_nic *efx, struct efx_channel *channel);
573 void efx_time_sync_event(struct efx_channel *channel, efx_qword_t *ev);
574 void __efx_rx_skb_attach_timestamp(struct efx_channel *channel,
576 static inline void efx_rx_skb_attach_timestamp(struct efx_channel *channel, in efx_rx_skb_attach_timestamp() argument
579 if (channel->sync_events_state == SYNC_EVENTS_VALID) in efx_rx_skb_attach_timestamp()
580 __efx_rx_skb_attach_timestamp(channel, skb); in efx_rx_skb_attach_timestamp()
641 static inline int efx_nic_probe_eventq(struct efx_channel *channel) in efx_nic_probe_eventq() argument
643 return channel->efx->type->ev_probe(channel); in efx_nic_probe_eventq()
645 static inline int efx_nic_init_eventq(struct efx_channel *channel) in efx_nic_init_eventq() argument
647 return channel->efx->type->ev_init(channel); in efx_nic_init_eventq()
649 static inline void efx_nic_fini_eventq(struct efx_channel *channel) in efx_nic_fini_eventq() argument
651 channel->efx->type->ev_fini(channel); in efx_nic_fini_eventq()
653 static inline void efx_nic_remove_eventq(struct efx_channel *channel) in efx_nic_remove_eventq() argument
655 channel->efx->type->ev_remove(channel); in efx_nic_remove_eventq()
658 efx_nic_process_eventq(struct efx_channel *channel, int quota) in efx_nic_process_eventq() argument
660 return channel->efx->type->ev_process(channel, quota); in efx_nic_process_eventq()
662 static inline void efx_nic_eventq_read_ack(struct efx_channel *channel) in efx_nic_eventq_read_ack() argument
664 channel->efx->type->ev_read_ack(channel); in efx_nic_eventq_read_ack()
666 void efx_nic_event_test_start(struct efx_channel *channel);
680 int efx_farch_ev_probe(struct efx_channel *channel);
681 int efx_farch_ev_init(struct efx_channel *channel);
682 void efx_farch_ev_fini(struct efx_channel *channel);
683 void efx_farch_ev_remove(struct efx_channel *channel);
684 int efx_farch_ev_process(struct efx_channel *channel, int quota);
685 void efx_farch_ev_read_ack(struct efx_channel *channel);
686 void efx_farch_ev_test_generate(struct efx_channel *channel);
717 bool efx_nic_event_present(struct efx_channel *channel);
750 static inline int efx_nic_event_test_irq_cpu(struct efx_channel *channel) in efx_nic_event_test_irq_cpu() argument
752 return ACCESS_ONCE(channel->event_test_cpu); in efx_nic_event_test_irq_cpu()