STRUCT RK3X_I2C_SOC_DATA(9)
okay bestie, welcome to the struct rk3x_i2c_soc_data(9) page from the Kernel API Manual β¨ this is the lil struct that carries SOC-specific data, and we're gonna go through it together, no cap π«Ά
β¨ NAME β¨
struct rk3x_i2c_soc_data β SOC-specific data. that's the whole name, periodt π
πΈ SYNOPSIS πΈ
here's the struct, copied exactly so nobody comes for me π:
struct rk3x_i2c_soc_data {
int grf_offset;
int (*calc_timings)(unsigned long, struct i2c_timings *, struct
rk3x_i2c_calced_timings *);
};
π«Ά Members π«Ά
grf_offsetβ the offset inside the grf regmap for setting the i2c type, literally that's what it is bestie β¨calc_timingsβ the callback function for i2c timing information calculated π
okay that's the whole member list, no secret bonus fields, i checked π
π¦ SEE ALSO π¦
the kernel file is ./drivers/i2c/busses/i2c-rk3x.c β that's home base π and here's the whole friend group:
struct i2c_spec_values(9)struct rk3x_i2c_calced_timings(9)struct rk3x_i2c(9)rk3x_i2c_start(9)rk3x_i2c_stop(9)rk3x_i2c_prepare_read(9)rk3x_i2c_fill_transmit_buf(9)rk3x_i2c_get_spec(9)rk3x_i2c_v0_calc_timings(9)rk3x_i2c_v1_calc_timings(9)rk3x_i2c_clk_notifier_cb(9)rk3x_i2c_setup(9)
signed off with all the love from ./drivers/i2c/busses, dated October 2026, on the struct rk3x_i2c_soc_data(9) page πβ¨π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms