nvram_size 89 arch/powerpc/include/asm/machdep.h ssize_t (*nvram_size)(void); nvram_size 994 arch/powerpc/kernel/nvram_64.c if (ppc_md.nvram_size == NULL || ppc_md.nvram_size() <= 0) nvram_size 996 arch/powerpc/kernel/nvram_64.c total_size = ppc_md.nvram_size(); nvram_size 18 arch/powerpc/platforms/chrp/nvram.c static unsigned int nvram_size; nvram_size 28 arch/powerpc/platforms/chrp/nvram.c if (addr >= nvram_size) { nvram_size 30 arch/powerpc/platforms/chrp/nvram.c current->comm, addr, nvram_size); nvram_size 49 arch/powerpc/platforms/chrp/nvram.c if (addr >= nvram_size) { nvram_size 51 arch/powerpc/platforms/chrp/nvram.c current->comm, addr, nvram_size); nvram_size 64 arch/powerpc/platforms/chrp/nvram.c return nvram_size; nvram_size 83 arch/powerpc/platforms/chrp/nvram.c nvram_size = be32_to_cpup(nbytes_p); nvram_size 85 arch/powerpc/platforms/chrp/nvram.c printk(KERN_INFO "CHRP nvram contains %u bytes\n", nvram_size); nvram_size 90 arch/powerpc/platforms/chrp/nvram.c ppc_md.nvram_size = chrp_nvram_size; nvram_size 540 arch/powerpc/platforms/powermac/nvram.c ppc_md.nvram_size = core99_nvram_size; nvram_size 597 arch/powerpc/platforms/powermac/nvram.c ppc_md.nvram_size = ppc32_nvram_size; nvram_size 603 arch/powerpc/platforms/powermac/nvram.c ppc_md.nvram_size = ppc32_nvram_size; nvram_size 609 arch/powerpc/platforms/powermac/nvram.c ppc_md.nvram_size = ppc32_nvram_size; nvram_size 615 arch/powerpc/platforms/powermac/nvram.c ppc_md.nvram_size = ppc32_nvram_size; nvram_size 19 arch/powerpc/platforms/powernv/opal-nvram.c static unsigned int nvram_size; nvram_size 23 arch/powerpc/platforms/powernv/opal-nvram.c return nvram_size; nvram_size 31 arch/powerpc/platforms/powernv/opal-nvram.c if (*index >= nvram_size) nvram_size 34 arch/powerpc/platforms/powernv/opal-nvram.c if ((off + count) > nvram_size) nvram_size 35 arch/powerpc/platforms/powernv/opal-nvram.c count = nvram_size - off; nvram_size 52 arch/powerpc/platforms/powernv/opal-nvram.c if (*index >= nvram_size) nvram_size 55 arch/powerpc/platforms/powernv/opal-nvram.c if ((off + count) > nvram_size) nvram_size 56 arch/powerpc/platforms/powernv/opal-nvram.c count = nvram_size - off; nvram_size 104 arch/powerpc/platforms/powernv/opal-nvram.c nvram_size = be32_to_cpup(nbytes_p); nvram_size 106 arch/powerpc/platforms/powernv/opal-nvram.c pr_info("OPAL nvram setup, %u bytes\n", nvram_size); nvram_size 111 arch/powerpc/platforms/powernv/opal-nvram.c ppc_md.nvram_size = opal_nvram_size; nvram_size 24 arch/powerpc/platforms/pseries/nvram.c static unsigned int nvram_size; nvram_size 46 arch/powerpc/platforms/pseries/nvram.c if (nvram_size == 0 || nvram_fetch == RTAS_UNKNOWN_SERVICE) nvram_size 49 arch/powerpc/platforms/pseries/nvram.c if (*index >= nvram_size) nvram_size 53 arch/powerpc/platforms/pseries/nvram.c if (i + count > nvram_size) nvram_size 54 arch/powerpc/platforms/pseries/nvram.c count = nvram_size - i; nvram_size 89 arch/powerpc/platforms/pseries/nvram.c if (nvram_size == 0 || nvram_store == RTAS_UNKNOWN_SERVICE) nvram_size 92 arch/powerpc/platforms/pseries/nvram.c if (*index >= nvram_size) nvram_size 96 arch/powerpc/platforms/pseries/nvram.c if (i + count > nvram_size) nvram_size 97 arch/powerpc/platforms/pseries/nvram.c count = nvram_size - i; nvram_size 125 arch/powerpc/platforms/pseries/nvram.c return nvram_size ? nvram_size : -ENODEV; nvram_size 228 arch/powerpc/platforms/pseries/nvram.c nvram_size = be32_to_cpup(nbytes_p); nvram_size 232 arch/powerpc/platforms/pseries/nvram.c printk(KERN_INFO "PPC64 nvram contains %d bytes\n", nvram_size); nvram_size 237 arch/powerpc/platforms/pseries/nvram.c ppc_md.nvram_size = pSeries_nvram_get_size; nvram_size 140 arch/powerpc/sysdev/mmio_nvram.c ppc_md.nvram_size = mmio_nvram_get_size; nvram_size 60 drivers/char/nvram.c static ssize_t nvram_size; nvram_size 225 drivers/char/nvram.c nvram_size); nvram_size 237 drivers/char/nvram.c if (*ppos >= nvram_size) nvram_size 240 drivers/char/nvram.c count = min_t(size_t, count, nvram_size - *ppos); nvram_size 269 drivers/char/nvram.c if (*ppos >= nvram_size) nvram_size 272 drivers/char/nvram.c count = min_t(size_t, count, nvram_size - *ppos); nvram_size 514 drivers/char/nvram.c nvram_size = nvram_get_size(); nvram_size 515 drivers/char/nvram.c if (nvram_size < 0) nvram_size 516 drivers/char/nvram.c return nvram_size; nvram_size 217 drivers/firmware/broadcom/bcm47xx_nvram.c char *bcm47xx_nvram_get_contents(size_t *nvram_size) nvram_size 228 drivers/firmware/broadcom/bcm47xx_nvram.c *nvram_size = nvram_len - sizeof(struct nvram_header); nvram_size 229 drivers/firmware/broadcom/bcm47xx_nvram.c nvram = vmalloc(*nvram_size); nvram_size 232 drivers/firmware/broadcom/bcm47xx_nvram.c memcpy(nvram, &nvram_buf[sizeof(struct nvram_header)], *nvram_size); nvram_size 7681 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h __le32 nvram_size; nvram_size 11996 drivers/net/ethernet/broadcom/tg3.c return tp->nvram_size; nvram_size 14318 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = EEPROM_CHIP_SIZE; nvram_size 14335 drivers/net/ethernet/broadcom/tg3.c while (cursize < tp->nvram_size) { nvram_size 14345 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = cursize; nvram_size 14374 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = swab16((u16)(val & 0x0000ffff)) * 1024; nvram_size 14378 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_512KB; nvram_size 14524 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = (protect ? 0x3e200 : nvram_size 14527 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = (protect ? 0x1f200 : nvram_size 14530 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = (protect ? 0x1f200 : nvram_size 14541 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = (protect ? nvram_size 14545 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = (protect ? nvram_size 14549 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = (protect ? nvram_size 14638 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = tr32(NVRAM_ADDR_LOCKOUT); nvram_size 14645 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_2MB; nvram_size 14651 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_1MB; nvram_size 14657 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_512KB; nvram_size 14663 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_256KB; nvram_size 14707 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_128KB; nvram_size 14711 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_256KB; nvram_size 14715 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_512KB; nvram_size 14728 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_128KB; nvram_size 14731 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_256KB; nvram_size 14734 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_512KB; nvram_size 14782 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_256KB; nvram_size 14785 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_128KB; nvram_size 14810 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_256KB; nvram_size 14813 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_128KB; nvram_size 14852 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = nvram_size 14906 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_256KB; nvram_size 14911 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_512KB; nvram_size 14915 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_1MB; nvram_size 14919 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_128KB; nvram_size 14950 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_256KB; nvram_size 14956 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_512KB; nvram_size 14962 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_1MB; nvram_size 14966 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = TG3_NVRAM_SIZE_128KB; nvram_size 15026 drivers/net/ethernet/broadcom/tg3.c tp->nvram_size = 0; nvram_size 15052 drivers/net/ethernet/broadcom/tg3.c if (tp->nvram_size == 0) nvram_size 3377 drivers/net/ethernet/broadcom/tg3.h u32 nvram_size; nvram_size 172 drivers/rtc/rtc-ds1307.c u16 nvram_size; nvram_size 877 drivers/rtc/rtc-ds1307.c .nvram_size = 56, nvram_size 881 drivers/rtc/rtc-ds1307.c .nvram_size = 56, nvram_size 890 drivers/rtc/rtc-ds1307.c .nvram_size = 56, nvram_size 925 drivers/rtc/rtc-ds1307.c .nvram_size = 4, /* 32bit (4 word x 8 bit) */ nvram_size 939 drivers/rtc/rtc-ds1307.c .nvram_size = 56, nvram_size 946 drivers/rtc/rtc-ds1307.c .nvram_size = 0x40, nvram_size 1842 drivers/rtc/rtc-ds1307.c if (chip->nvram_size) { nvram_size 1847 drivers/rtc/rtc-ds1307.c .size = chip->nvram_size, nvram_size 1047 drivers/scsi/megaraid/megaraid_sas.h __le16 nvram_size; nvram_size 258 drivers/scsi/myrb.h unsigned int nvram_size; /* Bytes 36-39 */ nvram_size 183 drivers/scsi/qla2xxx/qla_attr.c ha->isp_ops->read_optrom(vha, ha->nvram, faddr << 2, ha->nvram_size); nvram_size 189 drivers/scsi/qla2xxx/qla_attr.c ha->nvram_size); nvram_size 202 drivers/scsi/qla2xxx/qla_attr.c if (!capable(CAP_SYS_ADMIN) || off != 0 || count != ha->nvram_size || nvram_size 3919 drivers/scsi/qla2xxx/qla_def.h uint16_t nvram_size; nvram_size 4500 drivers/scsi/qla2xxx/qla_init.c ha->nvram_size = sizeof(*nv); nvram_size 4507 drivers/scsi/qla2xxx/qla_init.c ha->isp_ops->read_nvram(vha, ptr, ha->nvram_base, ha->nvram_size); nvram_size 4508 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0, chksum = 0; cnt < ha->nvram_size; cnt++) nvram_size 4514 drivers/scsi/qla2xxx/qla_init.c nv, ha->nvram_size); nvram_size 4530 drivers/scsi/qla2xxx/qla_init.c memset(nv, 0, ha->nvram_size); nvram_size 7101 drivers/scsi/qla2xxx/qla_init.c ha->nvram_size = sizeof(*nv); nvram_size 7111 drivers/scsi/qla2xxx/qla_init.c ha->isp_ops->read_nvram(vha, dptr, ha->nvram_base, ha->nvram_size); nvram_size 7112 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0, chksum = 0; cnt < ha->nvram_size >> 2; cnt++, dptr++) nvram_size 7118 drivers/scsi/qla2xxx/qla_init.c nv, ha->nvram_size); nvram_size 7135 drivers/scsi/qla2xxx/qla_init.c memset(nv, 0, ha->nvram_size); nvram_size 8274 drivers/scsi/qla2xxx/qla_init.c ha->nvram_size = sizeof(*nv); nvram_size 8306 drivers/scsi/qla2xxx/qla_init.c ha->isp_ops->read_optrom(vha, ha->nvram, faddr << 2, ha->nvram_size); nvram_size 8309 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0, chksum = 0; cnt < ha->nvram_size >> 2; cnt++, dptr++) nvram_size 8315 drivers/scsi/qla2xxx/qla_init.c nv, ha->nvram_size); nvram_size 8332 drivers/scsi/qla2xxx/qla_init.c memset(nv, 0, ha->nvram_size); nvram_size 49 include/linux/nvram.h if (ppc_md.nvram_size) nvram_size 50 include/linux/nvram.h return ppc_md.nvram_size(); nvram_size 83 include/linux/nvram.h ssize_t nvram_size = nvram_get_size(); nvram_size 87 include/linux/nvram.h if (nvram_size < 0) nvram_size 88 include/linux/nvram.h return nvram_size; nvram_size 89 include/linux/nvram.h for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count) nvram_size 97 include/linux/nvram.h ssize_t nvram_size = nvram_get_size(); nvram_size 101 include/linux/nvram.h if (nvram_size < 0) nvram_size 102 include/linux/nvram.h return nvram_size; nvram_size 103 include/linux/nvram.h for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count)