STRUCT ICVS_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 a u32 πŸ’…
  • param.host_id β€” the host identifier, used with ICVS_SET_DEV_HOST_ID. and listen: use the ICVS_HOST_ID_* masks, okay? that's the note πŸ™ˆ
  • param.conf β€” the CSI link configuration, for ICVS_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