Lines Matching defs:stream

72 	if (efb_priv->consinfo.stream == 0)
142 * Determine which video stream the console will render on.
145 case 0: /* PROM version 1.10 or earlier uses 0 to mean stream 1 */
147 efb_priv->consinfo.stream = 0;
150 efb_priv->consinfo.stream = 1;
170 devinit.width = efb_priv->w[efb_priv->consinfo.stream];
171 devinit.height = efb_priv->h[efb_priv->consinfo.stream];
173 efb_priv->depth[efb_priv->consinfo.stream] / 8;
174 devinit.depth = efb_priv->depth[efb_priv->consinfo.stream];
208 if (efb_priv->consinfo.stream == 0)
272 /* make sure we have the right stream */
275 if (efb_priv->consinfo.stream == 0) {
289 efb_priv->consinfo.stream =
290 (~efb_priv->consinfo.stream) & 0x1;
297 switch (efb_priv->depth[efb_priv->consinfo.stream]) {
336 devinit.width = efb_priv->w[efb_priv->consinfo.stream];
337 devinit.height = efb_priv->h[efb_priv->consinfo.stream];
338 devinit.depth = efb_priv->depth[efb_priv->consinfo.stream];
340 efb_priv->depth[efb_priv->consinfo.stream] / 8;
421 int stream = efb_priv->consinfo.stream;
425 efb_priv->colormap[stream][0][i] =
426 efb_priv->colormap[stream][1][i] =
427 efb_priv->colormap[stream][2][i] = (i << 2) | (i >> 6);
428 efb_priv->cmap_flags[stream][i] = 1;
430 efb_cmap_write(efb_priv, stream);
445 int stream;
454 stream = efb_priv->consinfo.stream;
458 efb_priv->consinfo.kcmap[stream][0][cmap->index + i] =
461 efb_priv->consinfo.kcmap[stream][1][cmap->index + i] =
464 efb_priv->consinfo.kcmap[stream][2][cmap->index + i] =
477 int stream, save;
480 stream = efb_priv->consinfo.stream;
481 save = stream + 2;
483 switch (efb_priv->depth[stream]) {
487 if (efb_priv->consinfo.kcmap_flags[stream][i]) {
490 efb_priv->colormap[stream][0][i];
493 efb_priv->colormap[stream][1][i];
496 efb_priv->colormap[stream][2][i];
499 efb_priv->colormap[stream][0][i] =
500 efb_priv->consinfo.kcmap[stream][0][i];
502 efb_priv->colormap[stream][1][i] =
503 efb_priv->consinfo.kcmap[stream][1][i];
505 efb_priv->colormap[stream][2][i] =
506 efb_priv->consinfo.kcmap[stream][2][i];
508 efb_priv->cmap_flags[stream][i] = 1;
512 efb_cmap_write(efb_priv, stream);
524 if (efb_priv->colormap[stream][0][0] != 0 ||
525 efb_priv->colormap[stream][0][255] != 0x3ff)
794 int stream = efb_priv->consinfo.stream;
813 switch (efb_priv->depth[stream]) {
837 efb_priv->consinfo.kcmap_flags[stream][b] = 1;
889 ASSERT(efb_priv->depth[efb_priv->consinfo.stream] == 32);
934 ASSERT(efb_priv->depth[efb_priv->consinfo.stream] == 8);
957 switch (efb_priv->depth[efb_priv->consinfo.stream]) {
991 int stream = efb_priv->consinfo.stream;
1006 depth = efb_priv->depth[stream];
1119 if ((disp->row > efb_priv->h[efb_priv->consinfo.stream]) ||
1120 (disp->col > efb_priv->w[efb_priv->consinfo.stream]))
1124 efb_priv->h[efb_priv->consinfo.stream]) {
1126 efb_priv->h[efb_priv->consinfo.stream];
1134 efb_priv->w[efb_priv->consinfo.stream]) {
1136 efb_priv->w[efb_priv->consinfo.stream];
1156 if ((disp->row > efb_priv->h[efb_priv->consinfo.stream]) ||
1157 (disp->col > efb_priv->w[efb_priv->consinfo.stream]))
1161 efb_priv->h[efb_priv->consinfo.stream])
1165 efb_priv->w[efb_priv->consinfo.stream])
1178 int s = efb_priv->consinfo.stream;
1211 if (efb_priv->consinfo.stream == 0) {