zl3073x_pin_check_freq(9)
π 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, iykykfreqβ 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 goodfalseβ if not π not this one, bestie
π SEE ALSO π
- Kernel file
./drivers/dpll/zl3073x/prop.c zl3073x_prop_pin_package_label_set(9)zl3073x_prop_pin_fwnode_get(9)zl3073x_pin_props_get(9)zl3073x_pin_props_put(9)zl3073x_prop_dpll_type_get(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms