qcom_prep_adm_dma_desc(9)
π« qcom_prep_adm_dma_desc(9) β a Kernel API Manual moment β¨
okay so bestie, we're diving into the Kernel API Manual today and honestly? this one's a little icon. it's called qcom_prep_adm_dma_desc, and yes the name is a mouthful but that's just how the kernel rolls π
πΈ NAME πΈ
qcom_prep_adm_dma_desc β bestie, it prepares the descriptor for adma. that's the whole vibe. it's giving "get the paperwork ready before the big thing happens" πβ¨
π¦ SYNOPSIS π¦
int qcom_prep_adm_dma_desc (struct qcom_nand_controller *nandc , bool
read , int reg_off , const void *vaddr , int size , bool flow_control );
like, look at all those params. she's got range, no cap π
π ARGUMENTS π
nandcβ the qpic nand controller. that's the main character of this whole situation fr fr π«Άreadβ the read-or-write type. like, are we going in or coming out? we must know π«reg_offβ offset within the controller's data buffer. the lil address-y coordinate situation β¨vaddrβ the virtual address of the buffer we want to write to. literally the destination's whole location, iykyk πsizeβ the adm dma transaction size in bytes. the bigness of the transfer, measured in bytes obviously πflow_controlβ the flow controller. keeping things moving at a chill pace π
π DESCRIPTION π
so what does she actually do? this function will prepare descriptor for adma. that's it. that's the sentence. she prepares the descriptor, she slays, she leaves πβ¨ no notes, perfection π
π SEE ALSO π
peep the whole friend group π«Ά:
- Kernel file
./drivers/mtd/nand/qpic_common.cβ literally the source, go look π qcom_free_bam_transaction(9)qcom_alloc_bam_transaction(9)qcom_clear_bam_transaction(9)qcom_qpic_bam_dma_done(9)qcom_nandc_dev_to_mem(9)qcom_prepare_bam_async_desc(9)qcom_prep_bam_dma_desc_cmd(9)qcom_prep_bam_dma_desc_data(9)qcom_read_reg_dma(9)qcom_write_reg_dma(9)qcom_read_data_dma(9)qcom_write_data_dma(9)qcom_submit_descs(9)qcom_clear_read_regs(9)qcom_nandc_unalloc(9)qcom_nandc_alloc(9)
aaaand that's the whole page, bestie π shoutout to the source squad over in ./drivers/mtd/nand, timestamped October 2026, and ofc the queen herself qcom_prep_adm_dma_desc(9) β periodt. πππ
π¦ 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