/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/ ! |
D | dcn30_cm_common.c | 52 exp_region_start, params->corner_points[0].blue.custom_float_x, in cm_helper_program_gamcor_xfer_func() 62 field_region_linear_slope, params->corner_points[0].blue.custom_float_slope); in cm_helper_program_gamcor_xfer_func() 69 field_region_end_base, params->corner_points[1].blue.custom_float_y); in cm_helper_program_gamcor_xfer_func() 76 field_region_end_slope, params->corner_points[1].blue.custom_float_slope, in cm_helper_program_gamcor_xfer_func() 77 field_region_end, params->corner_points[1].blue.custom_float_x); in cm_helper_program_gamcor_xfer_func() 183 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm3_helper_translate_curve_to_hw_format() 192 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; 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() 202 corner_points[0].blue.x = corner_points[0].red.x; in cm3_helper_translate_curve_to_hw_format() 207 corner_points[1].blue.x = corner_points[1].red.x; in cm3_helper_translate_curve_to_hw_format() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/ ! |
D | dcn10_cm_common.c | 74 exp_region_start, params->corner_points[0].blue.custom_float_x, in cm_helper_program_xfer_func() 84 field_region_linear_slope, params->corner_points[0].blue.custom_float_slope); in cm_helper_program_xfer_func() 91 field_region_end, params->corner_points[1].blue.custom_float_x); in cm_helper_program_xfer_func() 93 field_region_end_slope, params->corner_points[1].blue.custom_float_slope, in cm_helper_program_xfer_func() 94 field_region_end_base, params->corner_points[1].blue.custom_float_y); in cm_helper_program_xfer_func() 157 if (!convert_to_custom_float_format(corner_points[0].blue.x, &fmt, in cm_helper_convert_to_custom_float() 158 &corner_points[0].blue.custom_float_x)) { in cm_helper_convert_to_custom_float() 173 if (!convert_to_custom_float_format(corner_points[0].blue.offset, &fmt, in cm_helper_convert_to_custom_float() 174 &corner_points[0].blue.custom_float_offset)) { in cm_helper_convert_to_custom_float() 189 if (!convert_to_custom_float_format(corner_points[0].blue.slope, &fmt, in cm_helper_convert_to_custom_float() [all …]
|
/linux-6.6.21/drivers/video/fbdev/mmp/fb/ ! |
D | mmpfb.c | 26 var->green.length == 4 && var->blue.length == 4) { in var_to_pixfmt() 27 if (var->green.offset >= var->blue.offset) in var_to_pixfmt() 37 var->green.length == 2 && var->blue.length == 2) { in var_to_pixfmt() 38 if (var->green.offset >= var->blue.offset) in var_to_pixfmt() 48 var->green.length == 16 && var->blue.length == 16) { in var_to_pixfmt() 51 else if (var->green.offset >= var->blue.offset) in var_to_pixfmt() 61 var->green.length <= 6 && var->blue.length <= 5) { in var_to_pixfmt() 63 if (var->red.offset >= var->blue.offset) in var_to_pixfmt() 74 var->green.length <= 8 && var->blue.length <= 8) { in var_to_pixfmt() 76 if (var->red.offset >= var->blue.offset) in var_to_pixfmt() [all …]
|
/linux-6.6.21/drivers/video/fbdev/ ! |
D | 68328fb.c | 61 .blue = { 0, 8, 0 }, 90 static int mc68x328fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 194 var->blue.offset = 0; in mc68x328fb_check_var() 195 var->blue.length = 1; in mc68x328fb_check_var() 204 var->blue.offset = 0; in mc68x328fb_check_var() 205 var->blue.length = 8; in mc68x328fb_check_var() 215 var->blue.offset = 10; in mc68x328fb_check_var() 216 var->blue.length = 5; in mc68x328fb_check_var() 224 var->blue.offset = 11; in mc68x328fb_check_var() 225 var->blue.length = 5; in mc68x328fb_check_var() [all …]
|
D | macfb.c | 53 unsigned int green, unsigned int blue, 145 unsigned int green, unsigned int blue, in dafb_setpalette() argument 172 nubus_writeb(info->cmap.blue[i] >> 8, in dafb_setpalette() 182 nubus_writeb(blue, &dafb_cmap_regs->lut); in dafb_setpalette() 191 unsigned int green, unsigned int blue, in v8_brazil_setpalette() argument 214 nubus_writeb(blue, &v8_brazil_cmap_regs->lut); in v8_brazil_setpalette() 222 unsigned int green, unsigned int blue, in rbv_setpalette() argument 248 nubus_writeb(blue, &rbv_cmap_regs->lut); in rbv_setpalette() 256 unsigned int green, unsigned int blue, in mdc_setpalette() argument 271 nubus_writeb(blue, &cmap_regs->lut); in mdc_setpalette() [all …]
|
D | sbuslib.c | 120 u16 red, green, blue; in sbusfb_ioctl_helper() local 131 get_user(ublue, &c->blue)) in sbusfb_ioctl_helper() 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 171 get_user(ublue, &c->blue)) in sbusfb_ioctl_helper() 180 blue = cmap->blue[index + i] >> 8; in sbusfb_ioctl_helper() 183 put_user(blue, &ublue[i])) in sbusfb_ioctl_helper() 214 u16 red, green, blue; in sbusfb_compat_ioctl() local 225 ublue = compat_ptr(c.blue); in sbusfb_compat_ioctl() [all …]
|
D | vfb.c | 74 static int vfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 182 var->blue.offset = 0; in vfb_check_var() 183 var->blue.length = 8; in vfb_check_var() 193 var->blue.offset = 10; in vfb_check_var() 194 var->blue.length = 5; in vfb_check_var() 202 var->blue.offset = 11; in vfb_check_var() 203 var->blue.length = 5; in vfb_check_var() 213 var->blue.offset = 16; in vfb_check_var() 214 var->blue.length = 8; in vfb_check_var() 223 var->blue.offset = 16; in vfb_check_var() [all …]
|
D | pxa168fb.c | 49 var->green.length <= 6 && var->blue.length <= 5) { in determine_best_pix_fmt() 51 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt() 58 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt() 69 var->green.length <= 8 && var->blue.length <= 8) { in determine_best_pix_fmt() 71 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt() 78 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt() 83 if (var->red.offset >= var->blue.offset) in determine_best_pix_fmt() 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() [all …]
|
D | ocfb.c | 175 unsigned blue, unsigned transp, in ocfb_setcolreg() argument 188 red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8; in ocfb_setcolreg() 193 blue >>= (16 - info->var.blue.length); in ocfb_setcolreg() 198 color = (red << 16) | (green << 8) | blue; 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() [all …]
|
D | vesafb.c | 91 unsigned blue) in vesa_setpalette() argument 103 outb_p(blue >> shift, dac_val); in vesa_setpalette() 112 struct { u_char blue, green, red, pad; } entry; in vesa_setpalette() member 116 entry.blue = blue >> shift; in vesa_setpalette() 135 unsigned blue, unsigned transp, in vesafb_setcolreg() argument 151 err = vesa_setpalette(regno,red,green,blue); in vesafb_setcolreg() 160 ((blue & 0xf800) >> 11); in vesafb_setcolreg() 166 ((blue & 0xf800) >> 11); in vesafb_setcolreg() 173 blue >>= 8; in vesafb_setcolreg() 177 (blue << info->var.blue.offset); in vesafb_setcolreg() [all …]
|
D | offb.c | 99 static int offb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in offb_setcolreg() argument 108 u32 cb = blue >> (16 - info->var.blue.length); in offb_setcolreg() 116 (cb << info->var.blue.offset); in offb_setcolreg() 131 blue >>= 8; in offb_setcolreg() 141 writeb(blue, par->cmap_data); in offb_setcolreg() 152 (red << 16 | green << 8 | blue)); in offb_setcolreg() 160 out_le32(par->cmap_adr + 0xb4, (red << 16 | green << 8 | blue)); in offb_setcolreg() 165 out_le32(par->cmap_adr + 0xb4, (red << 16 | green << 8 | blue)); in offb_setcolreg() 169 (red << 16 | green << 8 | blue)); in offb_setcolreg() 175 writel(((red) << 22) | ((green) << 12) | ((blue) << 2), in offb_setcolreg() [all …]
|
D | vt8500lcdfb.c | 59 info->var.blue.offset = 0; in vt8500lcd_set_par() 60 info->var.blue.length = info->var.bits_per_pixel; 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() 97 info->var.blue.length = info->var.bits_per_pixel / 3; in vt8500lcd_set_par() 98 info->var.blue.msb_right = 0; in vt8500lcd_set_par() 140 unsigned blue, unsigned transp, in vt8500lcd_setcolreg() argument [all …]
|
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() 235 int au1100fb_fb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned tra… in au1100fb_fb_setcolreg() argument 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() [all …]
|
D | skeletonfb.c | 284 unsigned blue, unsigned transp, in xxxfb_setcolreg() argument 296 red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8; in xxxfb_setcolreg() 364 blue = CNVT_TOHW(blue, info->var.blue.length); in xxxfb_setcolreg() 377 write_{red|green|blue|transp}_to_clut(); in xxxfb_setcolreg() 403 (blue << info->var.blue.offset) | in xxxfb_setcolreg()
|
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() 350 unsigned int green, unsigned int blue, in ep93xxfb_setcolreg() argument 362 ((blue & 0xff00) >> 8); in ep93xxfb_setcolreg() [all …]
|
/linux-6.6.21/drivers/video/fbdev/core/ ! |
D | fbcmap.c | 64 .len=2, .red=red2, .green=green2, .blue=blue2 67 .len=8, .red=red8, .green=green8, .blue=blue8 70 .len=4, .red=red4, .green=green4, .blue=blue4 73 .len=16, .red=red16, .green=green16, .blue=blue16 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() 154 cmap->red = cmap->green = cmap->blue = cmap->transp = NULL; 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() [all …]
|
/linux-6.6.21/arch/arm/boot/dts/broadcom/ ! |
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 led-wan-blue { 62 label = "bcm53xx:blue:wan"; 72 label = "bcm53xx:blue:power";
|
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"; 64 label = "bcm53xx:blue:usb2";
|
D | bcm47081-asus-rt-n18u.dts | 32 label = "bcm53xx:blue:power"; 38 label = "bcm53xx:blue:usb2"; 43 label = "bcm53xx:blue:wan"; 49 label = "bcm53xx:blue:lan"; 55 label = "bcm53xx:blue:usb3";
|
/linux-6.6.21/arch/arm/boot/dts/marvell/ ! |
D | kirkwood-dir665.dts | 41 pmx_led_internet_blue: pmx-led-internet-blue { 53 pmx_led_status_blue: pmx-led-status-blue { 140 blue-usb { 141 label = "dir665:blue:usb"; 144 blue-internet { 148 label = "dir665:blue:internet"; 155 blue-wifi5g { 156 label = "dir665:blue:5g"; 159 blue-status { 160 label = "dir665:blue:status"; [all …]
|
D | kirkwood-netgear_readynas_nv+_v2.dts | 44 pmx_led_blue_power: pmx-led-blue-power { 49 pmx_led_blue_backup: pmx-led-blue-backup { 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"; [all …]
|
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";
|
D | armada-370-netgear-rn104.dts | 109 blue-backup-led { 110 label = "rn104:blue:backup"; 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"; [all …]
|
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-6.6.21/drivers/video/fbdev/geode/ ! |
D | gxfb_core.c | 136 var->blue.offset = 0; var->blue.length = 8; in gxfb_check_var() 140 var->blue.offset = 0; var->blue.length = 5; in gxfb_check_var() 144 var->blue.offset = 0; var->blue.length = 8; in gxfb_check_var() 180 unsigned blue, unsigned transp, in gxfb_setcolreg() argument 185 red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8; in gxfb_setcolreg() 198 v |= chan_to_field(blue, &info->var.blue); in gxfb_setcolreg() 205 gx_set_hw_palette_reg(info, regno, red, green, blue); in gxfb_setcolreg()
|