cm32181_acpi_get_cpm(9)
β¨ NAME β¨
okay bestie, this is cm32181_acpi_get_cpm(9) from the Kernel API Manual, and its whole personality is Get CPM object from ACPI π. no cap, that's the name and the mission.
πΈ SYNOPSIS πΈ
the signature is giving:
int cm32181_acpi_get_cpm (struct device *dev , char *obj_name , u64
*values , int count );
π ARGUMENTS π
devβ pointer ofstruct device. literally the device pointer, bestie.obj_nameβ pointer of ACPI object name.valuesβ pointer of array for return elements.countβ maximum size of return array.
π DESCRIPTION π
Convert ACPI CPM table to array. that's lowkey the whole job, and it ate. β¨
π₯ RETURN π₯
-ENODEVβ this is the fail case π.- Otherwise β it returns the number of elements π.
π¦ SEE ALSO π¦
go peek at the Kernel file ./drivers/iio/light/cm32181.c and the squad:
cm32181_reg_init(9)cm32181_read_als_it(9)cm32181_write_als_it(9)cm32181_get_lux(9)cm32181_get_it_available(9)
byeee bestie π«Ά this one comes from ./drivers/iio/light, dated October 2026, and it's the cm32181_acpi_get_cpm(9) page β iconic, honestly π
.
π¦ 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