STRUCT LOCHNAGAR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

struct lochnagar(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie β€” this page is literally all about struct lochnagar, the core data for the Lochnagar audio board driver. main-character struct energy fr fr πŸ‘‘


🌸 NAME 🌸

struct lochnagar β€” core data for the Lochnagar audio board driver. that’s the whole vibe ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

       struct lochnagar {
           enum lochnagar_type type;
           struct device *dev;
           struct regmap *regmap;
           struct mutex analogue_config_lock;
        };

🫢 Members 🫢

  • type β€” the type of Lochnagar device that’s connected. literally telling you which one you’re dealing with πŸ’…
  • dev β€” a pointer to the struct device for the main MFD. yep, that’s the device pointer πŸŽ€
  • regmap β€” the device’s main register map. the main map, no cap πŸ—ΊοΈβœ¨
  • analogue_config_lock β€” lock used to protect updates in the analogue configuration, because those updates must not be changed whilst the hardware is processing the last update. like, do not touch it mid-update, bestie 😭πŸ”₯

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./include/linux/mfd/lochnagar.h β€” go peek, iykyk πŸ¦‹

πŸŽ€ sourced from ./include/linux/mfd, dated October 2026 β€” bye bestie, mwah πŸ’‹
πŸ“¦ where this page comes from