Lines Matching refs:ef4_nic
25 static inline int ef4_nic_rev(struct ef4_nic *efx) in ef4_nic_rev()
30 u32 ef4_farch_fpga_ver(struct ef4_nic *efx);
33 static inline bool ef4_nic_is_dual_func(struct ef4_nic *efx) in ef4_nic_is_dual_func()
158 int (*init) (struct ef4_nic *nic);
159 void (*init_phy) (struct ef4_nic *efx);
160 void (*fini) (struct ef4_nic *nic);
161 void (*set_id_led) (struct ef4_nic *efx, enum ef4_led_mode mode);
162 int (*monitor) (struct ef4_nic *nic);
284 struct ef4_nic *efx;
297 static inline struct falcon_board *falcon_board(struct ef4_nic *efx) in falcon_board()
315 int falcon_probe_board(struct ef4_nic *efx, u16 revision_info);
408 int ef4_farch_filter_table_probe(struct ef4_nic *efx);
409 void ef4_farch_filter_table_restore(struct ef4_nic *efx);
410 void ef4_farch_filter_table_remove(struct ef4_nic *efx);
411 void ef4_farch_filter_update_rx_scatter(struct ef4_nic *efx);
412 s32 ef4_farch_filter_insert(struct ef4_nic *efx, struct ef4_filter_spec *spec,
414 int ef4_farch_filter_remove_safe(struct ef4_nic *efx,
417 int ef4_farch_filter_get_safe(struct ef4_nic *efx,
420 int ef4_farch_filter_clear_rx(struct ef4_nic *efx,
422 u32 ef4_farch_filter_count_rx_used(struct ef4_nic *efx,
424 u32 ef4_farch_filter_get_rx_id_limit(struct ef4_nic *efx);
425 s32 ef4_farch_filter_get_rx_ids(struct ef4_nic *efx,
429 s32 ef4_farch_filter_rfs_insert(struct ef4_nic *efx,
431 bool ef4_farch_filter_rfs_expire_one(struct ef4_nic *efx, u32 flow_id,
434 void ef4_farch_filter_sync_rx_mode(struct ef4_nic *efx);
457 int ef4_nic_init_interrupt(struct ef4_nic *efx);
458 int ef4_nic_irq_test_start(struct ef4_nic *efx);
459 void ef4_nic_fini_interrupt(struct ef4_nic *efx);
460 void ef4_farch_irq_enable_master(struct ef4_nic *efx);
461 int ef4_farch_irq_test_generate(struct ef4_nic *efx);
462 void ef4_farch_irq_disable_master(struct ef4_nic *efx);
465 irqreturn_t ef4_farch_fatal_interrupt(struct ef4_nic *efx);
471 static inline int ef4_nic_irq_test_irq_cpu(struct ef4_nic *efx) in ef4_nic_irq_test_irq_cpu()
477 int ef4_nic_flush_queues(struct ef4_nic *efx);
478 int ef4_farch_fini_dmaq(struct ef4_nic *efx);
479 void ef4_farch_finish_flr(struct ef4_nic *efx);
480 void falcon_start_nic_stats(struct ef4_nic *efx);
481 void falcon_stop_nic_stats(struct ef4_nic *efx);
482 int falcon_reset_xaui(struct ef4_nic *efx);
483 void ef4_farch_dimension_resources(struct ef4_nic *efx, unsigned sram_lim_qw);
484 void ef4_farch_init_common(struct ef4_nic *efx);
485 void ef4_farch_rx_push_indir_table(struct ef4_nic *efx);
487 int ef4_nic_alloc_buffer(struct ef4_nic *efx, struct ef4_buffer *buffer,
489 void ef4_nic_free_buffer(struct ef4_nic *efx, struct ef4_buffer *buffer);
496 int ef4_farch_test_registers(struct ef4_nic *efx,
500 size_t ef4_nic_get_regs_len(struct ef4_nic *efx);
501 void ef4_nic_get_regs(struct ef4_nic *efx, void *buf);
508 void ef4_nic_fix_nodesc_drop_stat(struct ef4_nic *efx, u64 *stat);
512 void ef4_farch_generate_event(struct ef4_nic *efx, unsigned int evq,