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()
565 void efx_siena_sriov_event(struct efx_channel *channel, efx_qword_t *event);
593 static inline void efx_siena_sriov_event(struct efx_channel *channel, in efx_siena_sriov_event() argument
627 int efx_ptp_probe(struct efx_nic *efx, struct efx_channel *channel);
641 void efx_time_sync_event(struct efx_channel *channel, efx_qword_t *ev);
642 void __efx_rx_skb_attach_timestamp(struct efx_channel *channel,
644 static inline void efx_rx_skb_attach_timestamp(struct efx_channel *channel, in efx_rx_skb_attach_timestamp() argument
647 if (channel->sync_events_state == SYNC_EVENTS_VALID) in efx_rx_skb_attach_timestamp()
648 __efx_rx_skb_attach_timestamp(channel, skb); in efx_rx_skb_attach_timestamp()
708 static inline int efx_nic_probe_eventq(struct efx_channel *channel) in efx_nic_probe_eventq() argument
710 return channel->efx->type->ev_probe(channel); in efx_nic_probe_eventq()
712 static inline int efx_nic_init_eventq(struct efx_channel *channel) in efx_nic_init_eventq() argument
714 return channel->efx->type->ev_init(channel); in efx_nic_init_eventq()
716 static inline void efx_nic_fini_eventq(struct efx_channel *channel) in efx_nic_fini_eventq() argument
718 channel->efx->type->ev_fini(channel); in efx_nic_fini_eventq()
720 static inline void efx_nic_remove_eventq(struct efx_channel *channel) in efx_nic_remove_eventq() argument
722 channel->efx->type->ev_remove(channel); in efx_nic_remove_eventq()
725 efx_nic_process_eventq(struct efx_channel *channel, int quota) in efx_nic_process_eventq() argument
727 return channel->efx->type->ev_process(channel, quota); in efx_nic_process_eventq()
729 static inline void efx_nic_eventq_read_ack(struct efx_channel *channel) in efx_nic_eventq_read_ack() argument
731 channel->efx->type->ev_read_ack(channel); in efx_nic_eventq_read_ack()
733 void efx_nic_event_test_start(struct efx_channel *channel);
747 int efx_farch_ev_probe(struct efx_channel *channel);
748 int efx_farch_ev_init(struct efx_channel *channel);
749 void efx_farch_ev_fini(struct efx_channel *channel);
750 void efx_farch_ev_remove(struct efx_channel *channel);
751 int efx_farch_ev_process(struct efx_channel *channel, int quota);
752 void efx_farch_ev_read_ack(struct efx_channel *channel);
753 void efx_farch_ev_test_generate(struct efx_channel *channel);
784 bool efx_nic_event_present(struct efx_channel *channel);
817 static inline int efx_nic_event_test_irq_cpu(struct efx_channel *channel) in efx_nic_event_test_irq_cpu() argument
819 return ACCESS_ONCE(channel->event_test_cpu); in efx_nic_event_test_irq_cpu()