Searched refs:cpp_size (Results 1 – 1 of 1) sorted by relevance
152 hwinfo_try_fetch(struct nfp_cpp *cpp, size_t *cpp_size) in hwinfo_try_fetch() argument165 *cpp_size = nfp_resource_size(res); in hwinfo_try_fetch()169 if (*cpp_size < HWINFO_SIZE_MIN) in hwinfo_try_fetch()176 *cpp_size = 0x0e000; in hwinfo_try_fetch()181 db = kmalloc(*cpp_size + 1, GFP_KERNEL); in hwinfo_try_fetch()185 err = nfp_cpp_read(cpp, cpp_id, cpp_addr, db, *cpp_size); in hwinfo_try_fetch()186 if (err != *cpp_size) in hwinfo_try_fetch()200 db[*cpp_size] = '\0'; in hwinfo_try_fetch()