ice_read_pca9575_reg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🧊 ice_read_pca9575_reg πŸ’…

okay so welcome to the Kernel API Manual (section 9, yes, the driver/kernel one) and today's main character is ice_read_pca9575_reg β€” which, per its name section, is literally just "read the register from the PCA9575 controller." That's it. That's the whole vibe. πŸŽ€


✨ NAME ✨

ice_read_pca9575_reg β€” read the register from the PCA9575 controller 🫢


🌸 SYNOPSIS 🌸

int ice_read_pca9575_reg (struct ice_hw *hw , u8 offset , u8 *data );

like, that's the whole signature, go off king πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the hw struct. it's giving "the big one," everything hangs off it πŸ’–
  • offset β€” the GPIO controller register offset. literally which register you're pointing at πŸ”₯
  • data β€” pointer to data to be read from the GPIO controller. this is where the goodies land, bestie ✨

⭐ RETURN ⭐

0 on success, negative error code otherwise. no cap β€” zero means slay, anything negative means something went wrong 😭


πŸ‘‘ SEE ALSO πŸ‘‘

okay this list is long long, so buckle up. these are all the (9) pages it's linked up with, and I'm giving you every single one because I am not about to skip anybody's fave 🌈

and yeah, the kernel file it actually lives in is ./drivers/net/ethernet/intel/ice/ice_common.c β€” that's the address, bestie, go visit her πŸ’œ


that's the whole page!! mwah πŸ’‹ this cutie is from ./drivers/net/ethernet/intel/ice, dated October 2026, and it's filed under the Kernel API Manual β€” so yeah, she's official, she's documented, and she's slaying. periodt. πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from