STRUCT UFS_CLK_INFO(9)
πΈ struct ufs_clk_info(9) πΈ
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for struct ufs_clk_info, and it's literally just the clock-info glow-up for UFS. Let's get into it π
β¨ NAME β¨
struct ufs_clk_info β UFS clock related info π
π SYNOPSIS π
here's the struct in all its iconic glory, verbatim, no cap:
struct ufs_clk_info {
struct list_head list;
struct clk *clk;
const char *name;
u32 max_freq;
u32 min_freq;
u32 curr_freq;
bool keep_link_active;
bool enabled;
};
π Members π
okay so here's the member-by-member breakdown, and yes every single one is here, I would never do you dirty like that:
listβ the list that's headed byhba->clk_list_headπ¦clkβ the clock nodenameβ the clock's namemax_freqβ the maximum frequency the clock supports π₯min_freqβ the min frequency that can be used for clock scalingcurr_freqβ tells you the current frequency that it's set tokeep_link_activeβ indicates that the clk should not be disabled if the link is active πenabledβ a variable to check against multiple enable/disable
π«Ά SEE ALSO π«Ά
this is the part where the struct introduces you to all its friends π β and there are a lot of them, so buckle up, we're going through every single one:
- Kernel file
./include/ufs/ufshcd.hπ 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 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)
ngl bestie, that's the whole page β every member, every reference, nothing skipped, we ate and left no crumbs π β¨
okay and before you go, the little sign-off corner π: this page lives at ./include/ufs, it's dated October 2026, and it answers to the name struct ufs_clk_info(9). slay, bye ππ
π¦ 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