Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/platforms/powermac/
Dnvram.c36 #define NVRAM_SIZE 0x2000 /* 8kB of non-volatile RAM */ macro
105 if (*index > NVRAM_SIZE) in core99_nvram_read()
109 if (i + count > NVRAM_SIZE) in core99_nvram_read()
110 count = NVRAM_SIZE - i; in core99_nvram_read()
123 if (*index > NVRAM_SIZE) in core99_nvram_write()
127 if (i + count > NVRAM_SIZE) in core99_nvram_write()
128 count = NVRAM_SIZE - i; in core99_nvram_write()
139 return NVRAM_SIZE; in core99_nvram_size()
148 return NVRAM_SIZE; in ppc32_nvram_size()
153 return in_8(&nvram_data[(addr & (NVRAM_SIZE - 1)) * nvram_mult]); in direct_nvram_read_byte()
[all …]
/linux-6.1.9/drivers/rtc/
Drtc-pcf85363.c108 #define NVRAM_SIZE 0x40 macro
370 .size = NVRAM_SIZE, in pcf85363_probe()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbnx2.c5958 #define NVRAM_SIZE 0x200 macro
5964 __be32 buf[NVRAM_SIZE / 4]; in bnx2_test_nvram()
5978 if ((rc = bnx2_nvram_read(bp, 0x100, data, NVRAM_SIZE)) != 0) in bnx2_test_nvram()