Lines Matching refs:crmfb_softc
131 struct crmfb_softc { struct
177 static int crmfb_putcmap(struct crmfb_softc *, struct wsdisplay_cmap *); argument
178 static int crmfb_getcmap(struct crmfb_softc *, struct wsdisplay_cmap *);
179 static void crmfb_set_palette(struct crmfb_softc *,
181 static int crmfb_set_curpos(struct crmfb_softc *, int, int);
182 static int crmfb_gcursor(struct crmfb_softc *, struct wsdisplay_cursor *);
183 static int crmfb_scursor(struct crmfb_softc *, struct wsdisplay_cursor *);
184 static inline void crmfb_write_reg(struct crmfb_softc *, int, uint32_t);
185 static inline uint32_t crmfb_read_reg(struct crmfb_softc *, int);
186 static int crmfb_wait_dma_idle(struct crmfb_softc *);
189 static int crmfb_setup_video(struct crmfb_softc *, int);
190 static void crmfb_setup_palette(struct crmfb_softc *);
192 static void crmfb_fill_rect(struct crmfb_softc *, int, int, int, int, uint32_t);
193 static void crmfb_bitblt(struct crmfb_softc *, int, int, int, int, int, int,
195 static void crmfb_scroll(struct crmfb_softc *, int, int, int, int, int, int);
228 static void crmfb_setup_ddc(struct crmfb_softc *);
232 static int crmfb_set_mode(struct crmfb_softc *, const struct videomode *);
235 CFATTACH_DECL_NEW(crmfb, sizeof(struct crmfb_softc),
248 struct crmfb_softc *sc; in crmfb_attach()
441 struct crmfb_softc *sc; in crmfb_ioctl()
446 sc = (struct crmfb_softc *)vd->cookie; in crmfb_ioctl()
571 struct crmfb_softc *sc; in crmfb_mmap()
575 sc = (struct crmfb_softc *)vd->cookie; in crmfb_mmap()
608 struct crmfb_softc *sc; in crmfb_init_screen()
611 sc = (struct crmfb_softc *)c; in crmfb_init_screen()
663 crmfb_putcmap(struct crmfb_softc *sc, struct wsdisplay_cmap *cm) in crmfb_putcmap()
704 crmfb_getcmap(struct crmfb_softc *sc, struct wsdisplay_cmap *cm) in crmfb_getcmap()
729 crmfb_set_palette(struct crmfb_softc *sc, int reg, uint8_t r, uint8_t g, in crmfb_set_palette()
747 crmfb_set_curpos(struct crmfb_softc *sc, int x, int y) in crmfb_set_curpos()
761 crmfb_gcursor(struct crmfb_softc *sc, struct wsdisplay_cursor *cur) in crmfb_gcursor()
768 crmfb_scursor(struct crmfb_softc *sc, struct wsdisplay_cursor *cur) in crmfb_scursor()
835 crmfb_write_reg(struct crmfb_softc *sc, int offset, uint32_t val) in crmfb_write_reg()
843 crmfb_read_reg(struct crmfb_softc *sc, int offset) in crmfb_read_reg()
850 crmfb_wait_idle(struct crmfb_softc *sc) in crmfb_wait_idle()
866 crmfb_src_mode(struct crmfb_softc *sc, uint32_t mode) in crmfb_src_mode()
876 crmfb_dst_mode(struct crmfb_softc *sc, uint32_t mode) in crmfb_dst_mode()
886 crmfb_make_room(struct crmfb_softc *sc, int num) in crmfb_make_room()
905 crmfb_wait_dma_idle(struct crmfb_softc *sc) in crmfb_wait_dma_idle()
924 crmfb_setup_video(struct crmfb_softc *sc, int depth) in crmfb_setup_video()
1174 crmfb_set_mte_direction(struct crmfb_softc *sc, int dir) in crmfb_set_mte_direction()
1186 crmfb_setup_palette(struct crmfb_softc *sc) in crmfb_setup_palette()
1237 crmfb_fill_rect(struct crmfb_softc *sc, int x, int y, int width, int height, in crmfb_fill_rect()
1257 crmfb_bitblt(struct crmfb_softc *sc, int xs, int ys, int xd, int yd, in crmfb_bitblt()
1302 crmfb_scroll(struct crmfb_softc *sc, int xs, int ys, int xd, int yd, in crmfb_scroll()
1417 struct crmfb_softc *sc = scr->scr_cookie; in crmfb_cursor()
1447 struct crmfb_softc *sc = scr->scr_cookie; in crmfb_putchar()
1525 struct crmfb_softc *sc = scr->scr_cookie; in crmfb_putchar_aa()
1612 crmfb_setup_ddc(struct crmfb_softc *sc) in crmfb_setup_ddc()
1640 struct crmfb_softc *sc = cookie; in crmfb_i2cbb_set_bits()
1655 struct crmfb_softc *sc = cookie; in crmfb_i2cbb_read()
1742 crmfb_set_mode(struct crmfb_softc *sc, const struct videomode *mode) in crmfb_set_mode()