/freebsd/sys/dev/sfxge/ |
H A D | sfxge_nvram.c | 56 size_t total_size = ip->u.nvram.size; in sfxge_nvram_rw() 65 rc = copyout(fake_dynamic_cfg_nvram, ip->u.nvram.data, in sfxge_nvram_rw() 80 rc = copyin(ip->u.nvram.data + off, buf, len); in sfxge_nvram_rw() 84 ip->u.nvram.offset + off, buf, len); in sfxge_nvram_rw() 89 ip->u.nvram.offset + off, buf, len); in sfxge_nvram_rw() 92 rc = copyout(buf, ip->u.nvram.data + off, len); in sfxge_nvram_rw() 148 if (ip->u.nvram.type > SFXGE_NVRAM_TYPE_DYNAMIC_CFG) in sfxge_nvram_ioctl() 150 type = nvram_types[ip->u.nvram.type]; in sfxge_nvram_ioctl() 152 (ip->u.nvram.op == SFXGE_NVRAM_OP_WRITE || in sfxge_nvram_ioctl() 153 ip->u.nvram.op == SFXGE_NVRAM_OP_ERASE || in sfxge_nvram_ioctl() [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_ioctl.c | 580 qlnx_write_nvram(qlnx_host_t *ha, qlnx_nvram_t *nvram, uint32_t cmd) in qlnx_write_nvram() argument 585 if ((nvram->data == NULL) || (nvram->data_len == 0)) in qlnx_write_nvram() 588 buf = qlnx_zalloc(nvram->data_len); in qlnx_write_nvram() 590 ret = copyin(nvram->data, buf, nvram->data_len); in qlnx_write_nvram() 594 cmd, nvram->data, nvram->data_len, ret); in qlnx_write_nvram() 598 nvram->offset, buf, nvram->data_len); in qlnx_write_nvram() 603 cmd, nvram->data, nvram->data_len, ha->cdev.mcp_nvm_resp, ret); in qlnx_write_nvram() 611 qlnx_read_nvram(qlnx_host_t *ha, qlnx_nvram_t *nvram) in qlnx_read_nvram() argument 616 if ((nvram->data == NULL) || (nvram->data_len == 0)) in qlnx_read_nvram() 619 buf = qlnx_zalloc(nvram->data_len); in qlnx_read_nvram() [all …]
|
/freebsd/sys/modules/nvram/ |
H A D | Makefile | 1 .PATH: ${SRCTOP}/sys/dev/nvram 3 KMOD= nvram 4 SRCS= nvram.c
|
/freebsd/usr.sbin/nvram/ |
H A D | Makefile | 1 PROG= nvram 2 MAN= nvram.8
|
/freebsd/sys/contrib/device-tree/src/arm/broadcom/ |
H A D | bcm4709-asus-rt-ac3200.dts | 23 nvram@1c080000 { 24 compatible = "brcm,nvram"; 107 label = "nvram";
|
H A D | bcm47094-asus-rt-ac5300.dts | 23 nvram@1c080000 { 24 compatible = "brcm,nvram"; 113 label = "nvram";
|
H A D | bcm47094-asus-rt-ac3100.dtsi | 18 nvram@1c080000 { 19 compatible = "brcm,nvram"; 113 label = "nvram";
|
H A D | bcm4708-linksys-ea6300-v1.dts | 24 nvram@1c080000 { 25 compatible = "brcm,nvram";
|
H A D | bcm4709-linksys-ea9200.dts | 25 nvram@1c080000 { 26 compatible = "brcm,nvram";
|
H A D | bcm47094-luxul-xwc-2000.dts | 25 nvram@1eff0000 { 26 compatible = "brcm,nvram";
|
H A D | bcm47094-luxul-xap-1610.dts | 23 nvram@1eff0000 { 24 compatible = "brcm,nvram";
|
H A D | bcm4708-luxul-xwc-1000.dts | 27 nvram@1eff0000 { 28 compatible = "brcm,nvram";
|
H A D | bcm47081-luxul-xap-1410.dts | 23 nvram@1eff0000 { 24 compatible = "brcm,nvram";
|
H A D | bcm4708-luxul-xap-1510.dts | 23 nvram@1eff0000 { 24 compatible = "brcm,nvram";
|
H A D | bcm53016-meraki-mr32.dts | 131 * It will only detect the "nvram" partition with an incorrect size. 134 * [ 1.733117] 0x000000400000-0x000008000000 : "nvram" 154 label = "nvram";
|
H A D | bcm47094-luxul-abr-4500.dts | 25 nvram@1eff0000 { 26 compatible = "brcm,nvram";
|
H A D | bcm4709-asus-rt-ac87u.dts | 28 nvram@1c080000 { 92 nvram@80000 { 93 label = "nvram";
|
H A D | bcm47094-luxul-xbr-4500.dts | 25 nvram@1eff0000 { 26 compatible = "brcm,nvram";
|
H A D | bcm47094-luxul-xwr-3150-v1.dts | 25 nvram@1eff0000 { 26 compatible = "brcm,nvram";
|
H A D | bcm47094-linksys-panamera.dts | 25 nvram@1c080000 { 26 compatible = "brcm,nvram"; 278 label = "nvram";
|
H A D | bcm47094-luxul-xwr-3100.dts | 25 nvram@1eff0000 { 26 compatible = "brcm,nvram";
|
H A D | bcm47081-luxul-xwr-1200.dts | 24 nvram@1eff0000 { 25 compatible = "brcm,nvram";
|
/freebsd/sys/dev/sym/ |
H A D | sym_hipd.c | 2176 static int sym_prepare_setting (hcb_p np, struct sym_nvram *nvram); 2258 static void sym_nvram_setup_host (hcb_p np, struct sym_nvram *nvram); 2471 static int sym_prepare_setting(hcb_p np, struct sym_nvram *nvram) in sym_prepare_setting() argument 2642 sym_nvram_setup_host (np, nvram); in sym_prepare_setting() 2675 else if (nvram->type == SYM_SYMBIOS_NVRAM) { in sym_prepare_setting() 2693 (nvram->type == SYM_SYMBIOS_NVRAM || in sym_prepare_setting() 2694 (nvram->type == SYM_TEKRAM_NVRAM && in sym_prepare_setting() 2730 sym_nvram_setup_target (np, i, nvram); in sym_prepare_setting() 2752 i = nvram->type; in sym_prepare_setting() 8386 struct sym_nvram nvram; local [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | cros-ec.txt | 41 - google,has-vbc-nvram: Some implementations of the EC include a small 42 nvram space used to store verified boot context data. This boolean flag 43 is used to specify whether this nvram is present or not.
|
/freebsd/sys/dev/ips/ |
H A D | ips_commands.c | 487 ips_nvram_page5 *nvram; in ips_write_nvram() local 498 nvram = command->data_buffer; in ips_write_nvram() 500 sc->adapter_type = nvram->adapter_type; in ips_write_nvram() 502 strncpy(nvram->driver_high, IPS_VERSION_MAJOR, 4); in ips_write_nvram() 503 strncpy(nvram->driver_low, IPS_VERSION_MINOR, 4); in ips_write_nvram() 504 nvram->operating_system = IPS_OS_FREEBSD; in ips_write_nvram()
|