qcom_read_reg_dma(9)
π qcom_read_reg_dma(9) π
okay so bestie, we're in the Kernel API Manual today and this one is literally qcom_read_reg_dma β a little function that's about to eat and leave no crumbs. it reads registers. into a buffer. that's the vibe. let's get into it π
β¨ NAME β¨
qcom_read_reg_dma β read a given number of registers to the reg_read_buf pointer π«Ά
πΈ SYNOPSIS πΈ
int qcom_read_reg_dma (struct qcom_nand_controller *nandc , int first ,
int num_regs , unsigned int flags );
π¦ ARGUMENTS π¦
nandcβ the qpic nand controller, aka the main character of this whole operation πfirstβ offset of the first register in the contiguous block. like, where we start. no cap, position matters πnum_regsβ number of registers to read. how many we're pulling. the count. the amount. iykyk β¨flagsβ flags to control DMA descriptor preparation. these are the little settings that tell the descriptor prep what kind of mood it should be in π
π DESCRIPTION π
so this function will prepare a descriptor to read a given number of contiguous registers, and it drops them right into the reg_read_buf pointer. that's it, that's the whole thing β it's giving "prep the descriptor, get the registers where they need to go" and honestly? iconic π₯
π§ SEE ALSO π§
kernel file ./drivers/mtd/nand/qpic_common.c β go read it bestie, it's literally right there π
and the whole friend group:
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_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)
and that's the page bestie!! ππ shoutout to the ./drivers/mtd/nand directory for hosting, October 2026 for the timestamp, and qcom_read_reg_dma(9) for being the moment. 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