eeprom_93cx6_multiread(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:

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