Lines Matching defs:cnt
14 * @cnt: number of objects we're trying to create
23 u32 idx, u32 cnt, u32 *sd_idx,
30 fpm_limit = fpm_addr + hmc_info->hmc_obj[type].size * cnt;
41 * @cnt: number of objects we're trying to create
50 u32 idx, u32 cnt, u32 *pd_idx,
57 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt);
128 sdinfo.cnt = 1;
166 &sdinfo.entry[sdinfo.cnt]);
169 &sdinfo.entry[sdinfo.cnt]);
171 sdinfo.cnt++;
172 if (sdinfo.cnt == IRDMA_MAX_SD_ENTRIES) {
181 sdinfo.cnt = 0;
184 if (sdinfo.cnt)
198 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt)
202 info->hmc_info->hmc_obj[info->rsrc_type].cnt)
231 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt)
235 info->hmc_info->hmc_obj[info->rsrc_type].cnt) {
237 "HMC: error type %u, start = %u, req cnt %u, cnt = %u\n",
239 info->hmc_info->hmc_obj[info->rsrc_type].cnt);
379 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) {
381 "HMC: error start_idx[%04d] >= [type %04d].cnt[%04d]\n",
383 info->hmc_info->hmc_obj[info->rsrc_type].cnt);
388 info->hmc_info->hmc_obj[info->rsrc_type].cnt) {
390 "HMC: error start_idx[%04d] + count %04d >= [type %04d].cnt[%04d]\n",
392 info->hmc_info->hmc_obj[info->rsrc_type].cnt);