qcom_smem_dram_get_hbb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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