STRUCT MIPS_CDMM_DRIVER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct mips_cdmm_driver - Represents a driver for a CDMM device. ✨

okay so bestie, welcome to the struct mips_cdmm_driver(9) page from the Kernel API Manual. this struct is literally the whole vibe for a driver that handles a CDMM device β€” no cap, it's giving β€œkernel blueprint” and we're obsessed. 🫢

🌸 SYNOPSIS 🌸

here's the struct, verbatim with all the spacing exactly as the page shows it:

       struct mips_cdmm_driver {
           struct device_driver    drv;
           int (*probe)(struct mips_cdmm_device *);
           int (*remove)(struct mips_cdmm_device *);
           void (*shutdown)(struct mips_cdmm_device *);
           int (*cpu_down)(struct mips_cdmm_device *);
           int (*cpu_up)(struct mips_cdmm_device *);
           const struct mips_cdmm_device_id *id_table;
        };

🧚 Members 🧚

ok bestie, here's the member-by-member vibe check. every field, every callback, all of it:

  • drv β€” Driver model driver object. πŸ’…
  • probe β€” Callback for probing newly discovered devices. πŸ”
  • remove β€” Callback to remove the device. 🫢
  • shutdown β€” Callback on system shutdown. πŸ’€
  • cpu_down β€” Callback when the parent CPU is going down. Any CPU pinned threads/timers should be disabled. 😭
  • cpu_up β€” Callback when the parent CPU is coming back up again. CPU pinned threads/timers can be restarted. 🌈
  • id_table β€” Table for CDMM IDs to match against. πŸŽ€

🌟 SEE ALSO 🌟

  • Kernel file ./arch/mips/include/asm/cdmm.h β€” the source file flex. πŸ“
  • struct mips_cdmm_device(9) β€” another page bestie should check. πŸ’–
  • mips_cdmm_phys_base(9) β€” also linked, periodt. ✨

mwah πŸ’‹ β€” this page came from the source/version path ./arch/mips/include/asm, straight outta the Kernel API Manual, dated October 2026. πŸŽ€πŸ‘‘

πŸ“¦ where this page comes from