/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_cm_common.c | 183 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm3_helper_translate_curve_to_hw_format() 196 rgb_resulted[hw_points].blue = rgb_resulted[hw_points - 1].blue; in cm3_helper_translate_curve_to_hw_format() 211 corner_points[0].blue.y = rgb_resulted[0].blue; in cm3_helper_translate_curve_to_hw_format() 225 corner_points[1].blue.y = rgb_resulted[hw_points - 1].blue; in cm3_helper_translate_curve_to_hw_format() 277 if (dc_fixpt_lt(rgb_plus_1->blue, rgb->blue)) in cm3_helper_translate_curve_to_hw_format() 283 rgb->delta_blue = dc_fixpt_sub(rgb_plus_1->blue, rgb->blue); in cm3_helper_translate_curve_to_hw_format() 360 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm3_helper_translate_curve_to_degamma_hw_format() 382 corner_points[0].blue.y = rgb_resulted[0].blue; in cm3_helper_translate_curve_to_degamma_hw_format() 389 corner_points[1].blue.y = rgb_resulted[hw_points - 1].blue; in cm3_helper_translate_curve_to_degamma_hw_format() 437 if (dc_fixpt_lt(rgb_plus_1->blue, rgb->blue)) in cm3_helper_translate_curve_to_degamma_hw_format() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_cm_common.c | 384 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm_helper_translate_curve_to_hw_format() 397 rgb_resulted[hw_points].blue = rgb_resulted[hw_points - 1].blue; in cm_helper_translate_curve_to_hw_format() 412 corner_points[0].blue.y = rgb_resulted[0].blue; in cm_helper_translate_curve_to_hw_format() 426 corner_points[1].blue.y = rgb_resulted[hw_points - 1].blue; in cm_helper_translate_curve_to_hw_format() 477 if (dc_fixpt_lt(rgb_plus_1->blue, rgb->blue)) in cm_helper_translate_curve_to_hw_format() 483 rgb->delta_blue = dc_fixpt_sub(rgb_plus_1->blue, rgb->blue); in cm_helper_translate_curve_to_hw_format() 560 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm_helper_translate_curve_to_degamma_hw_format() 573 rgb_resulted[hw_points].blue = rgb_resulted[hw_points - 1].blue; in cm_helper_translate_curve_to_degamma_hw_format() 586 corner_points[0].blue.y = rgb_resulted[0].blue; in cm_helper_translate_curve_to_degamma_hw_format() 593 corner_points[1].blue.y = rgb_resulted[hw_points - 1].blue; in cm_helper_translate_curve_to_degamma_hw_format() [all …]
|
/linux/drivers/video/fbdev/mmp/fb/ |
A D | mmpfb.c | 105 var->blue.offset = 0; var->blue.length = 5; in pixfmt_to_var() 112 var->blue.offset = 11; var->blue.length = 5; in pixfmt_to_var() 119 var->blue.offset = 0; var->blue.length = 8; in pixfmt_to_var() 126 var->blue.offset = 16; var->blue.length = 8; in pixfmt_to_var() 133 var->blue.offset = 0; var->blue.length = 8; in pixfmt_to_var() 140 var->blue.offset = 16; var->blue.length = 8; in pixfmt_to_var() 147 var->blue.offset = 0; var->blue.length = 8; in pixfmt_to_var() 154 var->blue.offset = 16; var->blue.length = 8; in pixfmt_to_var() 168 var->blue.offset = 2; var->blue.length = 2; in pixfmt_to_var() 182 var->blue.offset = 4; var->blue.length = 4; in pixfmt_to_var() [all …]
|
/linux/drivers/video/fbdev/ |
A D | 68328fb.c | 196 var->blue.offset = 0; in mc68x328fb_check_var() 197 var->blue.length = 1; in mc68x328fb_check_var() 206 var->blue.offset = 0; in mc68x328fb_check_var() 207 var->blue.length = 8; in mc68x328fb_check_var() 218 var->blue.length = 5; in mc68x328fb_check_var() 238 var->blue.length = 8; in mc68x328fb_check_var() 248 var->blue.length = 8; in mc68x328fb_check_var() 290 red = green = blue = in mc68x328fb_setcolreg() 321 blue = CNVT_TOHW(blue, info->var.blue.length); in mc68x328fb_setcolreg() 327 blue = CNVT_TOHW(blue, 8); in mc68x328fb_setcolreg() [all …]
|
A D | macfb.c | 271 nubus_writeb(blue, &cmap_regs->lut); in mdc_setpalette() 288 blue = ~blue; in toby_setpalette() 456 blue >> 8, fb_info); in macfb_setcolreg() 469 ((blue & 0xf800) >> 11) | in macfb_setcolreg() 476 ((blue & 0xf800) >> 11); in macfb_setcolreg() 487 blue >>= 8; in macfb_setcolreg() 491 (blue << fb_info->var.blue.offset); in macfb_setcolreg() 621 macfb_defined.blue.offset = 0; in macfb_init() 622 macfb_defined.blue.length = 5; in macfb_init() 636 macfb_defined.blue.offset = 0; in macfb_init() [all …]
|
A D | sbuslib.c | 120 u16 red, green, blue; in sbusfb_ioctl_helper() local 137 cmap.blue = &blue; in sbusfb_ioctl_helper() 149 blue = blue8 << 8; in sbusfb_ioctl_helper() 165 u8 red, green, blue; in sbusfb_ioctl_helper() local 180 blue = cmap->blue[index + i] >> 8; in sbusfb_ioctl_helper() 214 u16 red, green, blue; in sbusfb_compat_ioctl() local 225 ublue = compat_ptr(c.blue); in sbusfb_compat_ioctl() 230 cmap.blue = &blue; in sbusfb_compat_ioctl() 242 blue = blue8 << 8; in sbusfb_compat_ioctl() 258 u8 red, green, blue; in sbusfb_compat_ioctl() local [all …]
|
A D | vfb.c | 181 var->blue.offset = 0; in vfb_check_var() 182 var->blue.length = 8; in vfb_check_var() 193 var->blue.length = 5; in vfb_check_var() 202 var->blue.length = 5; in vfb_check_var() 212 var->blue.offset = 16; in vfb_check_var() 213 var->blue.length = 8; in vfb_check_var() 223 var->blue.length = 8; in vfb_check_var() 280 red = green = blue = in vfb_setcolreg() 314 blue = CNVT_TOHW(blue, info->var.blue.length); in vfb_setcolreg() 320 blue = CNVT_TOHW(blue, 8); in vfb_setcolreg() [all …]
|
A D | pxa168fb.c | 100 var->blue.offset = 0; var->blue.length = 5; in set_pix_fmt() 107 var->blue.offset = 11; var->blue.length = 5; in set_pix_fmt() 114 var->blue.offset = 0; var->blue.length = 5; in set_pix_fmt() 121 var->blue.offset = 10; var->blue.length = 5; in set_pix_fmt() 128 var->blue.offset = 0; var->blue.length = 8; in set_pix_fmt() 135 var->blue.offset = 16; var->blue.length = 8; in set_pix_fmt() 142 var->blue.offset = 0; var->blue.length = 8; in set_pix_fmt() 149 var->blue.offset = 16; var->blue.length = 8; in set_pix_fmt() 156 var->blue.offset = 0; var->blue.length = 8; in set_pix_fmt() 479 blue >>= 8; in to_rgb() [all …]
|
A D | ocfb.c | 188 red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8; in ocfb_setcolreg() 193 blue >>= (16 - info->var.blue.length); in ocfb_setcolreg() 204 (blue << info->var.blue.offset) | in ocfb_setcolreg() 247 var->blue.offset = 0; in ocfb_init_var() 248 var->blue.length = 8; in ocfb_init_var() 258 var->blue.offset = 0; in ocfb_init_var() 259 var->blue.length = 5; in ocfb_init_var() 269 var->blue.offset = 0; in ocfb_init_var() 270 var->blue.length = 8; in ocfb_init_var() 280 var->blue.offset = 0; in ocfb_init_var() [all …]
|
A D | vesafb.c | 88 unsigned blue) in vesa_setpalette() argument 100 outb_p(blue >> shift, dac_val); in vesa_setpalette() 109 struct { u_char blue, green, red, pad; } entry; in vesa_setpalette() member 113 entry.blue = blue >> shift; in vesa_setpalette() 132 unsigned blue, unsigned transp, in vesafb_setcolreg() argument 148 err = vesa_setpalette(regno,red,green,blue); in vesafb_setcolreg() 157 ((blue & 0xf800) >> 11); in vesafb_setcolreg() 163 ((blue & 0xf800) >> 11); in vesafb_setcolreg() 170 blue >>= 8; in vesafb_setcolreg() 174 (blue << info->var.blue.offset); in vesafb_setcolreg() [all …]
|
A D | offb.c | 105 u32 cb = blue >> (16 - info->var.blue.length); in offb_setcolreg() 128 blue >>= 8; in offb_setcolreg() 138 writeb(blue, par->cmap_data); in offb_setcolreg() 455 var->blue.offset = 0; in offb_init_fb() 456 var->blue.length = 8; in offb_init_fb() 466 var->blue.offset = 0; in offb_init_fb() 467 var->blue.length = 5; in offb_init_fb() 477 var->blue.offset = 0; in offb_init_fb() 478 var->blue.length = 5; in offb_init_fb() 488 var->blue.offset = 0; in offb_init_fb() [all …]
|
A D | vt8500lcdfb.c | 59 info->var.blue.offset = 0; in vt8500lcd_set_par() 61 info->var.blue.msb_right = 0; in vt8500lcd_set_par() 84 info->var.blue.offset = 0; in vt8500lcd_set_par() 85 info->var.blue.length = 5; in vt8500lcd_set_par() 86 info->var.blue.msb_right = 0; in vt8500lcd_set_par() 96 info->var.blue.offset = 0; in vt8500lcd_set_par() 98 info->var.blue.msb_right = 0; in vt8500lcd_set_par() 140 unsigned blue, unsigned transp, in vt8500lcd_setcolreg() argument 149 red = green = blue = in vt8500lcd_setcolreg() 159 val |= chan_to_field(blue, &fbi->fb.var.blue); in vt8500lcd_setcolreg() [all …]
|
A D | au1100fb.c | 159 info->var.blue.offset = 0; in au1100fb_setmode() 160 info->var.blue.length = info->var.bits_per_pixel; in au1100fb_setmode() 161 info->var.blue.msb_right = 0; in au1100fb_setmode() 175 info->var.blue = rgb_bitfields[index][2]; in au1100fb_setmode() 249 red = green = blue = in au1100fb_fb_setcolreg() 250 (19595 * red + 38470 * green + 7471 * blue) >> 16; in au1100fb_fb_setcolreg() 262 blue >>= (16 - fbi->var.blue.length); in au1100fb_fb_setcolreg() 266 (blue << fbi->var.blue.offset); in au1100fb_fb_setcolreg() 271 value = (red & 0xF800)|((green >> 5) & 0x07E0)|((blue >> 11) & 0x001F); in au1100fb_fb_setcolreg() 276 value = (((panel_swap_rgb(fbdev->panel) ? blue : red) >> 12) & 0x000F) | in au1100fb_fb_setcolreg() [all …]
|
A D | skeletonfb.c | 285 unsigned blue, unsigned transp, in xxxfb_setcolreg() argument 297 red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8; in xxxfb_setcolreg() 365 blue = CNVT_TOHW(blue, info->var.blue.length); in xxxfb_setcolreg() 378 write_{red|green|blue|transp}_to_clut(); in xxxfb_setcolreg() 404 (blue << info->var.blue.offset) | in xxxfb_setcolreg()
|
A D | ep93xx-fb.c | 175 info->var.blue.offset = 0; in ep93xxfb_set_pixelmode() 176 info->var.blue.length = 8; in ep93xxfb_set_pixelmode() 188 info->var.blue.offset = 0; in ep93xxfb_set_pixelmode() 189 info->var.blue.length = 5; in ep93xxfb_set_pixelmode() 201 info->var.blue.offset = 0; in ep93xxfb_set_pixelmode() 202 info->var.blue.length = 8; in ep93xxfb_set_pixelmode() 214 info->var.blue.offset = 0; in ep93xxfb_set_pixelmode() 215 info->var.blue.length = 8; in ep93xxfb_set_pixelmode() 362 ((blue & 0xff00) >> 8); in ep93xxfb_setcolreg() 388 blue = ep93xxfb_convert_color(blue, info->var.blue.length); in ep93xxfb_setcolreg() [all …]
|
A D | asiliantfb.c | 249 var->blue.offset = 0; in asiliantfb_check_var() 250 var->red.length = var->blue.length = var->green.length = 8; in asiliantfb_check_var() 263 var->blue.offset = 0; in asiliantfb_check_var() 264 var->red.length = var->blue.length = 5; in asiliantfb_check_var() 266 var->red.offset = var->green.offset = var->blue.offset = 0; in asiliantfb_check_var() 316 blue >>= 8; in asiliantfb_setcolreg() 323 writeb(blue, mmio_base + 0x791); in asiliantfb_setcolreg() 331 ((blue & 0xf8) >> 3); in asiliantfb_setcolreg() 337 ((blue & 0xf8) >> 3); in asiliantfb_setcolreg() 343 (blue); in asiliantfb_setcolreg() [all …]
|
/linux/drivers/video/fbdev/core/ |
A D | fbcmap.c | 64 .len=2, .red=red2, .green=green2, .blue=blue2 67 .len=8, .red=red8, .green=green8, .blue=blue8 110 cmap->blue = kzalloc(size, flags); in fb_alloc_cmap_gfp() 111 if (!cmap->blue) in fb_alloc_cmap_gfp() 151 kfree(cmap->blue); in fb_dealloc_cmap() 185 memcpy(to->blue+tooff, from->blue+fromoff, size); in fb_copy_cmap() 212 if (copy_to_user(to->blue+tooff, from->blue+fromoff, size)) in fb_cmap_to_user() 234 u16 *red, *green, *blue, *transp; in fb_set_cmap() local 239 blue = cmap->blue; in fb_set_cmap() 252 hblue = *blue++; in fb_set_cmap() [all …]
|
/linux/arch/arm/boot/dts/ |
A D | kirkwood-dir665.dts | 140 blue-usb { 141 label = "dir665:blue:usb"; 144 blue-internet { 155 blue-wifi5g { 156 label = "dir665:blue:5g"; 159 blue-status { 160 label = "dir665:blue:status"; 163 blue-wps { 164 label = "dir665:blue:wps"; 171 blue-24g { [all …]
|
A D | bcm4709-tplink-archer-c9-v1.dts | 27 label = "bcm53xx:blue:lan"; 32 label = "bcm53xx:blue:wps"; 37 label = "bcm53xx:blue:2ghz"; 42 label = "bcm53xx:blue:5ghz"; 47 label = "bcm53xx:blue:usb3"; 55 label = "bcm53xx:blue:usb2"; 61 wan-blue { 62 label = "bcm53xx:blue:wan"; 72 label = "bcm53xx:blue:power";
|
A D | bcm4708-asus-rt-ac56u.dts | 32 label = "bcm53xx:blue:usb3"; 37 label = "bcm53xx:blue:wan"; 42 label = "bcm53xx:blue:lan"; 47 label = "bcm53xx:blue:power"; 53 label = "bcm53xx:blue:all"; 59 label = "bcm53xx:blue:2ghz"; 65 label = "bcm53xx:blue:usb2";
|
A D | kirkwood-netgear_readynas_nv+_v2.dts | 44 pmx_led_blue_power: pmx-led-blue-power { 54 pmx_led_blue_disk1: pmx-led-blue-disk1 { 59 pmx_led_blue_disk2: pmx-led-blue-disk2 { 64 pmx_led_blue_disk3: pmx-led-blue-disk3 { 69 pmx_led_blue_disk4: pmx-led-blue-disk4 { 138 label = "status:blue:power_led"; 144 label = "status:blue:backup_led"; 149 label = "status:blue:disk1_led"; 154 label = "status:blue:disk2_led"; 159 label = "status:blue:disk3_led"; [all …]
|
A D | armada-370-netgear-rn104.dts | 109 blue-backup-led { 115 blue-power-led { 116 label = "rn104:blue:pwr"; 121 blue-sata1-led { 122 label = "rn104:blue:sata1"; 127 blue-sata2-led { 128 label = "rn104:blue:sata2"; 133 blue-sata3-led { 134 label = "rn104:blue:sata3"; 139 blue-sata4-led { [all …]
|
A D | kirkwood-netgear_readynas_duo_v2.dts | 44 pmx_led_blue_power: pmx-led-blue-power { 49 pmx_led_blue_activity: pmx-led-blue-activity { 54 pmx_led_blue_disk1: pmx-led-blue-disk1 { 59 pmx_led_blue_disk2: pmx-led-blue-disk2 { 64 pmx_led_blue_backup: pmx-led-blue-backup { 119 label = "status:blue:power_led"; 125 label = "status:blue:activity_led"; 130 label = "status:blue:disk1_led"; 135 label = "status:blue:disk2_led"; 140 label = "status:blue:backup_led";
|
A D | kirkwood-iconnect.dts | 37 pmx_led_power_blue: pmx-led-power-blue { 92 power-blue { 93 label = "power:blue"; 102 label = "usb1:blue"; 106 label = "usb2:blue"; 110 label = "usb3:blue"; 114 label = "usb4:blue"; 118 label = "otb:blue";
|
/linux/drivers/video/fbdev/geode/ |
A D | gxfb_core.c | 135 var->blue.offset = 0; var->blue.length = 8; in gxfb_check_var() 139 var->blue.offset = 0; var->blue.length = 5; in gxfb_check_var() 143 var->blue.offset = 0; var->blue.length = 8; in gxfb_check_var() 179 unsigned blue, unsigned transp, in gxfb_setcolreg() argument 184 red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8; in gxfb_setcolreg() 197 v |= chan_to_field(blue, &info->var.blue); in gxfb_setcolreg() 204 gx_set_hw_palette_reg(info, regno, red, green, blue); in gxfb_setcolreg()
|