ufs_qcom_advertise_quirks(9)
π ufs_qcom_advertise_quirks β the kernel API manual, bestie edition
okay so real talk: this one lives in the Kernel API Manual, and the function is literally called ufs_qcom_advertise_quirks. Yes that's a mouthful. No we're not shortening it. Periodt.
β¨ NAME β¨
ufs_qcom_advertise_quirks β bestie, this is the one that goes and announces all the known QCOM UFS controller quirks π
like it's posting them to the group chat so everyone's in the loop.
π¦ SYNOPSIS π¦
void ufs_qcom_advertise_quirks (struct ufs_hba *hba );
that's it. that's the whole signature. void return, one argument, no drama. π
πΈ ARGUMENTS πΈ
hbaβ the host controller instance π«Ά (yes, the one, the main character of this whole function)
π₯ DESCRIPTION π₯
so here's the tea β β the QCOM UFS host controller might have some non standard behaviours (we call them quirks, it's giving "not like other controllers" energy ngl) compared to what's specified by the UFSHCI specification.
and this function? this function is the one that advertises all such quirks to the standard UFS host controller driver, so that the standard driver takes them into account. like, it's literally the hype person making sure everybody knows what's up before things go sideways π
no cap, that's the whole point: quirks get surfaced, the standard driver stays informed, nobody gets surprised. slay.
π SEE ALSO π
the kernel file that owns all of this:
./drivers/ufs/host/ufs-qcom.c
and the rest of the QCOM UFS gang, in the order the manual lists them (i'm not reordering, i'm not merging, i'm not playing games π):
ufs_qcom_config_ice_allocator(9)ufs_qcom_cfg_timers(9)ufs_qcom_double_t_adapt_l0l1l2l3(9)ufs_qcom_setup_clocks(9)ufs_qcom_init(9)ufs_qcom_set_clk_40ns_cycles(9)ufs_qcom_device_reset(9)ufs_qcom_fw_managed_device_reset(9)ufs_qcom_probe(9)ufs_qcom_remove(9)
fr fr go read the .c file too, it's iconic in its own right π
π ok bye bestie, stay quirky (the kernel-sanctioned kind) π
this cutie came out of the ./drivers/ufs/host directory, October 2026 vintage, and yes it's still ufs_qcom_advertise_quirks(9) in the Kernel API Manual β iconic, timeless, no notes π β
π¦ 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