STRUCT GPI_I2C_CONFIG(9)
π struct gpi_i2c_config(9) β like, the kernel API manual edition π
okay so bestie, welcome to the glow-up of struct gpi_i2c_config(9). this is the kernel API manual page for struct gpi_i2c_config, and it's literally the i2c config for a peripheral. yes, that's the whole vibe. let's get into it β¨
πΈ NAME πΈ
struct gpi_i2c_config β i2c config for peripheral π
π¦ SYNOPSIS π¦
the whole struct, served fresh, no cap:
struct gpi_i2c_config {
u8 set_config;
u8 pack_enable;
u8 cycle_count;
u8 high_count;
u8 low_count;
u8 addr;
u8 stretch;
u16 clk_div;
u32 rx_len;
enum i2c_op op;
bool multi_msg;
};
π Members π
like a tour of every field, one by one, no skipping, periodt:
set_configβ set peripheral config β¨pack_enableβ process tx/rx buffers as packed π«Άcycle_countβ clock cycles to be sent β°high_countβ high period of clock π₯low_countβ low period of clock πaddrβ i2c bus address π¬stretchβ stretch the clock at eot πclk_divβ source clock divider πrx_lenβ receive length for buffer πopβ i2c cmd πmulti_msgβ is part of multi i2c r-w msgs π
π SEE ALSO π
go peek at these besties, iykyk:
Kernel file ./include/linux/dma/qcom-gpi-dma.h enum spi_transfer_cmd(9), struct gpi_spi_config(9) π§
ngl, that's the whole page. every field, every type, every vibe β nothing dropped, nothing invented. slay π
and that's a wrap, bestie π«Ά this icon of a page comes to you from ./include/linux/dma, dated October 2026 β mwah, iconic, no notes πβ¨π
π¦ 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