Lines Matching refs:prfl_sz
1353 u64 prfl_addr, prfl_sz; in npc_fwdb_prfl_img_map() local
1359 prfl_sz = rvu->fwdata->mcam_sz; in npc_fwdb_prfl_img_map()
1361 if (!prfl_addr || !prfl_sz) in npc_fwdb_prfl_img_map()
1364 *prfl_img_addr = ioremap_wc(prfl_addr, prfl_sz); in npc_fwdb_prfl_img_map()
1368 *size = prfl_sz; in npc_fwdb_prfl_img_map()
1382 u64 prfl_sz; in npc_load_mkex_profile() local
1391 ret = npc_fwdb_prfl_img_map(rvu, &mkex_prfl_addr, &prfl_sz); in npc_load_mkex_profile()
1397 while (((s64)prfl_sz > 0) && (mcam_kex->mkex_sign != MKEX_END_SIGN)) { in npc_load_mkex_profile()
1412 prfl_sz -= sizeof(struct npc_mcam_kex); in npc_load_mkex_profile()
1635 u64 prfl_sz, const char *kpu_profile) in npc_load_kpu_prfl_img() argument
1646 rvu->kpu_fwdata_sz = prfl_sz; in npc_load_kpu_prfl_img()
1654 static int npc_fwdb_detect_load_prfl_img(struct rvu *rvu, uint64_t prfl_sz, in npc_fwdb_detect_load_prfl_img() argument
1667 prfl_sz, kpu_profile); in npc_fwdb_detect_load_prfl_img()
1672 offset = offsetof(struct npc_coalesced_kpu_prfl, prfl_sz) + in npc_fwdb_detect_load_prfl_img()
1681 img_data->prfl_sz[i], kpu_profile); in npc_fwdb_detect_load_prfl_img()
1685 offset += img_data->prfl_sz[i]; in npc_fwdb_detect_load_prfl_img()
1695 u64 prfl_sz; in npc_load_kpu_profile_fwdb() local
1698 ret = npc_fwdb_prfl_img_map(rvu, &rvu->kpu_prfl_addr, &prfl_sz); in npc_load_kpu_profile_fwdb()
1703 ret = npc_fwdb_detect_load_prfl_img(rvu, prfl_sz, kpu_profile); in npc_load_kpu_profile_fwdb()