/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A 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() 184 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm3_helper_translate_curve_to_hw_format() 193 rgb_resulted[hw_points].blue = output_tf->tf_pts.blue[start_index]; in cm3_helper_translate_curve_to_hw_format() 197 rgb_resulted[hw_points+1].blue = rgb_resulted[hw_points].blue; in cm3_helper_translate_curve_to_hw_format() 203 corner_points[0].blue.x = corner_points[0].red.x; in cm3_helper_translate_curve_to_hw_format() 208 corner_points[1].blue.x = corner_points[1].red.x; in cm3_helper_translate_curve_to_hw_format() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_cm_common.c | 94 exp_region_start, params->corner_points[0].blue.custom_float_x, in cm_helper_program_xfer_func() 104 field_region_linear_slope, params->corner_points[0].blue.custom_float_slope); in cm_helper_program_xfer_func() 111 field_region_end, params->corner_points[1].blue.custom_float_x); in cm_helper_program_xfer_func() 113 field_region_end_slope, params->corner_points[1].blue.custom_float_slope, in cm_helper_program_xfer_func() 114 field_region_end_base, params->corner_points[1].blue.custom_float_y); in cm_helper_program_xfer_func() 177 if (!convert_to_custom_float_format(corner_points[0].blue.x, &fmt, in cm_helper_convert_to_custom_float() 178 &corner_points[0].blue.custom_float_x)) { in cm_helper_convert_to_custom_float() 193 if (!convert_to_custom_float_format(corner_points[0].blue.offset, &fmt, in cm_helper_convert_to_custom_float() 194 &corner_points[0].blue.custom_float_offset)) { in cm_helper_convert_to_custom_float() 209 if (!convert_to_custom_float_format(corner_points[0].blue.slope, &fmt, in cm_helper_convert_to_custom_float() [all …]
|
/linux/drivers/video/fbdev/mmp/fb/ |
H A 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/drivers/video/fbdev/ |
H A 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, 193 var->blue.offset = 0; in mc68x328fb_check_var() 194 var->blue.length = 1; in mc68x328fb_check_var() 203 var->blue.offset = 0; in mc68x328fb_check_var() 204 var->blue.length = 8; in mc68x328fb_check_var() 214 var->blue.offset = 10; in mc68x328fb_check_var() 215 var->blue.length = 5; in mc68x328fb_check_var() 223 var->blue.offset = 11; in mc68x328fb_check_var() 224 var->blue.length = 5; in mc68x328fb_check_var() [all …]
|
H A D | sbuslib.c | 121 u16 red, green, blue; in sbusfb_ioctl_helper() local 132 get_user(ublue, &c->blue)) in sbusfb_ioctl_helper() 138 cmap.blue = &blue; in sbusfb_ioctl_helper() 150 blue = blue8 << 8; in sbusfb_ioctl_helper() 166 u8 red, green, blue; in sbusfb_ioctl_helper() local 172 get_user(ublue, &c->blue)) in sbusfb_ioctl_helper() 181 blue = cmap->blue[index + i] >> 8; in sbusfb_ioctl_helper() 184 put_user(blue, &ublue[i])) in sbusfb_ioctl_helper() 215 u16 red, green, blue; in sbusfb_compat_ioctl() local 226 ublue = compat_ptr(c.blue); in sbusfb_compat_ioctl() [all …]
|
H A D | vfb.c | 74 static int vfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 179 var->blue.offset = 0; in vfb_check_var() 180 var->blue.length = 8; in vfb_check_var() 190 var->blue.offset = 10; in vfb_check_var() 191 var->blue.length = 5; in vfb_check_var() 199 var->blue.offset = 11; in vfb_check_var() 200 var->blue.length = 5; in vfb_check_var() 210 var->blue.offset = 16; in vfb_check_var() 211 var->blue.length = 8; in vfb_check_var() 220 var->blue.offset = 16; in vfb_check_var() [all …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/linux/arch/mips/bcm47xx/ |
H A D | leds.c | 49 BCM47XX_GPIO_LED(3, "blue", "wan", 1, LEDS_GPIO_DEFSTATE_OFF), 50 BCM47XX_GPIO_LED(4, "blue", "lan", 1, LEDS_GPIO_DEFSTATE_OFF), 51 BCM47XX_GPIO_LED(6, "blue", "power", 1, LEDS_GPIO_DEFSTATE_ON), 52 BCM47XX_GPIO_LED(9, "blue", "usb", 0, LEDS_GPIO_DEFSTATE_OFF), 57 BCM47XX_GPIO_LED(1, "blue", "power", 1, LEDS_GPIO_DEFSTATE_ON), 58 BCM47XX_GPIO_LED(7, "blue", "wlan", 0, LEDS_GPIO_DEFSTATE_OFF), 63 BCM47XX_GPIO_LED(12, "blue", "power", 1, LEDS_GPIO_DEFSTATE_ON), 64 BCM47XX_GPIO_LED(15, "blue", "usb", 1, LEDS_GPIO_DEFSTATE_OFF), 213 BCM47XX_GPIO_LED(6, "blue", "unk", 1, LEDS_GPIO_DEFSTATE_OFF), 220 BCM47XX_GPIO_LED(6, "blue", "unk", 1, LEDS_GPIO_DEFSTATE_OFF), [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-dir665.dts | 41 pmx_led_internet_blue: pmx-led-internet-blue { 53 pmx_led_status_blue: pmx-led-status-blue { 140 led-blue-usb { 141 label = "dir665:blue:usb"; 144 led-blue-internet { 148 label = "dir665:blue:internet"; 155 led-blue-wifi5g { 156 label = "dir665:blue:5g"; 159 led-blue-status { 160 label = "dir665:blue:status"; [all …]
|
H A 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 …]
|
H A 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 …]
|
H 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";
|
H A D | kirkwood-iconnect.dts | 37 pmx_led_power_blue: pmx-led-power-blue { 92 led-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/arch/arm/boot/dts/broadcom/ |
H 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 led-wan-blue { 62 label = "bcm53xx:blue:wan"; 72 label = "bcm53xx:blue:power";
|
H 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"; 64 label = "bcm53xx:blue:usb2";
|
H A 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/drivers/video/fbdev/core/ |
H A 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/tools/testing/selftests/net/ |
H A D | vrf_route_leaking.sh | 12 # blue red 20 # Route from h1 to h2 and back goes through r1, incoming vrf blue has a route 41 # blue red 53 # Route from h1 to h2 goes through r1, incoming vrf blue has a route to the 258 create_vrf $r1 blue 1101 261 ip -netns $r1 link set eth0 vrf blue up 268 # Route leak from blue to red 269 ip -netns $r1 route add vrf blue ${H2_N2} dev red 270 ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red 272 # Route leak from red to blue [all …]
|
/linux/Documentation/devicetree/bindings/display/tilcdc/ |
H A D | tilcdc.txt | 20 - blue-and-red-wiring: Recognized values "straight" or "crossed". 25 - "crossed" indicates wiring that has blue and red wires 31 and blue colors are swapped in either 16 or 24-bit color modes. 44 the wires work as they should (LCD_DATA[0:4] is for Blue[3:7]), 45 but for 24 bit color modes the wiring of blue and red components is 47 for Blue[3-7]. For more details see section 3.1.1 in AM335x 60 blue-and-red-wiring = "crossed";
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_disp_gamma.c | 95 first = lut[0].red + lut[0].green + lut[0].blue; in mtk_gamma_lut_is_descending() 96 last = lut[last_entry].red + lut[last_entry].green + lut[last_entry].blue; in mtk_gamma_lut_is_descending() 152 hwlut.blue = drm_color_lut_extract(lut[n].blue, lut_bits); in mtk_gamma_set() 158 word[1] = FIELD_PREP(DISP_GAMMA_LUT_12BIT_B, hwlut.blue); in mtk_gamma_set() 162 word[0] |= FIELD_PREP(DISP_GAMMA_LUT_10BIT_B, hwlut.blue); in mtk_gamma_set() 171 diff.blue = lut[n].blue - lut[n - 1].blue; in mtk_gamma_set() 172 diff.blue = drm_color_lut_extract(diff.blue, lut_bits); in mtk_gamma_set() 177 word[1] = FIELD_PREP(DISP_GAMMA_LUT_12BIT_B, diff.blue); in mtk_gamma_set() 181 word[0] |= FIELD_PREP(DISP_GAMMA_LUT_10BIT_B, diff.blue); in mtk_gamma_set()
|
/linux/Documentation/fb/ |
H A D | api.rst | 52 bits_per_pixel, grayscale, red, green, blue and transp fields. 115 Pixels are broken into red, green and blue components, and each component 120 information red, green, blue and transp fields. 125 blue components. The colormap is read-only for FB_VISUAL_STATIC_PSEUDOCOLOR 133 Pixels are broken into red, green and blue components, and each component 137 information red, green, blue and transp fields. 195 struct fb_bitfield blue; 248 blue, green and transp fields must be set to 0 by applications and ignored by 249 drivers. Drivers must fill the red, blue and green offsets to 0 and lengths 253 red, blue, green and transp fields must be set to 0 by applications and [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-netxbig.txt | 35 blue-power { 36 label = "netxbig:blue:power"; 54 blue-sata0 { 55 label = "netxbig:blue:sata0"; 73 blue-sata1 { 74 label = "netxbig:blue:sata1";
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91sam9g25-gardena-smart-gateway.dts | 40 led-power-blue { 41 label = "smartgw:power:blue"; 58 led-radio-blue { 59 label = "smartgw:radio:blue"; 76 led-internet-blue { 77 label = "smartgw:internet:blue";
|