| /netbsd-src/sys/dev/tc/ |
| H A D | mfb.c | 108 struct hwcursor64 sc_cursor; /* software copy of cursor */ member 248 sc->sc_cursor.cc_magic.x = MX_MAGIC_X; in mfbattach() 249 sc->sc_cursor.cc_magic.y = MX_MAGIC_Y; in mfbattach() 366 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; in mfbioctl() 495 x = sc->sc_cursor.cc_pos.x - sc->sc_cursor.cc_hot.x; in mfbintr() 496 y = sc->sc_cursor.cc_pos.y - sc->sc_cursor.cc_hot.y; in mfbintr() 498 x += sc->sc_cursor.cc_magic.x; in mfbintr() 499 y += sc->sc_cursor.cc_magic.y; in mfbintr() 508 uint8_t *cp = sc->sc_cursor.cc_color; in mfbintr() 527 ip = (uint8_t *)sc->sc_cursor.cc_image; in mfbintr() [all …]
|
| H A D | cfb.c | 121 struct hwcursor64 sc_cursor; /* software copy of cursor */ member 271 sc->sc_cursor.cc_magic.x = CX_MAGIC_X; in cfbattach() 272 sc->sc_cursor.cc_magic.y = CX_MAGIC_Y; in cfbattach() 400 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; in cfbioctl() 521 x = sc->sc_cursor.cc_pos.x - sc->sc_cursor.cc_hot.x; in cfbintr() 522 y = sc->sc_cursor.cc_pos.y - sc->sc_cursor.cc_hot.y; in cfbintr() 524 x += sc->sc_cursor.cc_magic.x; in cfbintr() 525 y += sc->sc_cursor.cc_magic.y; in cfbintr() 534 uint8_t *cp = sc->sc_cursor.cc_color; in cfbintr() 550 ip = (uint8_t *)sc->sc_cursor.cc_image; in cfbintr() [all …]
|
| H A D | tfb.c | 146 struct hwcursor64 sc_cursor; /* software copy of cursor */ member 305 sc->sc_cursor.cc_magic.x = TX_MAGIC_X; in tfbattach() 306 sc->sc_cursor.cc_magic.y = TX_MAGIC_Y; in tfbattach() 438 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; in tfbioctl() 564 x = sc->sc_cursor.cc_pos.x - sc->sc_cursor.cc_hot.x; in tfbintr() 565 y = sc->sc_cursor.cc_pos.y - sc->sc_cursor.cc_hot.y; in tfbintr() 567 x += sc->sc_cursor.cc_magic.x; in tfbintr() 568 y += sc->sc_cursor.cc_magic.y; in tfbintr() 577 uint8_t *cp = sc->sc_cursor.cc_color; in tfbintr() 600 ip = (uint8_t *)sc->sc_cursor.cc_image; in tfbintr() [all …]
|
| H A D | xcfb.c | 87 struct hwcursor64 sc_cursor; /* software copy of cursor */ member 436 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; in xcfbioctl() 587 #define cc (&sc->sc_cursor) in set_cursor() 672 sc->sc_cursor.cc_pos.x = x; in set_curpos() 673 sc->sc_cursor.cc_pos.y = y; in set_curpos() 691 struct wsdisplay_curpos *curpos = &sc->sc_cursor.cc_pos; in ims332_set_curpos() 704 uint8_t *cp = sc->sc_cursor.cc_color; in ims332_load_curcmap() 722 ip = (uint8_t *)sc->sc_cursor.cc_image; in ims332_load_curshape() 723 mp = (uint8_t *)sc->sc_cursor.cc_mask; in ims332_load_curshape() 727 while (i < sc->sc_cursor.cc_size.y * 8) { in ims332_load_curshape() [all …]
|
| H A D | sfb.c | 129 struct hwcursor64 sc_cursor; /* software copy of cursor */ member 284 sc->sc_cursor.cc_magic.x = HX_MAGIC_X; in sfbattach() 285 sc->sc_cursor.cc_magic.y = HX_MAGIC_Y; in sfbattach() 434 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; in sfbioctl() 574 x = sc->sc_cursor.cc_pos.x - sc->sc_cursor.cc_hot.x; in sfbintr() 575 y = sc->sc_cursor.cc_pos.y - sc->sc_cursor.cc_hot.y; in sfbintr() 576 x += sc->sc_cursor.cc_magic.x; in sfbintr() 577 y += sc->sc_cursor.cc_magic.y; in sfbintr() 586 uint8_t *cp = sc->sc_cursor.cc_color; in sfbintr() 602 ip = (uint8_t *)sc->sc_cursor.cc_image; in sfbintr() [all …]
|
| H A D | sfbplus.c | 112 struct hwcursor64 sc_cursor; /* software copy of cursor */ member 274 sc->sc_cursor.cc_magic.x = HX_MAGIC_X; in sfbpattach() 275 sc->sc_cursor.cc_magic.y = HX_MAGIC_Y; in sfbpattach() 470 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; in sfbioctl() 572 #define cc (&sc->sc_cursor) in sfbpintr() 750 #define cc (&sc->sc_cursor) in set_cursor() 829 sc->sc_cursor.cc_pos.x = x; in set_curpos() 830 sc->sc_cursor.cc_pos.y = y; in set_curpos()
|
| /netbsd-src/sys/arch/pmax/ibus/ |
| H A D | pm.c | 88 struct hwcursor64 sc_cursor; member 481 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; in pm_ioctl() 601 x = sc->sc_cursor.cc_pos.x - sc->sc_cursor.cc_hot.x; in pm_flush() 602 y = sc->sc_cursor.cc_pos.y - sc->sc_cursor.cc_hot.y; in pm_flush() 608 cp = sc->sc_cursor.cc_color; in pm_flush() 637 p = sc->sc_cursor.cc_image; in pm_flush() 638 x = 0xffff >> (16 - sc->sc_cursor.cc_size.x); in pm_flush() 736 cc = &sc->sc_cursor; in pm_set_cursor() 804 sc->sc_cursor.cc_pos.x = x; in pm_set_curpos() 805 sc->sc_cursor.cc_pos.y = y; in pm_set_curpos()
|
| /netbsd-src/sys/dev/sbus/ |
| H A D | p9100.c | 126 struct pnozz_cursor sc_cursor; member 594 #define pc (&sc->sc_cursor) in p9100ioctl() 679 *(struct fbcurpos *)data = sc->sc_cursor.pc_pos; in p9100ioctl() 683 sc->sc_cursor.pc_pos = *(struct fbcurpos *)data; in p9100ioctl() 1546 memset(&sc->sc_cursor, 0, sizeof(struct pnozz_cursor)); in p9100_init_cursor() 1547 sc->sc_cursor.pc_size.x = 64; in p9100_init_cursor() 1548 sc->sc_cursor.pc_size.y = 64; in p9100_init_cursor() 1566 if (sc->sc_cursor.pc_enable) { in p9100_set_fbcursor() 1572 p9100_ramdac_write(sc, DAC_INDX_DATA, sc->sc_cursor.pc_pos.x & 0xff); in p9100_set_fbcursor() 1573 p9100_ramdac_write(sc, DAC_INDX_DATA, (sc->sc_cursor.pc_pos.x >> 8) & in p9100_set_fbcursor() [all …]
|
| H A D | mgx.c | 75 uint8_t *sc_cursor; member 642 sc->sc_cursor = (uint8_t *)sc->sc_fbaddr + sc->sc_fbsize - 1024; in mgx_setup() 643 memset(sc->sc_cursor, 0xf0, 1024); in mgx_setup() 1239 uint8_t *fb = sc->sc_cursor; in mgx_do_cursor()
|
| H A D | agten.c | 1150 #define pc (&sc->sc_cursor) in agten_fb_ioctl()
|
| /netbsd-src/sys/dev/sun/ |
| H A D | cgsix.c | 767 #define cc (&sc->sc_cursor) in cgsixioctl() 858 *(struct fbcurpos *)data = sc->sc_cursor.cc_pos; in cgsixioctl() 862 sc->sc_cursor.cc_pos = *(struct fbcurpos *)data; in cgsixioctl() 926 #define COORD(f) (sc->sc_cursor.cc_pos.f - sc->sc_cursor.cc_hot.f) in cg6_setcursor() 927 sc->sc_thc->thc_cursxy = sc->sc_cursor.cc_enable ? in cg6_setcursor() 949 if (sc->sc_cursor.cc_size.x < 32) in cg6_loadcursor() 950 edgemask = ~(edgemask >> sc->sc_cursor.cc_size.x); in cg6_loadcursor() 953 m = sc->sc_cursor.cc_bits[0][i] & edgemask; in cg6_loadcursor() 955 thc->thc_cursbits[i] = m & sc->sc_cursor.cc_bits[1][i]; in cg6_loadcursor() 994 i = sc->sc_cursor.cc_color.cm_chip[0]; in cg6_loadomap() [all …]
|
| H A D | cgsixvar.h | 68 struct cg6_cursor sc_cursor; /* software cursor info */ member
|
| /netbsd-src/sys/dev/pci/voyager/ |
| H A D | voyagerfb.c | 104 uint32_t *sc_cursor; member 786 sc->sc_cursor = (uint32_t *)((uint8_t *)bus_space_vaddr(sc->sc_memt, in voyagerfb_init() 797 sc->sc_cursor[0] = 0x00000000; in voyagerfb_init() 798 sc->sc_cursor[1] = 0x00000000; in voyagerfb_init() 799 sc->sc_cursor[2] = 0xffffffff; in voyagerfb_init() 800 sc->sc_cursor[3] = 0xffffffff; in voyagerfb_init() 801 sc->sc_cursor[4] = 0xaaaaaaaa; in voyagerfb_init() 802 sc->sc_cursor[5] = 0xaaaaaaaa; in voyagerfb_init() 803 sc->sc_cursor[6] = 0xffffffff; in voyagerfb_init() 804 sc->sc_cursor[7] = 0x00000000; in voyagerfb_init() [all …]
|
| /netbsd-src/sys/arch/sparc/dev/ |
| H A D | cgfourteen.c | 1029 cp->x = sc->sc_cursor.cc_pos.x; in cg14_ioctl() 1030 cp->y = sc->sc_cursor.cc_pos.y; in cg14_ioctl() 1180 sc->sc_cursor.cc_pos.x = x; in cg14_do_cursor() 1181 sc->sc_cursor.cc_pos.y = y; in cg14_do_cursor() 1182 pos = ((sc->sc_cursor.cc_pos.x - sc->sc_cursor.cc_hot.x ) << 16) | in cg14_do_cursor() 1183 ((sc->sc_cursor.cc_pos.y - sc->sc_cursor.cc_hot.y ) & 0xffff); in cg14_do_cursor() 1197 sc->sc_cursor.cc_hot.x = cur->hot.x; in cg14_do_cursor() 1198 sc->sc_cursor in cg14_do_cursor() [all...] |
| H A D | cgfourteenvar.h | 87 struct cg14_cursor sc_cursor; /* Hardware cursor state */ member
|