STRUCT DAVINCI_LPSC_CLK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct davinci_lpsc_clk(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so picture this: you're deep in the kernel, poking at DaVinci clocks, and you meet this struct. it's the LPSC clock structure, and honestly? she's iconic. this page lives in the Kernel API Manual, and we're gonna walk through her field by field like we're doing a vibe check on her whole personality. slay. ✨


🌸 NAME 🌸

struct davinci_lpsc_clk β€” the LPSC clock structure. that's it, that's the whole name, and she ate. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct davinci_lpsc_clk {
    struct device *dev;
    struct clk_hw hw;
    struct generic_pm_domain pm_domain;
    struct clk *genpd_clk;
    struct regmap *regmap;
    u32 md;
    u32 pd;
    u32 flags;
 };

look at her. eight fields, zero notes. main character energy fr fr. πŸ’–


πŸŽ€ Members πŸŽ€

okay bestie, here's the full roster β€” no skips, no cuts, we're doing all of them:

  • dev β€” the device that provides this LPSC, or NULL. yes, NULL is a valid answer here, she's flexible like that 🫢
  • hw β€” the clk_hw for the LPSC. that's her clock-hood.
  • pm_domain β€” the power domain for the LPSC. she's got a whole generic_pm_domain, ngl that's kinda powerful of her πŸ‘‘
  • genpd_clk β€” the clock reference owned by pm_domain. not borrowed, owned. periodt.
  • regmap β€” the PSC MMIO region. this is where the hardware actually lives, lowkey important πŸ’€
  • md β€” Module domain (LPSC module id). a u32, obviously.
  • pd β€” Power domain. also a u32. also slaying.
  • flags β€” the LPSC_* quirk flags. quirks!! she has quirks, we love a struct with lore 🌈
no cap, every single one of these fields is in the original and every single one is here. i don't do cuts. i do vibes. ✨

πŸ”₯ SEE ALSO πŸ”₯

go read them, iykyk πŸ“šπŸ’œ


and that's the page!! source/version vibes come from ./drivers/clk/davinci, and she's dated October 2026 β€” so go forth, register those LPSC clocks, and remember: the hardware is temporary but the vibe is forever. mwah πŸ’‹ πŸ§šβ€β™€οΈ πŸ“ ⭐

πŸ“¦ where this page comes from