Home
last modified time | relevance | path

Searched refs:nvram_buf (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/platforms/chrp/
Dnvram.c24 static unsigned char nvram_buf[4]; variable
40 __pa(nvram_buf), 1) != 0) || 1 != done) in chrp_nvram_read()
43 ret = nvram_buf[0]; in chrp_nvram_read()
60 nvram_buf[0] = val; in chrp_nvram_write()
62 __pa(nvram_buf), 1) != 0) || 1 != done) in chrp_nvram_write()
/arch/powerpc/platforms/pseries/
Dnvram.c28 static char nvram_buf[NVRW_CNT]; /* assume this is in the first 4GB */ variable
58 if ((rtas_call(nvram_fetch, 3, 2, &done, i, __pa(nvram_buf), in pSeries_nvram_read()
64 memcpy(p, nvram_buf, len); in pSeries_nvram_read()
101 memcpy(nvram_buf, p, len); in pSeries_nvram_write()
103 if ((rtas_call(nvram_store, 3, 2, &done, i, __pa(nvram_buf), in pSeries_nvram_write()