STRUCT UFSHCD_MCQ_OPR_INFO_T(9)
β¨ struct ufshcd_mcq_opr_info_t(9) β¨
Kernel API Manual β yes bestie, we're in the kernel docs, buckle up π
πΈ NAME πΈ
struct ufshcd_mcq_opr_info_t β Operation and Runtime registers π
Like, that's the whole vibe. It's a little struct that holds the deets about where the operation/runtime registers live. Slay.
π¦ SYNOPSIS π¦
struct ufshcd_mcq_opr_info_t {
unsigned long offset;
unsigned long stride;
void __iomem *base;
};
Not me using void __iomem * like it's nothing π that's main character pointer energy fr fr.
π Members π
offsetβ the Doorbell Address Offset π lowkey literally where the doorbell livesstrideβ the step size, and it's Steps proportional to queue [0...31] β yep, queues 0 through 31, all thirty-two of them, no cap β¨baseβ the base address. that's it. that's the whole description. iconic minimalism π«Ά
π SEE ALSO π
Okay so if you're gonna go digging, the kernel file you want is ./include/ufs/ufshcd.h β that's the mothership π§
And here's the whole friend group, all the related structs and functions, in the order the manpage gives them (do NOT come for me, this is verbatim β):
struct uic_command(9)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 ufs_hba(9)struct ufs_hw_queue(9)ufshcd_rmwl(9)ufshcd_set_variant(9)ufshcd_get_variant(9)
π that's the whole page bestie, go read ufshcd.h and prosper
πΈβ¨π kiss kiss, this page came from ./include/ufs, dated October 2026, and it's filed under struct ufshcd_mcq_opr_info_t(9) β periodt π
π¦
π¦ 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