eeprom_93cx6_multiread(9)
π eeprom_93cx6_multiread π
okay bestie so this is a page straight out of the Kernel API Manual and it's all about <pink>eeprom_93cx6_multiread</pink> β literally the "read a whole bunch of words from eeprom at once" girlie. she's a function, she's a vibe, and she's about to make your little EEPROM read multiple words and not even be dramatic about it π
β¨ NAME β¨
eeprom_93cx6_multiread β Read multiple words from eeprom π¦
πΈ SYNOPSIS πΈ
void eeprom_93cx6_multiread (struct eeprom_93cx6 *eeprom , const u8 word
, __le16 *data , const u16 words );
no cap, that's the whole signature π
π«Ά ARGUMENTS π«Ά
eepromβ pointer to the eeprom structure, like her little home base πwordβ the word index where we start reading from, i.e. where the whole thing kicks off βdataβ the target pointer where the info is gonna get stored, she's the destination bestie π₯wordsβ how many words we should read, the count, the headcount, the whole squad π
π₯ DESCRIPTION π₯
So the way this works: this function reads all the requested words from the eeprom, and it does it by calling eeprom_93cx6_read multiple times β think of it like sending your girl to the counter over and over again, one word at a time π
But here's the iconic plot twist, the part where she's not like the other functions: while eeprom_93cx6_read returns host ordered bytes, this method returns little endian words. and that's the whole personality difference, periodt π
β¨
ngl, if you forget that endianness switchup you're gonna have a bad time π keep it in mind, iykyk.
π SEE ALSO π
Kernel file ./drivers/misc/eeprom/eeprom_93cx6.c, plus the whole friend group:
eeprom_93cx6_read(9)eeprom_93cx6_readb(9)eeprom_93cx6_multireadb(9)eeprom_93cx6_wren(9)eeprom_93cx6_write(9)
fr fr go read them all, they're giving main character energy too π§π
okay so that's the whole page, and now for the cute sign-off: this one lives over in ./drivers/misc/eeprom (her little address π‘), it's dated October 2026, and it's part of the Kernel API Manual β slay, ate, no crumbs left πππ
π¦ 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