Home
last modified time | relevance | path

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

/linux-5.19.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-5.19.10/drivers/infiniband/hw/irdma/
Dhmc.c26 u64 fpm_addr, fpm_limit; in irdma_find_sd_index_limit() local
30 fpm_limit = fpm_addr + hmc_info->hmc_obj[type].size * cnt; in irdma_find_sd_index_limit()
32 *sd_limit = (u32)((fpm_limit - 1) / IRDMA_HMC_DIRECT_BP_SIZE); in irdma_find_sd_index_limit()
53 u64 fpm_adr, fpm_limit; in irdma_find_pd_index_limit() local
57 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); in irdma_find_pd_index_limit()
59 *pd_limit = (u32)((fpm_limit - 1) / IRDMA_HMC_PAGED_BP_SIZE); in irdma_find_pd_index_limit()