/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn30/ ! |
D | dcn30_cm_common.c | 58 exp_region_start, params->corner_points[0].red.custom_float_x, in cm_helper_program_gamcor_xfer_func() 66 field_region_linear_slope, params->corner_points[0].red.custom_float_slope); in cm_helper_program_gamcor_xfer_func() 73 field_region_end_base, params->corner_points[1].red.custom_float_y); in cm_helper_program_gamcor_xfer_func() 82 field_region_end_slope, params->corner_points[1].red.custom_float_slope, in cm_helper_program_gamcor_xfer_func() 83 field_region_end, params->corner_points[1].red.custom_float_x); in cm_helper_program_gamcor_xfer_func() 181 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm3_helper_translate_curve_to_hw_format() 190 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm3_helper_translate_curve_to_hw_format() 194 rgb_resulted[hw_points].red = rgb_resulted[hw_points - 1].red; in cm3_helper_translate_curve_to_hw_format() 199 corner_points[0].red.x = dc_fixpt_pow(dc_fixpt_from_int(2), in cm3_helper_translate_curve_to_hw_format() 201 corner_points[0].green.x = corner_points[0].red.x; in cm3_helper_translate_curve_to_hw_format() [all …]
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn10/ ! |
D | dcn10_cm_common.c | 80 exp_region_start, params->corner_points[0].red.custom_float_x, in cm_helper_program_xfer_func() 88 field_region_linear_slope, params->corner_points[0].red.custom_float_slope); in cm_helper_program_xfer_func() 103 field_region_end, params->corner_points[1].red.custom_float_x); in cm_helper_program_xfer_func() 105 field_region_end_slope, params->corner_points[1].red.custom_float_slope, in cm_helper_program_xfer_func() 106 field_region_end_base, params->corner_points[1].red.custom_float_y); in cm_helper_program_xfer_func() 147 if (!convert_to_custom_float_format(corner_points[0].red.x, &fmt, in cm_helper_convert_to_custom_float() 148 &corner_points[0].red.custom_float_x)) { in cm_helper_convert_to_custom_float() 163 if (!convert_to_custom_float_format(corner_points[0].red.offset, &fmt, in cm_helper_convert_to_custom_float() 164 &corner_points[0].red.custom_float_offset)) { in cm_helper_convert_to_custom_float() 179 if (!convert_to_custom_float_format(corner_points[0].red.slope, &fmt, in cm_helper_convert_to_custom_float() [all …]
|
/linux-5.19.10/drivers/video/fbdev/ ! |
D | 68328fb.c | 59 .red = { 0, 8, 0 }, 93 static int mc68x328fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 192 var->red.offset = 0; in mc68x328fb_check_var() 193 var->red.length = 1; in mc68x328fb_check_var() 202 var->red.offset = 0; in mc68x328fb_check_var() 203 var->red.length = 8; in mc68x328fb_check_var() 213 var->red.offset = 0; in mc68x328fb_check_var() 214 var->red.length = 5; in mc68x328fb_check_var() 222 var->red.offset = 0; in mc68x328fb_check_var() 223 var->red.length = 5; in mc68x328fb_check_var() [all …]
|
D | macfb.c | 52 static int (*macfb_setpalette)(unsigned int regno, unsigned int red, 144 static int dafb_setpalette(unsigned int regno, unsigned int red, in dafb_setpalette() argument 166 nubus_writeb(info->cmap.red[i] >> 8, in dafb_setpalette() 178 nubus_writeb(red, &dafb_cmap_regs->lut); in dafb_setpalette() 190 static int v8_brazil_setpalette(unsigned int regno, unsigned int red, in v8_brazil_setpalette() argument 210 nubus_writeb(red, &v8_brazil_cmap_regs->lut); in v8_brazil_setpalette() 221 static int rbv_setpalette(unsigned int regno, unsigned int red, in rbv_setpalette() argument 244 nubus_writeb(red, &rbv_cmap_regs->lut); in rbv_setpalette() 255 static int mdc_setpalette(unsigned int regno, unsigned int red, in mdc_setpalette() argument 267 nubus_writeb(red, &cmap_regs->lut); in mdc_setpalette() [all …]
|
D | sbuslib.c | 120 u16 red, green, blue; in sbusfb_ioctl_helper() local 129 get_user(ured, &c->red) || in sbusfb_ioctl_helper() 135 cmap.red = &red; in sbusfb_ioctl_helper() 147 red = red8 << 8; in sbusfb_ioctl_helper() 165 u8 red, green, blue; in sbusfb_ioctl_helper() local 169 get_user(ured, &c->red) || in sbusfb_ioctl_helper() 178 red = cmap->red[index + i] >> 8; in sbusfb_ioctl_helper() 181 if (put_user(red, &ured[i]) || in sbusfb_ioctl_helper() 214 u16 red, green, blue; in sbusfb_compat_ioctl() local 223 ured = compat_ptr(c.red); 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, 177 var->red.offset = 0; in vfb_check_var() 178 var->red.length = 8; in vfb_check_var() 188 var->red.offset = 0; in vfb_check_var() 189 var->red.length = 5; in vfb_check_var() 197 var->red.offset = 0; in vfb_check_var() 198 var->red.length = 5; in vfb_check_var() 208 var->red.offset = 0; in vfb_check_var() 209 var->red.length = 8; in vfb_check_var() 218 var->red.offset = 0; in vfb_check_var() [all …]
|
D | pxa168fb.c | 48 if (var->bits_per_pixel == 16 && var->red.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() 68 if (var->bits_per_pixel <= 32 && var->red.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() 98 var->red.offset = 11; var->red.length = 5; in set_pix_fmt() 105 var->red.offset = 0; var->red.length = 5; in set_pix_fmt() 112 var->red.offset = 10; var->red.length = 5; in set_pix_fmt() [all …]
|
D | ocfb.c | 174 static int ocfb_setcolreg(unsigned regno, unsigned red, unsigned green, in ocfb_setcolreg() argument 188 red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8; in ocfb_setcolreg() 191 red >>= (16 - info->var.red.length); in ocfb_setcolreg() 198 color = (red << 16) | (green << 8) | blue; in ocfb_setcolreg() 202 (red << info->var.red.offset) | in ocfb_setcolreg() 243 var->red.offset = 0; in ocfb_init_var() 244 var->red.length = 8; in ocfb_init_var() 254 var->red.offset = 11; in ocfb_init_var() 255 var->red.length = 5; in ocfb_init_var() 265 var->red.offset = 16; in ocfb_init_var() [all …]
|
D | vesafb.c | 87 static int vesa_setpalette(int regno, unsigned red, unsigned green, in vesa_setpalette() argument 98 outb_p(red >> shift, dac_val); in vesa_setpalette() 109 struct { u_char blue, green, red, pad; } entry; in vesa_setpalette() member 111 entry.red = red >> shift; in vesa_setpalette() 131 static int vesafb_setcolreg(unsigned regno, unsigned red, unsigned green, in vesafb_setcolreg() argument 148 err = vesa_setpalette(regno,red,green,blue); in vesafb_setcolreg() 152 if (info->var.red.offset == 10) { in vesafb_setcolreg() 155 ((red & 0xf800) >> 1) | in vesafb_setcolreg() 161 ((red & 0xf800) ) | in vesafb_setcolreg() 168 red >>= 8; in vesafb_setcolreg() [all …]
|
D | asiliantfb.c | 95 static int asiliantfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 247 var->red.offset = 16; in asiliantfb_check_var() 250 var->red.length = var->blue.length = var->green.length = 8; in asiliantfb_check_var() 252 switch (var->red.offset) { 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() 267 var->red.length = var->green.length = var->blue.length = 8; in asiliantfb_check_var() 287 if (p->var.red.offset == 11) in asiliantfb_set_par() 309 static int asiliantfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in asiliantfb_setcolreg() argument 314 red >>= 8; in asiliantfb_setcolreg() [all …]
|
D | offb.c | 97 static int offb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in offb_setcolreg() argument 104 u32 cr = red >> (16 - info->var.red.length); in offb_setcolreg() 112 value = (cr << info->var.red.offset) | in offb_setcolreg() 127 red >>= 8; in offb_setcolreg() 137 writeb(red, par->cmap_data); in offb_setcolreg() 150 (red << 16 | green << 8 | blue)); in offb_setcolreg() 158 out_le32(par->cmap_adr + 0xb4, (red << 16 | green << 8 | blue)); in offb_setcolreg() 163 out_le32(par->cmap_adr + 0xb4, (red << 16 | green << 8 | blue)); in offb_setcolreg() 167 (red << 16 | green << 8 | blue)); in offb_setcolreg() 173 writel(((red) << 22) | ((green) << 12) | ((blue) << 2), in offb_setcolreg() [all …]
|
D | vt8500lcdfb.c | 51 info->var.red.offset = 0; in vt8500lcd_set_par() 52 info->var.red.length = info->var.bits_per_pixel; in vt8500lcd_set_par() 53 info->var.red.msb_right = 0; in vt8500lcd_set_par() 78 info->var.red.offset = 11; in vt8500lcd_set_par() 79 info->var.red.length = 5; in vt8500lcd_set_par() 80 info->var.red.msb_right = 0; in vt8500lcd_set_par() 89 info->var.red.offset = info->var.bits_per_pixel in vt8500lcd_set_par() 91 info->var.red.length = info->var.bits_per_pixel / 3; in vt8500lcd_set_par() 92 info->var.red.msb_right = 0; in vt8500lcd_set_par() 139 static int vt8500lcd_setcolreg(unsigned regno, unsigned red, unsigned green, in vt8500lcd_setcolreg() argument [all …]
|
D | au1100fb.c | 151 info->var.red.offset = 0; in au1100fb_setmode() 152 info->var.red.length = info->var.bits_per_pixel; in au1100fb_setmode() 153 info->var.red.msb_right = 0; in au1100fb_setmode() 173 info->var.red = rgb_bitfields[index][0]; 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() 260 red >>= (16 - fbi->var.red.length); in au1100fb_fb_setcolreg() 264 value = (red << fbi->var.red.offset) | in au1100fb_fb_setcolreg() 271 value = (red & 0xF800)|((green >> 5) & 0x07E0)|((blue >> 11) & 0x001F); in au1100fb_fb_setcolreg() [all …]
|
D | skeletonfb.c | 284 static int xxxfb_setcolreg(unsigned regno, unsigned red, unsigned green, in xxxfb_setcolreg() argument 297 red = green = blue = (red * 77 + green * 151 + blue * 28) >> 8; in xxxfb_setcolreg() 363 red = CNVT_TOHW(red, info->var.red.length); in xxxfb_setcolreg() 378 write_{red|green|blue|transp}_to_clut(); in xxxfb_setcolreg() 402 v = (red << info->var.red.offset) | in xxxfb_setcolreg()
|
/linux-5.19.10/drivers/video/fbdev/mmp/fb/ ! |
D | mmpfb.c | 25 if (var->bits_per_pixel == 16 && var->red.length == 8 && in var_to_pixfmt() 36 if (var->bits_per_pixel == 12 && var->red.length == 8 && in var_to_pixfmt() 47 if (var->bits_per_pixel == 16 && var->red.length == 16 && in var_to_pixfmt() 49 if (var->red.offset == 0) in var_to_pixfmt() 60 if (var->bits_per_pixel == 16 && var->red.length <= 5 && in var_to_pixfmt() 63 if (var->red.offset >= var->blue.offset) in var_to_pixfmt() 73 if (var->bits_per_pixel <= 32 && var->red.length <= 8 && in var_to_pixfmt() 76 if (var->red.offset >= var->blue.offset) in var_to_pixfmt() 83 if (var->red.offset >= var->blue.offset) in var_to_pixfmt() 88 if (var->red.offset >= var->blue.offset) in var_to_pixfmt() [all …]
|
/linux-5.19.10/arch/arm/boot/dts/ ! |
D | kirkwood-nsa310.dts | 29 pmx_led_esata_red: pmx-led-esata-red { 39 pmx_led_usb_red: pmx-led-usb-red { 49 pmx_led_sys_red: pmx-led-sys-red { 59 pmx_led_hdd_red: pmx-led-hdd-red { 94 red-sys { 95 label = "nsa310:red:sys"; 102 red-hdd { 103 label = "nsa310:red:hdd"; 110 red-esata { 111 label = "nsa310:red:esata"; [all …]
|
D | kirkwood-nsa310a.dts | 8 * not have the red USB Led. 33 pmx_led_esata_red: pmx-led-esata-red { 48 pmx_led_sys_red: pmx-led-sys-red { 58 pmx_led_hdd_red: pmx-led-hdd-red { 82 red-sys { 83 label = "nsa310:red:sys"; 90 red-hdd { 91 label = "nsa310:red:hdd"; 98 red-esata { 99 label = "nsa310:red:esata"; [all …]
|
D | kirkwood-linkstation-lsqvl.dts | 62 red-hdderr0-led { 63 label = "linkstation:red:hdderr0"; 67 red-hdderr1-led { 68 label = "linkstation:red:hdderr1"; 72 red-hdderr2-led { 73 label = "linkstation:red:hdderr2"; 77 red-hdderr3-led { 78 label = "linkstation:red:hdderr3";
|
D | kirkwood-dns325.dts | 36 red-l_hdd { 37 label = "dns325:red:l_hdd"; 40 red-r_hdd { 41 label = "dns325:red:r_hdd"; 44 red-usb { 45 label = "dns325:red:usb";
|
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/abm/ ! |
D | qdisc.c | 55 for (i = 0; i < qdisc->red.num_bands; i++) { in nfp_abm_stats_update_red() 57 &qdisc->red.band[i].stats); in nfp_abm_stats_update_red() 63 &qdisc->red.band[i].xstats); in nfp_abm_stats_update_red() 131 for (i = 0; i < qdisc->red.num_bands; i++) { in nfp_abm_qdisc_offload_stop() 132 qdisc->red.band[i].stats.backlog_pkts = 0; in nfp_abm_qdisc_offload_stop() 133 qdisc->red.band[i].stats.backlog_bytes = 0; in nfp_abm_qdisc_offload_stop() 179 for (i = 0; i < qdisc->red.num_bands; i++) { in nfp_abm_stats_init() 181 &qdisc->red.band[i].prev_stats, in nfp_abm_stats_init() 182 &qdisc->red.band[i].prev_xstats); in nfp_abm_stats_init() 219 qdisc->red.band[i].threshold); in nfp_abm_offload_compile_red() [all …]
|
/linux-5.19.10/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 104 cmap->red = kzalloc(size, flags); in fb_alloc_cmap_gfp() 105 if (!cmap->red) in fb_alloc_cmap_gfp() 149 kfree(cmap->red); in fb_dealloc_cmap() 154 cmap->red = cmap->green = cmap->blue = cmap->transp = NULL; in fb_dealloc_cmap() 183 memcpy(to->red+tooff, from->red+fromoff, size); in fb_copy_cmap() 208 if (copy_to_user(to->red+tooff, from->red+fromoff, size)) in fb_cmap_to_user() [all …]
|
/linux-5.19.10/Documentation/leds/ ! |
D | leds-mlxcpld.rst | 15 - mlxcpld:fan1:red 17 - mlxcpld:fan2:red 19 - mlxcpld:fan3:red 21 - mlxcpld:fan4:red 23 - mlxcpld:psu:red 25 - mlxcpld:status:red 67 - mlxcpld:fan:red 69 - mlxcpld:psu1:red 71 - mlxcpld:psu2:red 73 - mlxcpld:status:red
|
/linux-5.19.10/sound/soc/codecs/ ! |
D | rl6231.c | 146 unsigned int red, pll_out, in_t, out_t, div, div_t; in rl6231_pll_calc() local 192 red = abs(f_out - out_t); in rl6231_pll_calc() 193 if (red < red_t) { in rl6231_pll_calc() 198 if (red == 0) in rl6231_pll_calc() 200 red_t = red; in rl6231_pll_calc() 204 red = abs(f_out - out_t); in rl6231_pll_calc() 205 if (red < red_t) { in rl6231_pll_calc() 210 if (red == 0) in rl6231_pll_calc() 212 red_t = red; in rl6231_pll_calc()
|
/linux-5.19.10/Documentation/fb/ ! |
D | cmap_xfbdev.rst | 12 .red = { 4, 3, 0 }, 20 info->cmap.red[i] = (((2*i)+1)*(0xFFFF))/16; 21 memcpy(info->cmap.green, info->cmap.red, sizeof(u16)*8); 22 memcpy(info->cmap.blue, info->cmap.red, sizeof(u16)*8); 45 dr = (long) pent->co.local.red - prgb->red; 52 co.local.red are entries that were brought in through FBIOGETCMAP which come 53 directly from the info->cmap.red that was listed above. The prgb is the rgb
|
/linux-5.19.10/drivers/video/logo/ ! |
D | pnmtologo.c | 46 unsigned char red; member 179 logo_data[i][j].red = logo_data[i][j].green = in read_image() 188 logo_data[i][j].red = logo_data[i][j].green = in read_image() 197 logo_data[i][j].red = get_number255(fp, maxval); in read_image() 210 return c.red == 0 && c.green == 0 && c.blue == 0; in is_black() 215 return c.red == 255 && c.green == 255 && c.blue == 255; in is_white() 220 return c.red == c.green && c.red == c.blue; in is_gray() 225 return c1.red == c2.red && c1.green == c2.green && c1.blue == c2.blue; in is_equal() 301 if (logo_data[i][j].red) in write_logo_mono() 388 write_hex(logo_clut[i].red); in write_logo_clut224() [all …]
|