clk_get_scaled_duty_cycle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the clk_get_scaled_duty_cycle(9) page from the Kernel API Manual β€” it’s giving clock-signal realness and we’re gonna get through it together πŸ’…βœ¨

🌸 NAME 🌸

clk_get_scaled_duty_cycle β€” return the duty cycle ratio of a clock signal. no cap, that’s the whole name vibe 🫢

✨ SYNOPSIS ✨

int clk_get_scaled_duty_cycle (struct clk *clk , unsigned int scale );

πŸ’– ARGUMENTS πŸ’–

  • clk β€” clock signal source. she’s the main character clock signal source πŸ‘‘
  • scale β€” scaling factor to be applied to represent the ratio as an integer. think of it as the glow-up number that turns the ratio into an int ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here’s the tea: this function returns the duty cycle ratio multiplied by the scale provided. That’s the win πŸ’–

Otherwise? it returns -EERROR. that’s the exact error token on the page, bestie β€” I’m just relaying it πŸ˜­πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./include/linux/clk.h β€” and the entire entourage of clock besties is below, all (9) girlies, no one left out πŸ’œ:


mwah πŸ’‹ this cutie came from source/version ./include/linux, dated October 2026, and it’s still clk_get_scaled_duty_cycle(9) β€” periodt πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from