Home
last modified time | relevance | path

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

12345678910>>...31

/linux/Documentation/gpu/amdgpu/display/
H A 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 …]
H A Dmpo-overview.rst81 * Only overlay planes have alpha blending support
140 (i.e., set the alpha to zero). The primary plane video will be visible through
153 (i.e., set the alpha to zero). The primary plane videos will be visible through
169 - ``kms_plane_alpha_blend@pipe-*-alpha-basic``
170 - ``kms_plane_alpha_blend@pipe-*-alpha-transparant-fb``
171 - ``kms_plane_alpha_blend@pipe-*-alpha-opaque-fb``
172 - ``kms_plane_alpha_blend@pipe-*-constant-alpha-min``
173 - ``kms_plane_alpha_blend@pipe-*-constant-alpha-mid``
174 - ``kms_plane_alpha_blend@pipe-*-constant-alpha-max``
/linux/Documentation/userspace-api/media/v4l/
H A 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 …]
H A Dpixfmt-rgb.rst17 presence of an alpha component or additional padding bits.
19 The usage and value of the alpha bits in formats that support them (named ARGB
20 or a permutation thereof, collectively referred to as alpha formats) depend on
22 (including capture queues of mem-to-mem devices) fill the alpha component in
23 memory. When the device captures an alpha channel the alpha component will have
24 a meaningful value. Otherwise, when the device doesn't capture an alpha channel
25 but can set the alpha bit to a user-configurable value, the
26 :ref:`V4L2_CID_ALPHA_COMPONENT <v4l2-alpha-component>` control is used to
27 specify that alpha value, and the alpha component of all pixels will be set to
29 an alpha component (XRGB or XBGR) must be used instead of an alpha format.
[all …]
/linux/arch/alpha/
H A 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)'
/linux/net/ipv4/
H A 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 …]
H A 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()
H A 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/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
H A Dia_css_xnr3.host.c16 /* Maximum value for alpha on ISP interface */
65 * Compute an alpha value for the ISP kernel from sigma value on the host
71 s32 alpha; in compute_alpha() local
75 alpha = XNR_MAX_ALPHA; in compute_alpha()
77 alpha = ((IA_CSS_XNR3_SIGMA_SCALE * XNR_ALPHA_SCALE_FACTOR) + offset) / sigma; in compute_alpha()
79 if (alpha > XNR_MAX_ALPHA) in compute_alpha()
80 alpha = XNR_MAX_ALPHA; in compute_alpha()
83 return alpha; in compute_alpha()
158 /* alpha's are represented in qN.5 format */ in ia_css_xnr3_encode()
159 to->alpha.y0 = alpha_y0; in ia_css_xnr3_encode()
[all …]
/linux/Documentation/devicetree/bindings/iio/afe/
H A 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>;
H A 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/tools/testing/selftests/net/
H A Dlwt_dst_cache_ref_loop.sh85 setup_ns alpha beta gamma &>/dev/null
87 ip link add name veth-alpha netns $alpha type veth \
93 ip -netns $alpha link set veth-alpha name veth0 &>/dev/null
98 ip -netns $alpha addr add 2001:db8:1::2/64 dev veth0 &>/dev/null
99 ip -netns $alpha link set veth0 up &>/dev/null
100 ip -netns $alpha link set lo up &>/dev/null
101 ip -netns $alpha route add 2001:db8:2::/64 \
122 ip netns exec $alpha ping6 -c 5 -W 1 2001:db8:2::2 &>/dev/null
133 cleanup_ns $alpha $beta $gamma
191 ip netns exec $alpha ping6 -c 2 -W 1 2001:db8:2::2 &>/dev/null
[all …]
/linux/Documentation/devicetree/bindings/display/
H A 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/drivers/accessibility/speakup/
H A 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/tools/testing/selftests/bpf/progs/
H A 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/drivers/gpu/drm/logicvc/
H A 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/tools/arch/alpha/include/uapi/asm/
H A 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/net/sched/
H A Dsch_pie.c179 WRITE_ONCE(q->params.alpha, nla_get_u32(tb[TCA_PIE_ALPHA])); in pie_change()
311 u64 alpha, beta; in pie_calculate_probability() local
334 /* In the algorithm, alpha and beta are between 0 and 2 with typical in pie_calculate_probability()
335 * value for alpha as 0.125. In this implementation, we use values 0-32 in pie_calculate_probability()
336 * passed from user space to represent this. Also, alpha and beta have in pie_calculate_probability()
338 * probability. alpha/beta are updated locally below by scaling down in pie_calculate_probability()
341 alpha = ((u64)params->alpha * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4; in pie_calculate_probability()
344 /* We scale alpha and beta differently depending on how heavy the in pie_calculate_probability()
348 alpha >>= 1; in pie_calculate_probability()
354 alpha >>= 2; in pie_calculate_probability()
[all …]
/linux/arch/alpha/lib/
H A 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/drivers/i3c/master/
H A DKconfig5 depends on !(ALPHA || PARISC)
12 depends on !(ALPHA || PARISC)
13 # ALPHA and PARISC needs {read,write}sl()
40 depends on !(ALPHA || PARISC)
/linux/tools/testing/kunit/qemu_configs/
H A Dalpha.py3 QEMU_ARCH = QemuArchParams(linux_arch='alpha',
7 qemu_arch='alpha',
8 kernel_path='arch/alpha/boot/vmlinux',
/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_backend.c38 /* alpha at the lowest z position is not always supported */
264 val = SUN4I_BACKEND_ATTCTL_REG0_LAY_GLBALPHA(state->alpha >> 8); in sun4i_backend_update_layer_formats()
265 if (state->alpha != DRM_BLEND_ALPHA_OPAQUE) in sun4i_backend_update_layer_formats()
426 * support for an alpha component (which the frontend doesn't support). in sun4i_backend_plane_uses_frontend()
514 if (fb->format->has_alpha || (plane_state->alpha != DRM_BLEND_ALPHA_OPAQUE)) in sun4i_backend_atomic_check()
541 * The second step is the actual alpha blending, that takes in sun4i_backend_atomic_check()
542 * the two pipes as input, and uses the potential alpha in sun4i_backend_atomic_check()
546 * robust alpha blending between the 4 layers in all in sun4i_backend_atomic_check()
548 * with alpha at the lowest position of our two pipes. in sun4i_backend_atomic_check()
552 * pipe (pipe 0, priority 0), if it has any alpha, will in sun4i_backend_atomic_check()
[all …]
/linux/samples/ftrace/
H A 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.
/linux/include/uapi/asm-generic/
H A Dsignal-defs.h38 /* 0x00000008 used on alpha, mips, parisc */
39 /* 0x00000010 used on alpha, parisc */
40 /* 0x00000020 used on alpha, parisc, sparc */
41 /* 0x00000040 used on alpha, parisc */
/linux/drivers/gpu/drm/tegra/
H A Dplane.c554 unsigned int *alpha) in tegra_plane_format_get_alpha() argument
557 *alpha = opaque; in tegra_plane_format_get_alpha()
563 *alpha = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format_get_alpha()
567 *alpha = WIN_COLOR_DEPTH_A1B5G5R5; in tegra_plane_format_get_alpha()
571 *alpha = WIN_COLOR_DEPTH_R8G8B8A8; in tegra_plane_format_get_alpha()
575 *alpha = WIN_COLOR_DEPTH_B8G8R8A8; in tegra_plane_format_get_alpha()
579 *alpha = opaque; in tegra_plane_format_get_alpha()
588 * be emulated using the alpha formats and alpha blending disabled.
685 state->blending[index].alpha = true; in tegra_plane_update_transparency()
687 state->blending[index].alpha = false; in tegra_plane_update_transparency()

12345678910>>...31