Home
last modified time | relevance | path

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

12345678910>>...86

/Linux-v6.6/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dred.json4 "name": "Create RED with no flags",
7 "red"
15 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red limit 1M avpkt 1500 min 100K max 300K…
18 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb $",
27 "name": "Create RED with adaptive flag",
30 "red"
38 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red adaptive limit 1M avpkt 1500 min 100K…
41 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb adaptive $",
50 "name": "Create RED with ECN flag",
53 "red"
[all …]
/Linux-v6.6/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()
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-v6.6/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c80 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-v6.6/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-v6.6/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 red-sys {
95 label = "nsa310:red:sys";
102 red-hdd {
103 label = "nsa310:red:hdd";
110 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 red-sys {
83 label = "nsa310:red:sys";
90 red-hdd {
91 label = "nsa310:red:hdd";
98 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 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-v6.6/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-v6.6/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-v6.6/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,
190 var->red.offset = 0; in mc68x328fb_check_var()
191 var->red.length = 1; in mc68x328fb_check_var()
200 var->red.offset = 0; in mc68x328fb_check_var()
201 var->red.length = 8; in mc68x328fb_check_var()
211 var->red.offset = 0; in mc68x328fb_check_var()
212 var->red.length = 5; in mc68x328fb_check_var()
220 var->red.offset = 0; in mc68x328fb_check_var()
221 var->red.length = 5; in mc68x328fb_check_var()
[all …]
Dsbuslib.c120 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 …]
Dvfb.c74 static int vfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
178 var->red.offset = 0; in vfb_check_var()
179 var->red.length = 8; in vfb_check_var()
189 var->red.offset = 0; in vfb_check_var()
190 var->red.length = 5; in vfb_check_var()
198 var->red.offset = 0; in vfb_check_var()
199 var->red.length = 5; in vfb_check_var()
209 var->red.offset = 0; in vfb_check_var()
210 var->red.length = 8; in vfb_check_var()
219 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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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.
265 create_vrf r1 red 1102
268 ip -netns r1 link set eth1 vrf red up
274 # Route leak from blue to red
275 ip -netns r1 route add vrf blue ${H2_N2} dev red
[all …]
/Linux-v6.6/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";
/Linux-v6.6/tools/lib/
Drbtree.c3 Red Black Trees
16 * red-black trees properties: https://en.wikipedia.org/wiki/Rbtree
18 * 1) A node is either red or black
21 * 4) Both children of every red node are black
26 * consecutive red nodes in a path and every red node is therefore followed by
30 * We shall indicate color with case, where black nodes are uppercase and red
31 * nodes will be lowercase. Unknown color nodes shall be drawn as red within
64 static inline struct rb_node *rb_red_parent(struct rb_node *red) in rb_red_parent() argument
66 return (struct rb_node *)red->__rb_parent_color; in rb_red_parent()
92 * Loop invariant: node is red. in __rb_insert()
[all …]

12345678910>>...86