qcom_write_reg_dma(9)
π qcom_write_reg_dma(9) β a Kernel API Manual moment
okay so bestie, welcome to the qcom_write_reg_dma page, straight out of the Kernel API Manual. this is the one that writes a given number of registers, and honestly? she's serving utility. let's get into it π
β¨ NAME β¨
qcom_write_reg_dma β write a given number of registers. that's it, that's the whole vibe. π
π¦ SYNOPSIS π¦
int qcom_write_reg_dma (struct qcom_nand_controller *nandc , __le32
*vaddr , int first , int num_regs , unsigned int flags );
look at her. five params, returns an int, living her best life. no cap. β¨
πΈ ARGUMENTS πΈ
nandcβ the qpic nand controller. your main character struct fr fr πvaddrβ contiguous memory from where the register value will be written. like, the source of truth, the origin story π«Άfirstβ offset of the first register in the contiguous block. she's the starting point, the beginning of the era βnum_regsβ number of registers to write. how many we're taking with us on this journey π₯flagsβ flags that control DMA descriptor preparation. the little knobs that decide how the descriptor gets prepped π
π DESCRIPTION π
so what does she actually do? this function prepares a descriptor to write a given number of contiguous registers. that's the whole thing β she's a preparer, a descriptor girlie, the one setting things up so the actual writing can happen. iconic behavior honestly π
not me being obsessed with a function whose entire job is prep work π she's theεΉε queen and we respect her.
π SEE ALSO π
bestie, the whole friend group is here, and yes they all showed up to the group chat π
- Kernel file
./drivers/mtd/nand/qpic_common.cβ go read the source, iykyk π 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_prep_adm_dma_desc(9)qcom_read_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)
every single one of them, present and accounted for. slay. π§
heads up bestie: this page lives under ./drivers/mtd/nand, and the version/date stamp on it is October 2026. so yeah, she's from the future (or at least the docs said so) π
and that's the page! qcom_write_reg_dma(9), ./drivers/mtd/nand, October 2026 β mwah, 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