Lines Matching defs:target
83 struct isoch_data *master, target;
107 * We don't exactly do this, we divide target resources by ndevs
122 /* Extract power-on defaults from the target */
123 target.maxbw = (tnistat >> 16) & 0xff;
124 target.n = (tnistat >> 8) & 0xff;
125 target.y = (tnistat >> 6) & 0x3;
126 target.l = (tnistat >> 3) & 0x7;
127 target.rq = (tstatus >> 24) & 0xff;
129 y_max = target.y;
154 if (tot_bw > target.maxbw) {
162 target.y = y_max;
165 * Write the calculated payload size into the target's NICMD
167 * in the target's NISTAT register, so we need to do this now
172 tnicmd |= target.y << 6;
175 /* Reread the target's ISOCH_N */
177 target.n = (tnistat >> 8) & 0xff;
181 master[cdev].y = target.y;
188 * than the target can handle. */
189 if (tot_n > target.n) {
198 /* Calculate left over ISOCH_N capability in the target. We'll give
200 rem = target.n - tot_n;
224 * target is providing. */
225 rq_isoch = (target.y > 0x1) ? target.n * (1 << (target.y - 1)) : target.n;
226 rq_async = target.rq - rq_isoch;
228 /* Exit if the minimal RQ needs of the masters exceeds what the target
239 /* Calculate asynchronous RQ capability in the target (per master) as
280 * target by ndevs. Distribute this many slots to each AGP 3.0 device,
326 /* Extract some power-on defaults from the target */
437 * Call functions to divide target resources amongst the AGP 3.0