Searched refs:nvram_buf (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/firmware/broadcom/ |
D | bcm47xx_nvram.c | 37 static char nvram_buf[NVRAM_SPACE]; variable 99 dst = (u32 *)nvram_buf; in nvram_find_and_copy() 102 header = (struct nvram_header *)nvram_buf; in nvram_find_and_copy() 116 nvram_buf[NVRAM_SPACE - 1] = '\0'; in nvram_find_and_copy() 167 (u8 *)nvram_buf); in nvram_init() 190 var = &nvram_buf[sizeof(struct nvram_header)]; in bcm47xx_nvram_getenv() 191 end = nvram_buf + sizeof(nvram_buf); in bcm47xx_nvram_getenv() 242 memcpy(nvram, &nvram_buf[sizeof(struct nvram_header)], *nvram_size); in bcm47xx_nvram_get_contents()
|
/linux-4.4.14/arch/powerpc/platforms/chrp/ |
D | nvram.c | 23 static unsigned char nvram_buf[4]; variable 39 __pa(nvram_buf), 1) != 0) || 1 != done) in chrp_nvram_read() 42 ret = nvram_buf[0]; in chrp_nvram_read() 59 nvram_buf[0] = val; in chrp_nvram_write() 61 __pa(nvram_buf), 1) != 0) || 1 != done) in chrp_nvram_write()
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | nvram.c | 34 static char nvram_buf[NVRW_CNT]; /* assume this is in the first 4GB */ variable 71 if ((rtas_call(nvram_fetch, 3, 2, &done, i, __pa(nvram_buf), in pSeries_nvram_read() 77 memcpy(p, nvram_buf, len); in pSeries_nvram_read() 114 memcpy(nvram_buf, p, len); in pSeries_nvram_write() 116 if ((rtas_call(nvram_store, 3, 2, &done, i, __pa(nvram_buf), in pSeries_nvram_write()
|