Searched refs:ranges_len (Results 1 – 2 of 2) sorted by relevance
713 int ranges_len; in parse_mc_ranges() local717 *ranges_start = of_get_property(mc_node, "ranges", &ranges_len); in parse_mc_ranges()718 if (!(*ranges_start) || !ranges_len) { in parse_mc_ranges()743 if (ranges_len % tuple_len != 0) { in parse_mc_ranges()748 return ranges_len / tuple_len; in parse_mc_ranges()
1209 int ranges_len, tuple_len; in mbus_parse_ranges() local1212 *ranges_start = of_get_property(node, "ranges", &ranges_len); in mbus_parse_ranges()1218 *ranges_end = *ranges_start + ranges_len / sizeof(__be32); in mbus_parse_ranges()1231 if (ranges_len % tuple_len) { in mbus_parse_ranges()