acpi_dma_simple_xlate(9)
β¨ acpi_dma_simple_xlate(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for acpi_dma_simple_xlate β the simple ACPI DMA engine translation helper. it's giving "small function, big job" energy and honestly? we're obsessed π
πΈ NAME πΈ
acpi_dma_simple_xlate β the simple ACPI DMA engine translation helper. no cap, that's literally what it is π
π¦ SYNOPSIS π¦
struct dma_chan * acpi_dma_simple_xlate (struct acpi_dma_spec *dma_spec
, struct acpi_dma *adma );
π ARGUMENTS π
dma_specβ pointer to the ACPI DMA specifier. yeah, the spec. the whole vibe check of "which DMA thing are we even talking about" π«Άadmaβ pointer to the ACPI DMA controller data. this is the controller's little info stash β¨
π₯ DESCRIPTION π₯
so this is a simple translation function for ACPI-based devices. what does it do? it passes the struct dma_spec over to the DMA controller driver's very own provided filter function. that's it. that's the whole main character moment π
like, no drama, no extra steps β it just hands your spec off to the filter and lets the driver decide. iconic behavior, fr fr π§
β RETURN β
pointer to the channel if it's found, or NULL otherwise. found = slay π
, not found = NULL and you move on π
π SEE ALSO π
- Kernel file
./drivers/dma/acpi-dma.c acpi_dma_parse_resource_group(9)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)
ngl bestie, if you're deep in the DMA docs, read the whole little friend group above β they all hang out in ./drivers/dma/acpi-dma.c together π
and that's the page!! courtesy of ./drivers/dma, dated October 2026, and yes the page is still called acpi_dma_simple_xlate(9) πβ¨ mwah, go build something π
π¦ 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