Home
last modified time | relevance | path

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

12345678910>>...38

/Linux-v6.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-v6.1/drivers/media/platform/renesas/vsp1/
Dvsp1_rpf.c132 * On Gen2 use the alpha channel (extended to 8 bits) when available or in rpf_configure_stream()
133 * a fixed alpha value set through the V4L2_CID_ALPHA_COMPONENT control in rpf_configure_stream()
136 * The Gen3 RPF has extended alpha capability and can both multiply the in rpf_configure_stream()
137 * alpha channel by a fixed global alpha value, and multiply the pixel in rpf_configure_stream()
138 * components to convert the input to premultiplied alpha. in rpf_configure_stream()
140 * As alpha premultiplication is available in the BRx for both Gen2 and in rpf_configure_stream()
141 * Gen3 we handle it there and use the Gen3 alpha multiplier for global in rpf_configure_stream()
142 * alpha multiplication only. This however prevents conversion to in rpf_configure_stream()
143 * premultiplied alpha if no BRx is present in the pipeline. If that use in rpf_configure_stream()
147 * We enable alpha multiplication on Gen3 using the fixed alpha value in rpf_configure_stream()
[all …]
/Linux-v6.1/tools/testing/selftests/net/
Dioam6.sh11 # and INPUT tests only use a two-node topology (alpha and beta), while GLOBAL
12 # tests use the entire three-node topology (alpha, beta, gamma). Each test is
15 # An IOAM domain is configured from Alpha to Gamma but not on the reverse path.
17 # Alpha adds an IOAM option (Pre-allocated Trace) inside a Hop-by-hop.
22 # | Alpha netns | | Gamma netns |
47 # | Alpha - IOAM configuration |
131 ALPHA=(
265 ip link del ioam-veth-alpha 2>/dev/null || true
268 ip netns del ioam-node-alpha || true
280 ip netns add ioam-node-alpha
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmpc.h29 * that performs blending of multiple planes, using global and per-pixel alpha.
62 * enum mpcc_alpha_blend_mode - define the alpha blend mode regarding pixel
63 * alpha and plane alpha values
67 * @MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA: per pixel alpha using DPP
68 * alpha value
73 * pixel alpha using DPP alpha value multiplied by a global gain (plane
74 * alpha)
78 * @MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA: global alpha value, ignores
79 * pixel alpha and consider only plane alpha
88 * @alpha_mode: alpha blend mode (MPCC_ALPHA_BLND_MODE)
[all …]
/Linux-v6.1/arch/alpha/
DMakefile2 # alpha/Makefile
39 libs-y += arch/alpha/lib/
41 # export what is needed by arch/alpha/boot/Makefile
45 boot := arch/alpha/boot
57 $(Q)$(MAKE) $(build)=arch/alpha/kernel/syscalls all
60 echo '* boot - Compressed kernel image (arch/alpha/boot/vmlinux.gz)'
61 echo ' bootimage - SRM bootable image (arch/alpha/boot/bootimage)'
62 echo ' bootpfile - BOOTP bootable image (arch/alpha/boot/bootpfile)'
63 echo ' bootpzfile - compressed kernel BOOTP image (arch/alpha/boot/bootpzfile)'
DKconfig2 config ALPHA config
39 The Alpha is a 64-bit general-purpose processor designed and
41 now Hewlett-Packard. The Alpha Linux project has a home page at
77 prompt "Alpha system type"
81 run on any supported Alpha system. However, if you configure a
84 To find out what type of Alpha system you have, you may want to
85 check out the Linux/Alpha FAQ, accessible on the WWW from
88 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366
89 Alpha-XL XL-233, XL-266
90 AlphaBook1 Alpha laptop
[all …]
/Linux-v6.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.c65 MODULE_PARM_DESC(dctcp_alpha_on_init, "parameter for initial alpha value");
121 u32 alpha = ca->dctcp_alpha; in dctcp_update_alpha() local
123 /* alpha = (1 - g) * alpha + g * F */ in dctcp_update_alpha()
125 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in dctcp_update_alpha()
135 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in dctcp_update_alpha()
141 WRITE_ONCE(ca->dctcp_alpha, alpha); in dctcp_update_alpha()
/Linux-v6.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-v6.1/Documentation/userspace-api/media/v4l/
Dvidioc-g-fbuf.rst240 - The device supports clipping/blending using the alpha channel of
241 the framebuffer or VGA signal. Alpha blending makes no sense for
245 - The device supports alpha blending using a global alpha value.
246 Alpha blending makes no sense for destructive overlays.
249 - The device supports clipping/blending using the inverted alpha
250 channel of the framebuffer or VGA signal. Alpha blending makes no
302 - Use the alpha channel of the framebuffer to clip or blend
304 output = framebuffer pixel * alpha + video pixel * (1 - alpha).
305 The actual alpha depth depends on the framebuffer pixel format.
308 - Use a global alpha value to blend the framebuffer with video
[all …]
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-v6.1/drivers/gpu/drm/imx/dcss/
Ddcss-dtg.c91 u32 alpha; member
173 dtg->alpha = 255; in dcss_dtg_init()
176 ((dtg->alpha << DEFAULT_FG_ALPHA_POS) & DEFAULT_FG_ALPHA_MASK); in dcss_dtg_init()
280 bool dcss_dtg_global_alpha_changed(struct dcss_dtg *dtg, int ch_num, int alpha) in dcss_dtg_global_alpha_changed() argument
285 return alpha != dtg->alpha; in dcss_dtg_global_alpha_changed()
289 const struct drm_format_info *format, int alpha) in dcss_dtg_plane_alpha_set() argument
291 /* we care about alpha only when channel 0 is concerned */ in dcss_dtg_plane_alpha_set()
296 * Use global alpha if pixel format does not have alpha channel or the in dcss_dtg_plane_alpha_set()
297 * user explicitly chose to use global alpha (i.e. alpha is not OPAQUE). in dcss_dtg_plane_alpha_set()
299 if (!format->has_alpha || alpha != 255) in dcss_dtg_plane_alpha_set()
[all …]
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
Dia_css_xnr3.host.c23 /* Maximum value for alpha on ISP interface */
72 * Compute an alpha value for the ISP kernel from sigma value on the host
78 s32 alpha; in compute_alpha() local
82 alpha = XNR_MAX_ALPHA; in compute_alpha()
84 alpha = ((IA_CSS_XNR3_SIGMA_SCALE * XNR_ALPHA_SCALE_FACTOR) + offset) / sigma; in compute_alpha()
86 if (alpha > XNR_MAX_ALPHA) in compute_alpha()
87 alpha = XNR_MAX_ALPHA; in compute_alpha()
90 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-v6.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-v6.1/drivers/gpu/drm/rockchip/
Drockchip_drm_vop2.c1649 static bool is_opaque(u16 alpha) in is_opaque() argument
1651 return (alpha >> 8) == 0xff; in is_opaque()
1655 struct vop2_alpha *alpha) in vop2_parse_alpha() argument
1664 alpha->src_color_ctrl.val = 0; in vop2_parse_alpha()
1665 alpha->dst_color_ctrl.val = 0; in vop2_parse_alpha()
1666 alpha->src_alpha_ctrl.val = 0; in vop2_parse_alpha()
1667 alpha->dst_alpha_ctrl.val = 0; in vop2_parse_alpha()
1670 alpha->src_color_ctrl.bits.blend_mode = ALPHA_GLOBAL; in vop2_parse_alpha()
1672 alpha->src_color_ctrl.bits.blend_mode = ALPHA_PER_PIX; in vop2_parse_alpha()
1674 alpha->src_color_ctrl.bits.blend_mode = ALPHA_PER_PIX_GLOBAL; in vop2_parse_alpha()
[all …]
/Linux-v6.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-v6.1/drivers/accessibility/speakup/
Dmain.c204 PUNC, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* `abcdefg */
205 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* hijklmno */
206 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* pqrstuvw */
207 ALPHA, ALPHA, ALPHA, PUNC, PUNC, PUNC, PUNC, 0, /* xyz{|}~ */
224 A_CAP, A_CAP, A_CAP, A_CAP, A_CAP, A_CAP, A_CAP, ALPHA, /* 216-223 */
225 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* 224-231 */
226 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* 232-239 */
227 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, B_SYM, /* 240-247 */
228 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA /* 248-255 */
1097 char_type = ALPHA; in spkup_write()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dbpf_dctcp.c126 __u32 alpha = ca->dctcp_alpha; in BPF_PROG() local
128 /* alpha = (1 - g) * alpha + g * F */ in BPF_PROG()
130 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in BPF_PROG()
140 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in BPF_PROG()
142 ca->dctcp_alpha = alpha; in BPF_PROG()
/Linux-v6.1/drivers/i3c/master/
DKconfig6 depends on !(ALPHA || PARISC)
14 depends on !(ALPHA || PARISC)
15 # ALPHA and PARISC needs {read,write}sl()
29 depends on !(ALPHA || PARISC)
/Linux-v6.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-v6.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-v6.1/net/sched/
Dsch_pie.c175 q->params.alpha = nla_get_u32(tb[TCA_PIE_ALPHA]); in pie_change()
304 u64 alpha, beta; in pie_calculate_probability() local
327 /* In the algorithm, alpha and beta are between 0 and 2 with typical in pie_calculate_probability()
328 * value for alpha as 0.125. In this implementation, we use values 0-32 in pie_calculate_probability()
329 * passed from user space to represent this. Also, alpha and beta have in pie_calculate_probability()
331 * probability. alpha/beta are updated locally below by scaling down in pie_calculate_probability()
334 alpha = ((u64)params->alpha * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4; in pie_calculate_probability()
337 /* We scale alpha and beta differently depending on how heavy the in pie_calculate_probability()
341 alpha >>= 1; in pie_calculate_probability()
347 alpha >>= 2; in pie_calculate_probability()
[all …]
/Linux-v6.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-v6.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

12345678910>>...38