zl3073x_pin_check_freq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… zl3073x_pin_check_freq β€” verify frequency for given pin

okay so bestie, real talk: this one lives in the Kernel API Manual and it's literally called zl3073x_pin_check_freq(9). It's a tiny little yes/no gatekeeper and honestly it's giving bouncer-at-the-club energy πŸ‘‘ β€” freq shows up, freq gets vibe-checked, freq either gets in or doesn't. no cap.


✨ SYNOPSIS ✨

bool zl3073x_pin_check_freq (struct zl3073x_dev *zldev , enum
       dpll_pin_direction dir , u8 id , u64 freq );

look at her. four args, one bool out. she's compact, she's efficient, she's iconic πŸŽ€


🫢 ARGUMENTS 🫢

  • zldev β€” pointer to the zl3073x device. like, the whole device. the main character of this story πŸ’–
  • dir β€” the pin direction. which way is your pin facing, bestie 🌸
  • id β€” pin index. gotta know which pin we're talking about, iykyk
  • freq β€” the frequency to check. this is the number under investigation πŸ”

πŸ’« DESCRIPTION πŸ’«

so what does she actually do? The function checks whether the given frequency is valid for the device β€” that's the whole gig, no notes πŸ‘‘

the way it works depends on which way your pin is pointing:

  • input pins πŸ¦‹ β€” it checks that the frequency can be factorized using supported base frequencies. like, can we break this freq down into the base freqs we actually support? if yes, slay ✨ if no, sorry babe 😭
  • output pins 🌈 β€” it checks that the frequency divides the connected synth frequency without remainder. dividing cleanly is the whole vibe check here. any leftover remainder and it's a no from her πŸ’€

⭐ RETURN ⭐

  • true β€” if the frequency is valid πŸ’– periodt, it's good
  • false β€” if not πŸ™ˆ not this one, bestie

πŸŽ€ SEE ALSO πŸŽ€

go read them, fr fr, they're the rest of the friend group 🧚


lowkey a reminder: this returns a plain bool β€” it's a check, not a mutation. it tells you about the frequency, it doesn't do anything to it. don't come for me if you expected side effects, that's not the vibe here πŸ’…

okay that's the page!! this was the ./drivers/dpll/zl3073x fam, dated October 2026, page zl3073x_pin_check_freq(9) β€” mwah, love u, go check some frequencies bestie πŸ’œπŸ¦‹

πŸ“¦ where this page comes from