Lines Matching refs:efx

28 static inline int efx_nic_rev(struct efx_nic *efx)  in efx_nic_rev()  argument
30 return efx->type->revision; in efx_nic_rev()
33 u32 efx_farch_fpga_ver(struct efx_nic *efx);
36 static inline bool efx_nic_is_dual_func(struct efx_nic *efx) in efx_nic_is_dual_func() argument
38 return efx_nic_rev(efx) < EFX_REV_FALCON_B0; in efx_nic_is_dual_func()
176 void (*init_phy) (struct efx_nic *efx);
178 void (*set_id_led) (struct efx_nic *efx, enum efx_led_mode mode);
312 static inline struct falcon_board *falcon_board(struct efx_nic *efx) in falcon_board() argument
314 struct falcon_nic_data *data = efx->nic_data; in falcon_board()
394 struct efx_nic *efx; member
559 int efx_ptp_probe(struct efx_nic *efx, struct efx_channel *channel);
560 void efx_ptp_defer_probe_with_channel(struct efx_nic *efx);
561 void efx_ptp_remove(struct efx_nic *efx);
562 int efx_ptp_set_ts_config(struct efx_nic *efx, struct ifreq *ifr);
563 int efx_ptp_get_ts_config(struct efx_nic *efx, struct ifreq *ifr);
564 void efx_ptp_get_ts_info(struct efx_nic *efx, struct ethtool_ts_info *ts_info);
565 bool efx_ptp_is_ptp_tx(struct efx_nic *efx, struct sk_buff *skb);
566 int efx_ptp_get_mode(struct efx_nic *efx);
567 int efx_ptp_change_mode(struct efx_nic *efx, bool enable_wanted,
569 int efx_ptp_tx(struct efx_nic *efx, struct sk_buff *skb);
570 void efx_ptp_event(struct efx_nic *efx, efx_qword_t *ev);
571 size_t efx_ptp_describe_stats(struct efx_nic *efx, u8 *strings);
572 size_t efx_ptp_update_stats(struct efx_nic *efx, u64 *stats);
582 void efx_ptp_start_datapath(struct efx_nic *efx);
583 void efx_ptp_stop_datapath(struct efx_nic *efx);
598 int falcon_probe_board(struct efx_nic *efx, u16 revision_info);
603 return tx_queue->efx->type->tx_probe(tx_queue); in efx_nic_probe_tx()
607 tx_queue->efx->type->tx_init(tx_queue); in efx_nic_init_tx()
611 tx_queue->efx->type->tx_remove(tx_queue); in efx_nic_remove_tx()
615 tx_queue->efx->type->tx_write(tx_queue); in efx_nic_push_buffers()
621 return rx_queue->efx->type->rx_probe(rx_queue); in efx_nic_probe_rx()
625 rx_queue->efx->type->rx_init(rx_queue); in efx_nic_init_rx()
629 rx_queue->efx->type->rx_remove(rx_queue); in efx_nic_remove_rx()
633 rx_queue->efx->type->rx_write(rx_queue); in efx_nic_notify_rx_desc()
637 rx_queue->efx->type->rx_defer_refill(rx_queue); in efx_nic_generate_fill_event()
643 return channel->efx->type->ev_probe(channel); in efx_nic_probe_eventq()
647 return channel->efx->type->ev_init(channel); in efx_nic_init_eventq()
651 channel->efx->type->ev_fini(channel); in efx_nic_fini_eventq()
655 channel->efx->type->ev_remove(channel); in efx_nic_remove_eventq()
660 return channel->efx->type->ev_process(channel, quota); in efx_nic_process_eventq()
664 channel->efx->type->ev_read_ack(channel); in efx_nic_eventq_read_ack()
689 int efx_farch_filter_table_probe(struct efx_nic *efx);
690 void efx_farch_filter_table_restore(struct efx_nic *efx);
691 void efx_farch_filter_table_remove(struct efx_nic *efx);
692 void efx_farch_filter_update_rx_scatter(struct efx_nic *efx);
693 s32 efx_farch_filter_insert(struct efx_nic *efx, struct efx_filter_spec *spec,
695 int efx_farch_filter_remove_safe(struct efx_nic *efx,
698 int efx_farch_filter_get_safe(struct efx_nic *efx,
701 int efx_farch_filter_clear_rx(struct efx_nic *efx,
703 u32 efx_farch_filter_count_rx_used(struct efx_nic *efx,
705 u32 efx_farch_filter_get_rx_id_limit(struct efx_nic *efx);
706 s32 efx_farch_filter_get_rx_ids(struct efx_nic *efx,
710 s32 efx_farch_filter_rfs_insert(struct efx_nic *efx,
712 bool efx_farch_filter_rfs_expire_one(struct efx_nic *efx, u32 flow_id,
715 void efx_farch_filter_sync_rx_mode(struct efx_nic *efx);
738 int efx_nic_init_interrupt(struct efx_nic *efx);
739 void efx_nic_irq_test_start(struct efx_nic *efx);
740 void efx_nic_fini_interrupt(struct efx_nic *efx);
743 void efx_farch_irq_enable_master(struct efx_nic *efx);
744 void efx_farch_irq_test_generate(struct efx_nic *efx);
745 void efx_farch_irq_disable_master(struct efx_nic *efx);
748 irqreturn_t efx_farch_fatal_interrupt(struct efx_nic *efx);
754 static inline int efx_nic_irq_test_irq_cpu(struct efx_nic *efx) in efx_nic_irq_test_irq_cpu() argument
756 return ACCESS_ONCE(efx->last_irq_cpu); in efx_nic_irq_test_irq_cpu()
760 int efx_nic_flush_queues(struct efx_nic *efx);
761 void siena_prepare_flush(struct efx_nic *efx);
762 int efx_farch_fini_dmaq(struct efx_nic *efx);
763 void efx_farch_finish_flr(struct efx_nic *efx);
764 void siena_finish_flush(struct efx_nic *efx);
765 void falcon_start_nic_stats(struct efx_nic *efx);
766 void falcon_stop_nic_stats(struct efx_nic *efx);
767 int falcon_reset_xaui(struct efx_nic *efx);
768 void efx_farch_dimension_resources(struct efx_nic *efx, unsigned sram_lim_qw);
769 void efx_farch_init_common(struct efx_nic *efx);
770 void efx_ef10_handle_drain_event(struct efx_nic *efx);
771 void efx_farch_rx_push_indir_table(struct efx_nic *efx);
773 int efx_nic_alloc_buffer(struct efx_nic *efx, struct efx_buffer *buffer,
775 void efx_nic_free_buffer(struct efx_nic *efx, struct efx_buffer *buffer);
782 int efx_farch_test_registers(struct efx_nic *efx,
786 size_t efx_nic_get_regs_len(struct efx_nic *efx);
787 void efx_nic_get_regs(struct efx_nic *efx, void *buf);
794 void efx_nic_fix_nodesc_drop_stat(struct efx_nic *efx, u64 *stat);
798 void efx_farch_generate_event(struct efx_nic *efx, unsigned int evq,