ms_sensors_tp_crc_valid_112(9)
π ms_sensors_tp_crc_valid_112(9) β the kernel API manual, bestie edition π
okay so real talk, this is a section 9 kernel API page, and the function is literally called ms_sensors_tp_crc_valid_112. iconic name, no notes. it's the go-to girl for making sure stuff isn't corrupted, and we're gonna get into it π
β¨ NAME β¨
ms_sensors_tp_crc_valid_112 β a CRC check function for Temperature and pressure devices for 112bit PROM. ngl, this one is only used when you're reading PROM coefficients, so she's a specialist, not a generalist. main character energy but make it niche π¦
β¨ SYNOPSIS β¨
bool ms_sensors_tp_crc_valid_112 (u16 *prom );
that's it. that's the whole vibe. one argument, returns a bool, we love a low-maintenance queen π
β¨ ARGUMENTS β¨
promβ pointer to the PROM coefficients array. she's giving "just point me at the coefficients and I'll handle the rest" π«Ά
β¨ RETURN β¨
True if CRC is ok. that's the whole tea. good check, no notes, slay π
fr fr the return value is just true-when-ok. don't overthink her.
β¨ SEE ALSO β¨
the whole friend group, gathered for the group chat ππ:
- Kernel file
./drivers/iio/common/ms_sensors/ms_sensors_i2c.c 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_128(9)ms_sensors_tp_read_prom(9)ms_sensors_read_temp_and_pressure(9)
and that's the whole page, bestie β¨ this one lives in ./drivers/iio/common/ms_sensors, dated October 2026, under the ms_sensors_tp_crc_valid_112(9) banner β mwah, go check that CRC, ily ππΈ
π¦ 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