Lines Matching +full:0 +full:x51
19 static const unsigned short normal_i2c[] = { 0x50, 0x51, 0x52, 0x53, 0x54,
20 0x55, 0x56, 0x57, I2C_CLIENT_END };
35 u8 valid; /* bitfield, bit!=0 if slice is valid */
62 if (word < 0) in eeprom_update_client()
64 data->data[i] = word & 0xff; in eeprom_update_client()
88 - BIOS passwords: bytes 0x00 to 0x0f in eeprom_read()
89 - UUID: bytes 0x10 to 0x1f in eeprom_read()
90 - Serial number: 0xc0 to 0xdf */ in eeprom_read()
94 for (i = 0; i < count; i++) { in eeprom_read()
95 if ((off + i <= 0x1f) || in eeprom_read()
96 (off + i >= 0xc0 && off + i <= 0xdf)) in eeprom_read()
97 buf[i] = 0; in eeprom_read()
117 /* Return 0 if detection is successful, -ENODEV otherwise */
123 addresses 0x50-0x57, but we only care about 0x50. So decline in eeprom_detect()
124 attaching to addresses >= 0x51 on DDC buses */ in eeprom_detect()
125 if (!(adapter->class & I2C_CLASS_SPD) && client->addr >= 0x51) in eeprom_detect()
141 return 0; in eeprom_detect()
154 memset(data->data, 0xff, EEPROM_SIZE); in eeprom_probe()
161 if (client->addr == 0x57 in eeprom_probe()
165 name[0] = i2c_smbus_read_byte_data(client, 0x80); in eeprom_probe()
166 name[1] = i2c_smbus_read_byte_data(client, 0x81); in eeprom_probe()
167 name[2] = i2c_smbus_read_byte_data(client, 0x82); in eeprom_probe()
168 name[3] = i2c_smbus_read_byte_data(client, 0x83); in eeprom_probe()
191 { "eeprom", 0 },