xvip_of_get_format(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 πŸ‘‘


cute sign-off: source/version ./drivers/media/platform/xilinx, dated October 2026 β€” slay, bye bestie πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from