Lines Matching defs:range
5 #include <linux/range.h>
56 struct range range[RANGE_NUM];
95 /* Check if that register is enabled for bus range */
123 memset(range, 0, sizeof(range));
124 add_range(range, RANGE_NUM, 0, 0, 0xffff + 1);
154 subtract_range(range, RANGE_NUM, start, end + 1);
156 /* add left over io port range to def node/link, [0, 0xffff] */
166 if (!range[i].end)
169 update_res(info, range[i].start, range[i].end - 1,
174 memset(range, 0, sizeof(range));
178 add_range(range, RANGE_NUM, 0, 0, end);
186 subtract_range(range, RANGE_NUM, 0, end);
190 /* need to take out mmconf range */
195 subtract_range(range, RANGE_NUM, fam10h_mmconf_start,
231 * some sick allocation would have range overlap with fam10h
232 * mmconf range, so need to update start and end.
254 subtract_range(range, RANGE_NUM, start,
272 subtract_range(range, RANGE_NUM, start, end + 1);
287 subtract_range(range, RANGE_NUM, 1ULL<<32, end);
291 * add left over mmio range to def node/link ?
292 * that is tricky, just record range in from start_min to 4G
303 if (!range[i].end)
306 update_res(info, cap_resource(range[i].start),
307 cap_resource(range[i].end - 1),