Lines Matching defs:range
5 #include <linux/range.h>
83 struct range range[RANGE_NUM];
119 /* Check if that register is enabled for bus range */
147 memset(range, 0, sizeof(range));
148 add_range(range, RANGE_NUM, 0, 0, 0xffff + 1);
178 subtract_range(range, RANGE_NUM, start, end + 1);
180 /* add left over io port range to def node/link, [0, 0xffff] */
190 if (!range[i].end)
193 update_res(info, range[i].start, range[i].end - 1,
198 memset(range, 0, sizeof(range));
202 add_range(range, RANGE_NUM, 0, 0, end);
210 subtract_range(range, RANGE_NUM, 0, end);
214 /* need to take out mmconf range */
217 subtract_range(range, RANGE_NUM, fam10h_mmconf_start,
250 * some sick allocation would have range overlap with fam10h
251 * mmconf range, so need to update start and end.
273 subtract_range(range, RANGE_NUM, start,
291 subtract_range(range, RANGE_NUM, start, end + 1);
306 subtract_range(range, RANGE_NUM, 1ULL<<32, end);
310 * add left over mmio range to def node/link ?
311 * that is tricky, just record range in from start_min to 4G
322 if (!range[i].end)
325 update_res(info, cap_resource(range[i].start),
326 cap_resource(range[i].end - 1),