Home
last modified time | relevance | path

Searched full:red (Results 1 – 25 of 3351) sorted by relevance

12345678910>>...135

/linux-6.12.1/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dred.json4 "name": "Create RED with no flags",
7 "red"
14 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red limit 1M avpkt 1500 min 100K max 300K…
17 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb $",
25 "name": "Create RED with adaptive flag",
28 "red"
35 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red adaptive limit 1M avpkt 1500 min 100K…
38 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb adaptive $",
46 "name": "Create RED with ECN flag",
49 "red"
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c58 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()
182 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm3_helper_translate_curve_to_hw_format()
191 rgb_resulted[hw_points].red = output_tf->tf_pts.red[start_index]; in cm3_helper_translate_curve_to_hw_format()
195 rgb_resulted[hw_points+1].red = rgb_resulted[hw_points].red; in cm3_helper_translate_curve_to_hw_format()
200 corner_points[0].red.x = dc_fixpt_pow(dc_fixpt_from_int(2), in cm3_helper_translate_curve_to_hw_format()
202 corner_points[0].green.x = corner_points[0].red.x; in cm3_helper_translate_curve_to_hw_format()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c100 exp_region_start, params->corner_points[0].red.custom_float_x, in cm_helper_program_xfer_func()
108 field_region_linear_slope, params->corner_points[0].red.custom_float_slope); in cm_helper_program_xfer_func()
123 field_region_end, params->corner_points[1].red.custom_float_x); in cm_helper_program_xfer_func()
125 field_region_end_slope, params->corner_points[1].red.custom_float_slope, in cm_helper_program_xfer_func()
126 field_region_end_base, params->corner_points[1].red.custom_float_y); in cm_helper_program_xfer_func()
167 if (!convert_to_custom_float_format(corner_points[0].red.x, &fmt, in cm_helper_convert_to_custom_float()
168 &corner_points[0].red.custom_float_x)) { in cm_helper_convert_to_custom_float()
183 if (!convert_to_custom_float_format(corner_points[0].red.offset, &fmt, in cm_helper_convert_to_custom_float()
184 &corner_points[0].red.custom_float_offset)) { in cm_helper_convert_to_custom_float()
199 if (!convert_to_custom_float_format(corner_points[0].red.slope, &fmt, in cm_helper_convert_to_custom_float()
[all …]
/linux-6.12.1/Documentation/leds/
Dleds-mlxcpld.rst15 - mlxcpld:fan1:red
17 - mlxcpld:fan2:red
19 - mlxcpld:fan3:red
21 - mlxcpld:fan4:red
23 - mlxcpld:psu:red
25 - mlxcpld:status:red
57 - [0,1,0,1] = Red static ON
59 - [0,1,1,0] = Red blink 3Hz
61 - [0,1,1,1] = Red blink 6Hz
67 - mlxcpld:fan:red
[all …]
/linux-6.12.1/drivers/video/fbdev/mmp/fb/
Dmmpfb.c25 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-6.12.1/drivers/net/ethernet/netronome/nfp/abm/
Dqdisc.c7 #include <net/red.h>
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()
59 nfp_err(cpp, "RED stats (%d, %d) read failed with error %d\n", in nfp_abm_stats_update_red()
63 &qdisc->red.band[i].xstats); in nfp_abm_stats_update_red()
65 nfp_err(cpp, "RED xstats (%d, %d) read failed with error %d\n", 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()
154 "RED stats init (%d, %d) failed with error %d\n", in __nfp_abm_stats_init()
[all …]
Dmain.h43 * @red_support: is RED offload supported
142 * @red: RED Qdisc specific parameters and state
143 * @red.num_bands: Number of valid entries in the @red.band table
144 * @red.band: Per-band array of RED instances
145 * @red.band.ecn: ECN marking is enabled (rather than drop)
146 * @red.band.threshold: ECN marking threshold
147 * @red.band.stats: current stats of the RED Qdisc
148 * @red.band.prev_stats: previously reported @red.stats
149 * @red.band.xstats: extended stats for RED - current
150 * @red.band.prev_xstats: extended stats for RED - previously reported
[all …]
/linux-6.12.1/arch/arm/boot/dts/marvell/
Dkirkwood-nsa310.dts29 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 led-red-sys {
95 label = "nsa310:red:sys";
102 led-red-hdd {
103 label = "nsa310:red:hdd";
110 led-red-esata {
111 label = "nsa310:red:esata";
[all …]
Dkirkwood-nsa310a.dts8 * 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 led-red-sys {
83 label = "nsa310:red:sys";
90 led-red-hdd {
91 label = "nsa310:red:hdd";
98 led-red-esata {
99 label = "nsa310:red:esata";
[all …]
Dkirkwood-linkstation-lsqvl.dts62 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";
Dkirkwood-dns325.dts36 led-red-l_hdd {
37 label = "dns325:red:l_hdd";
40 led-red-r_hdd {
41 label = "dns325:red:r_hdd";
44 led-red-usb {
45 label = "dns325:red:usb";
/linux-6.12.1/drivers/video/fbdev/
D68328fb.c59 .red = { 0, 8, 0 },
90 static int mc68x328fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
189 var->red.offset = 0; in mc68x328fb_check_var()
190 var->red.length = 1; in mc68x328fb_check_var()
199 var->red.offset = 0; in mc68x328fb_check_var()
200 var->red.length = 8; in mc68x328fb_check_var()
210 var->red.offset = 0; in mc68x328fb_check_var()
211 var->red.length = 5; in mc68x328fb_check_var()
219 var->red.offset = 0; in mc68x328fb_check_var()
220 var->red.length = 5; in mc68x328fb_check_var()
[all …]
Dsbuslib.c121 u16 red, green, blue; in sbusfb_ioctl_helper() local
130 get_user(ured, &c->red) || in sbusfb_ioctl_helper()
136 cmap.red = &red; in sbusfb_ioctl_helper()
148 red = red8 << 8; in sbusfb_ioctl_helper()
166 u8 red, green, blue; in sbusfb_ioctl_helper() local
170 get_user(ured, &c->red) || in sbusfb_ioctl_helper()
179 red = cmap->red[index + i] >> 8; in sbusfb_ioctl_helper()
182 if (put_user(red, &ured[i]) || in sbusfb_ioctl_helper()
215 u16 red, green, blue; in sbusfb_compat_ioctl() local
224 ured = compat_ptr(c.red); in sbusfb_compat_ioctl()
[all …]
Dvfb.c74 static int vfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
175 var->red.offset = 0; in vfb_check_var()
176 var->red.length = 8; in vfb_check_var()
186 var->red.offset = 0; in vfb_check_var()
187 var->red.length = 5; in vfb_check_var()
195 var->red.offset = 0; in vfb_check_var()
196 var->red.length = 5; in vfb_check_var()
206 var->red.offset = 0; in vfb_check_var()
207 var->red.length = 8; in vfb_check_var()
216 var->red.offset = 0; in vfb_check_var()
[all …]
Dpxa168fb.c48 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 …]
Dmacfb.c52 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 …]
Docfb.c174 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 …]
/linux-6.12.1/tools/testing/selftests/drivers/net/mlxsw/
Dsch_offload.sh80 red limit 1000000 min 200000 max 300000 probability 0.5 avpkt 1500
197 for leaf in "" red tbf "red tbf" "tbf red"; do
209 for leaf in red tbf; do
210 do_test_nooffload $handle $parent $cont red tbf $leaf
211 do_test_nooffload $handle $parent $cont tbf red $leaf
213 for leaf in "red red" "tbf tbf"; do
246 log_test "root$tbfpfx-ETS-{RED,TBF} offloaded"
255 log_test "root$tbfpfx-ETS-{RED-TBF,TBF-RED} offloaded"
266 log_test "root$tbfpfx-ETS-{RED-TBF-bFIFO,TBF-RED-bFIFO} offloaded"
/linux-6.12.1/drivers/video/fbdev/core/
Dfbcmap.c64 .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-6.12.1/Documentation/networking/
Dvrf.rst191 …12: red: <NOARP,MASTER,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default …
206 red UP b6:6f:6e:f6:da:73 <NOARP,MASTER,UP,LOWER_UP>
236 $ ip link show vrf red
237 …3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master red state UP mode DEFA…
239 …4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master red state UP mode DEFA…
241 …7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master red state DOWN mode DEFAULT group defaul…
247 $ ip -br link show vrf red
263 $ ip neigh show vrf red
267 $ ip -6 neigh show vrf red
281 $ ip addr show vrf red
[all …]
/linux-6.12.1/Documentation/fb/
Dcmap_xfbdev.rst12 .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
Dapi.rst52 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.
124 Pixel values are encoded as indices into a colormap that stores red, green and
133 Pixels are broken into red, green and blue components, and each component
137 information red, green, blue and transp fields.
193 struct fb_bitfield red; /* bitfield in fb mem if true color, */
247 - For grayscale formats, applications set the grayscale field to one. The red,
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-6.12.1/tools/testing/selftests/net/
Dvrf_route_leaking.sh12 # blue red
21 # to the outgoing vrf red for the n2 network and red has a route back to n1.
22 # The red VRF interface has a MTU of 1400.
39 # because of the lack of a return route in the red VRF.
41 # blue red
54 # outgoing vrf red for the n2 network but red doesn't have a route back to n1.
259 create_vrf $r1 red 1102
262 ip -netns $r1 link set eth1 vrf red up
268 # Route leak from blue to red
269 ip -netns $r1 route add vrf blue ${H2_N2} dev red
[all …]
/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_disp_gamma.c95 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()
150 hwlut.red = drm_color_lut_extract(lut[n].red, lut_bits); in mtk_gamma_set()
156 word[0] = FIELD_PREP(DISP_GAMMA_LUT_12BIT_R, hwlut.red); in mtk_gamma_set()
160 word[0] = FIELD_PREP(DISP_GAMMA_LUT_10BIT_R, hwlut.red); in mtk_gamma_set()
165 diff.red = lut[n].red - lut[n - 1].red; in mtk_gamma_set()
166 diff.red = drm_color_lut_extract(diff.red, lut_bits); in mtk_gamma_set()
175 word[0] = FIELD_PREP(DISP_GAMMA_LUT_12BIT_R, diff.red); in mtk_gamma_set()
179 word[0] = FIELD_PREP(DISP_GAMMA_LUT_10BIT_R, diff.red); in mtk_gamma_set()
/linux-6.12.1/Documentation/devicetree/bindings/leds/
Dleds-cpcap.txt12 * "motorola,cpcap-led-red" (Red Triode)
24 cpcap_led_red: red-led {
25 compatible = "motorola,cpcap-led-red";
26 label = "cpcap:red";

12345678910>>...135