qcom_prepare_bam_async_desc(9)
π qcom_prepare_bam_async_desc(9) β Kernel API Manual π
okay so bestie, welcome to the qcom_prepare_bam_async_desc(9) page π this is the Kernel API Manual entry for the function that literally preps a DMA descriptor. no cap, itβs giving low-level NAND realness π
π¦ NAME π¦
qcom_prepare_bam_async_desc β literally prepare a DMA descriptor, bestie β¨
πΈ SYNOPSIS πΈ
int qcom_prepare_bam_async_desc (struct qcom_nand_controller *nandc ,
struct dma_chan *chan , unsigned long flags );
π ARGUMENTS π
nandcβ the qpic nand controller, aka your NAND main character πchanβ the dma channel π¦flagsβ flags to control DMA descriptor preparation π
β¨ DESCRIPTION β¨
okay so hereβs the tea: this function maps the scatter gather list for DMA transfer and forms the DMA descriptor for BAM π₯ that descriptor gets added in the NAND DMA descriptor queue, and that queue gets submitted to the DMA engine. like, itβs literally the prep step before the descriptor goes on its little journey π«
π SEE ALSO π
kernel file: ./drivers/mtd/nand/qpic_common.c β go peek for the source-side lore π
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_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_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)
mwah π β source/version ./drivers/mtd/nand, date October 2026, page qcom_prepare_bam_async_desc(9). stay slaying, bestie ππ
π¦ 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