Home
last modified time | relevance | path

Searched refs:poffset (Results 1 – 6 of 6) sorted by relevance

/rk3399_rockchip-uboot/lib/
H A Dof_live.c44 static void *unflatten_dt_node(const void *blob, void *mem, int *poffset, in unflatten_dt_node() argument
61 pathp = fdt_get_name(blob, *poffset, &l); in unflatten_dt_node()
128 for (offset = fdt_first_property_offset(blob, *poffset); in unflatten_dt_node()
216 *poffset = fdt_next_node(blob, *poffset, &depth); in unflatten_dt_node()
219 while (*poffset > 0 && depth > old_depth) { in unflatten_dt_node()
220 mem = unflatten_dt_node(blob, mem, poffset, np, NULL, in unflatten_dt_node()
226 if (*poffset < 0 && *poffset != -FDT_ERR_NOTFOUND) { in unflatten_dt_node()
227 debug("unflatten: error %d processing FDT\n", *poffset); in unflatten_dt_node()
/rk3399_rockchip-uboot/scripts/dtc/libfdt/
H A Dfdt_overlay.c249 uint32_t poffset; in overlay_update_local_node_references() local
251 poffset = fdt32_to_cpu(fixup_val[i]); in overlay_update_local_node_references()
259 memcpy(&adj_val, tree_val + poffset, sizeof(adj_val)); in overlay_update_local_node_references()
267 poffset, in overlay_update_local_node_references()
365 int poffset, const char *label) in overlay_fixup_one_phandle() argument
397 name, name_len, poffset, in overlay_fixup_one_phandle()
443 int poffset, ret; in overlay_fixup_phandle() local
472 poffset = strtoul(sep + 1, &endptr, 10); in overlay_fixup_phandle()
478 poffset, label); in overlay_fixup_phandle()
/rk3399_rockchip-uboot/tools/dtoc/
H A Dfdt.py360 poffset = libfdt.fdt_first_property_offset(self._fdt, node._offset)
361 while poffset >= 0:
362 p = self._fdt_obj.get_property_by_offset(poffset)
363 prop = Prop(node, poffset, p.name, p.value)
366 poffset = libfdt.fdt_next_property_offset(self._fdt, poffset)
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Dmake_fit_atf.py206 poffset = seg[ELF_SEG_P_OFFSET]
209 … print 'type: %s\nfilesz: %08x\nmemsz: %08x\noffset: %08x' % (ptype, pfilesz, pmemsz, poffset)
/rk3399_rockchip-uboot/drivers/power/fuel_gauge/
H A Dfg_rk818.c168 int poffset; member
345 di->poffset = rk818_bat_read(di, POFFSET_REG); in rk818_bat_init_coffset()
346 if (!di->poffset) in rk818_bat_init_coffset()
347 di->poffset = DEFAULT_POFFSET; in rk818_bat_init_coffset()
349 coffset = di->poffset + ioffset; in rk818_bat_init_coffset()
1448 di->poffset = coffset - ioffset; in rk818_bat_adc_calib()
1449 rk818_bat_write(di, POFFSET_REG, di->poffset); in rk818_bat_adc_calib()
1451 coffset, ioffset, di->poffset); in rk818_bat_adc_calib()
H A Dfg_rk816.c129 int poffset; member
976 di->poffset = coffset - ioffset; in rk816_bat_init_poffset()
1337 di->poffset = coffset - ioffset; in rk816_bat_adc_calib()
1338 rk816_bat_write(di, POFFSET_REG, di->poffset); in rk816_bat_adc_calib()
1340 coffset, ioffset, di->poffset); in rk816_bat_adc_calib()