Home
last modified time | relevance | path

Searched refs:fpm_limit (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_hmc.h157 u64 fpm_addr, fpm_limit; \
160 fpm_limit = fpm_addr + (hmc_info)->hmc_obj[(type)].size * (cnt);\
162 *(sd_limit) = (u32)((fpm_limit - 1) / I40E_HMC_DIRECT_BP_SIZE); \
181 u64 fpm_adr, fpm_limit; \
184 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); \
186 *(pd_limit) = (u32)((fpm_limit - 1) / I40E_HMC_PAGED_BP_SIZE); \
/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_hmc.c65 u64 fpm_addr, fpm_limit; in i40iw_find_sd_index_limit() local
69 fpm_limit = fpm_addr + hmc_info->hmc_obj[type].size * cnt; in i40iw_find_sd_index_limit()
71 *sd_limit = (u32)((fpm_limit - 1) / I40IW_HMC_DIRECT_BP_SIZE); in i40iw_find_sd_index_limit()
95 u64 fpm_adr, fpm_limit; in i40iw_find_pd_index_limit() local
99 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); in i40iw_find_pd_index_limit()
101 *(pd_limit) = (u32)((fpm_limit - 1) / I40IW_HMC_PAGED_BP_SIZE); in i40iw_find_pd_index_limit()