Lines Matching refs:regno
289 static int vesa_getcolreg(unsigned regno, unsigned *red, unsigned *green, in vesa_getcolreg() argument
298 if (regno >= video_cmap_len) in vesa_getcolreg()
301 *red = palette[regno].red; in vesa_getcolreg()
302 *green = palette[regno].green; in vesa_getcolreg()
303 *blue = palette[regno].blue; in vesa_getcolreg()
310 static void vesa_setpalette(int regno, unsigned red, unsigned green, unsigned blue) in vesa_setpalette() argument
326 "d" (regno), /* EDX */ in vesa_setpalette()
331 outb_p(regno, dac_reg); in vesa_setpalette()
342 static int vesa_setcolreg(unsigned regno, unsigned red, unsigned green, in vesa_setcolreg() argument
353 if (regno >= video_cmap_len) in vesa_setcolreg()
356 palette[regno].red = red; in vesa_setcolreg()
357 palette[regno].green = green; in vesa_setcolreg()
358 palette[regno].blue = blue; in vesa_setcolreg()
363 vesa_setpalette(regno,red,green,blue); in vesa_setcolreg()
371 fbcon_cmap.cfb16[regno] = in vesa_setcolreg()
377 fbcon_cmap.cfb16[regno] = in vesa_setcolreg()
389 fbcon_cmap.cfb24[regno] = in vesa_setcolreg()
400 fbcon_cmap.cfb32[regno] = in vesa_setcolreg()