Searched refs:nvram_size (Results 1 – 11 of 11) sorted by relevance
/drivers/char/ |
D | nvram.c | 60 static ssize_t nvram_size; variable 225 nvram_size); in nvram_misc_llseek() 237 if (*ppos >= nvram_size) in nvram_misc_read() 240 count = min_t(size_t, count, nvram_size - *ppos); in nvram_misc_read() 269 if (*ppos >= nvram_size) in nvram_misc_write() 272 count = min_t(size_t, count, nvram_size - *ppos); in nvram_misc_write() 514 nvram_size = nvram_get_size(); in nvram_module_init() 515 if (nvram_size < 0) in nvram_module_init() 516 return nvram_size; in nvram_module_init()
|
/drivers/firmware/broadcom/ |
D | bcm47xx_nvram.c | 217 char *bcm47xx_nvram_get_contents(size_t *nvram_size) in bcm47xx_nvram_get_contents() argument 228 *nvram_size = nvram_len - sizeof(struct nvram_header); in bcm47xx_nvram_get_contents() 229 nvram = vmalloc(*nvram_size); in bcm47xx_nvram_get_contents() 232 memcpy(nvram, &nvram_buf[sizeof(struct nvram_header)], *nvram_size); in bcm47xx_nvram_get_contents()
|
/drivers/rtc/ |
D | rtc-ds1307.c | 172 u16 nvram_size; member 877 .nvram_size = 56, 881 .nvram_size = 56, 890 .nvram_size = 56, 925 .nvram_size = 4, /* 32bit (4 word x 8 bit) */ 939 .nvram_size = 56, 946 .nvram_size = 0x40, 1842 if (chip->nvram_size) { in ds1307_probe() 1847 .size = chip->nvram_size, in ds1307_probe()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 11996 return tp->nvram_size; in tg3_get_eeprom_len() 14318 tp->nvram_size = EEPROM_CHIP_SIZE; in tg3_get_eeprom_size() 14335 while (cursize < tp->nvram_size) { in tg3_get_eeprom_size() 14345 tp->nvram_size = cursize; in tg3_get_eeprom_size() 14374 tp->nvram_size = swab16((u16)(val & 0x0000ffff)) * 1024; in tg3_get_nvram_size() 14378 tp->nvram_size = TG3_NVRAM_SIZE_512KB; in tg3_get_nvram_size() 14524 tp->nvram_size = (protect ? 0x3e200 : in tg3_get_5755_nvram_info() 14527 tp->nvram_size = (protect ? 0x1f200 : in tg3_get_5755_nvram_info() 14530 tp->nvram_size = (protect ? 0x1f200 : in tg3_get_5755_nvram_info() 14541 tp->nvram_size = (protect ? in tg3_get_5755_nvram_info() [all …]
|
D | tg3.h | 3377 u32 nvram_size; member
|
/drivers/scsi/qla2xxx/ |
D | qla_init.c | 4482 ha->nvram_size = sizeof(*nv); in qla2x00_nvram_config() 4489 ha->isp_ops->read_nvram(vha, ptr, ha->nvram_base, ha->nvram_size); in qla2x00_nvram_config() 4490 for (cnt = 0, chksum = 0; cnt < ha->nvram_size; cnt++) in qla2x00_nvram_config() 4496 nv, ha->nvram_size); in qla2x00_nvram_config() 4512 memset(nv, 0, ha->nvram_size); in qla2x00_nvram_config() 7083 ha->nvram_size = sizeof(*nv); in qla24xx_nvram_config() 7093 ha->isp_ops->read_nvram(vha, dptr, ha->nvram_base, ha->nvram_size); in qla24xx_nvram_config() 7094 for (cnt = 0, chksum = 0; cnt < ha->nvram_size >> 2; cnt++, dptr++) in qla24xx_nvram_config() 7100 nv, ha->nvram_size); in qla24xx_nvram_config() 7117 memset(nv, 0, ha->nvram_size); in qla24xx_nvram_config() [all …]
|
D | qla_attr.c | 183 ha->isp_ops->read_optrom(vha, ha->nvram, faddr << 2, ha->nvram_size); in qla2x00_sysfs_read_nvram() 189 ha->nvram_size); in qla2x00_sysfs_read_nvram() 202 if (!capable(CAP_SYS_ADMIN) || off != 0 || count != ha->nvram_size || in qla2x00_sysfs_write_nvram()
|
D | qla_def.h | 3917 uint16_t nvram_size; member
|
/drivers/scsi/ |
D | myrb.h | 258 unsigned int nvram_size; /* Bytes 36-39 */ member
|
/drivers/scsi/megaraid/ |
D | megaraid_sas.h | 1047 __le16 nvram_size; member
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_hsi.h | 7681 __le32 nvram_size; member
|