acpi_dma_pa...source_group(9)
β¨ 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β thestruct acpi_dmaof 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 β
1on success π slay0when no information is available π- or the appropriate
errnovalue on error π
π SEE ALSO π
Kernel file ./drivers/dma/acpi-dma.c, plus all these icons:
acpi_dma_parse_csrt(9)acpi_dma_controller_register(9)acpi_dma_controller_free(9)devm_acpi_dma_controller_register(9)acpi_dma_update_dma_spec(9)acpi_dma_parse_fixed_dma(9)acpi_dma_request_slave_chan_by_index(9)acpi_dma_request_slave_chan_by_name(9)acpi_dma_simple_xlate(9)
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
- 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