Home
last modified time | relevance | path

Searched refs:nic_data (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/sfc/
Def10_sriov.c19 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_evb_port_assign() local
23 EVB_PORT_ASSIGN_IN_PF, nic_data->pf_index, in efx_ef10_evb_port_assign()
115 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_sriov_free_vf_vports() local
118 if (!nic_data->vf) in efx_ef10_sriov_free_vf_vports()
122 struct ef10_vf *vf = nic_data->vf + i; in efx_ef10_sriov_free_vf_vports()
150 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_sriov_free_vf_vswitching() local
153 kfree(nic_data->vf); in efx_ef10_sriov_free_vf_vswitching()
154 nic_data->vf = NULL; in efx_ef10_sriov_free_vf_vswitching()
160 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_sriov_assign_vf_vport() local
161 struct ef10_vf *vf = nic_data->vf + vf_i; in efx_ef10_sriov_assign_vf_vport()
[all …]
Def10.c191 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_get_pf_index() local
202 nic_data->pf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_PF); in efx_ef10_get_pf_index()
210 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_get_vf_index() local
221 nic_data->vf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_VF); in efx_ef10_get_vf_index()
229 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_init_datapath_caps() local
245 nic_data->datapath_caps = in efx_ef10_init_datapath_caps()
249 nic_data->datapath_caps2 = MCDI_DWORD(outbuf, in efx_ef10_init_datapath_caps()
251 nic_data->piobuf_size = MCDI_WORD(outbuf, in efx_ef10_init_datapath_caps()
254 nic_data->datapath_caps2 = 0; in efx_ef10_init_datapath_caps()
255 nic_data->piobuf_size = ER_DZ_TX_PIOBUF_SIZE; in efx_ef10_init_datapath_caps()
[all …]
Dsiena_sriov.c230 struct siena_nic_data *nic_data = efx->nic_data; in efx_siena_sriov_usrev() local
235 FRF_CZ_DFLT_EVQ, nic_data->vfdi_channel->channel); in efx_siena_sriov_usrev()
386 struct siena_nic_data *nic_data = efx->nic_data; in __efx_siena_sriov_update_vf_addr() local
390 queue_work(vfdi_workqueue, &nic_data->peer_work); in __efx_siena_sriov_update_vf_addr()
401 struct siena_nic_data *nic_data = efx->nic_data; in __efx_siena_sriov_push_vf_status() local
402 struct vfdi_status *status = nic_data->vfdi_status.addr; in __efx_siena_sriov_push_vf_status()
428 copy[1].from_addr = nic_data->vfdi_status.dma_addr + data_offset; in __efx_siena_sriov_push_vf_status()
436 list_for_each_entry(epp, &nic_data->local_page_list, link) { in __efx_siena_sriov_push_vf_status()
512 struct siena_nic_data *nic_data = efx->nic_data; in map_vi_index() local
522 *vf_out = nic_data->vf + vf_i; in map_vi_index()
[all …]
Dsiena.c258 struct siena_nic_data *nic_data; in siena_probe_nic() local
263 nic_data = kzalloc(sizeof(struct siena_nic_data), GFP_KERNEL); in siena_probe_nic()
264 if (!nic_data) in siena_probe_nic()
266 nic_data->efx = efx; in siena_probe_nic()
267 efx->nic_data = nic_data; in siena_probe_nic()
337 kfree(efx->nic_data); in siena_probe_nic()
463 kfree(efx->nic_data); in siena_remove_nic()
464 efx->nic_data = NULL; in siena_remove_nic()
548 struct siena_nic_data *nic_data = efx->nic_data; in siena_try_update_nic_stats() local
549 u64 *stats = nic_data->stats; in siena_try_update_nic_stats()
[all …]
Dworkarounds.h26 (((struct efx_ef10_nic_data *)efx->nic_data)->workaround_35388)
32 (((struct efx_ef10_nic_data *)efx->nic_data)->workaround_61265)
Dptp.c355 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ptp_use_mac_tx_timestamps() local
358 (nic_data->datapath_caps2 & in efx_ptp_use_mac_tx_timestamps()
1770 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ptp_get_ts_info() local
1772 if (!(nic_data->licensed_features & in efx_ptp_get_ts_info()
Dfarch.c230 struct siena_nic_data *nic_data = efx->nic_data; in efx_alloc_special_buffer() local
244 nic_data->vf_buftbl_base < efx->next_buffer_table); in efx_alloc_special_buffer()
1672 struct siena_nic_data *nic_data = efx->nic_data; in efx_farch_dimension_resources() local
1691 nic_data->vf_buftbl_base = buftbl_min; in efx_farch_dimension_resources()
Dmcdi_port.c1268 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_mcdi_mac_stats() local
1270 MCDI_SET_DWORD(inbuf, MAC_STATS_IN_PORT_ID, nic_data->vport_id); in efx_mcdi_mac_stats()
Dmcdi.c1428 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_mcdi_print_fwver() local
1431 nic_data->rx_dpcpu_fw_id, in efx_mcdi_print_fwver()
1432 nic_data->tx_dpcpu_fw_id); in efx_mcdi_print_fwver()
Dnet_driver.h1015 void *nic_data; member
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
Dfalcon.c864 struct falcon_nic_data *nic_data = efx->nic_data; in falcon_mtd_read() local
867 rc = mutex_lock_interruptible(&nic_data->spi_lock); in falcon_mtd_read()
872 mutex_unlock(&nic_data->spi_lock); in falcon_mtd_read()
880 struct falcon_nic_data *nic_data = efx->nic_data; in falcon_mtd_erase() local
883 rc = mutex_lock_interruptible(&nic_data->spi_lock); in falcon_mtd_erase()
887 mutex_unlock(&nic_data->spi_lock); in falcon_mtd_erase()
896 struct falcon_nic_data *nic_data = efx->nic_data; in falcon_mtd_write() local
899 rc = mutex_lock_interruptible(&nic_data->spi_lock); in falcon_mtd_write()
904 mutex_unlock(&nic_data->spi_lock); in falcon_mtd_write()
912 struct falcon_nic_data *nic_data = efx->nic_data; in falcon_mtd_sync() local
[all …]
Dfalcon_boards.c415 struct falcon_nic_data *nic_data = efx->nic_data; in sfe4001_check_hw() local
419 if (EF4_WORKAROUND_7884(efx) && !nic_data->xmac_poll_required) in sfe4001_check_hw()
Dnic.h296 struct falcon_nic_data *data = efx->nic_data; in falcon_board()
Dnet_driver.h842 void *nic_data; member
Dfarch.c1447 struct falcon_nic_data *nic_data = efx->nic_data; in ef4_farch_fatal_interrupt() local
1474 pci_clear_master(nic_data->pci_dev2); in ef4_farch_fatal_interrupt()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c1205 int nic_data = 0; in hns_set_led_opt() local
1211 nic_data = 1; in hns_set_led_opt()
1213 nic_data = 0; in hns_set_led_opt()
1217 mac_cb->speed, nic_data); in hns_set_led_opt()
/Linux-v5.4/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c3571 } nic_data[] = { variable
3824 for (i = 0; i < ARRAY_SIZE(nic_data); i++) { in show_hardware()
3829 switch (nic_data[i].size) { in show_hardware()
3831 read_nic_byte(dev, nic_data[i].addr, &tmp8); in show_hardware()
3833 nic_data[i].name, nic_data[i].addr, in show_hardware()
3837 read_nic_word(dev, nic_data[i].addr, &tmp16); in show_hardware()
3839 nic_data[i].name, nic_data[i].addr, in show_hardware()
3843 read_nic_dword(dev, nic_data[i].addr, &tmp32); in show_hardware()
3845 nic_data[i].name, nic_data[i].addr, in show_hardware()