STRUCT PWM_OMAP_DMTIMER_CHIP(9)
π struct pwm_omap_dmtimer_chip(9) β Kernel API Manual, but make it make sense π
okay so bestie, you've wandered into the kernel API manual for struct pwm_omap_dmtimer_chip and honestly? this is the cute little wrapper struct that makes an omap dmtimer pretend to be a pwm chip. it's giving "middle management but make it silicon" β¨
πΈ NAME πΈ
struct pwm_omap_dmtimer_chip β the structure that represents a pwm chip corresponding to omap dmtimer. literally that's its whole job. no cap. π
β¨ SYNOPSIS β¨
here's the whole vibe, verbatim, do not touch:
struct pwm_omap_dmtimer_chip {
struct omap_dm_timer *dm_timer;
const struct omap_dm_timer_ops *pdata;
struct platform_device *dm_timer_pdev;
};
three pointers. that's it. that's the struct. lowkey iconic in its minimalism π¦
π§© Members π§©
time for the member-by-member vibe check, bestie π
dm_timerβ pointer to omap dm timer. this is the actual timer doing the work, the main character of this whole situation πpdataβ pointer to omap dm timer ops. the ops table! the function-pointer bestie that tells you what this timer can do πdm_timer_pdevβ pointer to omap dm timer platform device. the platform device it's all attached to β the home address, if you will π
π₯ SEE ALSO π₯
go read the source, it's right here:
- kernel file
./drivers/pwm/pwm-omap-dmtimer.c
and the whole friend group of related functions (they all ate, ngl):
pwm_omap_dmtimer_get_clock_cycles(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)
anyway that's the whole page, you're fully caught up bestie, go forth and pwm responsibly ππ
source location: ./drivers/pwm Β· dated: October 2026 β mwah, sending you off with a kiss and a struct π«Άβπ
π¦ 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