Home
last modified time | relevance | path

Searched refs:nbytes_p (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/arch/powerpc/platforms/chrp/
Dnvram.c70 const __be32 *nbytes_p; in chrp_nvram_init() local
77 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()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dopal-nvram.c97 const __be32 *nbytes_p; in opal_nvram_init() local
103 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()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dnvram.c221 const __be32 *nbytes_p; in pSeries_nvram_init() local
228 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()