STRUCT ICVS_CMD(9)
π struct icvs_cmd(9) β the Kernel API Manual, but make it make sense π
okay bestie, settle in, because we're looking at struct icvs_cmd(9) from the Kernel API Manual and honestly? she's iconic. a whole generic command container. not me being obsessed with a struct that literally just holds a command id and a union π
β¨ NAME β¨
struct icvs_cmd β the generic command container, aka the little envelope that carries your command around π
πΈ SYNOPSIS πΈ
here's the whole shape of her, verbatim, no cap:
struct icvs_cmd {
__be16 cmd_id;
union {
u32 param;
u32 host_id;
struct icvs_link_cfg conf;
} param;
};
π¦ Members π¦
cmd_idβ the command identifier. it's giving "which command is this" energy, and it's literally the whole point πparamβ a parameter union that hands you multiple variants. pick your fighter, bestie β¨param.paramβ the raw parameter. no frills, just vibes and au32πparam.host_idβ the host identifier, used withICVS_SET_DEV_HOST_ID. and listen: use theICVS_HOST_ID_*masks, okay? that's the note πparam.confβ the CSI link configuration, forICVS_HOST_SET_MIPI_CONFIG. this is the fancy variant, main character energy π
π₯ SEE ALSO π₯
the whole friend group, no one left out π«Ά β kernel file ./drivers/media/i2c/cvs/icvs.h plus: 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_resp(9), enum icvs_resources(9), enum icvs_command(9), enum icvs_state(9), struct icvs(9), and cvs_dev(9).
bestie reminder: this page lives in ./drivers/media/i2c/cvs and the timestamp on it is October 2026. yes, the future. she's ahead of her time π
and that's the whole page!! mwah, go read the header file, ily, bye π§π slay
π¦ 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