Lines Matching defs:efx

27 static inline int efx_nic_rev(struct efx_nic *efx)
29 return efx->type->revision;
123 return tx_queue->efx->type->tx_probe(tx_queue);
127 tx_queue->efx->type->tx_init(tx_queue);
131 if (tx_queue->efx->type->tx_remove)
132 tx_queue->efx->type->tx_remove(tx_queue);
136 tx_queue->efx->type->tx_write(tx_queue);
142 return rx_queue->efx->type->rx_probe(rx_queue);
146 rx_queue->efx->type->rx_init(rx_queue);
150 rx_queue->efx->type->rx_remove(rx_queue);
154 rx_queue->efx->type->rx_write(rx_queue);
158 rx_queue->efx->type->rx_defer_refill(rx_queue);
164 return channel->efx->type->ev_probe(channel);
168 return channel->efx->type->ev_init(channel);
172 channel->efx->type->ev_fini(channel);
176 channel->efx->type->ev_remove(channel);
181 return channel->efx->type->ev_process(channel, quota);
185 channel->efx->type->ev_read_ack(channel);
192 static inline void efx_sensor_event(struct efx_nic *efx, efx_qword_t *ev)
194 if (efx->type->sensor_event)
195 efx->type->sensor_event(efx, ev);
217 int efx_nic_init_interrupt(struct efx_nic *efx);
218 int efx_nic_irq_test_start(struct efx_nic *efx);
219 void efx_nic_fini_interrupt(struct efx_nic *efx);
225 static inline int efx_nic_irq_test_irq_cpu(struct efx_nic *efx)
227 return READ_ONCE(efx->last_irq_cpu);
231 int efx_nic_alloc_buffer(struct efx_nic *efx, struct efx_buffer *buffer,
233 void efx_nic_free_buffer(struct efx_nic *efx, struct efx_buffer *buffer);
235 size_t efx_nic_get_regs_len(struct efx_nic *efx);
236 void efx_nic_get_regs(struct efx_nic *efx, void *buf);
242 int efx_nic_copy_stats(struct efx_nic *efx, __le64 *dest);
246 void efx_nic_fix_nodesc_drop_stat(struct efx_nic *efx, u64 *stat);
247 static inline size_t efx_nic_update_stats_atomic(struct efx_nic *efx, u64 *full_stats,
250 if (efx->type->update_stats_atomic)
251 return efx->type->update_stats_atomic(efx, full_stats, core_stats);
252 return efx->type->update_stats(efx, full_stats, core_stats);