Searched refs:max_vis (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/sfc/ |
D | ef100_netdev.c | 41 unsigned int min_vis, max_vis; in ef100_alloc_vis() local 47 max_vis = max(rx_vis, tx_vis); in ef100_alloc_vis() 51 min_vis = max_vis; in ef100_alloc_vis() 53 return efx_mcdi_alloc_vis(efx, min_vis, max_vis, in ef100_alloc_vis() 57 static int ef100_remap_bar(struct efx_nic *efx, int max_vis) in ef100_remap_bar() argument 62 efx->max_vis = max_vis; in ef100_remap_bar() 63 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 | ef10.c | 611 efx->max_vis = efx_ef10_mem_map_size(efx) / efx->vi_stride; in efx_ef10_probe() 612 if (!efx->max_vis) { in efx_ef10_probe() 618 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 | 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 | efx_channels.c | 166 } else if (n_channels + n_xdp_tx > efx->max_vis) { in efx_allocate_msix_channels() 170 n_xdp_tx, n_channels, efx->max_vis); in efx_allocate_msix_channels()
|
D | net_driver.h | 1049 unsigned int max_vis; member
|
D | ef100_nic.c | 1012 efx->max_vis = EF100_MAX_VIS; in ef100_probe_main()
|
/drivers/net/ethernet/sfc/siena/ |
D | efx_channels.c | 167 } else if (n_channels + n_xdp_tx > efx->max_vis) { in efx_allocate_msix_channels() 171 n_xdp_tx, n_channels, efx->max_vis); in efx_allocate_msix_channels()
|
D | net_driver.h | 996 unsigned int max_vis; member
|
D | siena.c | 283 efx->max_vis = EFX_MAX_CHANNELS; in siena_probe_nic()
|