i2c_check_quirks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌟 i2c_check_quirks β€” Kernel API Manual 🌟

okay bestie, welcome to the i2c_check_quirks(9) page in the Kernel API Manual. it’s lowkey a tiny vibe check for an i2c adapter’s quirk flags: does this adapter have all the flags we’re asking about? that’s the whole main-character job. πŸ’…


✨ NAME ✨

i2c_check_quirks β€” function for checking the quirk flags in an i2c adapter. periodt. πŸŽ€

πŸ“œ SYNOPSIS πŸ“œ

bool i2c_check_quirks (struct i2c_adapter *adap , u64 quirks );

🫢 ARGUMENTS 🫢

  • adap β€” i2c adapter. the adapter being checked, obvi.
  • quirks β€” quirk flags. the flags you’re checking for on that adapter.

πŸ”₯ RETURN πŸ”₯

returns true if the adapter has all the specified quirk flags, and false if not. no maybes, no β€œit’s complicated” β€” just true/false, bestie. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file ./include/linux/i2c.h is right there in the mix, and these faves are also linked in the group chat:


okay that’s the page, bestie πŸ’– β€” source path is ./include/linux, and the date on this one is October 2026, from the Kernel API Manual. iykyk, it’s iconic. πŸ¦‹

πŸ“¦ where this page comes from