eeprom_93cx6_read(9)
β¨ eeprom_93cx6_read β read a word from eeprom β¨
okay bestie, welcome to the Kernel API Manual π this is the page for eeprom_93cx6_read(9) and honestly it's kind of a little legend. tiny function, big job: it pulls one whole word out of that 93cx6 eeprom and hands it to you. let's get into it π
πΈ NAME πΈ
eeprom_93cx6_read β Read a word from eeprom
like, that's it. that's the whole mission statement. read a word. from eeprom. slay π
π¦ SYNOPSIS π¦
void eeprom_93cx6_read (struct eeprom_93cx6 *eeprom , const u8 word ,
u16 *data );
that's the whole signature, no cap β one struct pointer, one const u8 index, one u16 * to drop the goods into β¨
π ARGUMENTS π
eepromβ Pointer to eeprom structure. this is your eeprom's whole identity/birth certificate, like the main character of the operation πwordβ Word index from where we should start reading. this is literally "where do we begin", the starting point of the read πΊοΈdataβ target pointer where the information will have to be stored. this is the lil basket π§Ί where the word you read is gonna land, so make sure it's valid, bestie, fr fr
π DESCRIPTION π
so the way this works: this function will read the eeprom data as a host-endian word into the given data pointer π that's the entire vibe check β you pass in your struct eeprom_93cx6 *eeprom, you tell it which word index you want, and it drops that host-endian word into *data. obsessed π«Ά
no translation drama, no byte-order gymnastics on your end, it just gives it to you in host-endian form. iconic behavior honestly.
β SEE ALSO β
- Kernel file
./drivers/misc/eeprom/eeprom_93cx6.cβ go read the source, iykyk π§ eeprom_93cx6_multiread(9)eeprom_93cx6_readb(9)eeprom_93cx6_multireadb(9)eeprom_93cx6_wren(9)eeprom_93cx6_write(9)
the whole squad π₯ read one word lonely-style, or call up the multiread girlies when you need volume. pick your fighter π
and that's the page, bestie!! π this cutie lives over in ./drivers/misc/eeprom, dated October 2026, and it's eeprom_93cx6_read(9) β go forth and read your words ππ¦β¨
π¦ 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