STRUCT I2C_DEVICE_IDENTITY(9)
π struct i2c_device_identity(9) π
okay bestie, welcome to the Kernel API Manual moment β¨ this page is literally about struct i2c_device_identity, and its whole vibe is i2c client device identification. no cap. π«Ά
πΈ NAME πΈ
struct i2c_device_identity β i2c client device identification. that's the name, that's the game π
β¨ SYNOPSIS β¨
here's the exact struct, with every #define bestie intact, periodt:
struct i2c_device_identity {
u16 manufacturer_id;
#define I2C_DEVICE_ID_NXP_SEMICONDUCTORS 0;
#define I2C_DEVICE_ID_NXP_SEMICONDUCTORS_1 1;
#define I2C_DEVICE_ID_NXP_SEMICONDUCTORS_2 2;
#define I2C_DEVICE_ID_NXP_SEMICONDUCTORS_3 3;
#define I2C_DEVICE_ID_RAMTRON_INTERNATIONAL 4;
#define I2C_DEVICE_ID_ANALOG_DEVICES 5;
#define I2C_DEVICE_ID_STMICROELECTRONICS 6;
#define I2C_DEVICE_ID_ON_SEMICONDUCTOR 7;
#define I2C_DEVICE_ID_SPRINTEK_CORPORATION 8;
#define I2C_DEVICE_ID_ESPROS_PHOTONICS_AG 9;
#define I2C_DEVICE_ID_FUJITSU_SEMICONDUCTOR 10;
#define I2C_DEVICE_ID_FLIR 11;
#define I2C_DEVICE_ID_O2MICRO 12;
#define I2C_DEVICE_ID_ATMEL 13;
#define I2C_DEVICE_ID_NONE 0xffff;
u16 part_id;
u8 die_revision;
};
π Members π
three members, and they're all main characters in this little struct:
manufacturer_idβ0 - 4095, and the database is maintained by NXP. iconic range, ngl πpart_idβ0 - 511, according to manufacturer. yup, manufacturer's rules π¦die_revisionβ0 - 7, according to manufacturer. tiny but fierce πΈ
π SEE ALSO π
bestie, the whole squad is here β first the kernel file ./include/linux/i2c.h, then all these icons:
- Kernel file
./include/linux/i2c.h i2c_master_recv(9)i2c_master_recv_dmasafe(9)i2c_master_send(9)i2c_master_send_dmasafe(9)enum i2c_driver_flags(9)struct i2c_driver(9)struct i2c_client(9)struct i2c_board_info(9)I2C_BOARD_INFO(9)struct i2c_algorithm(9)struct i2c_lock_operations(9)struct i2c_timings(9)struct i2c_bus_recovery_info(9)struct i2c_adapter_quirks(9)i2c_lock_bus(9)i2c_trylock_bus(9)i2c_unlock_bus(9)i2c_mark_adapter_suspended(9)i2c_mark_adapter_resumed(9)i2c_check_quirks(9)module_i2c_driver(9)builtin_i2c_driver(9)
xoxo, your kernel bestie π
β source/version: ./include/linux, dated October 2026. mwah! ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms