ms_sensors_tp_crc_valid_128(9)
π ms_sensors_tp_crc_valid_128(9) β like, the Kernel API Manual era of my life
Okay bestie, gather round, because we're diving into ms_sensors_tp_crc_valid_128 β¨ β a CRC check function for Temperature and pressure devices, specifically for 128-bit PROM. This function is only used when reading PROM coefficients, so don't go calling it at random parties, it's got a very specific job π
πΈ NAME πΈ
ms_sensors_tp_crc_valid_128 β the CRC check function for Temperature and pressure devices for 128bit PROM. Genuinely only used when reading PROM coefficients, okurrr? π
β¨ SYNOPSIS β¨
bool ms_sensors_tp_crc_valid_128 (u16 *prom );
Like, that's it. That's the whole vibe check. π¦
π«Ά ARGUMENTS π«Ά
promβ pointer to the PROM coefficients array, bestie. Hand it over and let the function do its thing π
π₯ RETURN π₯
Returns True if the CRC is ok. That's the whole story β no cap, no plot twist, just True when everything checks out π
π SEE ALSO π
The kernel file lives right here, iconic behavior:
./drivers/iio/common/ms_sensors/ms_sensors_i2c.c
And the whole friend group, fr fr:
ms_sensors_reset(9)ms_sensors_read_prom_word(9)ms_sensors_convert_and_read(9)ms_sensors_crc_valid(9)ms_sensors_read_serial(9)ms_sensors_write_resolution(9)ms_sensors_show_battery_low(9)ms_sensors_show_heater(9)ms_sensors_write_heater(9)ms_sensors_ht_read_temperature(9)ms_sensors_ht_read_humidity(9)ms_sensors_tp_crc4(9)ms_sensors_tp_crc_valid_112(9)ms_sensors_tp_read_prom(9)ms_sensors_read_temp_and_pressure(9)
Lowkey the whole squad is here and they all ate π go read them, iykyk π
And that's the page, bestie π sign-off time: this lil masterpiece comes to you from ./drivers/iio/common/ms_sensors, dated October 2026, under the header ms_sensors_tp_crc_valid_128(9) β mwah, slay, periodt π§π
π¦ 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