omap_prefetch_enable(9)
β¨ omap_prefetch_enable(9) β¨
okay bestie, welcome to the Kernel API Manual β yes, the whole manual, and today's main character is omap_prefetch_enable. This little icon is literally the one that configures and starts prefetch transfer π that's the whole NAME vibe, periodt.
πΈ SYNOPSIS πΈ
int omap_prefetch_enable (int cs , int fifo_th , int dma_mode , unsigned
int u32_count , int is_write , struct omap_nand_info *info );
likeβ¦ look at her. six arguments. she's booked and busy π
π¦ ARGUMENTS π¦
csβ thecs(chip select) number. which chip we're talking to, bestie π«Άfifo_thβ the fifo threshold to be used for read/ write. yes, read and write, she serves both πdma_modeβ dma mode enable (1) or disable (0). one or zero, no in-between, no cap βu32_countβ number of bytes to be transferred. the actual amount of stuff moving, fr fr πis_writeβ prefetch read(0) or write post(1) mode. so0= read,1= write post, iykyk πinfoβ NAND device structure containing platform data. that's astruct omap_nand_info *, and it's giving main character energy π
π§ SEE ALSO π§
the Kernel file ./drivers/mtd/nand/raw/omap2.c is where the lore lives, and she's linked to the whole friend group:
omap_nand_data_in_pref(9)omap_nand_data_out_pref(9)omap_nand_data_in_dma_pref(9)omap_nand_data_out_dma_pref(9)gen_true_ecc(9)omap_compare_ecc(9)omap_correct_data(9)omap_calculate_ecc(9)omap_enable_hwecc(9)omap_enable_hwecc_bch(9)_omap_calculate_ecc_bch(9)omap_calculate_ecc_bch_sw(9)omap_calculate_ecc_bch_multi(9)erased_sector_bitflips(9)omap_elm_correct_data(9)omap_write_page_bch(9)omap_write_subpage_bch(9)omap_read_page_bch(9)is_elm_present(9)
like, that's a whole squad ππ₯ every single one of them, no skips, we don't do skipping here π
ngl, that's the entire page β no DESCRIPTION, no OPTIONS, no exit statuses, just the NAME, the SYNOPSIS, the ARGUMENTS and the SEE ALSO. short and iconic. ate and left no crumbs ππ
and that's a wrap, bestie! this cutie lives under ./drivers/mtd/nand/raw in the Kernel API Manual, dated October 2026 β mwah, go read the source, ily π«Άπβ¨
π¦ 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