Home | History | Annotate | Download | only in dev

Lines Matching refs:ba

168 	volatile struct gspregs *ba;
174 ba = (volatile struct gspregs *)gp->g_regkva;
176 if (ba == NULL)
179 thebits = ba->ctrl;
183 ba->ctrl = thebits & ~INTOUT;
206 volatile struct gspregs *ba;
214 ba = (volatile struct gspregs *)gp->g_regkva;
217 gi->gd_regaddr = ztwopa((volatile void *)ba);
225 ba->ctrl = (ba->ctrl & ~INCR) | (LBL | INCW);
226 ba->hstadrh = 0xC000;
227 ba->hstadrl = 0x0080;
228 ba->data = 0x0; /* disable screen refresh and video output */
229 ba->data = 0xFFFC; /* screen refresh base address */
230 ba->data = 0xFFFF; /* no display int possible */
231 ba->data = 0x000C; /* CAS before RAS refresh each 64 local clks */
233 ba->ctrl = (ba->ctrl & ~INCW) | LBL;
234 ba->hstadrh = 0xfe80;
235 ba->hstadrl = 0;
236 ba->data = 4;
237 ba->hstadrl = 0x20;
238 ba->data = 0xFF; /* all color planes visible */
240 ba->hstadrl = 0;
241 ba->data = 5;
242 ba->hstadrl = 0x20;
243 ba->data = 0; /* no color planes blinking */
245 ba->hstadrl = 0;
246 ba->data = 6;
247 ba->hstadrl = 0x20;
248 ba->data = gup->gus_ovslct = 0x43;
251 ba->hstadrl = 0;
252 ba->data = 7;
253 ba->hstadrl = 0x20;
254 ba->data = 0; /* voodoo */
257 ba->ctrl |= INCW;
258 ba->hstadrh = 0xff80;
259 ba->hstadrl = 0x0000;
261 ba->data = 0;
266 ba->ctrl = LBL | INCW | NMI | NMIM | HLT | CF;
272 ba->hstadrh = tmscode[i++];
273 ba->hstadrl = tmscode[i++];
275 ba->data = tmscode[i++];
284 ba->hstadrh = 0xfe80;
285 ba->hstadrl = 0x0000;
286 ba->ctrl |= INCW;
287 ba->data = 0;
288 ba->ctrl &= ~INCW;
291 ba->data = gup->gus_imcmap[i+ 0] = ul_std_palette[i+ 0];
292 ba->data = gup->gus_imcmap[i+256] = ul_std_palette[i+16];
293 ba->data = gup->gus_imcmap[i+512] = ul_std_palette[i+32];
312 ba->ctrl &= ~(HLT|CF);
340 ba->ctrl &= ~(HLT|CF);
363 volatile struct gspregs *ba;
367 ba = (volatile struct gspregs *)gp->g_regkva;
376 ba->ctrl = (ba->ctrl & ~INCR) | (LBL | INCW); /* XXX */
378 ba->hstadrh = 0xC000;
379 ba->hstadrl = 0x0000;
381 ba->data = (md->hsync_stop - md->hsync_start)/16;
382 ba->data = (md->htotal - md->hsync_start)/16 - 1;
383 ba->data = (md->hblank_start + md->htotal - md->hsync_start)/16 - 1;
384 ba->data = md->htotal/16 - 1;
386 ba->data = md->vsync_stop - md->vsync_start;
387 ba->data = md->vtotal - md->vsync_start - 1;
388 ba->data = md->vblank_start + md->vtotal - md->vsync_start - 1;
389 ba->data = md->vtotal - 1;
391 ba->ctrl &= ~INCW;
392 ba->hstadrh = 0xFE90;
393 ba->hstadrl = 0x0000;
398 ba->data = (ba->data & 0xFC) | 2 | 1;
402 ba->data = (ba->data & 0xFC) | 2 | 0;
406 ba->ctrl |= LBL | INCW;
407 ba->hstadrh = 0xC000;
408 ba->hstadrl = 0x0080;
409 ba->data = md->disp_flags & GRF_FLAGS_LACE ? 0xb020 : 0xf020;
423 gsp_write(ba, buf, 7);
628 volatile struct gspregs *ba;
632 ba = (volatile struct gspregs *)gp->g_regkva;
633 ba->ctrl = LBL;
634 ba->hstadrh = 0xfe80;
635 ba->hstadrl = 0x0000;
636 ba->data = 6;
637 ba->hstadrl = 0x0020;
653 ba->data = gup->gus_ovslct;
788 volatile struct gspregs *ba;
823 ba = (volatile struct gspregs *)gp->g_regkva;
834 ba->ctrl = LBL;
835 ba->hstadrh = 0xfe80;
836 ba->hstadrl = 0x0000;
837 ba->ctrl |= INCW;
838 ba->data = cmap->index;
839 ba->ctrl &= ~INCW;
842 ba->data = (u_int16_t) mymap[x];
843 ba->data = (u_int16_t) mymap[x + mxidx];
844 ba->data = (u_int16_t) mymap[x + mxidx * 2];
856 gsp_write(ba, cmd, 6);