qcom_smem_dram_get_hbb(9)
π qcom_smem_dram_get_hbb π
okay so bestie, this is the Kernel API Manual page for qcom_smem_dram_get_hbb, and it's literally the function that gets the Highest bank address bit. no cap, that's the whole vibe. π
β¨ NAME β¨
qcom_smem_dram_get_hbb β Get the Highest bank address bit π
π¦ SYNOPSIS π¦
it's giving very demure, very mindful:
int qcom_smem_dram_get_hbb (void );
πΈ ARGUMENTS πΈ
voidβ no arguments, bestie. none. zero. the void is voiding. π«Ά
π₯ CONTEXT π₯
real talk: check qcom_smem_is_available before calling this function. π
Because __dram * is initialized by smem_dram_parse, which is in turn called from qcom_smem_probe, __dram will only be NULL if the data couldn't have been found/interpreted correctly. iykyk. π
β RETURN β
highest bank bit on success, -ENODATA on failure. slay when it works, sad little -ENODATA when it doesn't. π
π SEE ALSO π
- Kernel file
./drivers/soc/qcom/smem_dramc.cβ go read it, bestie πβ¨
mwah π signing off from ./drivers/soc/qcom, dated October 2026, for qcom_smem_dram_get_hbb(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