| /src/sys/dev/sun/ |
| cgsixvar.h | 68 struct cg6_cursor sc_cursor; /* software cursor info */ member in struct:cgsix_softc
|
| cgsix.c | 726 #define cc (&sc->sc_cursor) 817 *(struct fbcurpos *)data = sc->sc_cursor.cc_pos; 821 sc->sc_cursor.cc_pos = *(struct fbcurpos *)data; 885 #define COORD(f) (sc->sc_cursor.cc_pos.f - sc->sc_cursor.cc_hot.f) 886 sc->sc_thc->thc_cursxy = sc->sc_cursor.cc_enable ? 908 if (sc->sc_cursor.cc_size.x < 32) 909 edgemask = ~(edgemask >> sc->sc_cursor.cc_size.x); 912 m = sc->sc_cursor.cc_bits[0][i] & edgemask; 914 thc->thc_cursbits[i] = m & sc->sc_cursor.cc_bits[1][i] [all...] |
| /src/sys/arch/evbppc/nintendo/dev/ |
| wiiufb.c | 116 struct wiiufb_cursor sc_cursor; member in struct:wiiufb_softc 277 const uint8_t *msk = sc->sc_cursor.c_mask; 278 const uint8_t *img = sc->sc_cursor.c_image; 295 0xff000000 | sc->sc_cursor.c_cmap[px - 2]); 313 if (sc->sc_cursor.c_enable) { 330 x = uimin(sc->sc_cursor.c_pos.x, WIIUFB_WIDTH - 1); 331 y = uimin(sc->sc_cursor.c_pos.y, WIIUFB_HEIGHT - 1); 342 DCUR_HOT_SPOT_X(sc->sc_cursor.c_hot.x) | 343 DCUR_HOT_SPOT_Y(sc->sc_cursor.c_hot.y)); 371 *nc = sc->sc_cursor; [all...] |
| /src/sys/dev/tc/ |
| cfb.c | 121 struct hwcursor64 sc_cursor; /* software copy of cursor */ member in struct:cfb_softc 271 sc->sc_cursor.cc_magic.x = CX_MAGIC_X; 272 sc->sc_cursor.cc_magic.y = CX_MAGIC_Y; 400 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; 521 x = sc->sc_cursor.cc_pos.x - sc->sc_cursor.cc_hot.x; 522 y = sc->sc_cursor.cc_pos.y - sc->sc_cursor.cc_hot.y; 524 x += sc->sc_cursor.cc_magic.x; 525 y += sc->sc_cursor.cc_magic.y [all...] |
| mfb.c | 108 struct hwcursor64 sc_cursor; /* software copy of cursor */ member in struct:mfb_softc 248 sc->sc_cursor.cc_magic.x = MX_MAGIC_X; 249 sc->sc_cursor.cc_magic.y = MX_MAGIC_Y; 366 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; 495 x = sc->sc_cursor.cc_pos.x - sc->sc_cursor.cc_hot.x; 496 y = sc->sc_cursor.cc_pos.y - sc->sc_cursor.cc_hot.y; 498 x += sc->sc_cursor.cc_magic.x; 499 y += sc->sc_cursor.cc_magic.y [all...] |
| tfb.c | 146 struct hwcursor64 sc_cursor; /* software copy of cursor */ member in struct:tfb_softc 305 sc->sc_cursor.cc_magic.x = TX_MAGIC_X; 306 sc->sc_cursor.cc_magic.y = TX_MAGIC_Y; 438 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; 564 x = sc->sc_cursor.cc_pos.x - sc->sc_cursor.cc_hot.x; 565 y = sc->sc_cursor.cc_pos.y - sc->sc_cursor.cc_hot.y; 567 x += sc->sc_cursor.cc_magic.x; 568 y += sc->sc_cursor.cc_magic.y [all...] |
| xcfb.c | 87 struct hwcursor64 sc_cursor; /* software copy of cursor */ member in struct:xcfb_softc 436 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; 587 #define cc (&sc->sc_cursor) 672 sc->sc_cursor.cc_pos.x = x; 673 sc->sc_cursor.cc_pos.y = y; 691 struct wsdisplay_curpos *curpos = &sc->sc_cursor.cc_pos; 704 uint8_t *cp = sc->sc_cursor.cc_color; 722 ip = (uint8_t *)sc->sc_cursor.cc_image; 723 mp = (uint8_t *)sc->sc_cursor.cc_mask; 727 while (i < sc->sc_cursor.cc_size.y * 8) [all...] |
| sfb.c | 129 struct hwcursor64 sc_cursor; /* software copy of cursor */ member in struct:sfb_softc 284 sc->sc_cursor.cc_magic.x = HX_MAGIC_X; 285 sc->sc_cursor.cc_magic.y = HX_MAGIC_Y; 434 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; 574 x = sc->sc_cursor.cc_pos.x - sc->sc_cursor.cc_hot.x; 575 y = sc->sc_cursor.cc_pos.y - sc->sc_cursor.cc_hot.y; 576 x += sc->sc_cursor.cc_magic.x; 577 y += sc->sc_cursor.cc_magic.y [all...] |
| sfbplus.c | 112 struct hwcursor64 sc_cursor; /* software copy of cursor */ member in struct:sfbp_softc 274 sc->sc_cursor.cc_magic.x = HX_MAGIC_X; 275 sc->sc_cursor.cc_magic.y = HX_MAGIC_Y; 470 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; 572 #define cc (&sc->sc_cursor) 750 #define cc (&sc->sc_cursor) 829 sc->sc_cursor.cc_pos.x = x; 830 sc->sc_cursor.cc_pos.y = y;
|
| /src/sys/arch/sparc/dev/ |
| cgfourteenvar.h | 87 struct cg14_cursor sc_cursor; /* Hardware cursor state */ member in struct:cgfourteen_softc
|
| cgfourteen.c | 1029 cp->x = sc->sc_cursor.cc_pos.x; 1030 cp->y = sc->sc_cursor.cc_pos.y; 1180 sc->sc_cursor.cc_pos.x = x; 1181 sc->sc_cursor.cc_pos.y = y; 1182 pos = ((sc->sc_cursor.cc_pos.x - sc->sc_cursor.cc_hot.x ) << 16) | 1183 ((sc->sc_cursor.cc_pos.y - sc->sc_cursor.cc_hot.y ) & 0xffff); 1197 sc->sc_cursor.cc_hot.x = cur->hot.x; 1198 sc->sc_cursor.cc_hot.y = cur->hot.y [all...] |
| /src/sys/arch/pmax/ibus/ |
| pm.c | 88 struct hwcursor64 sc_cursor; member in struct:pm_softc 481 *(struct wsdisplay_curpos *)data = sc->sc_cursor.cc_pos; 601 x = sc->sc_cursor.cc_pos.x - sc->sc_cursor.cc_hot.x; 602 y = sc->sc_cursor.cc_pos.y - sc->sc_cursor.cc_hot.y; 608 cp = sc->sc_cursor.cc_color; 637 p = sc->sc_cursor.cc_image; 638 x = 0xffff >> (16 - sc->sc_cursor.cc_size.x); 736 cc = &sc->sc_cursor; [all...] |
| /src/sys/dev/sbus/ |
| p9100.c | 126 struct pnozz_cursor sc_cursor; member in struct:p9100_softc 594 #define pc (&sc->sc_cursor) 679 *(struct fbcurpos *)data = sc->sc_cursor.pc_pos; 683 sc->sc_cursor.pc_pos = *(struct fbcurpos *)data; 1546 memset(&sc->sc_cursor, 0, sizeof(struct pnozz_cursor)); 1547 sc->sc_cursor.pc_size.x = 64; 1548 sc->sc_cursor.pc_size.y = 64; 1566 if (sc->sc_cursor.pc_enable) { 1572 p9100_ramdac_write(sc, DAC_INDX_DATA, sc->sc_cursor.pc_pos.x & 0xff); 1573 p9100_ramdac_write(sc, DAC_INDX_DATA, (sc->sc_cursor.pc_pos.x >> 8) [all...] |
| mgx.c | 75 uint8_t *sc_cursor; member in struct:mgx_softc 642 sc->sc_cursor = (uint8_t *)sc->sc_fbaddr + sc->sc_fbsize - 1024; 643 memset(sc->sc_cursor, 0xf0, 1024); 1239 uint8_t *fb = sc->sc_cursor;
|
| agten.c | 1150 #define pc (&sc->sc_cursor)
|
| /src/sys/dev/pci/voyager/ |
| voyagerfb.c | 104 uint32_t *sc_cursor; member in struct:voyagerfb_softc 786 sc->sc_cursor = (uint32_t *)((uint8_t *)bus_space_vaddr(sc->sc_memt, 797 sc->sc_cursor[0] = 0x00000000; 798 sc->sc_cursor[1] = 0x00000000; 799 sc->sc_cursor[2] = 0xffffffff; 800 sc->sc_cursor[3] = 0xffffffff; 801 sc->sc_cursor[4] = 0xaaaaaaaa; 802 sc->sc_cursor[5] = 0xaaaaaaaa; 803 sc->sc_cursor[6] = 0xffffffff; 804 sc->sc_cursor[7] = 0x00000000 [all...] |