tps65090_re...current_wait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ tps65090_re...current_wait(9) πŸŽ€

okay so bestie, welcome to the Kernel API Manual β€” yes, that's the manual name, we're in the kernel docs now, put your hair up πŸ’… this one's a little regulator function and honestly? it's giving "small but important."


✨ NAME ✨

tps65090_reg_set_overcurrent_wait β€” Setup overcurrent wait 🫢

That's literally the whole vibe. It sets up the overcurrent wait. Slay.


🌸 SYNOPSIS 🌸

int tps65090_reg_set_overcurrent_wait (struct tps65090_regulator *ri ,
struct regulator_dev *rdev );

no cap, that's the exact signature, character for character, don't come for me 😭


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ri β€” Overall regulator data πŸ’– the big-picture regulator info, the main character of this call ngl
  • rdev β€” Regulator device ✨ the actual regulator device we're working with

🧚 DESCRIPTION 🧚

so here's the tea πŸ“ β€” this function sets the overcurrent wait time based on what's in the regulator info. that's it, that's the plot. it literally just reads what ri is holding and sets the overcurrent wait accordingly. obsessed with a function that knows exactly what it's about tbh πŸ‘‘


πŸ’œ RETURN πŸ’œ

  • 0 β€” no error, we ate, everything's fine 🌈
  • non-zero β€” there was an error writing the register πŸ’€ so like, the register write didn't go through, and that's your signal
fr fr, don't ignore a non-zero return here β€” that means the register write was a flop πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

iykyk, go read those next, they're all connected πŸ§šβ€β™€οΈβœ¨


and that's the page bestie πŸŽ€ sign-off time: this came from the manpage source in ./drivers/regulator, dated October 2026, and the header/footer both say tps65090_re...current_wait(9) β€” yes the truncation is real, it's iconic, we don't fix it πŸ’… periodt πŸ’–

πŸ“¦ where this page comes from