Lines Matching full:nvram

49 #include "nvram/bhnd_nvram.h"
149 BHND_CDESC(BCM, NS_ROM, NVRAM, "System ROM"),
150 BHND_CDESC(BCM, NS_NAND, NVRAM, "NAND Flash Controller"),
151 BHND_CDESC(BCM, NS_QSPI, NVRAM, "QSPI Flash Controller"),
242 * Return the name of an NVRAM source.
244 * @param nvram_src The NVRAM source type to look up.
886 * This is not available until after NVRAM is up; earlier device in bhnd_device_matches()
1166 * Read an NVRAM variable's NUL-terminated string value.
1169 * @param name The NVRAM variable name.
1181 * @retval ENODEV No valid NVRAM source could be found.
1207 * Read an NVRAM variable's unsigned integer value.
1210 * @param name The NVRAM variable name.
1218 * @retval ENODEV No valid NVRAM source could be found.
1243 device_printf(dev, "unsupported NVRAM integer width: %d\n", in bhnd_nvram_getvar_uint()
1253 * Read an NVRAM variable's unsigned 8-bit integer value.
1256 * @param name The NVRAM variable name.
1262 * @retval ENODEV No valid NVRAM source could be found.
1276 * Read an NVRAM variable's unsigned 16-bit integer value.
1279 * @param name The NVRAM variable name.
1285 * @retval ENODEV No valid NVRAM source could be found.
1300 * Read an NVRAM variable's unsigned 32-bit integer value.
1303 * @param name The NVRAM variable name.
1309 * @retval ENODEV No valid NVRAM source could be found.
1324 * Read an NVRAM variable's signed integer value.
1327 * @param name The NVRAM variable name.
1335 * @retval ENODEV No valid NVRAM source could be found.
1360 device_printf(dev, "unsupported NVRAM integer width: %d\n", in bhnd_nvram_getvar_int()
1370 * Read an NVRAM variable's signed 8-bit integer value.
1373 * @param name The NVRAM variable name.
1379 * @retval ENODEV No valid NVRAM source could be found.
1393 * Read an NVRAM variable's signed 16-bit integer value.
1396 * @param name The NVRAM variable name.
1402 * @retval ENODEV No valid NVRAM source could be found.
1417 * Read an NVRAM variable's signed 32-bit integer value.
1420 * @param name The NVRAM variable name.
1426 * @retval ENODEV No valid NVRAM source could be found.
1441 * Read an NVRAM variable's array value.
1444 * @param name The NVRAM variable name.
1454 * @retval ENODEV No valid NVRAM source could be found.
2095 /* nvram board_info population macros for bhnd_bus_generic_read_board_info() */
2123 * This implementation populates @p info with information from NVRAM,
2143 NVRAM */ in bhnd_bus_generic_read_board_info()
2158 * This implementation searches @p dev for a usable NVRAM child device.
2167 device_t nvram; in bhnd_bus_generic_get_nvram_var() local
2172 /* Look for a directly-attached NVRAM child */ in bhnd_bus_generic_get_nvram_var()
2173 if ((nvram = device_find_child(dev, "bhnd_nvram", DEVICE_UNIT_ANY)) != NULL) in bhnd_bus_generic_get_nvram_var()
2174 return BHND_NVRAM_GETVAR(nvram, name, buf, size, type); in bhnd_bus_generic_get_nvram_var()