__sca3000_get_base_freq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __sca3000_get_base_freq β€” a Kernel API Manual moment (section 9, bestie)

okay so picture this: we're deep in the kernel, specifically the 9 part of the manual β€” the Kernel API Manual β€” and this little function is out here doing one very specific job. Let's get into it ✨


🌸 NAME 🌸

__sca3000_get_base_freq β€” obtain mode specific base frequency πŸŽ€

Like, it literally gets you the base frequency for whatever mode you're in. That's the whole vibe. Slay.


✨ SYNOPSIS ✨

int __sca3000_get_base_freq (struct sca3000_state *st , const struct
sca3000_chip_info *info , int *base_freq );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • st β€” the private, driver specific, device instance specific state. yes bestie, all three at once. it's giving "main character state struct" πŸ‘‘
  • info β€” the chip type specific information. so like, which chip we're dealing with 🫢
  • base_freq β€” the base frequency for the current measurement mode. this is the output, the moment, the whole point πŸ’–

πŸ’€ DESCRIPTION πŸ’€

lock must be held πŸ”’

that's it. that's the description. short, iconic, and absolutely non-negotiable β€” if you call this without holding the lock, that's on you, bestie. not me. 😭


🌈 SEE ALSO 🌈

like, the whole sca3000 friend group is here. iykyk πŸ’…


and that's the page, bestie! this one lives in ./drivers/iio/accel and it's dated October 2026 β€” so go forth, hold that lock, and get that base frequency. periodt. πŸ§šπŸ’œ

πŸ“¦ where this page comes from