_set_softreset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ _set_softreset(9) πŸŽ€

okay bestie, this is the Kernel API Manual page for _set_softreset(9) β€” and it’s lowkey iconic in the β€œtiny kernel helper” way πŸ’–.


🌸 NAME 🌸

_set_softreset β€” set the OCP_SYSCONFIG.SOFTRESET bit in @v ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

int _set_softreset (struct omap_hwmod *oh , u32 *v );

πŸ’… ARGUMENTS πŸ’…

  • oh β€” struct omap_hwmod * 🌈
  • v β€” pointer to register contents to modify πŸŽ€

✨ DESCRIPTION ✨

So here’s the vibe: this sets the SOFTRESET bit in v for hwmod oh. That’s the whole mission, no cap. It returns -EINVAL upon error or 0 upon success πŸ’―.

bestie reminder: those return values are literal β€” -EINVAL means error, 0 means success. periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./arch/arm/mach-omap2/omap_hwmod.c, then struct clkctrl_provider(9), struct omap_hwmod_reset(9), struct omap_hwmod_soc_ops(9) β€” and the rest of the see-also besties are:

mwah πŸ’‹ β€” source/version: ./arch/arm/mach-omap2; date: October 2026; page: _set_softreset(9). that’s the whole page, bestie 🫢

πŸ“¦ where this page comes from