Lines Matching defs:units
239 int i, units, remaining;
253 * The following example specifies two remapping units at
258 for (units = 0; units < DRHD_MAX_UNITS; units++) {
259 snprintf(envname, sizeof(envname), "vtd.regmap.%d.addr", units);
262 vtdmaps[units] = (struct vtdmap *)PHYS_TO_DMAP(mapaddr);
265 if (units > 0)
290 vtdmaps[units++] = (struct vtdmap *)PHYS_TO_DMAP(drhd->Address);
291 if (units >= DRHD_MAX_UNITS)
296 if (units <= 0)
300 drhd_num = units;