Lines Matching refs:nic_data

91 	struct efx_ef10_nic_data *nic_data = efx->nic_data;  in efx_ef10_get_vf_index()  local
102 nic_data->vf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_VF); in efx_ef10_get_vf_index()
110 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_init_datapath_caps() local
126 nic_data->datapath_caps = in efx_ef10_init_datapath_caps()
130 nic_data->datapath_caps2 = MCDI_DWORD(outbuf, in efx_ef10_init_datapath_caps()
132 nic_data->piobuf_size = MCDI_WORD(outbuf, in efx_ef10_init_datapath_caps()
135 nic_data->datapath_caps2 = 0; in efx_ef10_init_datapath_caps()
136 nic_data->piobuf_size = ER_DZ_TX_PIOBUF_SIZE; in efx_ef10_init_datapath_caps()
141 nic_data->rx_dpcpu_fw_id = in efx_ef10_init_datapath_caps()
143 nic_data->tx_dpcpu_fw_id = in efx_ef10_init_datapath_caps()
146 if (!(nic_data->datapath_caps & in efx_ef10_init_datapath_caps()
187 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_read_licensed_features() local
198 nic_data->licensed_features = MCDI_QWORD(outbuf, in efx_ef10_read_licensed_features()
217 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_get_timer_workarounds() local
222 nic_data->workaround_35388 = false; in efx_ef10_get_timer_workarounds()
223 nic_data->workaround_61265 = false; in efx_ef10_get_timer_workarounds()
233 nic_data->workaround_61265 = true; in efx_ef10_get_timer_workarounds()
236 nic_data->workaround_35388 = true; in efx_ef10_get_timer_workarounds()
245 nic_data->workaround_35388 = true; in efx_ef10_get_timer_workarounds()
253 nic_data->workaround_35388 ? "en" : "dis"); in efx_ef10_get_timer_workarounds()
256 nic_data->workaround_61265 ? "en" : "dis"); in efx_ef10_get_timer_workarounds()
399 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_find_vlan() local
402 WARN_ON(!mutex_is_locked(&nic_data->vlan_lock)); in efx_ef10_find_vlan()
404 list_for_each_entry(vlan, &nic_data->vlan_list, list) { in efx_ef10_find_vlan()
414 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_add_vlan() local
418 mutex_lock(&nic_data->vlan_lock); in efx_ef10_add_vlan()
440 list_add_tail(&vlan->list, &nic_data->vlan_list); in efx_ef10_add_vlan()
453 mutex_unlock(&nic_data->vlan_lock); in efx_ef10_add_vlan()
461 mutex_unlock(&nic_data->vlan_lock); in efx_ef10_add_vlan()
468 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_del_vlan_internal() local
470 WARN_ON(!mutex_is_locked(&nic_data->vlan_lock)); in efx_ef10_del_vlan_internal()
484 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_del_vlan() local
495 mutex_lock(&nic_data->vlan_lock); in efx_ef10_del_vlan()
506 mutex_unlock(&nic_data->vlan_lock); in efx_ef10_del_vlan()
513 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_cleanup_vlans() local
516 mutex_lock(&nic_data->vlan_lock); in efx_ef10_cleanup_vlans()
517 list_for_each_entry_safe(vlan, next_vlan, &nic_data->vlan_list, list) in efx_ef10_cleanup_vlans()
519 mutex_unlock(&nic_data->vlan_lock); in efx_ef10_cleanup_vlans()
528 struct efx_ef10_nic_data *nic_data; in efx_ef10_probe() local
531 nic_data = kzalloc(sizeof(*nic_data), GFP_KERNEL); in efx_ef10_probe()
532 if (!nic_data) in efx_ef10_probe()
534 efx->nic_data = nic_data; in efx_ef10_probe()
539 rc = efx_nic_alloc_buffer(efx, &nic_data->mcdi_buf, in efx_ef10_probe()
556 nic_data->warm_boot_count = rc; in efx_ef10_probe()
569 mutex_init(&nic_data->udp_tunnels_lock); in efx_ef10_probe()
570 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) in efx_ef10_probe()
571 nic_data->udp_tunnels[i].type = in efx_ef10_probe()
593 rc = efx_get_pf_index(efx, &nic_data->pf_index); in efx_ef10_probe()
607 if (nic_data->datapath_caps & in efx_ef10_probe()
629 if (nic_data->datapath_caps & in efx_ef10_probe()
657 efx_pf->type->get_mac_address(efx_pf, nic_data->port_id); in efx_ef10_probe()
660 ether_addr_copy(nic_data->port_id, efx->net_dev->perm_addr); in efx_ef10_probe()
662 INIT_LIST_HEAD(&nic_data->vlan_list); in efx_ef10_probe()
663 mutex_init(&nic_data->vlan_lock); in efx_ef10_probe()
678 if (nic_data->datapath_caps & in efx_ef10_probe()
689 mutex_destroy(&nic_data->vlan_lock); in efx_ef10_probe()
699 mutex_lock(&nic_data->udp_tunnels_lock); in efx_ef10_probe()
700 memset(nic_data->udp_tunnels, 0, sizeof(nic_data->udp_tunnels)); in efx_ef10_probe()
702 mutex_unlock(&nic_data->udp_tunnels_lock); in efx_ef10_probe()
703 mutex_destroy(&nic_data->udp_tunnels_lock); in efx_ef10_probe()
707 efx_nic_free_buffer(efx, &nic_data->mcdi_buf); in efx_ef10_probe()
709 kfree(nic_data); in efx_ef10_probe()
710 efx->nic_data = NULL; in efx_ef10_probe()
718 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_free_piobufs() local
725 for (i = 0; i < nic_data->n_piobufs; i++) { in efx_ef10_free_piobufs()
727 nic_data->piobuf_handle[i]); in efx_ef10_free_piobufs()
733 nic_data->n_piobufs = 0; in efx_ef10_free_piobufs()
738 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_alloc_piobufs() local
762 nic_data->piobuf_handle[i] = in efx_ef10_alloc_piobufs()
766 nic_data->piobuf_handle[i]); in efx_ef10_alloc_piobufs()
769 nic_data->n_piobufs = i; in efx_ef10_alloc_piobufs()
777 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_link_piobufs() local
788 for (index = 0; index < nic_data->n_piobufs; ++index) { in efx_ef10_link_piobufs()
790 nic_data->piobuf_handle[index]); in efx_ef10_link_piobufs()
792 nic_data->pio_write_vi_base + index); in efx_ef10_link_piobufs()
799 nic_data->pio_write_vi_base + index, index, in efx_ef10_link_piobufs()
805 nic_data->pio_write_vi_base + index, index); in efx_ef10_link_piobufs()
825 index = offset / nic_data->piobuf_size; in efx_ef10_link_piobufs()
826 offset = offset % nic_data->piobuf_size; in efx_ef10_link_piobufs()
833 if (tx_queue->queue == nic_data->pio_write_vi_base) { in efx_ef10_link_piobufs()
839 nic_data->piobuf_handle[index]); in efx_ef10_link_piobufs()
858 nic_data->pio_write_base + in efx_ef10_link_piobufs()
879 nic_data->pio_write_vi_base + index); in efx_ef10_link_piobufs()
922 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_remove() local
935 nic_data_pf = efx_pf->nic_data; in efx_ef10_remove()
936 vf = nic_data_pf->vf + nic_data->vf_index; in efx_ef10_remove()
945 mutex_destroy(&nic_data->vlan_lock); in efx_ef10_remove()
953 if (nic_data->wc_membase) in efx_ef10_remove()
954 iounmap(nic_data->wc_membase); in efx_ef10_remove()
959 if (!nic_data->must_restore_piobufs) in efx_ef10_remove()
967 memset(nic_data->udp_tunnels, 0, sizeof(nic_data->udp_tunnels)); in efx_ef10_remove()
968 mutex_lock(&nic_data->udp_tunnels_lock); in efx_ef10_remove()
970 mutex_unlock(&nic_data->udp_tunnels_lock); in efx_ef10_remove()
972 mutex_destroy(&nic_data->udp_tunnels_lock); in efx_ef10_remove()
975 efx_nic_free_buffer(efx, &nic_data->mcdi_buf); in efx_ef10_remove()
976 kfree(nic_data); in efx_ef10_remove()
988 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_vadaptor_query() local
994 if (nic_data->datapath_caps & in efx_ef10_vadaptor_query()
1078 struct efx_ef10_nic_data *nic_data_pf = efx_pf->nic_data; in efx_ef10_probe_vf()
1100 struct efx_ef10_nic_data *nic_data_p = efx_pf->nic_data; in efx_ef10_probe_vf()
1101 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_probe_vf() local
1103 nic_data_p->vf[nic_data->vf_index].efx = efx; in efx_ef10_probe_vf()
1104 nic_data_p->vf[nic_data->vf_index].pci_dev = in efx_ef10_probe_vf()
1127 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_alloc_vis() local
1129 return efx_mcdi_alloc_vis(efx, min_vis, max_vis, &nic_data->vi_base, in efx_ef10_alloc_vis()
1130 &nic_data->n_allocated_vis); in efx_ef10_alloc_vis()
1141 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_dimension_resources() local
1165 nic_data->piobuf_size / efx_piobuf_size * EF10_TX_PIOBUF_COUNT >= in efx_ef10_dimension_resources()
1169 nic_data->piobuf_size / efx_piobuf_size); in efx_ef10_dimension_resources()
1186 nic_data->n_piobufs = 0; in efx_ef10_dimension_resources()
1201 if (nic_data->n_piobufs) { in efx_ef10_dimension_resources()
1207 nic_data->n_piobufs) * in efx_ef10_dimension_resources()
1210 max_vis = pio_write_vi_base + nic_data->n_piobufs; in efx_ef10_dimension_resources()
1226 if (nic_data->n_allocated_vis < channel_vis) { in efx_ef10_dimension_resources()
1235 efx->max_channels = nic_data->n_allocated_vis; in efx_ef10_dimension_resources()
1237 nic_data->n_allocated_vis / efx->tx_queues_per_channel; in efx_ef10_dimension_resources()
1246 if (nic_data->n_piobufs && in efx_ef10_dimension_resources()
1247 nic_data->n_allocated_vis < in efx_ef10_dimension_resources()
1248 pio_write_vi_base + nic_data->n_piobufs) { in efx_ef10_dimension_resources()
1251 nic_data->n_allocated_vis, nic_data->n_piobufs); in efx_ef10_dimension_resources()
1268 nic_data->wc_membase = ioremap_wc(efx->membase_phys + in efx_ef10_dimension_resources()
1271 if (!nic_data->wc_membase) { in efx_ef10_dimension_resources()
1277 nic_data->pio_write_vi_base = pio_write_vi_base; in efx_ef10_dimension_resources()
1278 nic_data->pio_write_base = in efx_ef10_dimension_resources()
1279 nic_data->wc_membase + in efx_ef10_dimension_resources()
1291 nic_data->wc_membase, wc_mem_map_size); in efx_ef10_dimension_resources()
1298 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_fini_nic() local
1300 kfree(nic_data->mc_stats); in efx_ef10_fini_nic()
1301 nic_data->mc_stats = NULL; in efx_ef10_fini_nic()
1306 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_init_nic() local
1310 if (nic_data->must_check_datapath_caps) { in efx_ef10_init_nic()
1314 nic_data->must_check_datapath_caps = false; in efx_ef10_init_nic()
1319 rc = efx_ef10_alloc_vis(efx, nic_data->n_allocated_vis, in efx_ef10_init_nic()
1320 nic_data->n_allocated_vis); in efx_ef10_init_nic()
1326 nic_data->mc_stats = kmalloc(efx->num_mac_stats * sizeof(__le64), in efx_ef10_init_nic()
1328 if (!nic_data->mc_stats) in efx_ef10_init_nic()
1331 if (nic_data->must_restore_piobufs && nic_data->n_piobufs) { in efx_ef10_init_nic()
1332 rc = efx_ef10_alloc_piobufs(efx, nic_data->n_piobufs); in efx_ef10_init_nic()
1349 nic_data->must_restore_piobufs = false; in efx_ef10_init_nic()
1376 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_table_reset_mc_allocations() local
1384 nic_data->must_restore_piobufs = true; in efx_ef10_table_reset_mc_allocations()
1389 nic_data->must_probe_vswitching = true; in efx_ef10_table_reset_mc_allocations()
1392 if (nic_data->vf) in efx_ef10_table_reset_mc_allocations()
1394 nic_data->vf[i].vport_id = 0; in efx_ef10_table_reset_mc_allocations()
1678 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_raw_stat_mask() local
1687 if (nic_data->datapath_caps2 & in efx_ef10_raw_stat_mask()
1694 if (nic_data->datapath_caps & in efx_ef10_raw_stat_mask()
1703 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_get_stat_mask() local
1709 if (nic_data->datapath_caps & in efx_ef10_get_stat_mask()
1725 (nic_data->datapath_caps2 & in efx_ef10_get_stat_mask()
1754 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_update_stats_common() local
1755 u64 *stats = nic_data->stats; in efx_ef10_update_stats_common()
1772 if (nic_data->datapath_caps & in efx_ef10_update_stats_common()
1822 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_update_stats_pf() local
1824 u64 *stats = nic_data->stats; in efx_ef10_update_stats_pf()
1828 efx_nic_copy_stats(efx, nic_data->mc_stats); in efx_ef10_update_stats_pf()
1830 mask, stats, nic_data->mc_stats, false); in efx_ef10_update_stats_pf()
1863 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_try_update_nic_stats_vf() local
1866 u64 *stats = nic_data->stats; in efx_ef10_try_update_nic_stats_vf()
1938 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_update_stats_atomic_vf() local
1943 efx_update_sw_stats(efx, nic_data->stats); in efx_ef10_update_stats_atomic_vf()
2019 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_mcdi_request() local
2020 u8 *pdu = nic_data->mcdi_buf.addr; in efx_ef10_mcdi_request()
2032 _efx_writed(efx, cpu_to_le32((u64)nic_data->mcdi_buf.dma_addr >> 32), in efx_ef10_mcdi_request()
2034 _efx_writed(efx, cpu_to_le32((u32)nic_data->mcdi_buf.dma_addr), in efx_ef10_mcdi_request()
2040 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_mcdi_poll_response() local
2041 const efx_dword_t hdr = *(const efx_dword_t *)nic_data->mcdi_buf.addr; in efx_ef10_mcdi_poll_response()
2051 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_mcdi_read_response() local
2052 const u8 *pdu = nic_data->mcdi_buf.addr; in efx_ef10_mcdi_read_response()
2059 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_mcdi_reboot_detected() local
2065 nic_data->must_check_datapath_caps = true; in efx_ef10_mcdi_reboot_detected()
2070 nic_data->stats[EF10_STAT_port_rx_bad_bytes] = 0; in efx_ef10_mcdi_reboot_detected()
2075 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_mcdi_poll_reboot() local
2088 if (rc == nic_data->warm_boot_count) in efx_ef10_mcdi_poll_reboot()
2091 nic_data->warm_boot_count = rc; in efx_ef10_mcdi_poll_reboot()
2295 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_tso_versions() local
2298 if (nic_data->datapath_caps & in efx_ef10_tso_versions()
2301 if (nic_data->datapath_caps2 & in efx_ef10_tso_versions()
2313 struct efx_ef10_nic_data *nic_data; in efx_ef10_tx_init() local
2317 nic_data = efx->nic_data; in efx_ef10_tx_init()
2322 if (!(nic_data->licensed_features & in efx_ef10_tx_init()
2464 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_probe_multicast_chaining() local
2474 nic_data->workaround_26807 = false; in efx_ef10_probe_multicast_chaining()
2481 nic_data->workaround_26807 = in efx_ef10_probe_multicast_chaining()
2484 if (want_workaround_26807 && !nic_data->workaround_26807) { in efx_ef10_probe_multicast_chaining()
2505 nic_data->warm_boot_count = rc; in efx_ef10_probe_multicast_chaining()
2509 nic_data->workaround_26807 = true; in efx_ef10_probe_multicast_chaining()
2519 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_filter_table_probe() local
2525 rc = efx_mcdi_filter_table_probe(efx, nic_data->workaround_26807); in efx_ef10_filter_table_probe()
2530 list_for_each_entry(vlan, &nic_data->vlan_list, list) { in efx_ef10_filter_table_probe()
2616 struct efx_ef10_nic_data *nic_data; in efx_ef10_ev_init() local
2619 nic_data = efx->nic_data; in efx_ef10_ev_init()
2620 use_v2 = nic_data->datapath_caps2 & in efx_ef10_ev_init()
2622 cut_thru = !(nic_data->datapath_caps & in efx_ef10_ev_init()
2771 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_handle_rx_event() local
2788 nic_data->datapath_caps & in efx_ef10_handle_rx_event()
2807 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_handle_rx_event() local
2825 if (!(nic_data->datapath_caps & in efx_ef10_handle_rx_event()
3188 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_vport_set_mac_address() local
3193 if (is_zero_ether_addr(nic_data->vport_mac)) in efx_ef10_vport_set_mac_address()
3206 ether_addr_copy(mac_old, nic_data->vport_mac); in efx_ef10_vport_set_mac_address()
3208 nic_data->vport_mac); in efx_ef10_vport_set_mac_address()
3215 ether_addr_copy(nic_data->vport_mac, efx->net_dev->dev_addr); in efx_ef10_vport_set_mac_address()
3220 eth_zero_addr(nic_data->vport_mac); in efx_ef10_vport_set_mac_address()
3264 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_set_mac_address() local
3272 rc = efx_ef10_sriov_set_vf_mac(efx_pf, nic_data->vf_index, mac); in efx_ef10_set_mac_address()
3705 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_get_phys_port_id() local
3707 if (!is_valid_ether_addr(nic_data->port_id)) in efx_ef10_get_phys_port_id()
3711 memcpy(ppid->id, nic_data->port_id, ppid->id_len); in efx_ef10_get_phys_port_id()
3739 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_set_udp_tnl_ports() local
3749 WARN_ON(!mutex_is_locked(&nic_data->udp_tunnels_lock)); in efx_ef10_set_udp_tnl_ports()
3751 nic_data->udp_tunnels_dirty = false; in efx_ef10_set_udp_tnl_ports()
3753 if (!(nic_data->datapath_caps & in efx_ef10_set_udp_tnl_ports()
3759 BUILD_BUG_ON(ARRAY_SIZE(nic_data->udp_tunnels) > in efx_ef10_set_udp_tnl_ports()
3762 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) { in efx_ef10_set_udp_tnl_ports()
3763 if (nic_data->udp_tunnels[i].type != in efx_ef10_set_udp_tnl_ports()
3769 ntohs(nic_data->udp_tunnels[i].port), in efx_ef10_set_udp_tnl_ports()
3771 nic_data->udp_tunnels[i].type); in efx_ef10_set_udp_tnl_ports()
3799 nic_data->udp_tunnels_dirty = true; in efx_ef10_set_udp_tnl_ports()
3835 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_udp_tnl_push_ports() local
3838 mutex_lock(&nic_data->udp_tunnels_lock); in efx_ef10_udp_tnl_push_ports()
3839 if (nic_data->udp_tunnels_dirty) { in efx_ef10_udp_tnl_push_ports()
3846 mutex_unlock(&nic_data->udp_tunnels_lock); in efx_ef10_udp_tnl_push_ports()
3855 struct efx_ef10_nic_data *nic_data; in efx_ef10_udp_tnl_set_port() local
3863 nic_data = efx->nic_data; in efx_ef10_udp_tnl_set_port()
3864 if (!(nic_data->datapath_caps & in efx_ef10_udp_tnl_set_port()
3868 mutex_lock(&nic_data->udp_tunnels_lock); in efx_ef10_udp_tnl_set_port()
3873 nic_data->udp_tunnels[entry].type = efx_tunnel_type; in efx_ef10_udp_tnl_set_port()
3874 nic_data->udp_tunnels[entry].port = ti->port; in efx_ef10_udp_tnl_set_port()
3876 mutex_unlock(&nic_data->udp_tunnels_lock); in efx_ef10_udp_tnl_set_port()
3888 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_udp_tnl_has_port() local
3891 if (!(nic_data->datapath_caps & in efx_ef10_udp_tnl_has_port()
3895 if (nic_data->udp_tunnels_dirty) in efx_ef10_udp_tnl_has_port()
3901 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) in efx_ef10_udp_tnl_has_port()
3902 if (nic_data->udp_tunnels[i].type != in efx_ef10_udp_tnl_has_port()
3904 nic_data->udp_tunnels[i].port == port) in efx_ef10_udp_tnl_has_port()
3915 struct efx_ef10_nic_data *nic_data; in efx_ef10_udp_tnl_unset_port() local
3918 nic_data = efx->nic_data; in efx_ef10_udp_tnl_unset_port()
3920 mutex_lock(&nic_data->udp_tunnels_lock); in efx_ef10_udp_tnl_unset_port()
3925 nic_data->udp_tunnels[entry].type = TUNNEL_ENCAP_UDP_PORT_ENTRY_INVALID; in efx_ef10_udp_tnl_unset_port()
3926 nic_data->udp_tunnels[entry].port = 0; in efx_ef10_udp_tnl_unset_port()
3928 mutex_unlock(&nic_data->udp_tunnels_lock); in efx_ef10_udp_tnl_unset_port()
3952 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_print_additional_fwver() local
3955 nic_data->rx_dpcpu_fw_id, in efx_ef10_print_additional_fwver()
3956 nic_data->tx_dpcpu_fw_id); in efx_ef10_print_additional_fwver()
3963 const struct efx_ef10_nic_data *nic_data = efx->nic_data; in ef10_check_caps() local
3967 return nic_data->datapath_caps & BIT_ULL(flag); in ef10_check_caps()
3969 return nic_data->datapath_caps2 & BIT_ULL(flag); in ef10_check_caps()