Searched refs:sc_cursor (Results 1 - 15 of 15) sorted by relevance

/netbsd-current/sys/dev/sun/
H A Dcgsixvar.h68 struct cg6_cursor sc_cursor; /* software cursor info */ member in struct:cgsix_softc
H A Dcgsix.c767 #define cc (&sc->sc_cursor)
858 *(struct fbcurpos *)data = sc->sc_cursor.cc_pos;
862 sc->sc_cursor.cc_pos = *(struct fbcurpos *)data;
926 #define COORD(f) (sc->sc_cursor.cc_pos.f - sc->sc_cursor.cc_hot.f)
927 sc->sc_thc->thc_cursxy = sc->sc_cursor.cc_enable ?
949 if (sc->sc_cursor.cc_size.x < 32)
950 edgemask = ~(edgemask >> sc->sc_cursor.cc_size.x);
953 m = sc->sc_cursor.cc_bits[0][i] & edgemask;
955 thc->thc_cursbits[i] = m & sc->sc_cursor
[all...]
/netbsd-current/sys/dev/tc/
H A Dtfb.c146 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
[all...]
H A Dcfb.c121 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
[all...]
H A Dmfb.c108 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
[all...]
H A Dxcfb.c87 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
[all...]
H A Dsfb.c129 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
[all...]
H A Dsfbplus.c112 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;
/netbsd-current/sys/arch/sparc/dev/
H A Dcgfourteenvar.h87 struct cg14_cursor sc_cursor; /* Hardware cursor state */ member in struct:cgfourteen_softc
H A Dcgfourteen.c1017 cp->x = sc->sc_cursor.cc_pos.x;
1018 cp->y = sc->sc_cursor.cc_pos.y;
1168 sc->sc_cursor.cc_pos.x = x;
1169 sc->sc_cursor.cc_pos.y = y;
1170 pos = ((sc->sc_cursor.cc_pos.x - sc->sc_cursor.cc_hot.x ) << 16) |
1171 ((sc->sc_cursor.cc_pos.y - sc->sc_cursor.cc_hot.y ) & 0xffff);
1185 sc->sc_cursor.cc_hot.x = cur->hot.x;
1186 sc->sc_cursor
[all...]
/netbsd-current/sys/arch/pmax/ibus/
H A Dpm.c88 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...]
/netbsd-current/sys/dev/sbus/
H A Dp9100.c126 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
[all...]
H A Dmgx.c75 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;
H A Dagten.c1150 #define pc (&sc->sc_cursor)
/netbsd-current/sys/dev/pci/voyager/
H A Dvoyagerfb.c104 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[
[all...]

Completed in 254 milliseconds