dpaa2_io_get_cpu(9)
π dpaa2_io_get_cpu β a Kernel API Manual moment β¨
okay so bestie, welcome to the Kernel API Manual π and honestly? this one's short and sweet. it's giving "small function, big main character energy" fr fr.
β¨ NAME β¨
dpaa2_io_get_cpu β get the cpu associated with a given DPIO object π
like⦠that's it. that's the whole vibe. it gets the cpu. for a DPIO object. slay.
πΈ SYNOPSIS πΈ
int dpaa2_io_get_cpu (struct dpaa2_io *d );
look at her. one function, one argument, returns an int. lowkey iconic π¦
π ARGUMENTS π
dβ the given DPIO object. that's the one you're handing over, bestie. the DPIO object in question. no cap π«Ά
π DESCRIPTION π
Return the cpu associated with the DPIO object. β¨
that's the whole description, and honestly? we love a function that knows exactly what it is. you pass it a DPIO object (d), it hands you back the cpu tied to that object. periodt. π
π₯ SEE ALSO π₯
if you wanna go down the rabbit hole (and you should, iykyk), check out the kernel file:
./drivers/soc/fsl/dpio/dpio-service.c
and the whole DPIO friend group π β every single one of these cuties:
dpaa2_io_service_select(9)dpaa2_io_create(9)dpaa2_io_down(9)dpaa2_io_irq(9)dpaa2_io_service_register(9)dpaa2_io_service_deregister(9)dpaa2_io_service_rearm(9)dpaa2_io_service_pull_fq(9)dpaa2_io_service_pull_channel(9)dpaa2_io_service_enqueue_fq(9)dpaa2_io_service_enqueue_multiple_fq(9)dpaa2_io_service_enqueue_multiple_desc_fq(9)dpaa2_io_service_enqueue_qd(9)dpaa2_io_service_release(9)dpaa2_io_service_acquire(9)dpaa2_io_store_create(9)dpaa2_io_store_destroy(9)dpaa2_io_store_next(9)dpaa2_io_query_fq_count(9)dpaa2_io_query_bp_count(9)dpaa2_io_set_irq_coalescing(9)dpaa2_io_get_irq_coalescing(9)dpaa2_io_set_adaptive_coalescing(9)dpaa2_io_get_adaptive_coalescing(9)dpaa2_io_update_net_dim(9)
and that's the whole page, bestie π tysm for reading!! this lil gem lives in ./drivers/soc/fsl/dpio, dated October 2026, under the name dpaa2_io_get_cpu(9) β mwah, go get that cpu ππβ
π¦ 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