omap_nand_data_in_pref(9)
π omap_nand_data_in_pref(9) β like, the manual, but make it make sense
Okay so bestie, gather round, because this one is a whole function and it's living in the Kernel API Manual. It's called omap_nand_data_in_pref and it's literally about getting NAND data in using the prefetch engine. No cap, that's the whole vibe. π¦
β¨ NAME β¨
omap_nand_data_in_pref β NAND data in using prefetch engine
Likeβ¦ it pulls data in and it uses the prefetch engine to do it. That's it, that's the function. π
πΈ SYNOPSIS πΈ
void omap_nand_data_in_pref (struct nand_chip *chip , void *buf ,
unsigned int len , bool force_8bit );
Returns void, so likeβ¦ don't expect anything back, she gives and gives and gets nothing in return π (jk, the data goes into buf, we'll get to that).
π ARGUMENTS π
chipβ NAND chip. Like, the actual chip struct you're working with. She's the main character here πbufβ output buffer where NAND data is placed into. This is where the good stuff lands, bestie β¨lenβ length of transfer. How much data we're moving, iykyk.force_8bitβ force 8-bit transfers. Yes, force. It's giving "we're doing 8-bit whether you like it or not" π
π«Ά SEE ALSO π«Ά
Kernel file ./drivers/mtd/nand/raw/omap2.c β and okay, the friend group is huge, so buckle up:
omap_prefetch_enable(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)
That's the whole squad and honestly? They all ate. π₯
Okay so that's the page, bestie. It lives in ./drivers/mtd/nand/raw, and it's stamped October 2026 β so like, future energy but make it kernel. Slay, periodt. πβπ
./drivers/mtd/nand/raw Β· October 2026 Β· omap_nand_data_in_pref(9) π
π¦ 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