Home
last modified time | relevance | path

Searched refs:sm_np (Results 1 – 2 of 2) sorted by relevance

/drivers/nvmem/
Dmeson-efuse.c45 struct device_node *sm_np; in meson_efuse_probe() local
52 sm_np = of_parse_phandle(pdev->dev.of_node, "secure-monitor", 0); in meson_efuse_probe()
53 if (!sm_np) { in meson_efuse_probe()
58 fw = meson_sm_get(sm_np); in meson_efuse_probe()
59 of_node_put(sm_np); in meson_efuse_probe()
/drivers/soc/amlogic/
Dmeson-secure-pwrc.c125 struct device_node *sm_np; in meson_secure_pwrc_probe() local
135 sm_np = of_find_compatible_node(NULL, NULL, "amlogic,meson-gxbb-sm"); in meson_secure_pwrc_probe()
136 if (!sm_np) { in meson_secure_pwrc_probe()
143 of_node_put(sm_np); in meson_secure_pwrc_probe()
147 pwrc->fw = meson_sm_get(sm_np); in meson_secure_pwrc_probe()
148 of_node_put(sm_np); in meson_secure_pwrc_probe()