acpi_has_method(9)
β¨ acpi_has_method(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a lil baby page but she's important, don't sleep on her π«Ά
πΈ NAME πΈ
acpi_has_method β the vibe check that tells you whether @handle has a method named @name π
π SYNOPSIS π
bool acpi_has_method (acpi_handle handle , char *name );
like literally that's the whole thing, she's compact, she's iconic β¨
π¦ ARGUMENTS π¦
handleβ an ACPI device handle, the main character of this whole operation πnameβ the name of the object or method you're asking about π
π DESCRIPTION π
So the whole gig here: this function checks whether handle has a method named name. That's it. That's the function. No cap, no secret bonus features, just a clean little boolean answer β true if the method is there, false if it isn't, and you can move on with your life πβ¨
like honestly? sometimes the simplest functions are the most useful ones and this one ate π
π SEE ALSO π
if you're nosy (respectfully) and wanna read more, the kernel file lives at ./drivers/acpi/utils.c and here's the whole friend group, no one gets left out π«Ά:
acpi_handle_list_equal(9)acpi_handle_list_replace(9)acpi_handle_list_free(9)acpi_device_dep(9)acpi_evaluate_ost(9)acpi_handle_path(9)acpi_handle_printk(9)__acpi_handle_debug(9)acpi_evaluation_failure_warn(9)acpi_evaluate_ej0(9)acpi_evaluate_lck(9)acpi_evaluate_reg(9)acpi_evaluate_dsm(9)acpi_check_dsm(9)acpi_dev_uid_to_integer(9)acpi_dev_found(9)acpi_dev_present(9)acpi_dev_get_next_match_dev(9)acpi_dev_get_first_match_dev(9)acpi_reduced_hardware(9)acpi_dev_is_video_device(9)acpi_match_platform_list(9)
okay that's the whole page bestie, love that for us π
sign-off time π this lil masterpiece comes from ./drivers/acpi and it's dated October 2026 β write it in your calendar, frame it, whatever, it's giving archival excellence πΈβ¨ mwah π
π¦ 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