pch_i2c_func(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pch_i2c_func(9) β€” like, the Kernel API Manual page you didn't know you needed

okay so bestie, welcome to pch_i2c_func(9) from the Kernel API Manual β€” yes this is a real kernel function page and yes it's basically one line of code with a whole personality. let's get into it πŸŽ€


✨ NAME ✨

pch_i2c_func β€” it returns the functionality of the I2C driver. that's it. that's the whole job. iconic honestly πŸ‘‘


🌸 SYNOPSIS 🌸

u32 pch_i2c_func (struct i2c_adapter *adap );

like, you hand it an adapter and it hands you back a u32 full of functionality bits. transactional. slay πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adap β€” pointer to struct i2c_algo_pch_data. so not just any adapter bestie, it's specifically the PCH one. read the name, love the name 🌈

πŸ”₯ SEE ALSO πŸ”₯

so there's a whole friend group here and you should lowkey meet all of them 🫢

the kernel file is ./drivers/i2c/busses/i2c-eg20t.c, and it's giving main character energy for these structs and functions:

fr fr go read them, they're all in ./drivers/i2c/busses/ and they're all part of the same saga πŸ’€

<div>ok that's the page!! this gem came out of ./drivers/i2c/busses, October 2026, and it lives as pch_i2c_func(9) forever. mwah πŸ’œβœ¨</div>

πŸ“¦ where this page comes from