fwnode_reset_simple_xlate(9)
π fwnode_reset_simple_xlate(9) π
okay so this is a page from the Kernel API Manual, and bestie, it's a short one but it's lowkey iconic. buckle up π
β¨ NAME β¨
fwnode_reset_simple_xlate β the function that translates your reset_spec into the actual reset line number π¦
πΈ SYNOPSIS πΈ
int fwnode_reset_simple_xlate (struct reset_controller_dev *rcdev ,
const struct fwnode_reference_args *reset_spec );
π ARGUMENTS π
rcdevβ a pointer to the reset controller device. like, the controller itself, the main character πreset_specβ reset line specifier as found in firmware. that's the little descriptor the firmware hands you π«Ά
π§ DESCRIPTION π§
so this is a static translation function, and here's the tea: it's used by default if neither fwnode_xlate nor of_xlate in reset_controller_dev is set. no cap. β
it's literally made for all reset controllers with a 1:1 mapping, where reset lines can be indexed by number without gaps. clean, simple, no drama, no missing numbers β it's giving flawless sequential energy π β¨
ngl this is the "just works" option for the tidy controllers. if your numbering's got holes in it, this is NOT the vibe check you're looking for π
π₯ SEE ALSO π₯
- Kernel file
./drivers/reset/core.c struct reset_control(9)struct reset_control_array(9)struct reset_gpio_lookup(9)reset_controller_register(9)reset_controller_unregister(9)devm_reset_controller_register(9)reset_control_reset(9)reset_control_bulk_reset(9)reset_control_rearm(9)reset_control_assert(9)reset_control_bulk_assert(9)reset_control_deassert(9)reset_control_bulk_deassert(9)reset_control_status(9)reset_control_acquire(9)reset_control_bulk_acquire(9)reset_control_release(9)reset_control_bulk_release(9)reset_control_put(9)reset_control_bulk_put(9)__device_reset(9)fwnode_reset_control_get_count(9)fwnode_reset_control_array_get(9)devm_reset_control_array_get(9)reset_control_get_count(9)
and that's the whole page, bestie!! πβ¨ this lil cutie lives in ./drivers/reset, and it's dated October 2026 β put it in your calendar, it's gonna slay ππ¦πΈ
π¦ 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