Lines Matching refs:efx_nic

240 	struct efx_nic *efx ____cacheline_aligned_in_smp;
368 struct efx_nic *efx;
456 struct efx_nic *efx;
521 struct efx_nic *efx;
544 void (*handle_no_channel)(struct efx_nic *);
593 struct efx_nic;
642 int (*probe) (struct efx_nic *efx);
643 int (*init) (struct efx_nic *efx);
644 void (*fini) (struct efx_nic *efx);
645 void (*remove) (struct efx_nic *efx);
646 int (*reconfigure) (struct efx_nic *efx);
647 bool (*poll) (struct efx_nic *efx);
648 void (*get_link_ksettings)(struct efx_nic *efx,
650 int (*set_link_ksettings)(struct efx_nic *efx,
652 int (*get_fecparam)(struct efx_nic *efx, struct ethtool_fecparam *fec);
653 int (*set_fecparam)(struct efx_nic *efx,
655 void (*set_npage_adv) (struct efx_nic *efx, u32);
656 int (*test_alive) (struct efx_nic *efx);
657 const char *(*test_name) (struct efx_nic *efx, unsigned int index);
658 int (*run_tests) (struct efx_nic *efx, int *results, unsigned flags);
659 int (*get_module_eeprom) (struct efx_nic *efx,
662 int (*get_module_info) (struct efx_nic *efx,
933 struct efx_nic { struct
938 struct efx_nic *primary; argument
1095 static inline int efx_dev_registered(struct efx_nic *efx) in efx_dev_registered() argument
1100 static inline unsigned int efx_port_num(struct efx_nic *efx) in efx_port_num()
1272 unsigned int (*mem_bar)(struct efx_nic *efx);
1273 unsigned int (*mem_map_size)(struct efx_nic *efx);
1274 int (*probe)(struct efx_nic *efx);
1275 void (*remove)(struct efx_nic *efx);
1276 int (*init)(struct efx_nic *efx);
1277 int (*dimension_resources)(struct efx_nic *efx);
1278 void (*fini)(struct efx_nic *efx);
1279 void (*monitor)(struct efx_nic *efx);
1282 int (*reset)(struct efx_nic *efx, enum reset_type method);
1283 int (*probe_port)(struct efx_nic *efx);
1284 void (*remove_port)(struct efx_nic *efx);
1286 int (*fini_dmaq)(struct efx_nic *efx);
1287 void (*prepare_flush)(struct efx_nic *efx);
1288 void (*finish_flush)(struct efx_nic *efx);
1289 void (*prepare_flr)(struct efx_nic *efx);
1290 void (*finish_flr)(struct efx_nic *efx);
1291 size_t (*describe_stats)(struct efx_nic *efx, u8 *names);
1292 size_t (*update_stats)(struct efx_nic *efx, u64 *full_stats,
1294 void (*start_stats)(struct efx_nic *efx);
1295 void (*pull_stats)(struct efx_nic *efx);
1296 void (*stop_stats)(struct efx_nic *efx);
1297 void (*set_id_led)(struct efx_nic *efx, enum efx_led_mode mode);
1299 int (*reconfigure_port)(struct efx_nic *efx);
1300 void (*prepare_enable_fc_tx)(struct efx_nic *efx);
1301 int (*reconfigure_mac)(struct efx_nic *efx);
1302 bool (*check_mac_fault)(struct efx_nic *efx);
1303 void (*get_wol)(struct efx_nic *efx, struct ethtool_wolinfo *wol);
1304 int (*set_wol)(struct efx_nic *efx, u32 type);
1305 void (*resume_wol)(struct efx_nic *efx);
1306 int (*test_chip)(struct efx_nic *efx, struct efx_self_tests *tests);
1307 int (*test_nvram)(struct efx_nic *efx);
1308 void (*mcdi_request)(struct efx_nic *efx,
1311 bool (*mcdi_poll_response)(struct efx_nic *efx);
1312 void (*mcdi_read_response)(struct efx_nic *efx, efx_dword_t *pdu,
1314 int (*mcdi_poll_reboot)(struct efx_nic *efx);
1315 void (*mcdi_reboot_detected)(struct efx_nic *efx);
1316 void (*irq_enable_master)(struct efx_nic *efx);
1317 int (*irq_test_generate)(struct efx_nic *efx);
1318 void (*irq_disable_non_ev)(struct efx_nic *efx);
1327 int (*rx_push_rss_config)(struct efx_nic *efx, bool user,
1329 int (*rx_pull_rss_config)(struct efx_nic *efx);
1330 int (*rx_push_rss_context_config)(struct efx_nic *efx,
1334 int (*rx_pull_rss_context_config)(struct efx_nic *efx,
1336 void (*rx_restore_rss_contexts)(struct efx_nic *efx);
1349 int (*filter_table_probe)(struct efx_nic *efx);
1350 void (*filter_table_restore)(struct efx_nic *efx);
1351 void (*filter_table_remove)(struct efx_nic *efx);
1352 void (*filter_update_rx_scatter)(struct efx_nic *efx);
1353 s32 (*filter_insert)(struct efx_nic *efx,
1355 int (*filter_remove_safe)(struct efx_nic *efx,
1358 int (*filter_get_safe)(struct efx_nic *efx,
1361 int (*filter_clear_rx)(struct efx_nic *efx,
1363 u32 (*filter_count_rx_used)(struct efx_nic *efx,
1365 u32 (*filter_get_rx_id_limit)(struct efx_nic *efx);
1366 s32 (*filter_get_rx_ids)(struct efx_nic *efx,
1370 bool (*filter_rfs_expire_one)(struct efx_nic *efx, u32 flow_id,
1374 int (*mtd_probe)(struct efx_nic *efx);
1383 void (*ptp_write_host_time)(struct efx_nic *efx, u32 host_time);
1384 int (*ptp_set_ts_sync_events)(struct efx_nic *efx, bool en, bool temp);
1385 int (*ptp_set_ts_config)(struct efx_nic *efx,
1387 int (*sriov_configure)(struct efx_nic *efx, int num_vfs);
1388 int (*vlan_rx_add_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
1389 int (*vlan_rx_kill_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
1390 int (*get_phys_port_id)(struct efx_nic *efx,
1392 int (*sriov_init)(struct efx_nic *efx);
1393 void (*sriov_fini)(struct efx_nic *efx);
1394 bool (*sriov_wanted)(struct efx_nic *efx);
1395 void (*sriov_reset)(struct efx_nic *efx);
1396 void (*sriov_flr)(struct efx_nic *efx, unsigned vf_i);
1397 int (*sriov_set_vf_mac)(struct efx_nic *efx, int vf_i, u8 *mac);
1398 int (*sriov_set_vf_vlan)(struct efx_nic *efx, int vf_i, u16 vlan,
1400 int (*sriov_set_vf_spoofchk)(struct efx_nic *efx, int vf_i,
1402 int (*sriov_get_vf_config)(struct efx_nic *efx, int vf_i,
1404 int (*sriov_set_vf_link_state)(struct efx_nic *efx, int vf_i,
1406 int (*vswitching_probe)(struct efx_nic *efx);
1407 int (*vswitching_restore)(struct efx_nic *efx);
1408 void (*vswitching_remove)(struct efx_nic *efx);
1409 int (*get_mac_address)(struct efx_nic *efx, unsigned char *perm_addr);
1410 int (*set_mac_address)(struct efx_nic *efx);
1411 u32 (*tso_versions)(struct efx_nic *efx);
1412 int (*udp_tnl_push_ports)(struct efx_nic *efx);
1413 int (*udp_tnl_add_port)(struct efx_nic *efx, struct efx_udp_tunnel tnl);
1414 bool (*udp_tnl_has_port)(struct efx_nic *efx, __be16 port);
1415 int (*udp_tnl_del_port)(struct efx_nic *efx, struct efx_udp_tunnel tnl);
1448 efx_get_channel(struct efx_nic *efx, unsigned index) in efx_get_channel()
1469 efx_get_tx_queue(struct efx_nic *efx, unsigned index, unsigned type) in efx_get_tx_queue()
1591 static inline netdev_features_t efx_supported_features(const struct efx_nic *efx) in efx_supported_features()