![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef BCM63XX_NVRAM_H 0003 #define BCM63XX_NVRAM_H 0004 0005 #include <linux/types.h> 0006 0007 /** 0008 * bcm63xx_nvram_init() - initializes nvram 0009 * @nvram: address of the nvram data 0010 * 0011 * Initialized the local nvram copy from the target address and checks 0012 * its checksum. 0013 */ 0014 void bcm63xx_nvram_init(void *nvram); 0015 0016 /** 0017 * bcm63xx_nvram_get_name() - returns the board name according to nvram 0018 * 0019 * Returns the board name field from nvram. Note that it might not be 0020 * null terminated if it is exactly 16 bytes long. 0021 */ 0022 u8 *bcm63xx_nvram_get_name(void); 0023 0024 /** 0025 * bcm63xx_nvram_get_mac_address() - register & return a new mac address 0026 * @mac: pointer to array for allocated mac 0027 * 0028 * Registers and returns a mac address from the allocated macs from nvram. 0029 * 0030 * Returns 0 on success. 0031 */ 0032 int bcm63xx_nvram_get_mac_address(u8 *mac); 0033 0034 int bcm63xx_nvram_get_psi_size(void); 0035 0036 #endif /* BCM63XX_NVRAM_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |