sf_pdma_irq_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 of platform_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