xvip_of_get_format(9)
πΈ NAME πΈ
okay bestie, welcome to the xvip_of_get_format(9) page in the Kernel API Manual β yes, we're in kernel-land and it's giving main character energy β¨
xvip_of_get_formatβ parse a device tree node and return format information π
β¨ SYNOPSIS β¨
const struct xvip_video_format * xvip_of_get_format (struct device_node
*node );
π ARGUMENTS π
nodeβ the device tree node π¦
π¦ DESCRIPTION π¦
so here's the vibe: it reads the xlnx,video-format, xlnx,video-width, and xlnx,cfa-pattern properties from the device tree node you passed as an argument, then returns the corresponding format information. no cap, that's literally the whole move ππ
π RETURN π
a pointer to the format information structure corresponding to the format name and width β or ERR_PTR if no corresponding format can be found π«Ά
bestie, if nothing matches, it's not gonna fake it: you get ERR_PTR and that's the truth π
π SEE ALSO π
Kernel file ./drivers/media/platform/xilinx/xilinx-vip.c π
xvip_get_format_by_code(9)xvip_get_format_by_fourcc(9)xvip_set_format_size(9)xvip_clr_or_set(9)xvip_clr_and_set(9)xvip_enum_mbus_code(9)xvip_enum_frame_size(9)
cute sign-off: source/version ./drivers/media/platform/xilinx, dated October 2026 β slay, bye 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