Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/sfc/
Def10.c91 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()
[all …]
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()
149 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_sriov_free_vf_vswitching() local
152 kfree(nic_data->vf); in efx_ef10_sriov_free_vf_vswitching()
153 nic_data->vf = NULL; in efx_ef10_sriov_free_vf_vswitching()
159 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ef10_sriov_assign_vf_vport() local
160 struct ef10_vf *vf = nic_data->vf + vf_i; in efx_ef10_sriov_assign_vf_vport()
[all …]
Def100_nic.c41 struct ef100_nic_data *nic_data = efx->nic_data; in ef100_mcdi_buf() local
44 *dma_addr = nic_data->mcdi_buf.dma_addr + in ef100_mcdi_buf()
46 return nic_data->mcdi_buf.addr + bufid * ALIGN(MCDI_BUF_LEN, 256); in ef100_mcdi_buf()
106 struct ef100_nic_data *nic_data = efx->nic_data; in ef100_mcdi_poll_reboot() local
119 if (rc == nic_data->warm_boot_count) in ef100_mcdi_poll_reboot()
122 nic_data->warm_boot_count = rc; in ef100_mcdi_poll_reboot()
156 struct ef100_nic_data *nic_data = efx->nic_data; in efx_ef100_init_datapath_caps() local
173 nic_data->datapath_caps = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps()
175 nic_data->datapath_caps2 = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps()
178 nic_data->datapath_caps3 = 0; in efx_ef100_init_datapath_caps()
[all …]
Def100_rep.c84 struct ef100_nic_data *nic_data; in efx_ef100_rep_get_port_parent_id() local
86 nic_data = efx->nic_data; in efx_ef100_rep_get_port_parent_id()
88 ppid->id_len = sizeof(nic_data->port_id); in efx_ef100_rep_get_port_parent_id()
89 memcpy(ppid->id, nic_data->port_id, sizeof(nic_data->port_id)); in efx_ef100_rep_get_port_parent_id()
98 struct ef100_nic_data *nic_data; in efx_ef100_rep_get_phys_port_name() local
101 nic_data = efx->nic_data; in efx_ef100_rep_get_phys_port_name()
103 nic_data->pf_index, efv->idx); in efx_ef100_rep_get_phys_port_name()
334 struct ef100_nic_data *nic_data = efx->nic_data; in efx_ef100_fini_vfreps() local
337 if (!nic_data->grp_mae) in efx_ef100_fini_vfreps()
Def100_rx.c62 struct ef100_nic_data *nic_data; in __ef100_rx_packet() local
85 nic_data = efx->nic_data; in __ef100_rx_packet()
87 if (nic_data->have_mport && ing_port != nic_data->base_mport) { in __ef100_rx_packet()
109 ing_port, nic_data->base_mport); in __ef100_rx_packet()
Def100_sriov.c18 struct ef100_nic_data *nic_data = efx->nic_data; in efx_ef100_pci_sriov_enable() local
28 if (!nic_data->grp_mae) in efx_ef100_pci_sriov_enable()
Dworkarounds.h26 (((struct efx_ef10_nic_data *)efx->nic_data)->workaround_35388)
32 (((struct efx_ef10_nic_data *)efx->nic_data)->workaround_61265)
Def100_tx.c55 struct ef100_nic_data *nic_data; in ef100_tx_can_tso() local
60 nic_data = efx->nic_data; in ef100_tx_can_tso()
74 if (header_len > nic_data->tso_max_hdr_len) in ef100_tx_can_tso()
77 if (skb_shinfo(skb)->gso_segs > nic_data->tso_max_payload_num_segs) { in ef100_tx_can_tso()
83 if (skb->data_len / mss > nic_data->tso_max_frames) in ef100_tx_can_tso()
87 if (WARN_ON_ONCE(skb->data_len > nic_data->tso_max_payload_len)) in ef100_tx_can_tso()
Dptp.c1881 struct efx_ef10_nic_data *nic_data = efx->nic_data; in efx_ptp_get_ts_info() local
1883 if (!(nic_data->licensed_features & in efx_ptp_get_ts_info()
Dnet_driver.h1091 void *nic_data; member
/Linux-v6.1/drivers/net/ethernet/sfc/siena/
Dsiena_sriov.c232 struct siena_nic_data *nic_data = efx->nic_data; in efx_siena_sriov_usrev() local
237 FRF_CZ_DFLT_EVQ, nic_data->vfdi_channel->channel); in efx_siena_sriov_usrev()
388 struct siena_nic_data *nic_data = efx->nic_data; in __efx_siena_sriov_update_vf_addr() local
392 queue_work(vfdi_workqueue, &nic_data->peer_work); in __efx_siena_sriov_update_vf_addr()
403 struct siena_nic_data *nic_data = efx->nic_data; in __efx_siena_sriov_push_vf_status() local
404 struct vfdi_status *status = nic_data->vfdi_status.addr; in __efx_siena_sriov_push_vf_status()
430 copy[1].from_addr = nic_data->vfdi_status.dma_addr + data_offset; in __efx_siena_sriov_push_vf_status()
438 list_for_each_entry(epp, &nic_data->local_page_list, link) { in __efx_siena_sriov_push_vf_status()
514 struct siena_nic_data *nic_data = efx->nic_data; in map_vi_index() local
524 *vf_out = nic_data->vf + vf_i; in map_vi_index()
[all …]
Dsiena.c264 struct siena_nic_data *nic_data; in siena_probe_nic() local
269 nic_data = kzalloc(sizeof(struct siena_nic_data), GFP_KERNEL); in siena_probe_nic()
270 if (!nic_data) in siena_probe_nic()
272 nic_data->efx = efx; in siena_probe_nic()
273 efx->nic_data = nic_data; in siena_probe_nic()
345 kfree(efx->nic_data); in siena_probe_nic()
471 kfree(efx->nic_data); in siena_remove_nic()
472 efx->nic_data = NULL; in siena_remove_nic()
556 struct siena_nic_data *nic_data = efx->nic_data; in siena_try_update_nic_stats() local
557 u64 *stats = nic_data->stats; in siena_try_update_nic_stats()
[all …]
Dworkarounds.h26 (((struct efx_ef10_nic_data *)efx->nic_data)->workaround_61265)
Dfarch.c232 struct siena_nic_data *nic_data = efx->nic_data; in efx_alloc_special_buffer() local
246 nic_data->vf_buftbl_base < efx->next_buffer_table); in efx_alloc_special_buffer()
1675 struct siena_nic_data *nic_data; in efx_farch_dimension_resources() local
1683 nic_data = efx->nic_data; in efx_farch_dimension_resources()
1696 nic_data->vf_buftbl_base = buftbl_min; in efx_farch_dimension_resources()
Dnet_driver.h1038 void *nic_data; member
/Linux-v6.1/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.c1446 struct falcon_nic_data *nic_data = efx->nic_data; in ef4_farch_fatal_interrupt() local
1473 pci_clear_master(nic_data->pci_dev2); in ef4_farch_fatal_interrupt()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c1208 int nic_data; in hns_set_led_opt() local
1214 nic_data = 1; in hns_set_led_opt()
1216 nic_data = 0; in hns_set_led_opt()
1220 mac_cb->speed, nic_data); in hns_set_led_opt()
/Linux-v6.1/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c3567 } nic_data[] = { variable
3820 for (i = 0; i < ARRAY_SIZE(nic_data); i++) { in hardware_show()
3825 switch (nic_data[i].size) { in hardware_show()
3827 read_nic_byte(dev, nic_data[i].addr, &tmp8); in hardware_show()
3829 nic_data[i].name, nic_data[i].addr, in hardware_show()
3833 read_nic_word(dev, nic_data[i].addr, &tmp16); in hardware_show()
3835 nic_data[i].name, nic_data[i].addr, in hardware_show()
3839 read_nic_dword(dev, nic_data[i].addr, &tmp32); in hardware_show()
3841 nic_data[i].name, nic_data[i].addr, in hardware_show()