Lines Matching defs:rate
324 int rq, sba, fw, rate, arqsz, cal;
359 /* Figure out the max rate */
360 rate = (AGP_MODE_GET_RATE(tstatus)
363 if (rate & AGP_MODE_V3_RATE_8x)
364 rate = AGP_MODE_V3_RATE_8x;
366 rate = AGP_MODE_V3_RATE_4x;
368 device_printf(dev, "Setting AGP v3 mode %d\n", rate * 4);
379 command = AGP_MODE_SET_RATE(command, rate);
393 int rq, sba, fw, rate;
415 /* Figure out the max rate */
416 rate = (AGP_MODE_GET_RATE(tstatus)
419 if (rate & AGP_MODE_V2_RATE_4x)
420 rate = AGP_MODE_V2_RATE_4x;
421 else if (rate & AGP_MODE_V2_RATE_2x)
422 rate = AGP_MODE_V2_RATE_2x;
424 rate = AGP_MODE_V2_RATE_1x;
426 device_printf(dev, "Setting AGP v2 mode %d\n", rate);
433 command = AGP_MODE_SET_RATE(command, rate);