Lines Matching defs:base
2000 vga_save_palette2(video_adapter_t *adp, int base, int count,
2008 outb(PALRADR, base);
2044 vga_load_palette2(video_adapter_t *adp, int base, int count,
2053 outb(PALWADR, base);
2334 vga_set_hw_cursor_shape(video_adapter_t *adp, int base, int height,
2357 outb(adp->va_crtc_addr + 1, celsize - base - height);
2359 outb(adp->va_crtc_addr + 1, celsize - base - 1);
2371 outb(adp->va_crtc_addr + 1, celsize - base - height);
2373 outb(adp->va_crtc_addr + 1, celsize - base);
2855 get_palette(video_adapter_t *adp, int base, int count,
2862 if (count < 0 || base < 0 || count > 256 || base > 256 ||
2863 base + count > 256)
2869 if (vga_save_palette2(adp, base, count, r, g, b)) {
2886 set_palette(video_adapter_t *adp, int base, int count,
2894 if (count < 0 || base < 0 || count > 256 || base > 256 ||
2895 base + count > 256)
2907 err = vga_load_palette2(adp, base, count, r, g, b);