sf_pdma_irq_init(9)
β¨ NAME β¨
okay bestie, welcome to sf_pdma_irq_init(9) from the Kernel API Manual π β this one is literally the βInit PDMA IRQ Handlersβ function, no cap.
π SYNOPSIS π
int sf_pdma_irq_init (struct platform_device *pdev , struct sf_pdma
*pdma );
π ARGUMENTS π
pdevβ pointer ofplatform_device.pdmaβ pointer of PDMA engine. Caller should check NULL π«Ά
π DESCRIPTION π
So this function initializes the DONE and ERROR interrupt handler for 4 channels β¨. Caller should make sure the pointer passed in are non-NULL β like, fr fr, check it before you come through π.
This function should be called only one time during the device probe. One time. Thatβs the vibe. Donβt make it a whole recurring thing π.
π¦ CONTEXT π¦
Any context. Thatβs it, thatβs the context π.
π RETURN π
0β OK to init all IRQ handlers β-EINVALβ Fail to request IRQ π
πΈ SEE ALSO πΈ
Kernel file ./drivers/dma/sf-pdma/sf-pdma.c and sf_pdma_setup_chans(9) β go read those too, iykyk π.
source/version: ./drivers/dma/sf-pdma; date: October 2026 β bye bestie, ttyl πππ«Ά
π¦ 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