STRUCT PWM_OMAP_DMTIMER_CHIP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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):


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