omap_nand_data_in_pref(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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