geni_se_rx_dma_prep(9)
π geni_se_rx_dma_prep
okay so bestie, we're in the Kernel API Manual today and this little icon is all about getting your serial engine ready for an RX DMA transfer. it's giving "backstage prep before the main character walks out" energy β¨
πΈ NAME
geni_se_rx_dma_prep β Prepare the serial engine for RX DMA transfer π
β¨ SYNOPSIS
int geni_se_rx_dma_prep (struct geni_se *se , void *buf , size_t len ,
dma_addr_t *iova );
π¦ ARGUMENTS
seβ Pointer to the concerned serial engine. this is your main character right here πbufβ Pointer to the RX buffer. the place where the incoming data is gonna live π«Άlenβ Length of the RX buffer. gotta tell it how much room there is, no cap πiovaβ Pointer to store the mapped DMA address. it's literally an out-param β the mapped address gets dropped in here π
π DESCRIPTION
This function is used to prepare the buffers for DMA RX. that's it, that's the vibe β you're setting things up so the DMA RX can actually happen. lowkey essential, highkey underrated π
β RETURN
0 on success, standard Linux error codes on failure. so likeβ¦ zero means slay, anything else means the universe said "not today" π
π₯ SEE ALSO
Kernel file ./drivers/soc/qcom/qcom-geni-se.cOverview(9)Hardware description(9)Software description(9)struct geni_wrapper(9)struct geni_se_desc(9)struct se_fw_hdr(9)geni_se_get_qup_hw_version(9)geni_se_init(9)geni_se_select_mode(9)Overview(9)geni_se_config_packing(9)geni_se_resources_off(9)geni_se_resources_on(9)geni_se_clk_tbl_get(9)geni_se_clk_freq_match(9)geni_se_tx_init_dma(9)geni_se_tx_dma_prep(9)geni_se_rx_init_dma(9)geni_se_tx_dma_unprep(9)geni_se_rx_dma_unprep(9)geni_icc_set_bw_ab(9)geni_se_resources_deactivate(9)geni_se_resources_activate(9)geni_se_set_perf_level(9)geni_se_set_perf_opp(9)geni_se_domain_attach(9)geni_se_resources_init(9)geni_find_protocol_fw(9)geni_configure_xfer_mode(9)geni_enable_interrupts(9)geni_write_fw_revision(9)geni_load_se_fw(9)geni_load_se_firmware(9)
(yes bestie, Overview(9) is in there twice β that's exactly how the original rolls it, so we keep it twice π)
okay that's the whole page, mwah π§ββοΈ this one lives over in ./drivers/soc/qcom and it's dated October 2026 β go read the source, ily, bye ππ
π¦ 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