Lines Matching refs:fdt_blob
101 prop = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "compatible", in imx_sc_thermal_bind()
108 reg = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), "tsens-num", 0); in imx_sc_thermal_bind()
114 offset = fdt_subnode_offset(gd->fdt_blob, 0, "thermal-zones"); in imx_sc_thermal_bind()
115 fdt_for_each_subnode(offset, gd->fdt_blob, offset) { in imx_sc_thermal_bind()
117 name = fdt_get_name(gd->fdt_blob, offset, NULL); in imx_sc_thermal_bind()
143 ret = fdtdec_parse_phandle_with_args(gd->fdt_blob, dev_of_offset(dev), in imx_sc_thermal_of_to_plat()
160 pdata->polling_delay = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in imx_sc_thermal_of_to_plat()
163 trips_np = fdt_subnode_offset(gd->fdt_blob, dev_of_offset(dev), in imx_sc_thermal_of_to_plat()
165 fdt_for_each_subnode(trips_np, gd->fdt_blob, trips_np) { in imx_sc_thermal_of_to_plat()
166 type = fdt_getprop(gd->fdt_blob, trips_np, "type", NULL); in imx_sc_thermal_of_to_plat()
169 pdata->critical = fdtdec_get_int(gd->fdt_blob, in imx_sc_thermal_of_to_plat()
174 pdata->alert = fdtdec_get_int(gd->fdt_blob, in imx_sc_thermal_of_to_plat()