reset_control_reset(9)
π reset_control_reset(9) β the Kernel API Manual, bestie edition π
okay so literally welcome to the reset_control_reset(9) page, it's from the Kernel API Manual and it's giving "short but mighty" energy β¨
πΈ NAME πΈ
reset_control_reset β reset the controlled device. that's it. that's the whole vibe. she does one thing and she does it well π
β SYNOPSIS β
int reset_control_reset (struct reset_control *rstc );
π¦ ARGUMENTS π¦
rstcβ the reset controller, your main character of the moment π
π₯ DESCRIPTION π₯
okay bestie listen up because this part is important, no cap π«Ά
On a shared reset line, the actual reset pulse is only triggered once for the lifetime of the reset_control instance. so for all but the first caller, this is a total no-op β like, nothing happens, she's just standing there π
β οΈ Consumers must not usereset_control_(de)asserton shared reset lines whenreset_control_resethas been used. like, please don't, it's not a vibe π
And if rstc is NULL? that's an optional reset, and the function will just return 0. lowkey the easiest job in the kernel, and honestly? slay π
π SEE ALSO π
like, go read these too, they're all iconic in their own way π
- Kernel file
./drivers/reset/core.c struct reset_control(9)struct reset_control_array(9)struct reset_gpio_lookup(9)fwnode_reset_simple_xlate(9)reset_controller_register(9)reset_controller_unregister(9)devm_reset_controller_register(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!! π§ mwah π
signed, sealed, delivered from ./drivers/reset on the October 2026 tip β reset_control_reset(9) out, periodt π
β¨π
π¦ 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