Lines Matching defs:hg
922 struct device_node *hg;
926 hg = of_get_child_by_name(np, "cirrus,hg-algo");
927 hg_config->enable_hg_algo = hg ? true : false;
930 if (of_property_read_u32(hg, "cirrus,mem-depth", &val32) >= 0)
932 if (of_property_read_u32(hg, "cirrus,release-rate",
935 if (of_property_read_u32(hg, "cirrus,ldo-thld", &val32) >= 0)
937 if (of_property_read_u32(hg, "cirrus,ldo-path-disable",
940 if (of_property_read_u32(hg, "cirrus,ldo-entry-delay",
944 hg_config->vp_hg_auto = of_property_read_bool(hg,
945 "cirrus,vp-hg-auto");
947 if (of_property_read_u32(hg, "cirrus,vp-hg", &val32) >= 0)
949 if (of_property_read_u32(hg, "cirrus,vp-hg-rate", &val32) >= 0)
951 if (of_property_read_u32(hg, "cirrus,vp-hg-va", &val32) >= 0)
955 of_node_put(hg);