Home
last modified time | relevance | path

Searched refs:fb_type (Results 1 – 25 of 45) sorted by relevance

12

/netbsd-src/sys/arch/sparc/dev/
H A Dcgeight.c240 fb->fb_type.fb_type = FBTYPE_MEMCOLOR; in cgeightattach()
246 fb->fb_type.fb_depth = 24; in cgeightattach()
247 fb_setsize_eeprom(fb, fb->fb_type.fb_depth, 1152, 900); in cgeightattach()
249 sc->sc_fb.fb_type.fb_cmsize = 256; in cgeightattach()
250 sc->sc_fb.fb_type.fb_size = ramsize; in cgeightattach()
252 fb->fb_type.fb_width, in cgeightattach()
253 fb->fb_type.fb_height); in cgeightattach()
306 sc->sc_fb.fb_type.fb_width * sc->sc_fb.fb_type.fb_height / 8); in cgeightattach()
357 *(struct fbtype *)data = sc->sc_fb.fb_type; in cgeightioctl()
362 fba->real_type = sc->sc_fb.fb_type.fb_type; in cgeightioctl()
[all …]
H A Dcgfour.c239 fb->fb_type.fb_type = FBTYPE_SUN4COLOR; in cgfourattach()
245 fb->fb_type.fb_depth = 8; in cgfourattach()
246 fb_setsize_eeprom(fb, fb->fb_type.fb_depth, 1152, 900); in cgfourattach()
248 fb->fb_type.fb_cmsize = 256; in cgfourattach()
249 fb->fb_type.fb_size = ramsize; in cgfourattach()
251 fb->fb_type.fb_width, fb->fb_type.fb_height); in cgfourattach()
348 *(struct fbtype *)data = sc->sc_fb.fb_type; in cgfourioctl()
353 fba->real_type = sc->sc_fb.fb_type.fb_type; in cgfourioctl()
355 fba->fbtype = sc->sc_fb.fb_type; in cgfourioctl()
357 fba->sattr.emu_type = sc->sc_fb.fb_type.fb_type; in cgfourioctl()
[all …]
H A Dcgtwo.c170 fb->fb_type.fb_type = FBTYPE_SUN2COLOR; in cgtwoattach()
173 fb->fb_type.fb_depth = 8; in cgtwoattach()
174 fb_setsize_eeprom(fb, fb->fb_type.fb_depth, 1152, 900); in cgtwoattach()
176 fb->fb_type.fb_cmsize = 256; in cgtwoattach()
177 fb->fb_type.fb_size = roundup(CG2_MAPPED_SIZE, PAGE_SIZE); in cgtwoattach()
179 fb->fb_type.fb_width, fb->fb_type.fb_height); in cgtwoattach()
251 *(struct fbtype *)data = sc->sc_fb.fb_type; in cgtwoioctl()
256 fba->real_type = sc->sc_fb.fb_type.fb_type; in cgtwoioctl()
258 fba->fbtype = sc->sc_fb.fb_type; in cgtwoioctl()
260 fba->sattr.emu_type = sc->sc_fb.fb_type.fb_type; in cgtwoioctl()
[all …]
H A Dcgfourteen.c264 fb->fb_type.fb_type = FBTYPE_MDICOLOR; in cgfourteenattach()
265 fb->fb_type.fb_depth = 32; in cgfourteenattach()
267 fb_setsize_obp(fb, sc->sc_fb.fb_type.fb_depth, 1152, 900, node); in cgfourteenattach()
269 fb->fb_type.fb_cmsize = CG14_CLUT_SIZE; in cgfourteenattach()
280 fb->fb_type.fb_size = sc->sc_vramsize; in cgfourteenattach()
319 fb->fb_type.fb_width, fb->fb_type.fb_height); in cgfourteenattach()
458 *(struct fbtype *)data = sc->sc_fb.fb_type; in cgfourteenioctl()
465 fba->fbtype = sc->sc_fb.fb_type; in cgfourteenioctl()
[all...]
H A Dcgsix_obio.c125 fb->fb_type.fb_type = FBTYPE_SUNFAST_COLOR; in cgsixattach()
127 fb->fb_type.fb_depth = 8; in cgsixattach()
129 fb_setsize_eeprom(fb, fb->fb_type.fb_depth, 1152, 900); in cgsixattach()
H A Dbwtwo_obio.c154 fb->fb_type.fb_depth = 1; in bwtwoattach_obio()
155 fb_setsize_eeprom(fb, fb->fb_type.fb_depth, 1152, 900); in bwtwoattach_obio()
226 int ramsize = fb->fb_type.fb_height * fb->fb_linebytes; in bwtwoattach_obio()
/netbsd-src/sys/dev/sun/
H A Dfb.c314 fb->fb_type.fb_width = prom_getpropint(node, "width", def_width); in fb_setsize_obp()
315 fb->fb_type.fb_height = prom_getpropint(node, "height", def_height); in fb_setsize_obp()
317 (fb->fb_type.fb_width * depth) / 8); in fb_setsize_obp()
332 fb->fb_type.fb_width = def_width; in fb_setsize_eeprom()
333 fb->fb_type.fb_height = def_height; in fb_setsize_eeprom()
342 fb->fb_type.fb_width = 1152; in fb_setsize_eeprom()
343 fb->fb_type.fb_height = 900; in fb_setsize_eeprom()
347 fb->fb_type.fb_width = 1024; in fb_setsize_eeprom()
348 fb->fb_type.fb_height = 1024; in fb_setsize_eeprom()
352 fb->fb_type.fb_width = 1600; in fb_setsize_eeprom()
[all …]
H A Dcgthree.c172 fb->fb_type.fb_cmsize = 256; in cgthreeattach()
173 fb->fb_type.fb_size = fb->fb_type.fb_height * fb->fb_linebytes; in cgthreeattach()
175 fb->fb_type.fb_width, fb->fb_type.fb_height); in cgthreeattach()
207 sc->sc_width = fb->fb_type.fb_width; in cgthreeattach()
208 sc->sc_stride = fb->fb_type.fb_width; in cgthreeattach()
209 sc->sc_height = fb->fb_type.fb_height; in cgthreeattach()
271 *(struct fbtype *)data = sc->sc_fb.fb_type; in cgthreeioctl()
276 fba->real_type = sc->sc_fb.fb_type.fb_type; in cgthreeioctl()
278 fba->fbtype = sc->sc_fb.fb_type; in cgthreeioctl()
280 fba->sattr.emu_type = sc->sc_fb.fb_type.fb_type; in cgthreeioctl()
[all …]
H A Dbwtwo.c215 fb->fb_type.fb_type = FBTYPE_SUN2BW; in bwtwoattach()
216 fb->fb_type.fb_cmsize = 0; in bwtwoattach()
217 fb->fb_type.fb_size = fb->fb_type.fb_height * fb->fb_linebytes; in bwtwoattach()
219 fb->fb_type.fb_width, fb->fb_type.fb_height); in bwtwoattach()
277 sc->sc_width = fb->fb_type.fb_width; in bwtwoattach()
278 sc->sc_stride = fb->fb_type.fb_width/8; in bwtwoattach()
279 sc->sc_height = fb->fb_type.fb_height; in bwtwoattach()
350 *(struct fbtype *)data = sc->sc_fb.fb_type; in bwtwoioctl()
387 if (off >= sc->sc_fb.fb_type.fb_size) in bwtwommap()
454 if (offset >= sc->sc_fb.fb_type.fb_size) in bwtwo_mmap()
H A Dcgsix.c558 fb->fb_type.fb_cmsize = 256; in cg6attach()
559 fb->fb_type.fb_size = sc->sc_ramsize; in cg6attach()
562 fb->fb_type.fb_width, fb->fb_type.fb_height); in cg6attach()
582 sc->sc_width = fb->fb_type.fb_width; in cg6attach()
583 sc->sc_stride = fb->fb_type.fb_width; in cg6attach()
584 sc->sc_height = fb->fb_type.fb_height; in cg6attach()
726 *(struct fbtype *)data = sc->sc_fb.fb_type; in cgsixioctl()
731 fba->real_type = sc->sc_fb.fb_type.fb_type; in cgsixioctl()
733 fba->fbtype = sc->sc_fb.fb_type; in cgsixioctl()
735 fba->sattr.emu_type = sc->sc_fb.fb_type.fb_type; in cgsixioctl()
[all …]
H A Dpfour_subr.c121 fb->fb_type.fb_width = width; in fb_setsize_pfour()
122 fb->fb_type.fb_height = height; in fb_setsize_pfour()
/netbsd-src/sys/dev/sbus/
H A Dcgthree_sbus.c149 fb->fb_type.fb_type = FBTYPE_SUN3COLOR; in cgthreeattach_sbus()
151 fb->fb_type.fb_depth = 8; in cgthreeattach_sbus()
152 fb_setsize_obp(fb, fb->fb_type.fb_depth, 1152, 900, node); in cgthreeattach_sbus()
178 int ramsize = fb->fb_type.fb_height * fb->fb_linebytes; in cgthreeattach_sbus()
H A Dtcx.c238 fb->fb_type.fb_depth = 8; in tcxattach()
239 fb_setsize_obp(fb, fb->fb_type.fb_depth, 1152, 900, node); in tcxattach()
255 fb->fb_type.fb_cmsize = 256; in tcxattach()
256 fb->fb_type.fb_size = sc->sc_fbsize; /* later code assumes 8bit */ in tcxattach()
258 fb->fb_type.fb_width, in tcxattach()
259 fb->fb_type.fb_height); in tcxattach()
261 fb->fb_type.fb_type = FBTYPE_TCXCOLOR; in tcxattach()
457 *(struct fbtype *)data = sc->sc_fb.fb_type; in tcxioctl()
462 fba->real_type = sc->sc_fb.fb_type.fb_type; in tcxioctl()
464 fba->fbtype = sc->sc_fb.fb_type; in tcxioctl()
[all …]
H A Dcgsix_sbus.c105 fb->fb_type.fb_type = FBTYPE_SUNFAST_COLOR; in cgsixattach()
107 fb->fb_type.fb_depth = 8; in cgsixattach()
109 fb_setsize_obp(fb, fb->fb_type.fb_depth, 1152, 900, node); in cgsixattach()
H A Dzx.c272 fb->fb_type.fb_cmsize = 256; in zx_attach()
273 fb->fb_type.fb_depth = 32; in zx_attach()
274 fb->fb_type.fb_size = fb->fb_type.fb_height * fb->fb_linebytes; in zx_attach()
275 fb->fb_type.fb_type = FBTYPE_SUNLEO; in zx_attach()
277 printf(": %d x %d", fb->fb_type.fb_width, fb->fb_type.fb_height); in zx_attach()
289 sc->sc_width = fb->fb_type.fb_width; in zx_attach()
291 sc->sc_height = fb->fb_type.fb_height; in zx_attach()
377 *(struct fbtype *)data = sc->sc_fb.fb_type; in zxioctl()
382 fba->real_type = sc->sc_fb.fb_type.fb_type; in zxioctl()
384 fba->fbtype = sc->sc_fb.fb_type; in zxioctl()
[all …]
H A Dp9100.c380 fb->fb_type.fb_type = FBTYPE_SUN3COLOR; in p9100_sbus_attach()
382 fb->fb_type.fb_type = FBTYPE_P9100; in p9100_sbus_attach()
397 fb->fb_type.fb_depth = 8; in p9100_sbus_attach()
407 fb_setsize_obp(fb, fb->fb_type.fb_depth, sc->sc_width, sc->sc_height, in p9100_sbus_attach()
415 fb->fb_type.fb_cmsize = prom_getpropint(node, "cmsize", 256); in p9100_sbus_attach()
416 if ((1 << fb->fb_type.fb_depth) != fb->fb_type.fb_cmsize) in p9100_sbus_attach()
417 printf(", %d entry colormap", fb->fb_type.fb_cmsize); in p9100_sbus_attach()
502 fb->fb_type.fb_size = fb->fb_type.fb_height * fb->fb_linebytes; in p9100_sbus_attach()
505 (i & 7), ver, fb->fb_type.fb_width, fb->fb_type.fb_height, in p9100_sbus_attach()
506 fb->fb_type.fb_depth, (unsigned int)sc->sc_fb_psize); in p9100_sbus_attach()
[all …]
H A Dbwtwo_sbus.c150 fb->fb_type.fb_depth = 1; in bwtwoattach_sbus()
151 fb_setsize_obp(fb, fb->fb_type.fb_depth, 1152, 900, node); in bwtwoattach_sbus()
182 int ramsize = fb->fb_type.fb_height * fb->fb_linebytes; in bwtwoattach_sbus()
H A Dagten.c378 fb->fb_type.fb_type = FBTYPE_AG10E; in agten_attach()
379 fb->fb_type.fb_cmsize = 256; /* doesn't matter, we're always 24bit */ in agten_attach()
380 fb->fb_type.fb_size = sc->sc_glint_fbsz; in agten_attach()
381 fb->fb_type.fb_width = sc->sc_width; in agten_attach()
382 fb->fb_type.fb_height = sc->sc_height; in agten_attach()
383 fb->fb_type.fb_depth = 32; in agten_attach()
1111 *(struct fbtype *)data = sc->sc_fb.fb_type; in agten_fb_ioctl()
1116 fba->real_type = sc->sc_fb.fb_type.fb_type; in agten_fb_ioctl()
1118 fba->fbtype = sc->sc_fb.fb_type; in agten_fb_ioctl()
1120 fba->sattr.emu_type = sc->sc_fb.fb_type.fb_type; in agten_fb_ioctl()
[all …]
H A Dmgx.c391 fb->fb_type.fb_type = FBTYPE_MGX; in mgx_attach()
394 fb->fb_type.fb_depth = 32; in mgx_attach()
395 fb->fb_type.fb_width = sc->sc_width; in mgx_attach()
396 fb->fb_type.fb_height = sc->sc_height; in mgx_attach()
399 fb->fb_type.fb_cmsize = 256; in mgx_attach()
400 fb->fb_type.fb_size = sc->sc_fbsize; in mgx_attach()
1013 *(struct fbtype *)data = sc->sc_fb.fb_type; in mgx_ioctl()
1018 fba->real_type = sc->sc_fb.fb_type.fb_type; in mgx_ioctl()
1020 fba->fbtype = sc->sc_fb.fb_type; in mgx_ioctl()
1022 fba->sattr.emu_type = sc->sc_fb.fb_type.fb_type; in mgx_ioctl()
[all …]
/netbsd-src/sys/arch/sun2/dev/
H A Dbwtwo_any.c155 fb->fb_type.fb_depth = 1; in bwtwoattach_any()
156 fb_setsize_eeprom(fb, fb->fb_type.fb_depth, 1152, 900); in bwtwoattach_any()
176 int ramsize = fb->fb_type.fb_height * fb->fb_linebytes; in bwtwoattach_any()
/netbsd-src/sys/arch/vax/vsa/
H A Dspx.c291 static char fb_type = 0; variable
1042 if (fb_type != FB_IS_SPX) in spx_mmap()
1450 fb_type = FB_IS_SPX; in spx_init_common()
1456 fb_type = FB_IS_SPXg; in spx_init_common()
1467 if (fb_type == FB_IS_SPX) { in spx_init_common()
1469 } else if(fb_type == FB_IS_SPXg) { in spx_init_common()
1473 if (fb_type == FB_IS_SPXg) in spx_init_common()
1519 if (fb_type == FB_IS_SPXg) in spx_init_common()
1525 if (fb_type == FB_IS_SPX) { in spx_init_common()
1527 } else if (fb_type == FB_IS_SPXg) { in spx_init_common()
[all …]
/netbsd-src/sys/arch/sparc64/dev/
H A Dffb.c359 sc->sc_fb.fb_type.fb_cmsize = 0; in ffb_attach()
360 sc->sc_fb.fb_type.fb_size = maxrow * sc->sc_linebytes; in ffb_attach()
361 sc->sc_fb.fb_type.fb_type = FBTYPE_CREATOR; in ffb_attach()
362 sc->sc_fb.fb_type.fb_width = sc->sc_width; in ffb_attach()
363 sc->sc_fb.fb_type.fb_depth = sc->sc_depth; in ffb_attach()
364 sc->sc_fb.fb_type.fb_height = sc->sc_height; in ffb_attach()
411 *(struct fbtype *)data = sc->sc_fb.fb_type; in ffb_ioctl()
415 fba->real_type = sc->sc_fb.fb_type.fb_type; in ffb_ioctl()
417 fba->fbtype = sc->sc_fb.fb_type; in ffb_ioctl()
419 fba->sattr.emu_type = sc->sc_fb.fb_type.fb_type; in ffb_ioctl()
[all …]
/netbsd-src/sys/arch/sun3/dev/
H A Dcg2.c193 fbt->fb_type = FBTYPE_SUN2COLOR; in cg2attach()
257 fba->real_type = fb->fb_fbtype.fb_type; in cg2gattr()
261 fba->sattr.emu_type = fb->fb_fbtype.fb_type; in cg2gattr()
263 fba->emu_types[0] = fb->fb_fbtype.fb_type; in cg2gattr()
H A Dcg4.c257 fbt->fb_type = FBTYPE_SUN4COLOR; in cg4attach()
414 fba->real_type = fb->fb_fbtype.fb_type; in cg4gattr()
418 fba->sattr.emu_type = fb->fb_fbtype.fb_type; in cg4gattr()
420 fba->emu_types[0] = fb->fb_fbtype.fb_type; in cg4gattr()
/netbsd-src/sys/arch/hpcmips/stand/pbsdboot/
H A Dmain.c84 struct fb_type { struct
135 struct fb_type fb_types[] = {
527 fb_settings[0].type = pref.fb_type; in WinMain()
540 pref.fb_type = fb_settings[0].type; in WinMain()
818 bi->fb_type = fbs->type; in SetBootInfo()
828 bi->fb_type, bi->fb_addr, in SetBootInfo()
1175 pref.fb_type = fb_settings[0].type; in BootKernel()
1194 bi.fb_type, bi.fb_addr, in BootKernel()
1202 bi.fb_type = reverse_fb_type(bi.fb_type); in BootKernel()

12