Searched refs:nbytes_p (Results 1 – 3 of 3) sorted by relevance
70 const __be32 *nbytes_p; in chrp_nvram_init() local77 nbytes_p = of_get_property(nvram, "#bytes", &proplen); in chrp_nvram_init()78 if (nbytes_p == NULL || proplen != sizeof(unsigned int)) { in chrp_nvram_init()83 nvram_size = be32_to_cpup(nbytes_p); in chrp_nvram_init()
97 const __be32 *nbytes_p; in opal_nvram_init() local103 nbytes_p = of_get_property(np, "#bytes", NULL); in opal_nvram_init()104 if (!nbytes_p) { in opal_nvram_init()108 nvram_size = be32_to_cpup(nbytes_p); in opal_nvram_init()
221 const __be32 *nbytes_p; in pSeries_nvram_init() local228 nbytes_p = of_get_property(nvram, "#bytes", &proplen); in pSeries_nvram_init()229 if (nbytes_p == NULL || proplen != sizeof(unsigned int)) { in pSeries_nvram_init()234 nvram_size = be32_to_cpup(nbytes_p); in pSeries_nvram_init()