Lines Matching refs:addr_len
98 static int init_range(ofnode node, struct regmap_range *range, int addr_len, in init_range() argument
122 addr_len, size_len, in init_range()
139 int addr_len, size_len; in regmap_init_mem_index() local
142 addr_len = ofnode_read_simple_addr_cells(ofnode_get_parent(node)); in regmap_init_mem_index()
143 if (addr_len < 0) { in regmap_init_mem_index()
145 ofnode_get_name(node), addr_len); in regmap_init_mem_index()
146 return addr_len; in regmap_init_mem_index()
160 ret = init_range(node, map->ranges, addr_len, size_len, index); in regmap_init_mem_index()
214 int addr_len, size_len, both_len; in regmap_init_mem() local
219 addr_len = ofnode_read_simple_addr_cells(ofnode_get_parent(node)); in regmap_init_mem()
220 if (addr_len < 0) { in regmap_init_mem()
222 ofnode_get_name(node), addr_len); in regmap_init_mem()
223 return addr_len; in regmap_init_mem()
233 both_len = addr_len + size_len; in regmap_init_mem()
260 ret = init_range(node, range, addr_len, size_len, index); in regmap_init_mem()