Home
last modified time | relevance | path

Searched refs:fbconf (Results 1 – 13 of 13) sorted by relevance

/netbsd/src/sys/arch/zaurus/dev/
Dzlcd.c211 struct hpcfb_fbconf *fbconf; in lcd_ioctl() local
224 fbconf = (struct hpcfb_fbconf *)data; in lcd_ioctl()
225 if (fbconf->hf_conf_index != 0 && in lcd_ioctl()
226 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in lcd_ioctl()
230 fbconf->hf_conf_index = 0; in lcd_ioctl()
231 fbconf->hf_nconfs = 1; in lcd_ioctl()
232 fbconf->hf_class = HPCFB_CLASS_RGBCOLOR; in lcd_ioctl()
233 strlcpy(fbconf->hf_name, "Sharp Zaurus frame buffer", in lcd_ioctl()
234 sizeof(fbconf->hf_name)); in lcd_ioctl()
235 strlcpy(fbconf->hf_conf_name, "default", in lcd_ioctl()
[all …]
Dw100lcd.c199 struct hpcfb_fbconf *fbconf; in w100lcd_ioctl() local
211 fbconf = (struct hpcfb_fbconf *)data; in w100lcd_ioctl()
212 if (fbconf->hf_conf_index != 0 && in w100lcd_ioctl()
213 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in w100lcd_ioctl()
217 fbconf->hf_conf_index = 0; in w100lcd_ioctl()
218 fbconf->hf_nconfs = 1; in w100lcd_ioctl()
219 fbconf->hf_class = HPCFB_CLASS_RGBCOLOR; in w100lcd_ioctl()
220 strlcpy(fbconf->hf_name, "Sharp Zaurus frame buffer", in w100lcd_ioctl()
221 sizeof(fbconf->hf_name)); in w100lcd_ioctl()
222 strlcpy(fbconf->hf_conf_name, "default", in w100lcd_ioctl()
[all …]
/netbsd/src/sys/arch/hpcarm/dev/
Dwzero3_lcd.c306 struct hpcfb_fbconf *fbconf; in wzero3lcd_ioctl() local
317 fbconf = (struct hpcfb_fbconf *)data; in wzero3lcd_ioctl()
318 if (fbconf->hf_conf_index != 0 && in wzero3lcd_ioctl()
319 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in wzero3lcd_ioctl()
323 fbconf->hf_conf_index = 0; in wzero3lcd_ioctl()
324 fbconf->hf_nconfs = 1; in wzero3lcd_ioctl()
325 fbconf->hf_class = HPCFB_CLASS_RGBCOLOR; in wzero3lcd_ioctl()
326 strlcpy(fbconf->hf_name, "Sharp W-ZERO3 frame buffer", in wzero3lcd_ioctl()
327 sizeof(fbconf->hf_name)); in wzero3lcd_ioctl()
328 strlcpy(fbconf->hf_conf_name, "LCD", in wzero3lcd_ioctl()
[all …]
Dipaq_lcd.c271 struct hpcfb_fbconf *fbconf; in ipaqlcd_ioctl() local
322 fbconf = (struct hpcfb_fbconf *)data; in ipaqlcd_ioctl()
323 if (fbconf->hf_conf_index != 0 && in ipaqlcd_ioctl()
324 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in ipaqlcd_ioctl()
327 *fbconf = sc->sc_fbconf; /* structure assignment */ in ipaqlcd_ioctl()
330 fbconf = (struct hpcfb_fbconf *)data; in ipaqlcd_ioctl()
331 if (fbconf->hf_conf_index != 0 && in ipaqlcd_ioctl()
332 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in ipaqlcd_ioctl()
Dsed_saip.c345 struct hpcfb_fbconf *fbconf; in sed1356_ioctl() local
505 fbconf = (struct hpcfb_fbconf *)data; in sed1356_ioctl()
506 if (fbconf->hf_conf_index != 0 && in sed1356_ioctl()
507 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in sed1356_ioctl()
510 *fbconf = sc->sc_fbconf; /* structure assignment */ in sed1356_ioctl()
513 fbconf = (struct hpcfb_fbconf *)data; in sed1356_ioctl()
514 if (fbconf->hf_conf_index != 0 && in sed1356_ioctl()
515 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in sed1356_ioctl()
/netbsd/src/sys/arch/arm/s3c2xx0/
Ds3c24x0_lcd.c669 struct hpcfb_fbconf *fbconf = (struct hpcfb_fbconf*)data; in s3c24x0_lcd_ioctl() local
670 if (fbconf->hf_conf_index != 0 && in s3c24x0_lcd_ioctl()
671 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) in s3c24x0_lcd_ioctl()
674 fbconf->hf_nconfs = 1; in s3c24x0_lcd_ioctl()
675 fbconf->hf_class = HPCFB_CLASS_RGBCOLOR; in s3c24x0_lcd_ioctl()
676 strncpy(fbconf->hf_name, "S3C24X0 LCD", HPCFB_MAXNAMELEN); in s3c24x0_lcd_ioctl()
677 strncpy(fbconf->hf_conf_name, "default", HPCFB_MAXNAMELEN); in s3c24x0_lcd_ioctl()
678 fbconf->hf_height = sc->panel_info->panel_height; in s3c24x0_lcd_ioctl()
679 fbconf->hf_width = sc->panel_info->panel_width; in s3c24x0_lcd_ioctl()
680 fbconf->hf_baseaddr = 0x0; in s3c24x0_lcd_ioctl()
[all …]
/netbsd/src/sys/dev/hpc/
Dhpcfb.c381 hpcfb_cnattach(struct hpcfb_fbconf *fbconf) in hpcfb_cnattach() argument
390 if (fbconf == NULL) { in hpcfb_cnattach()
394 fbconf = &__fbconf; in hpcfb_cnattach()
398 if (hpcfb_init(fbconf, &hpcfb_console_dc) != 0) in hpcfb_cnattach()
417 if (fbconf == &__fbconf) in hpcfb_cnattach()
430 hpcfb_init(struct hpcfb_fbconf *fbconf, struct hpcfb_devconfig *dc) in hpcfb_init() argument
435 fbaddr = (vaddr_t)fbconf->hf_baseaddr; in hpcfb_init()
441 ri->ri_depth = fbconf->hf_pixel_width; in hpcfb_init()
443 ri->ri_width = fbconf->hf_width; in hpcfb_init()
444 ri->ri_height = fbconf->hf_height; in hpcfb_init()
[all …]
Dbivideo.c393 struct hpcfb_fbconf *fbconf; in bivideo_ioctl() local
570 fbconf = (struct hpcfb_fbconf *)data; in bivideo_ioctl()
571 if (fbconf->hf_conf_index != 0 && in bivideo_ioctl()
572 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in bivideo_ioctl()
575 *fbconf = sc->sc_fbconf; /* structure assignment */ in bivideo_ioctl()
578 fbconf = (struct hpcfb_fbconf *)data; in bivideo_ioctl()
579 if (fbconf->hf_conf_index != 0 && in bivideo_ioctl()
580 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in bivideo_ioctl()
/netbsd/src/sys/arch/hpcmips/tx/
Dtx3912video.c503 struct hpcfb_fbconf *fbconf; in tx3912video_ioctl() local
548 fbconf = (struct hpcfb_fbconf *)data; in tx3912video_ioctl()
549 if (fbconf->hf_conf_index != 0 && in tx3912video_ioctl()
550 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in tx3912video_ioctl()
553 *fbconf = sc->sc_fbconf; /* structure assignment */ in tx3912video_ioctl()
557 fbconf = (struct hpcfb_fbconf *)data; in tx3912video_ioctl()
558 if (fbconf->hf_conf_index != 0 && in tx3912video_ioctl()
559 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in tx3912video_ioctl()
/netbsd/src/sys/arch/hpcmips/dev/
Dmq200.c471 struct hpcfb_fbconf *fbconf; in mq200_ioctl() local
656 fbconf = (struct hpcfb_fbconf *)data; in mq200_ioctl()
657 if (fbconf->hf_conf_index != 0 && in mq200_ioctl()
658 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in mq200_ioctl()
661 *fbconf = sc->sc_fbconf; /* structure assignment */ in mq200_ioctl()
664 fbconf = (struct hpcfb_fbconf *)data; in mq200_ioctl()
665 if (fbconf->hf_conf_index != 0 && in mq200_ioctl()
666 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in mq200_ioctl()
Dplumvideo.c425 struct hpcfb_fbconf *fbconf; in plumvideo_ioctl() local
547 fbconf = (struct hpcfb_fbconf *)data; in plumvideo_ioctl()
548 if (fbconf->hf_conf_index != 0 && in plumvideo_ioctl()
549 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in plumvideo_ioctl()
552 *fbconf = sc->sc_fbconf; /* structure assignment */ in plumvideo_ioctl()
556 fbconf = (struct hpcfb_fbconf *)data; in plumvideo_ioctl()
557 if (fbconf->hf_conf_index != 0 && in plumvideo_ioctl()
558 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in plumvideo_ioctl()
Dite8181.c635 struct hpcfb_fbconf *fbconf; in ite8181_ioctl() local
835 fbconf = (struct hpcfb_fbconf *)data; in ite8181_ioctl()
836 if (fbconf->hf_conf_index != 0 && in ite8181_ioctl()
837 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in ite8181_ioctl()
840 *fbconf = sc->sc_fbconf; /* structure assignment */ in ite8181_ioctl()
843 fbconf = (struct hpcfb_fbconf *)data; in ite8181_ioctl()
844 if (fbconf->hf_conf_index != 0 && in ite8181_ioctl()
845 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in ite8181_ioctl()
/netbsd/src/sys/arch/hpcsh/dev/hd64461/
Dhd64461video.c444 struct hpcfb_fbconf *fbconf; in hd64461video_ioctl() local
577 fbconf = (struct hpcfb_fbconf *)data; in hd64461video_ioctl()
578 if (fbconf->hf_conf_index != 0 && in hd64461video_ioctl()
579 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in hd64461video_ioctl()
582 *fbconf = *hf; /* structure assignment */ in hd64461video_ioctl()
586 fbconf = (struct hpcfb_fbconf *)data; in hd64461video_ioctl()
587 if (fbconf->hf_conf_index != 0 && in hd64461video_ioctl()
588 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) { in hd64461video_ioctl()