Lines Matching refs:efx_nic

243 	struct efx_nic *efx ____cacheline_aligned_in_smp;
371 struct efx_nic *efx;
459 struct efx_nic *efx;
524 struct efx_nic *efx;
547 void (*handle_no_channel)(struct efx_nic *);
596 struct efx_nic;
645 int (*probe) (struct efx_nic *efx);
646 int (*init) (struct efx_nic *efx);
647 void (*fini) (struct efx_nic *efx);
648 void (*remove) (struct efx_nic *efx);
649 int (*reconfigure) (struct efx_nic *efx);
650 bool (*poll) (struct efx_nic *efx);
651 void (*get_link_ksettings)(struct efx_nic *efx,
653 int (*set_link_ksettings)(struct efx_nic *efx,
655 int (*get_fecparam)(struct efx_nic *efx, struct ethtool_fecparam *fec);
656 int (*set_fecparam)(struct efx_nic *efx,
658 void (*set_npage_adv) (struct efx_nic *efx, u32);
659 int (*test_alive) (struct efx_nic *efx);
660 const char *(*test_name) (struct efx_nic *efx, unsigned int index);
661 int (*run_tests) (struct efx_nic *efx, int *results, unsigned flags);
662 int (*get_module_eeprom) (struct efx_nic *efx,
665 int (*get_module_info) (struct efx_nic *efx,
936 struct efx_nic { struct
941 struct efx_nic *primary; argument
1098 static inline int efx_dev_registered(struct efx_nic *efx) in efx_dev_registered() argument
1103 static inline unsigned int efx_port_num(struct efx_nic *efx) in efx_port_num()
1275 unsigned int (*mem_bar)(struct efx_nic *efx);
1276 unsigned int (*mem_map_size)(struct efx_nic *efx);
1277 int (*probe)(struct efx_nic *efx);
1278 void (*remove)(struct efx_nic *efx);
1279 int (*init)(struct efx_nic *efx);
1280 int (*dimension_resources)(struct efx_nic *efx);
1281 void (*fini)(struct efx_nic *efx);
1282 void (*monitor)(struct efx_nic *efx);
1285 int (*reset)(struct efx_nic *efx, enum reset_type method);
1286 int (*probe_port)(struct efx_nic *efx);
1287 void (*remove_port)(struct efx_nic *efx);
1289 int (*fini_dmaq)(struct efx_nic *efx);
1290 void (*prepare_flush)(struct efx_nic *efx);
1291 void (*finish_flush)(struct efx_nic *efx);
1292 void (*prepare_flr)(struct efx_nic *efx);
1293 void (*finish_flr)(struct efx_nic *efx);
1294 size_t (*describe_stats)(struct efx_nic *efx, u8 *names);
1295 size_t (*update_stats)(struct efx_nic *efx, u64 *full_stats,
1297 void (*start_stats)(struct efx_nic *efx);
1298 void (*pull_stats)(struct efx_nic *efx);
1299 void (*stop_stats)(struct efx_nic *efx);
1300 void (*set_id_led)(struct efx_nic *efx, enum efx_led_mode mode);
1302 int (*reconfigure_port)(struct efx_nic *efx);
1303 void (*prepare_enable_fc_tx)(struct efx_nic *efx);
1304 int (*reconfigure_mac)(struct efx_nic *efx);
1305 bool (*check_mac_fault)(struct efx_nic *efx);
1306 void (*get_wol)(struct efx_nic *efx, struct ethtool_wolinfo *wol);
1307 int (*set_wol)(struct efx_nic *efx, u32 type);
1308 void (*resume_wol)(struct efx_nic *efx);
1309 int (*test_chip)(struct efx_nic *efx, struct efx_self_tests *tests);
1310 int (*test_nvram)(struct efx_nic *efx);
1311 void (*mcdi_request)(struct efx_nic *efx,
1314 bool (*mcdi_poll_response)(struct efx_nic *efx);
1315 void (*mcdi_read_response)(struct efx_nic *efx, efx_dword_t *pdu,
1317 int (*mcdi_poll_reboot)(struct efx_nic *efx);
1318 void (*mcdi_reboot_detected)(struct efx_nic *efx);
1319 void (*irq_enable_master)(struct efx_nic *efx);
1320 int (*irq_test_generate)(struct efx_nic *efx);
1321 void (*irq_disable_non_ev)(struct efx_nic *efx);
1330 int (*rx_push_rss_config)(struct efx_nic *efx, bool user,
1332 int (*rx_pull_rss_config)(struct efx_nic *efx);
1333 int (*rx_push_rss_context_config)(struct efx_nic *efx,
1337 int (*rx_pull_rss_context_config)(struct efx_nic *efx,
1339 void (*rx_restore_rss_contexts)(struct efx_nic *efx);
1352 int (*filter_table_probe)(struct efx_nic *efx);
1353 void (*filter_table_restore)(struct efx_nic *efx);
1354 void (*filter_table_remove)(struct efx_nic *efx);
1355 void (*filter_update_rx_scatter)(struct efx_nic *efx);
1356 s32 (*filter_insert)(struct efx_nic *efx,
1358 int (*filter_remove_safe)(struct efx_nic *efx,
1361 int (*filter_get_safe)(struct efx_nic *efx,
1364 int (*filter_clear_rx)(struct efx_nic *efx,
1366 u32 (*filter_count_rx_used)(struct efx_nic *efx,
1368 u32 (*filter_get_rx_id_limit)(struct efx_nic *efx);
1369 s32 (*filter_get_rx_ids)(struct efx_nic *efx,
1373 bool (*filter_rfs_expire_one)(struct efx_nic *efx, u32 flow_id,
1377 int (*mtd_probe)(struct efx_nic *efx);
1386 void (*ptp_write_host_time)(struct efx_nic *efx, u32 host_time);
1387 int (*ptp_set_ts_sync_events)(struct efx_nic *efx, bool en, bool temp);
1388 int (*ptp_set_ts_config)(struct efx_nic *efx,
1390 int (*sriov_configure)(struct efx_nic *efx, int num_vfs);
1391 int (*vlan_rx_add_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
1392 int (*vlan_rx_kill_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
1393 int (*get_phys_port_id)(struct efx_nic *efx,
1395 int (*sriov_init)(struct efx_nic *efx);
1396 void (*sriov_fini)(struct efx_nic *efx);
1397 bool (*sriov_wanted)(struct efx_nic *efx);
1398 void (*sriov_reset)(struct efx_nic *efx);
1399 void (*sriov_flr)(struct efx_nic *efx, unsigned vf_i);
1400 int (*sriov_set_vf_mac)(struct efx_nic *efx, int vf_i, u8 *mac);
1401 int (*sriov_set_vf_vlan)(struct efx_nic *efx, int vf_i, u16 vlan,
1403 int (*sriov_set_vf_spoofchk)(struct efx_nic *efx, int vf_i,
1405 int (*sriov_get_vf_config)(struct efx_nic *efx, int vf_i,
1407 int (*sriov_set_vf_link_state)(struct efx_nic *efx, int vf_i,
1409 int (*vswitching_probe)(struct efx_nic *efx);
1410 int (*vswitching_restore)(struct efx_nic *efx);
1411 void (*vswitching_remove)(struct efx_nic *efx);
1412 int (*get_mac_address)(struct efx_nic *efx, unsigned char *perm_addr);
1413 int (*set_mac_address)(struct efx_nic *efx);
1414 u32 (*tso_versions)(struct efx_nic *efx);
1415 int (*udp_tnl_push_ports)(struct efx_nic *efx);
1416 int (*udp_tnl_add_port)(struct efx_nic *efx, struct efx_udp_tunnel tnl);
1417 bool (*udp_tnl_has_port)(struct efx_nic *efx, __be16 port);
1418 int (*udp_tnl_del_port)(struct efx_nic *efx, struct efx_udp_tunnel tnl);
1451 efx_get_channel(struct efx_nic *efx, unsigned index) in efx_get_channel()
1472 efx_get_tx_queue(struct efx_nic *efx, unsigned index, unsigned type) in efx_get_tx_queue()
1594 static inline netdev_features_t efx_supported_features(const struct efx_nic *efx) in efx_supported_features()