Lines Matching refs:order
121 static u32 __init read_agp(int bus, int slot, int func, int cap, u32 *order) in read_agp() argument
139 old_order = *order; in read_agp()
146 *order = 7 - nbits; in read_agp()
147 if ((int)*order < 0) /* < 32MB */ in read_agp()
148 *order = 0; in read_agp()
161 if (aper + (32ULL<<(20 + *order)) > 0x100000000ULL) { in read_agp()
163 bus, slot, func, 32 << *order, apsizereg); in read_agp()
164 *order = old_order; in read_agp()
168 bus, slot, func, aper, aper + (32ULL << (*order + 20)) - 1, in read_agp()
169 32 << *order, apsizereg); in read_agp()
171 if (!aperture_valid(aper, (32*1024*1024) << *order, 32<<20)) in read_agp()
189 static u32 __init search_agp_bridge(u32 *order, int *valid_agp) in search_agp_bridge() argument
214 order); in search_agp_bridge()