zl3073x_pin_props_get(9)
π zl3073x_pin_props_get(9) β like, the pin properties getter, bestie
okay so this is a page straight out of the Kernel API Manual (yes, the kernel has a manual, we love that for it) and today's main character is zl3073x_pin_props_get. she's a function. she gets pin properties. iconic behaviour honestly π
β¨ NAME β¨
zl3073x_pin_props_get β get pin properties π
like⦠that's it, that's the whole vibe. she gets the pin props.
πΈ SYNOPSIS πΈ
struct zl3073x_pin_props * zl3073x_pin_props_get (struct zl3073x_dev
*zldev , enum dpll_pin_direction dir , u8 index );
look at her signature. she ate. no notes π₯
π¦ ARGUMENTS π¦
zldevβ pointer tozl3073xdevice π«Ά (the whole device, she needs the context, periodt)dirβ pin direction π (like, which way is this pin going)indexβ pin index π (which pin we're talking about, by the numbers)
π DESCRIPTION π
okay so here's what she actually does, step by step, no cap:
she looks for the firmware node for the given pin if it is provided by the system firmware (that's DT or ACPI, iykyk). then she allocates the pin properties structure, generates the package label string according to the pin type, and optionally fetches β from the firmware node, if that node actually exists β the board label, the connection type, the supported frequencies, and the esync capability. like she's thorough. she's doing the most and we respect it π
β οΈ important bestie moment: the pointer that is returned by this function should be freed using zl3073x_pin_props_put. do not forget. do not ghost her. free her properly or it's giving memory leak π
β RETURN β
- pointer to the allocated pin properties structure on success π
- error pointer in case of error π (yes, an error pointer, not just a sad
NULLβ that's the kernel's whole thing)
π§ SEE ALSO π§
- Kernel file
./drivers/dpll/zl3073x/prop.cπ zl3073x_pin_check_freq(9)zl3073x_prop_pin_package_label_set(9)zl3073x_prop_pin_fwnode_get(9)zl3073x_pin_props_put(9)β the one you free her with, don't forget π«Άzl3073x_prop_dpll_type_get(9)
alright squad, that's the page πΈ this little gem lives over in ./drivers/dpll/zl3073x and it was dated October 2026 β so she's from the future, lowkey iconic of her. go read the source, free your pointers, slay πβ¨π
π¦ 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