acpi_dma_pa...source_group(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

acpi_dma_parse_resource_group β€” bestie, this is the little function that matches your device and parses the resource group πŸ’…


🌸 SYNOPSIS 🌸

int acpi_dma_parse_resource_group (const struct acpi_csrt_group *grp ,
struct acpi_device *adev , struct acpi_dma *adma );

Ok so it takes three things and hands you back an int, no cap ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • grp β€” the CSRT resource group 🫢 this is the group thing you're parsing, periodt.
  • adev β€” the ACPI device to match with πŸ”₯ like, the one you're trying to pair up.
  • adma β€” the struct acpi_dma of the given DMA controller πŸ’– the controller's whole vibe, basically.

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the situation, bestie: to match a device from the DSDT table to the corresponding CSRT device, we use the MMIO address and the IRQ πŸ‘‘ that's literally the whole trick, iykyk.


⭐ RETURN ⭐

  • 1 on success πŸŽ‰ slay
  • 0 when no information is available πŸ™ˆ
  • or the appropriate errno value on error 😭

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/dma/acpi-dma.c, plus all these icons:


okay that's the whole page, you ate that πŸ’… this little beauty lives in ./drivers/dma and it's stamped October 2026 β€” go off, queen πŸ‘‘πŸ’–

(also the manual itself is acpi_dma_pa...source_group(9), in case you were wondering β€” the truncated name is not a typo, it's just how she's filed ✨)

πŸ“¦ where this page comes from