Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_hmc.h161 u64 fpm_addr, fpm_limit; \
164 fpm_limit = fpm_addr + (hmc_info)->hmc_obj[(type)].size * (cnt);\
166 *(sd_limit) = (u32)((fpm_limit - 1) / I40E_HMC_DIRECT_BP_SIZE); \
185 u64 fpm_adr, fpm_limit; \
188 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); \
190 *(pd_limit) = (u32)((fpm_limit - 1) / I40E_HMC_PAGED_BP_SIZE); \
/openbmc/linux/drivers/infiniband/hw/irdma/
H A 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()