pacpi_mode_filter(9)
π pacpi_mode_filter(9) π
okay so welcome to the pacpi_mode_filter(9) page from the Kernel API Manual β it's the mode filter for ACPI, and it's lowkey iconic. π
πΈ NAME πΈ
pacpi_mode_filter β mode filter for ACPI. that's the name, bestie. π
β¨ SYNOPSIS β¨
unsigned int pacpi_mode_filter (struct ata_device *adev , unsigned int mask );
π«Ά ARGUMENTS π«Ά
adevβ device. yep, that's the whole vibe. πmaskβ mask of valid modes. it's giving "which modes are valid" energy. β¨
π DESCRIPTION π
This filters the valid mode list according to our own specific rules β in this case, the list of discovered valid modes obtained by ACPI probing. so it's doing a little vibe check on the mode list and applying those rules. no extra behavior invented, periodt. π¦
π SEE ALSO π
go check out the kernel file ./drivers/ata/pata_acpi.c and these function besties:
pacpi_pre_reset(9)pacpi_cable_detect(9)pacpi_discover_modes(9)pacpi_set_piomode(9)pacpi_set_dmamode(9)pacpi_qc_issue(9)pacpi_port_start(9)pacpi_init_one(9)
mwah π that's the whole page, bestie β source/version: ./drivers/ata; date: October 2026. byeee! π
π¦ 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