Home
last modified time | relevance | path

Searched refs:max_vis (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/sfc/
Def100_netdev.c41 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()
Dmcdi_functions.h14 unsigned int max_vis, unsigned int *vi_base,
Def10.c611 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 …]
Dmcdi_functions.c35 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()
Defx_channels.c166 } 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()
Dnet_driver.h1049 unsigned int max_vis; member
Def100_nic.c1012 efx->max_vis = EF100_MAX_VIS; in ef100_probe_main()
/drivers/net/ethernet/sfc/siena/
Defx_channels.c167 } 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()
Dnet_driver.h996 unsigned int max_vis; member
Dsiena.c283 efx->max_vis = EFX_MAX_CHANNELS; in siena_probe_nic()