Home
last modified time | relevance | path

Searched refs:eeprom_bus (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/board/compulab/common/
Deeprom.h14 int cl_eeprom_read_mac_addr(uchar *buf, uint eeprom_bus);
15 u32 cl_eeprom_get_board_rev(uint eeprom_bus);
16 int cl_eeprom_get_product_name(uchar *buf, uint eeprom_bus);
18 static inline int cl_eeprom_read_mac_addr(uchar *buf, uint eeprom_bus) in cl_eeprom_read_mac_addr() argument
22 static inline u32 cl_eeprom_get_board_rev(uint eeprom_bus) in cl_eeprom_get_board_rev() argument
26 static inline int cl_eeprom_get_product_name(uchar *buf, uint eeprom_bus) in cl_eeprom_get_product_name() argument
Deeprom.c60 static int cl_eeprom_setup(uint eeprom_bus) in cl_eeprom_setup() argument
68 if (cl_eeprom_layout != LAYOUT_INVALID && eeprom_bus == cl_eeprom_bus) in cl_eeprom_setup()
71 cl_eeprom_bus = eeprom_bus; in cl_eeprom_setup()
111 int cl_eeprom_read_mac_addr(uchar *buf, uint eeprom_bus) in cl_eeprom_read_mac_addr() argument
116 err = cl_eeprom_setup(eeprom_bus); in cl_eeprom_read_mac_addr()
132 u32 cl_eeprom_get_board_rev(uint eeprom_bus) in cl_eeprom_get_board_rev() argument
140 if (cl_eeprom_setup(eeprom_bus)) in cl_eeprom_get_board_rev()
170 int cl_eeprom_get_product_name(uchar *buf, uint eeprom_bus) in cl_eeprom_get_product_name() argument
177 err = cl_eeprom_setup(eeprom_bus); in cl_eeprom_get_product_name()
/external/u-boot/board/compulab/cl-som-imx7/
Dcl-som-imx7.c177 static int cl_som_imx7_handle_mac_address(char *env_var, uint eeprom_bus) in cl_som_imx7_handle_mac_address() argument
186 ret = cl_eeprom_read_mac_addr(enetaddr, eeprom_bus); in cl_som_imx7_handle_mac_address()
/external/u-boot/board/ge/mx53ppd/
Dmx53ppd.c331 static int read_vpd(uint eeprom_bus) in read_vpd() argument
339 res = i2c_set_bus_num(eeprom_bus); in read_vpd()
/external/u-boot/board/compulab/cm_fx6/
Dcm_fx6.c432 static int handle_mac_address(char *env_var, uint eeprom_bus) in handle_mac_address() argument
441 rc = cl_eeprom_read_mac_addr(enetaddr, eeprom_bus); in handle_mac_address()
/external/u-boot/board/ge/bx50v3/
Dbx50v3.c626 static int read_vpd(uint eeprom_bus) in read_vpd() argument
633 res = i2c_set_bus_num(eeprom_bus); in read_vpd()