Searched refs:eeprom_buf (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/u-boot/board/siemens/common/ |
| H A D | factoryset.c | 29 #define fact_get_char(i) *((char *)&eeprom_buf[i]) 31 static int fact_match(unsigned char *eeprom_buf, uchar *s1, int i2) in fact_match() argument 46 static int get_factory_val(unsigned char *eeprom_buf, int size, uchar *name, in get_factory_val() argument 59 val = fact_match(eeprom_buf, (uchar *)name, i); in get_factory_val() 82 int get_factory_record_val(unsigned char *eeprom_buf, int size, uchar *record, in get_factory_record_val() argument 99 c = strncmp((char *)&eeprom_buf[i + 1], (char *)record, in get_factory_record_val() 126 tmp = eeprom_buf[endpos]; in get_factory_record_val() 127 eeprom_buf[endpos] = end; in get_factory_record_val() 128 ret = get_factory_val(&eeprom_buf[pos], in get_factory_record_val() 131 eeprom_buf[endpos] = tmp; in get_factory_record_val() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/parisc/ |
| H A D | eisa_enumerator.c | 485 static char eeprom_buf[HPEE_MAX_LENGTH]; in eisa_enumerator() local 488 eeprom_buf[i] = gsc_readb(eeprom_addr+i); in eisa_enumerator() 493 eh = (struct eeprom_header*)(eeprom_buf); in eisa_enumerator() 498 (&eeprom_buf[HPEE_SLOT_INFO(i)]); in eisa_enumerator() 505 if (parse_slot_config(i+1, &eeprom_buf[es->config_data_offset], in eisa_enumerator()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | eeprom.c | 266 static unsigned char eeprom_buf[CONFIG_SYS_EEPROM_SIZE]; variable 326 rcode = eeprom_read(i2c_addr, 0, eeprom_buf, CONFIG_SYS_EEPROM_SIZE); in eeprom_execute_command() 330 eeprom_layout_setup(&layout, eeprom_buf, CONFIG_SYS_EEPROM_SIZE, in eeprom_execute_command()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| H A D | nfp_nsp.c | 1067 struct eeprom_buf { in nfp_nsp_read_module_eeprom() struct 1077 BUILD_BUG_ON(offsetof(struct eeprom_buf, data) % 8); in nfp_nsp_read_module_eeprom() 1086 offsetof(struct eeprom_buf, data) / NSP_SFF_EEPROM_BLOCK_LEN; in nfp_nsp_read_module_eeprom()
|