devm_of_qcom_ice_get(9)
π devm_of_qcom_ice_get(9)
okay so bestie, welcome to the Kernel API Manual β this one lives in the kernel world and it's genuinely so useful once you get it. Let's go β¨
πΈ NAME
devm_of_qcom_ice_get β the devres-managed helper that grabs you an ICE instance straight from a DT node. no cap, that's the whole vibe π
β¨ SYNOPSIS
struct qcom_ice * devm_of_qcom_ice_get (struct device *dev );
π¦ ARGUMENTS
devβ the device pointer for the consumer device. like, the one that's asking for the ICE instance π
π₯ DESCRIPTION
so here's the tea β β this function hands you an ICE instance, but there are two whole paths it can take, and honestly both are iconic:
- if the consumer device's DT node provides the
'ice'reg range and the'ice'clock (that's the legacy DT style, iykyk), the function creates an ICE instance for that consumer device π«Ά - on the other hand, if the consumer provides a phandle via the
'qcom,ice'property pointing at an ICE DT, then the ICE instance is already created β so this function just returns that one instead π
either way you get an instance, you just gotta know which lane you're in.
β RETURN
ICE pointer on success, ERR_PTR on error. that's it, that's the deal π
π SEE ALSO
Kernel file ./drivers/soc/qcom/ice.c, plus the whole squad:
qcom_ice_get_supported_key_type(9)qcom_ice_derive_sw_secret(9)qcom_ice_generate_key(9)qcom_ice_prepare_key(9)qcom_ice_import_key(9)of_qcom_ice_get(9)
mwah π this page is from ./drivers/soc/qcom, dated October 2026, and it's the devm_of_qcom_ice_get(9) manual page β go forth and get those ICE instances bestie, you got this πβ¨
π¦ 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