Searched refs:max_vis (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | ef100_netdev.c | 39 unsigned int min_vis, max_vis; in ef100_alloc_vis() local 45 max_vis = max(rx_vis, tx_vis); in ef100_alloc_vis() 49 min_vis = max_vis; in ef100_alloc_vis() 51 return efx_mcdi_alloc_vis(efx, min_vis, max_vis, in ef100_alloc_vis() 55 static int ef100_remap_bar(struct efx_nic *efx, int max_vis) in ef100_remap_bar() argument 60 efx->max_vis = max_vis; in ef100_remap_bar() 61 uc_mem_map_size = PAGE_ALIGN(max_vis * efx->vi_stride); in ef100_remap_bar()
|
D | mcdi_functions.h | 14 unsigned int max_vis, unsigned int *vi_base,
|
D | mcdi_functions.c | 35 unsigned int max_vis, unsigned int *vi_base, in efx_mcdi_alloc_vis() argument 44 MCDI_SET_DWORD(inbuf, ALLOC_VIS_IN_MAX_VI_COUNT, max_vis); in efx_mcdi_alloc_vis()
|
D | ef10.c | 612 efx->max_vis = efx_ef10_mem_map_size(efx) / efx->vi_stride; in efx_ef10_probe() 613 if (!efx->max_vis) { in efx_ef10_probe() 619 efx->max_vis / efx->tx_queues_per_channel); in efx_ef10_probe() 1125 unsigned int min_vis, unsigned int max_vis) in efx_ef10_alloc_vis() argument 1129 return efx_mcdi_alloc_vis(efx, min_vis, max_vis, &nic_data->vi_base, in efx_ef10_alloc_vis() 1140 unsigned int channel_vis, pio_write_vi_base, max_vis; in efx_ef10_dimension_resources() local 1150 if (efx->max_vis && efx->max_vis < channel_vis) { in efx_ef10_dimension_resources() 1153 channel_vis, efx->max_vis); in efx_ef10_dimension_resources() 1154 channel_vis = efx->max_vis; in efx_ef10_dimension_resources() 1210 max_vis = pio_write_vi_base + nic_data->n_piobufs; in efx_ef10_dimension_resources() [all …]
|
D | efx_channels.c | 173 } else if (n_channels + n_xdp_tx > efx->max_vis) { in efx_allocate_msix_channels() 176 n_xdp_tx, n_channels, efx->max_vis); in efx_allocate_msix_channels()
|
D | net_driver.h | 994 unsigned int max_vis; member
|
D | siena.c | 280 efx->max_vis = EFX_MAX_CHANNELS; in siena_probe_nic()
|
D | ef100_nic.c | 1180 efx->max_vis = EF100_MAX_VIS; in ef100_probe_main()
|