Lines Matching refs:reg
161 const void *reg; in _fdt_reg_base_address() local
170 reg = fdt_getprop(fdt, offs, "reg", &len); in _fdt_reg_base_address()
171 if (!reg) in _fdt_reg_base_address()
178 return _fdt_read_paddr(reg, ncells); in _fdt_reg_base_address()
183 const uint32_t *reg; in _fdt_reg_size() local
193 reg = (const uint32_t *)fdt_getprop(fdt, offs, "reg", &len); in _fdt_reg_size()
194 if (!reg) in _fdt_reg_size()
201 reg += n; in _fdt_reg_size()
207 sz = fdt32_to_cpu(*reg); in _fdt_reg_size()
211 reg++; in _fdt_reg_size()
212 sz = fdt32_to_cpu(*reg); in _fdt_reg_size()
254 .reg = DT_INFO_INVALID_REG, in _fdt_fill_device_info()
262 dinfo.reg = _fdt_reg_base_address(fdt, offs); in _fdt_fill_device_info()