cm32181_acpi_get_cpm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 of struct 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:


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