STRUCT UIC_COMMAND(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct uic_command(9) ✨

okay bestie, welcome to the kernel API manual page for struct uic_command 🫢 this one lives in ./include/ufs and honestly? it's giving "tiny struct, big responsibilities." it's the UIC command structure β€” no cap πŸ’…


🌸 NAME 🌸

struct uic_command β€” the UIC command structure, periodt πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

struct uic_command {
    const u32 command;
    const u32 argument1;
    u32 argument2;
    u32 argument3;
    bool cmd_active;
    struct completion done;
 };

like, look at her. six members. absolutely iconic πŸ‘‘


πŸŽ€ Members πŸŽ€

  • command β€” the UIC command itself, and it's const u32 so bestie is NOT changing her mind πŸ”’
  • argument1 β€” UIC command argument 1, also const u32, also not budging ✨
  • argument2 β€” UIC command argument 2, this one's a regular u32 so she's flexible πŸ’β€β™€οΈ
  • argument3 β€” UIC command argument 3, u32 again, slay 🌸
  • cmd_active β€” a bool that tells you if the UIC command is outstanding πŸ‘€ like, is she still out there? yes ma'am she is
  • done β€” a struct completion for UIC command completion πŸŽ€ the little "we're done here" moment, we love a finish line

πŸ”₯ SEE ALSO πŸ”₯

kernel file ./include/ufs/ufshcd.h and honestly the whole friend group:

  • struct ufshcd_lrb(9)
  • struct ufs_query_req(9)
  • struct ufs_query_res(9)
  • struct ufs_query(9)
  • struct ufs_dev_cmd(9)
  • struct ufs_clk_info(9)
  • struct tx_eqtr_iter(9)
  • struct ufshcd_tx_eq_settings(9)
  • struct ufshcd_tx_eqtr_data(9)
  • struct ufshcd_tx_eqtr_record(9)
  • struct ufshcd_tx_eq_params(9)
  • struct ufs_hba_variant_ops(9)
  • struct ufs_clk_gating(9)
  • struct ufs_clk_scaling(9)
  • struct ufs_event_hist(9)
  • struct ufs_stats(9)
  • enum ufshcd_state(9)
  • enum ufshcd_pmc_policy(9)
  • struct ufshcd_mcq_opr_info_t(9)
  • struct ufs_hba(9)
  • struct ufs_hw_queue(9)
  • ufshcd_rmwl(9)
  • ufshcd_set_variant(9)
  • ufshcd_get_variant(9)

iykyk, that's the whole squad πŸ’œ


ngl bestie, this is the entire page β€” no hidden warnings, no sneaky exit statuses, no environment variables. just the struct and her friends. keep every member exactly as written and you're golden 🧚

sign-off time πŸŽ€ this little beauty is sourced from ./include/ufs and dated October 2026, and it's filed under struct uic_command(9) in the Kernel API Manual. mwah, go read some kernel code, ily, bye πŸ’–πŸ’…

πŸ“¦ where this page comes from