Home
last modified time | relevance | path

Searched refs:EFX_VI_BASE (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dsiena_sriov.h31 #define EFX_VI_BASE 128U macro
Dsiena_sriov.c193 return EFX_VI_BASE + vf->index * efx_vf_size(vf->efx) + index; in abs_index()
206 MCDI_SET_DWORD(inbuf, SRIOV_IN_VI_BASE, EFX_VI_BASE); in efx_siena_sriov_cmd()
473 EFX_VI_BASE + vf->index * efx_vf_size(efx), in __efx_siena_sriov_push_vf_status()
516 if (abs_index < EFX_VI_BASE) in map_vi_index()
518 vf_i = (abs_index - EFX_VI_BASE) / efx_vf_size(efx); in map_vi_index()
682 unsigned vf_offset = EFX_VI_BASE + vf->index * efx_vf_size(efx); in efx_vfdi_fini_all_queues()
1294 BUILD_BUG_ON(EFX_MAX_CHANNELS + 1 >= EFX_VI_BASE); in efx_siena_sriov_init()
1296 BUILD_BUG_ON(EFX_VI_BASE & ((1 << EFX_VI_SCALE_MAX) - 1)); in efx_siena_sriov_init()
Dfarch.c1227 if (ev_sub_data < EFX_VI_BASE) { in efx_farch_handle_driver_event()
1240 if (ev_sub_data < EFX_VI_BASE) { in efx_farch_handle_driver_event()
1696 vi_count = max(vi_count, EFX_VI_BASE); in efx_farch_dimension_resources()
1704 (1024U - EFX_VI_BASE) >> efx->vi_scale); in efx_farch_dimension_resources()