Lines Matching refs:ef4_nic
22 static inline int ef4_nic_rev(struct ef4_nic *efx) in ef4_nic_rev()
27 u32 ef4_farch_fpga_ver(struct ef4_nic *efx);
30 static inline bool ef4_nic_is_dual_func(struct ef4_nic *efx) in ef4_nic_is_dual_func()
155 int (*init) (struct ef4_nic *nic);
156 void (*init_phy) (struct ef4_nic *efx);
157 void (*fini) (struct ef4_nic *nic);
158 void (*set_id_led) (struct ef4_nic *efx, enum ef4_led_mode mode);
159 int (*monitor) (struct ef4_nic *nic);
281 struct ef4_nic *efx;
294 static inline struct falcon_board *falcon_board(struct ef4_nic *efx) in falcon_board()
312 int falcon_probe_board(struct ef4_nic *efx, u16 revision_info);
405 int ef4_farch_filter_table_probe(struct ef4_nic *efx);
406 void ef4_farch_filter_table_restore(struct ef4_nic *efx);
407 void ef4_farch_filter_table_remove(struct ef4_nic *efx);
408 void ef4_farch_filter_update_rx_scatter(struct ef4_nic *efx);
409 s32 ef4_farch_filter_insert(struct ef4_nic *efx, struct ef4_filter_spec *spec,
411 int ef4_farch_filter_remove_safe(struct ef4_nic *efx,
414 int ef4_farch_filter_get_safe(struct ef4_nic *efx,
417 int ef4_farch_filter_clear_rx(struct ef4_nic *efx,
419 u32 ef4_farch_filter_count_rx_used(struct ef4_nic *efx,
421 u32 ef4_farch_filter_get_rx_id_limit(struct ef4_nic *efx);
422 s32 ef4_farch_filter_get_rx_ids(struct ef4_nic *efx,
426 s32 ef4_farch_filter_rfs_insert(struct ef4_nic *efx,
428 bool ef4_farch_filter_rfs_expire_one(struct ef4_nic *efx, u32 flow_id,
431 void ef4_farch_filter_sync_rx_mode(struct ef4_nic *efx);
454 int ef4_nic_init_interrupt(struct ef4_nic *efx);
455 int ef4_nic_irq_test_start(struct ef4_nic *efx);
456 void ef4_nic_fini_interrupt(struct ef4_nic *efx);
457 void ef4_farch_irq_enable_master(struct ef4_nic *efx);
458 int ef4_farch_irq_test_generate(struct ef4_nic *efx);
459 void ef4_farch_irq_disable_master(struct ef4_nic *efx);
462 irqreturn_t ef4_farch_fatal_interrupt(struct ef4_nic *efx);
468 static inline int ef4_nic_irq_test_irq_cpu(struct ef4_nic *efx) in ef4_nic_irq_test_irq_cpu()
474 int ef4_nic_flush_queues(struct ef4_nic *efx);
475 int ef4_farch_fini_dmaq(struct ef4_nic *efx);
476 void ef4_farch_finish_flr(struct ef4_nic *efx);
477 void falcon_start_nic_stats(struct ef4_nic *efx);
478 void falcon_stop_nic_stats(struct ef4_nic *efx);
479 int falcon_reset_xaui(struct ef4_nic *efx);
480 void ef4_farch_dimension_resources(struct ef4_nic *efx, unsigned sram_lim_qw);
481 void ef4_farch_init_common(struct ef4_nic *efx);
482 void ef4_farch_rx_push_indir_table(struct ef4_nic *efx);
484 int ef4_nic_alloc_buffer(struct ef4_nic *efx, struct ef4_buffer *buffer,
486 void ef4_nic_free_buffer(struct ef4_nic *efx, struct ef4_buffer *buffer);
493 int ef4_farch_test_registers(struct ef4_nic *efx,
497 size_t ef4_nic_get_regs_len(struct ef4_nic *efx);
498 void ef4_nic_get_regs(struct ef4_nic *efx, void *buf);
505 void ef4_nic_fix_nodesc_drop_stat(struct ef4_nic *efx, u64 *stat);
509 void ef4_farch_generate_event(struct ef4_nic *efx, unsigned int evq,