dfll_pwm_set_output_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– dfll_pwm_set_output_enabled (9) β€” Kernel API Manual πŸ’–

okay so bestie, we're in the kernel API manual and today's main character is dfll_pwm_set_output_enabled. Yes that's a long name. Yes she earned it. She's the one who decides whether PWM voltage requests get to happen or not. Periodt. ✨


🌸 NAME 🌸

dfll_pwm_set_output_enabled β€” enable/disable PWM voltage requests

Like, that's literally the whole gig. On or off. Slay. πŸ’…


✨ SYNOPSIS ✨

int dfll_pwm_set_output_enabled (struct tegra_dfll *td , bool enable );

She takes two things and gives you back an int. Simple. Iconic. No cap. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • td β€” your DFLL instance. The whole little world this function lives in. πŸ¦‹
  • enable β€” a bool that says whether we're enabling or disabling the PWM voltage requests. Like a vibe check but for voltage. ⚑

πŸ”₯ DESCRIPTION πŸ”₯

So here's what she does: she sets the master enable control for PWM control value updates. Think of it as the big red button that governs whether the PWM control values get to update at all. πŸ‘‘

If it's disabled? Then the PWM signal is not driven. Full stop. Not a single little pulse. 😭

She also does the housekeeping of configuring the PWM output pad to the appropriate state β€” so the pad matches whatever mode you just put it in. It's giving "I set the switch AND I made sure the pad is dressed appropriately for the occasion." πŸ’…βœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/clk/tegra/clk-dfll.c β€” plus literally the entire extended friend group:

That's 40 whole references. She does NOT do small circles. 🌈


ngl bestie, this came out of ./drivers/clk/tegra and the page is dated October 2026. The manual name is dfll_pwm_set_output_enabled(9) and the footer version matches the header, so like… consistency queen. πŸ‘‘ Go read the source, ily, bye! πŸ“πŸ’œ
πŸ“¦ where this page comes from