spear_smi_probe(9)
π spear_smi_probe(9) β Entry routine π
okay so welcome to the Kernel API Manual page for spear_smi_probe(9), bestie! This is the literal first-date energy function that shows up during boot, and she is doing ALL the setup. No cap.
πΈ NAME πΈ
spear_smi_probe β literally the Entry routine, periodt.
β¨ SYNOPSIS β¨
int spear_smi_probe (struct platform_device *pdev );
π«Ά ARGUMENTS π«Ά
pdevβ the platform device structure, bestie. That's the whole vibe.
π DESCRIPTION π
So spear_smi_probe is the first routine which gets invoked during booting, and she does all the initialization/allocation work. Iconic behavior, honestly. The routine looks for available memory banks, and does proper init for any found one. Returns 0 on success, non zero otherwise. That's the whole tea.
π¦ SEE ALSO π¦
okay bestie, go read these next, iykyk:
- Kernel file
./drivers/mtd/devices/spear_smi.c struct spear_smi(9)struct spear_snor_flash(9)spear_smi_read_sr(9)spear_smi_wait_till_ready(9)spear_smi_int_handler(9)spear_smi_hw_init(9)get_flash_index(9)spear_smi_write_enable(9)spear_smi_erase_sector(9)spear_mtd_erase(9)spear_mtd_read(9)spear_mtd_write(9)spear_smi_probe_flash(9)spear_smi_remove(9)
π this page is from ./drivers/mtd/devices, dated October 2026, and its manual name is spear_smi_probe(9) β slay and goodbye! π
π¦ 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