Home
last modified time | relevance | path

Searched full:alpha (Results 1 – 25 of 1011) sorted by relevance

12345678910>>...41

/linux-6.12.1/Documentation/gpu/amdgpu/display/
Ddisplay-manager.rst94 this DRM property and the alpha blending equations in :ref:`DRM Plane
97 Basically, a blend mode sets the alpha blending equation for plane
98 composition that fits the mode in which the alpha channel affects the state of
100 example, consider the following elements of the alpha blending equation:
103 - *fg.alpha*: Alpha component value from the foreground's pixel.
105 - *plane_alpha*: Plane alpha value set by the **plane "alpha" property**, see
108 in the basic alpha blending equation::
110 out.rgb = alpha * fg.rgb + (1 - alpha) * bg.rgb
112 the alpha channel value of each pixel in a plane is ignored and only the plane
113 alpha affects the resulted pixel color values.
[all …]
/linux-6.12.1/drivers/media/platform/renesas/vsp1/
Dvsp1_rpf.c171 * On Gen2 use the alpha channel (extended to 8 bits) when available or in rpf_configure_stream()
172 * a fixed alpha value set through the V4L2_CID_ALPHA_COMPONENT control in rpf_configure_stream()
175 * The Gen3+ RPF has extended alpha capability and can both multiply the in rpf_configure_stream()
176 * alpha channel by a fixed global alpha value, and multiply the pixel in rpf_configure_stream()
177 * components to convert the input to premultiplied alpha. in rpf_configure_stream()
179 * As alpha premultiplication is available in the BRx for both Gen2 and in rpf_configure_stream()
180 * Gen3+ we handle it there and use the Gen3 alpha multiplier for global in rpf_configure_stream()
181 * alpha multiplication only. This however prevents conversion to in rpf_configure_stream()
182 * premultiplied alpha if no BRx is present in the pipeline. If that use in rpf_configure_stream()
186 * We enable alpha multiplication on Gen3+ using the fixed alpha value in rpf_configure_stream()
[all …]
/linux-6.12.1/arch/alpha/
DMakefile2 # alpha/Makefile
35 libs-y += arch/alpha/lib/
37 # export what is needed by arch/alpha/boot/Makefile
41 boot := arch/alpha/boot
53 $(Q)$(MAKE) $(build)=arch/alpha/kernel/syscalls all
56 echo '* boot - Compressed kernel image (arch/alpha/boot/vmlinux.gz)'
57 echo ' bootimage - SRM bootable image (arch/alpha/boot/bootimage)'
58 echo ' bootpfile - BOOTP bootable image (arch/alpha/boot/bootpfile)'
59 echo ' bootpzfile - compressed kernel BOOTP image (arch/alpha/boot/bootpzfile)'
DKconfig2 config ALPHA config
43 The Alpha is a 64-bit general-purpose processor designed and
45 now Hewlett-Packard. The Alpha Linux project has a home page at
81 prompt "Alpha system type"
85 run on any supported Alpha system. However, if you configure a
88 To find out what type of Alpha system you have, you may want to
89 check out the Linux/Alpha FAQ, accessible on the WWW from
92 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366
116 A generic kernel will run on all supported Alpha hardware.
119 bool "Alcor/Alpha-XLT"
[all …]
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dvidioc-g-fbuf.rst227 - The device supports clipping/blending using the alpha channel of
228 the framebuffer or VGA signal. Alpha blending makes no sense for
232 - The device supports alpha blending using a global alpha value.
233 Alpha blending makes no sense for destructive overlays.
236 - The device supports clipping/blending using the inverted alpha
237 channel of the framebuffer or VGA signal. Alpha blending makes no
289 - Use the alpha channel of the framebuffer to clip or blend
291 output = framebuffer pixel * alpha + video pixel * (1 - alpha).
292 The actual alpha depth depends on the framebuffer pixel format.
295 - Use a global alpha value to blend the framebuffer with video
[all …]
/linux-6.12.1/net/ipv4/
Dtcp_illinois.c50 u32 alpha; /* Additive increase */ member
73 ca->alpha = ALPHA_MAX; in tcp_illinois_init()
97 /* ignore bogus values, this prevents wraparound in alpha math */ in tcp_illinois_acked()
129 * Compute value of alpha used for additive increase.
134 * then use large alpha (10.0) to increase faster.
136 * then use small alpha (0.3)
140 static u32 alpha(struct illinois *ca, u32 da, u32 dm) in alpha() function
149 /* Wait for 5 good RTT's before allowing alpha to go alpha max. in alpha()
153 return ca->alpha; in alpha()
174 * alpha = ---------- in alpha()
[all …]
Dtcp_dctcp.c77 MODULE_PARM_DESC(dctcp_alpha_on_init, "parameter for initial alpha value");
136 u32 alpha = ca->dctcp_alpha; in dctcp_update_alpha() local
152 /* alpha = (1 - g) * alpha + g * F */ in dctcp_update_alpha()
154 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in dctcp_update_alpha()
163 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in dctcp_update_alpha()
169 WRITE_ONCE(ca->dctcp_alpha, alpha); in dctcp_update_alpha()
Dtcp_htcp.c27 u32 alpha; /* Fixed point arith, << 7 */ member
127 if (ca->packetcount >= tcp_snd_cwnd(tp) - (ca->alpha >> 7 ? : 1) && in measure_achieved_throughput()
194 ca->alpha = 2 * factor * ((1 << 7) - ca->beta); in htcp_alpha_update()
195 if (!ca->alpha) in htcp_alpha_update()
196 ca->alpha = ALPHA_BASE; in htcp_alpha_update()
243 * In theory this is tp->snd_cwnd += alpha / tp->snd_cwnd in htcp_cong_avoid()
245 if ((tp->snd_cwnd_cnt * ca->alpha)>>7 >= tcp_snd_cwnd(tp)) { in htcp_cong_avoid()
262 ca->alpha = ALPHA_BASE; in htcp_init()
/linux-6.12.1/Documentation/devicetree/bindings/iio/afe/
Dtemperature-sense-rtd.yaml24 R(T) = r0 * (1 + alpha * T)
25 T = 1 / (alpha * r0 * iexc) * (V - r0 * iexc)
62 alpha-ppm-per-celsius:
64 alpha can also be expressed in micro-ohms per ohm Celsius. It's a linear
68 alpha = (R_100 - R_0) / (100 * R_0)
74 Pure platinum has an alpha of 3925. Industry standards such as IEC60751
75 and ASTM E-1137 specify an alpha of 3850.
87 - alpha-ppm-per-celsius
98 alpha-ppm-per-celsius = <3908>;
Dtemperature-transducer.yaml26 T = (Isense(T) / alpha) + offset
27 T = 1 / (Rsense * alpha) * (V + offset * Rsense * alpha)
78 alpha-ppm-per-celsius:
82 alpha is expressed in parts per million which can be micro-amps per
92 - alpha-ppm-per-celsius
103 alpha-ppm-per-celsius = <1>; /* 1 uA/K */
112 alpha-ppm-per-celsius = <4000>; /* 4 mV/K */
/linux-6.12.1/drivers/gpu/drm/imx/dcss/
Ddcss-dtg.c91 u32 alpha; member
172 dtg->alpha = 255; in dcss_dtg_init()
175 ((dtg->alpha << DEFAULT_FG_ALPHA_POS) & DEFAULT_FG_ALPHA_MASK); in dcss_dtg_init()
264 bool dcss_dtg_global_alpha_changed(struct dcss_dtg *dtg, int ch_num, int alpha) in dcss_dtg_global_alpha_changed() argument
269 return alpha != dtg->alpha; in dcss_dtg_global_alpha_changed()
273 const struct drm_format_info *format, int alpha) in dcss_dtg_plane_alpha_set() argument
275 /* we care about alpha only when channel 0 is concerned */ in dcss_dtg_plane_alpha_set()
280 * Use global alpha if pixel format does not have alpha channel or the in dcss_dtg_plane_alpha_set()
281 * user explicitly chose to use global alpha (i.e. alpha is not OPAQUE). in dcss_dtg_plane_alpha_set()
283 if (!format->has_alpha || alpha != 255) in dcss_dtg_plane_alpha_set()
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
Dia_css_xnr3.host.c25 /* Maximum value for alpha on ISP interface */
74 * Compute an alpha value for the ISP kernel from sigma value on the host
80 s32 alpha; in compute_alpha() local
84 alpha = XNR_MAX_ALPHA; in compute_alpha()
86 alpha = ((IA_CSS_XNR3_SIGMA_SCALE * XNR_ALPHA_SCALE_FACTOR) + offset) / sigma; in compute_alpha()
88 if (alpha > XNR_MAX_ALPHA) in compute_alpha()
89 alpha = XNR_MAX_ALPHA; in compute_alpha()
92 return alpha; in compute_alpha()
167 /* alpha's are represented in qN.5 format */ in ia_css_xnr3_encode()
168 to->alpha.y0 = alpha_y0; in ia_css_xnr3_encode()
[all …]
/linux-6.12.1/drivers/gpu/drm/
Ddrm_blend.c94 * alpha:
95 * Alpha is setup with drm_plane_create_alpha_property(). It controls the
97 * combined with pixel alpha.
99 * pre-multiplied by the global alpha associated to the plane.
144 * It adds a blend mode for alpha blending equation selection, describing
148 * Three alpha blending equations are defined:
151 * Blend formula that ignores the pixel alpha::
158 * have been already pre-multiplied with the alpha
162 * (1 - (plane_alpha * fg.alpha)) * bg.rgb
169 * out.rgb = plane_alpha * fg.alpha * fg.rgb +
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/display/
Dxylon,logicvc-display.yaml145 xylon,layer-alpha-mode:
147 # Alpha is configured layer-wide (C_LAYER_X_ALPHA_MODE == 0)
149 # Alpha is configured per-pixel (C_LAYER_X_ALPHA_MODE == 1)
151 description: Alpha mode for the layer (C_LAYER_X_ALPHA_MODE).
177 - xylon,layer-alpha-mode
248 xylon,layer-alpha-mode = "layer";
258 xylon,layer-alpha-mode = "layer";
267 xylon,layer-alpha-mode = "layer";
276 xylon,layer-alpha-mode = "layer";
285 xylon,layer-alpha-mode = "layer";
/linux-6.12.1/drivers/accessibility/speakup/
Dmain.c205 PUNC, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* `abcdefg */
206 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* hijklmno */
207 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* pqrstuvw */
208 ALPHA, ALPHA, ALPHA, PUNC, PUNC, PUNC, PUNC, 0, /* xyz{|}~ */
225 A_CAP, A_CAP, A_CAP, A_CAP, A_CAP, A_CAP, A_CAP, ALPHA, /* 216-223 */
226 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* 224-231 */
227 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* 232-239 */
228 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, B_SYM, /* 240-247 */
229 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA /* 248-255 */
1098 char_type = ALPHA; in spkup_write()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dbpf_dctcp.c133 __u32 alpha = ca->dctcp_alpha; in BPF_PROG() local
135 /* alpha = (1 - g) * alpha + g * F */ in BPF_PROG()
137 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in BPF_PROG()
147 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in BPF_PROG()
149 ca->dctcp_alpha = alpha; in BPF_PROG()
/linux-6.12.1/tools/arch/alpha/include/uapi/asm/
Dmman.h38 /* MADV_HWPOISON is undefined on alpha, fix it for perf */
40 /* MADV_SOFT_OFFLINE is undefined on alpha, fix it for perf */
42 /* MAP_32BIT is undefined on alpha, fix it for perf */
44 /* MAP_UNINITIALIZED is undefined on alpha, fix it for perf */
/linux-6.12.1/drivers/gpu/drm/logicvc/
Dlogicvc_layer.c41 * What we call depth in this driver only counts color components, not alpha.
64 .alpha = true,
189 /* Layer alpha */ in logicvc_plane_atomic_update()
194 u32 alpha; in logicvc_plane_atomic_update() local
213 alpha = new_state->alpha * alpha_max / DRM_BLEND_ALPHA_OPAQUE; in logicvc_plane_atomic_update()
215 drm_dbg_kms(drm_dev, "Setting layer %d alpha to %d/%d\n", index, in logicvc_plane_atomic_update()
216 alpha, alpha_max); in logicvc_plane_atomic_update()
219 alpha); in logicvc_plane_atomic_update()
355 bool alpha; in logicvc_layer_formats_lookup() local
358 alpha = (layer->config.alpha_mode == LOGICVC_LAYER_ALPHA_PIXEL); in logicvc_layer_formats_lookup()
[all …]
/linux-6.12.1/drivers/i3c/master/
DKconfig6 depends on !(ALPHA || PARISC)
14 depends on !(ALPHA || PARISC)
15 # ALPHA and PARISC needs {read,write}sl()
43 depends on !(ALPHA || PARISC)
/linux-6.12.1/drivers/gpu/drm/rockchip/
Drockchip_drm_vop2.c2082 static bool is_opaque(u16 alpha) in is_opaque() argument
2084 return (alpha >> 8) == 0xff; in is_opaque()
2088 struct vop2_alpha *alpha) in vop2_parse_alpha() argument
2097 alpha->src_color_ctrl.val = 0; in vop2_parse_alpha()
2098 alpha->dst_color_ctrl.val = 0; in vop2_parse_alpha()
2099 alpha->src_alpha_ctrl.val = 0; in vop2_parse_alpha()
2100 alpha->dst_alpha_ctrl.val = 0; in vop2_parse_alpha()
2103 alpha->src_color_ctrl.bits.blend_mode = ALPHA_GLOBAL; in vop2_parse_alpha()
2105 alpha->src_color_ctrl.bits.blend_mode = ALPHA_PER_PIX; in vop2_parse_alpha()
2107 alpha->src_color_ctrl.bits.blend_mode = ALPHA_PER_PIX_GLOBAL; in vop2_parse_alpha()
[all …]
/linux-6.12.1/net/sched/
Dsch_pie.c176 WRITE_ONCE(q->params.alpha, nla_get_u32(tb[TCA_PIE_ALPHA])); in pie_change()
306 u64 alpha, beta; in pie_calculate_probability() local
329 /* In the algorithm, alpha and beta are between 0 and 2 with typical in pie_calculate_probability()
330 * value for alpha as 0.125. In this implementation, we use values 0-32 in pie_calculate_probability()
331 * passed from user space to represent this. Also, alpha and beta have in pie_calculate_probability()
333 * probability. alpha/beta are updated locally below by scaling down in pie_calculate_probability()
336 alpha = ((u64)params->alpha * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4; in pie_calculate_probability()
339 /* We scale alpha and beta differently depending on how heavy the in pie_calculate_probability()
343 alpha >>= 1; in pie_calculate_probability()
349 alpha >>= 2; in pie_calculate_probability()
[all …]
/linux-6.12.1/tools/testing/kunit/qemu_configs/
Dalpha.py3 QEMU_ARCH = QemuArchParams(linux_arch='alpha',
7 qemu_arch='alpha',
8 kernel_path='arch/alpha/boot/vmlinux',
/linux-6.12.1/arch/alpha/lib/
Dev67-strlen.S3 * arch/alpha/lib/ev67-strlen.S
4 * 21264 version by Rick Gorton <rick.gorton@alpha-processor.com>
7 * Alpha architecture:
13 * Compiler Writer's Guide for the Alpha 21264
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmpc.h30 * that performs blending of multiple planes, using global and per-pixel alpha.
47 * - Alpha blending of multiple layers from different DPP pipes;
78 * enum mpcc_alpha_blend_mode - define the alpha blend mode regarding pixel
79 * alpha and plane alpha values
83 * @MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA: per pixel alpha using DPP
84 * alpha value
89 * pixel alpha using DPP alpha value multiplied by a global gain (plane
90 * alpha)
94 * @MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA: global alpha value, ignores
95 * pixel alpha and consider only plane alpha
[all …]
/linux-6.12.1/samples/ftrace/
Dsample-trace-array.h30 * TRACE_SYSTEM is expected to be a C valid variable (alpha-numeric
38 * But the above is only needed if TRACE_SYSTEM is not alpha-numeric
40 * TRACE_SYSTEM. As TRACE_SYSTEM_VAR must be alpha-numeric, if
42 * only alpha-numeric and underscores.

12345678910>>...41