pwm_omap_dm...clock_cycles(9)
Okay bestie, we're in the Kernel API Manual for pwm_omap_dm...clock_cycles(9), and this page is about one lil helper. Let's go π
β¨
πΈ NAME πΈ
pwm_omap_dmtimer_get_clock_cycles β get the number of clock cycles in a time frame. That's the whole vibe π
π¦ SYNOPSIS π¦
u32 pwm_omap_dmtimer_get_clock_cycles (unsigned long clk_rate , int ns
);
π ARGUMENTS π
clk_rateβ the pwm timer clock rate. π«nsβ the time frame in nano seconds. β±οΈ
π₯ DESCRIPTION π₯
It returns the number of clock cycles in a given period(ins ns) β that's literally the original wording, bestie, and ns is nanoseconds. No extra behavior claimed, no cap. π
π SEE ALSO π
Kernel file: ./drivers/pwm/pwm-omap-dmtimer.c β plus these struct/function entries, go peek π:
struct pwm_omap_dmtimer_chip(9)pwm_omap_dmtimer_start(9)pwm_omap_dmtimer_is_enabled(9)pwm_omap_dmtimer_polarity(9)pwm_omap_dmtimer_config(9)pwm_omap_dmtimer_set_polarity(9)pwm_omap_dmtimer_apply(9)
Source/version: ./drivers/pwm Β· date: October 2026 Β· page: pwm_omap_dm...clock_cycles(9). Stay slay, kernel bestie π«Άπ
π¦ 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