ingenic_ecc_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to ingenic_ecc_get(9) from the Kernel API Manual πŸ’– this is the function that gets you the ECC controller device. short, iconic, to the point. slay.

✨ SYNOPSIS ✨

struct ingenic_ecc * ingenic_ecc_get (struct device_node *np );

πŸŽ€ ARGUMENTS πŸŽ€

  • np β€” ECC device tree node. that's the node you're handing over, bestie 🌳

πŸ¦‹ DESCRIPTION πŸ¦‹

Gets the ECC controller device from the specified device tree node. The device must be released with ingenic_ecc_release when it is no longer being used. no cap, that release step is not optional πŸ’…

πŸ‘‘ RETURN πŸ‘‘

A pointer to ingenic_ecc β€” errors are encoded into the pointer. PTR_ERR(-EPROBE_DEFER) if the device hasn't been initialised yet. so yeah, errors are encoded into the pointer, and you might see PTR_ERR(-EPROBE_DEFER) if the device hasn't been initialised yet 😭

🌈 SEE ALSO 🌈


and that's the whole page, bestie πŸ’œ shoutout to the source/version ./drivers/mtd/nand/raw/ingenic and the October 2026 date for making this lil manual moment happen 🫢

πŸ“¦ where this page comes from