cvs_dev(9)
πΈ NAME πΈ
hey bestie, welcome to cvs_dev(9) from the Kernel API Manual π
cvs_devβ a helper that returns thestruct devicefor a CVS context.
β¨ SYNOPSIS β¨
struct device * cvs_dev (struct icvs *ctx );
π ARGUMENTS π
ctxβ the CVS context. thatβs the whole argument list, bestie π
π¦ DESCRIPTION π¦
okay so the entire vibe is this: it avoids repeating transport conditional logic at each call site when acquiring the device pointer for logging or PM operations. literally just here so you donβt have to copy-paste that little dance everywhere, no cap π«Ά
π RETURN π
- Device pointer.
- Itβs never
NULLifctxis valid. periodt. π₯
π SEE ALSO π
go peek at these icons, fr fr:
- Kernel file
./drivers/media/i2c/cvs/icvs.h enum icvs_csi_cmd_id(9)enum icvs_csi_link_owner(9)enum icvs_csi_privacy_status(9)enum icvs_csi_pads(9)CVS device quirk flags(9)struct icvs_device_quirk(9)struct icvs_dt_config(9)struct icvs_vc_config(9)struct icvs_link_cfg(9)struct icvs_fw_version(9)struct icvs_vid_pid(9)struct icvs_mipi_data_packet(9)struct icvs_mipi_read_packet(9)struct icvs_dev_capabilities(9)struct icvs_cmd(9)struct icvs_resp(9)enum icvs_resources(9)enum icvs_command(9)enum icvs_state(9)struct icvs(9)
mwah π this page lives at source/version ./drivers/media/i2c/cvs and is dated October 2026 β catch u later 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