ENUM ICVS_RESOURCES(9)
π enum icvs_resources(9) β a Kernel API Manual moment
okay so this is a page from the Kernel API Manual, and it's all about enum icvs_resources β literally just a device capability / resource category situation. bestie, it's a whole enum and it's lowkey important, so let's get into it β¨
β¨ SYNOPSIS β¨
enum icvs_resources {
ICVS_NOTSUP ,
ICVS_LIGHTCAP ,
ICVS_FULLCAP
};
like, that's the whole thing. three constants, no drama π
πΈ Constants
ICVS_NOTSUPβ capability not supported / not yet determined. it's giving "we don't know yet, don't ask me" πICVS_LIGHTCAPβ light capability (limited GPIO / no dedicated wake IRQ). the budget-friendly version, fr fr.ICVS_FULLCAPβ full capability (reset GPIO, wake IRQ, extended protocol). the full package, main character energy π
π¦ Description π¦
so what this enum actually does: it categorizes hardware resource availability, and that categorization influences protocol features β things like reset control, wake IRQ, and GPIO mediated ownership. iykyk π
light capability devices expose a reduced set of control GPIOs. full capability devices? they provide all the optional signals and features. iconic behavior honestly.
and NOTSUP represents an unsupported or uninitialized state β like when the hardware hasn't told you what it is yet, so it's just vibing in the unknown π
π₯ SEE ALSO π₯
- 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_command(9)enum icvs_state(9)struct icvs(9)cvs_dev(9)
go read those too, bestie. the whole CVS family is right there and it's all connected, no cap π
that's the whole page! π«Ά cute little sign-off: this came from ./drivers/media/i2c/cvs, and the date on it is October 2026 β so yeah, timestamps from the future, we love that for us. mwah π
π¦ 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