ixgbe_read_i...ric_unlocked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ixgbe_read_i...ric_unlocked (9) β€” from the Kernel API Manual, bestie ✨

okay so picture this: you're deep in the kernel, you're in the Intel ixgbe driver, and you need to do an I2C read combined operation. that's it, that's the function. no cap, this page is short and sweet and i'm obsessed with how straightforward it is πŸŽ€


✨ NAME ✨

ixgbe_read_i2c_combined_generic_unlocked β€” literally does an I2C read combined operation πŸ¦‹ that's the whole vibe.


🌸 SYNOPSIS 🌸

int ixgbe_read_i2c_combined_generic_unlocked (struct ixgbe_hw *hw , u8 addr , u16 reg , u16 *val );

like, it returns an int, bestie. remember that. it matters later πŸ‘€


πŸ’– ARGUMENTS πŸ’–

  • hw β€” pointer to the hardware structure. your hardware bestie πŸ’»
  • addr β€” the I2C bus address to read from. this is where you're reading from, iykyk.
  • reg β€” the I2C device register to read from. the specific little spot on the device πŸ“
  • val β€” pointer to location to receive read value. this is the lil mailbox where the answer goes 🫢 (it's a pointer, so like, it's writing through it, not returning it. main character energy tbh)

πŸ”₯ DESCRIPTION πŸ”₯

Returns an error code on error. that's the whole description. no notes. she's concise πŸ’€βœ¨

like genuinely, that is the entire documented behaviour β€” error code on error. we love a low-drama function 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

first up, the source of truth herself: Kernel file ./drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c πŸ“

and now the whole friend group, in order, no one left out, periodt πŸ’…

like... that's the whole extended universe 😭 every single one, no skips, fr fr 🧚


ngl if you were looking for chaos or danger warnings, this page has none β€” the only documented behaviour is that error code on error. keep it cute and check the return value, babe πŸ’œ

and that's the tea πŸ“ this lil page came out of ./drivers/net/ethernet/intel/i... in October 2026 and she's titled ixgbe_read_i...ric_unlocked(9) β€” slay, go read your I2C, bestie πŸ’…πŸŽ€

πŸ“¦ where this page comes from