framer_prov...ple_of_xlate(9)
π framer_provider_simple_of_xlate β bestie edition
okay so this is a page from the Kernel API Manual (yes, the (9) section, we're in kernel land now π) and it's all about framer_provider_simple_of_xlate. iconic name, lowkey a mouthful, but stay with me π«Ά
β¨ NAME β¨
framer_provider_simple_of_xlate β returns the framer instance from framer provider π
π SYNOPSIS π
struct framer * framer_provider_simple_of_xlate (struct device *dev ,
const struct of_phandle_args *args );
that's it, that's the whole vibe. it hands you back a struct framer *, periodt β¨
πΈ ARGUMENTS πΈ
devβ the framer provider device (not used here π literally just vibing in the parameter list, she's decorative)argsβ of_phandle_args π¦
π DESCRIPTION π
so the tea is: this function is intended to be used by the framer provider for the common case where #framer-cells is
0
that's the whole main character case, ok? 0 cells, simple, clean, no drama π
for other cases where #framer-cells is greater than '0', the framer provider should provide a custom of_xlate function that reads the args and returns the appropriate framer π₯ like, do it yourself bestie, this one's not built for that level of complexity π
ngl the takeaway is: this helper is the "one size fits none of the complicated stuff" option. if your cell count isn't0, go write your ownof_xlateβ no cap π§
π SEE ALSO π
all the sibling functions, in the order the page gives them, exactly as written:
- Kernel file
./drivers/net/wan/framer/framer-core.c framer_init(9)framer_exit(9)framer_power_on(9)framer_power_off(9)framer_get_status(9)framer_set_config(9)framer_get_config(9)framer_notifier_register(9)framer_notifier_unregister(9)framer_get(9)framer_put(9)devm_framer_get(9)devm_framer_optional_get(9)framer_create(9)framer_destroy(9)devm_framer_create(9)__framer_provider_of_register(9)framer_provider_of_unregister(9)__devm_framer_provider_of_register(9)framer_release(9)
that's the whole friend group, go say hi to all of them π«Άπ
π little sign-off from the source files: this page lives under ./drivers/net/wan/framer and it's dated October 2026. yes, dated in the future, she's ahead of her time, we stan βπ
okay bye bestie, go xlate something simple π β¨
π¦ 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