STRUCT VADC_LINEAR_GRAPH(9)
π struct vadc_linear_graph(9) β Kernel API Manual, bestie π
okay so this is the Kernel API Manual page for struct vadc_linear_graph(9), and it is literally here to represent ADC characteristics. iconic behavior, no cap. π
β¨ NAME β¨
struct vadc_linear_graph β Represent ADC characteristics.
π¦ SYNOPSIS π¦
the whole vibe is this struct, fr fr:
struct vadc_linear_graph {
s32 dy;
s32 dx;
s32 gnd;
};
πΈ Members πΈ
dyβ the numerator slope used to calculate the gain. yes bestie, numerator. πdxβ the denominator slope used to calculate the gain. denominator rights, periodt.gndβ the A/D word of the ground reference used for the channel. keeping it grounded, literally. π«Ά
π₯ Description π₯
Real talk: each ADC device has different offset and gain parameters, and those parameters are computed to calibrate the device. thatβs the whole point, and it ate. π
π SEE ALSO π
- Kernel file
./include/linux/iio/adc/qcom-vadc-common.handenum vadc_scale_fn_type(9)β go peek, iykyk. π
mwah π½ β source: ./include/linux/iio/adc, dated October 2026, page struct vadc_linear_graph(9). slay and goodbye. πβ¨
π¦ 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