Home
last modified time | relevance | path

Searched refs:alpha (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/Linux-v6.1/tools/testing/selftests/net/
Dioam6.sh265 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
284 ip link add name ioam-veth-alpha netns ioam-node-alpha type veth \
289 ip -netns ioam-node-alpha link set ioam-veth-alpha name veth0
294 ip -netns ioam-node-alpha addr add db01::2/64 dev veth0
295 ip -netns ioam-node-alpha link set veth0 up
296 ip -netns ioam-node-alpha link set lo up
297 ip -netns ioam-node-alpha route add db02::/64 via db01::1 dev veth0
298 ip -netns ioam-node-alpha route del db01::/64
[all …]
/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/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
Dia_css_xnr3.host.c78 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()
168 to->alpha.y0 = alpha_y0; in ia_css_xnr3_encode()
169 to->alpha.u0 = alpha_u0; in ia_css_xnr3_encode()
170 to->alpha.v0 = alpha_v0; in ia_css_xnr3_encode()
171 to->alpha.ydiff = min(max(alpha_ydiff, min_diff), max_diff); in ia_css_xnr3_encode()
[all …]
/Linux-v6.1/net/ipv4/
Dtcp_illinois.c50 u32 alpha; /* Additive increase */ member
73 ca->alpha = ALPHA_MAX; in tcp_illinois_init()
140 static u32 alpha(struct illinois *ca, u32 da, u32 dm) in alpha() function
153 return ca->alpha; in alpha()
228 ca->alpha = ALPHA_BASE; in update_params()
234 ca->alpha = alpha(ca, da, dm); in update_params()
249 ca->alpha = ALPHA_BASE; in tcp_illinois_state()
286 delta = (tp->snd_cwnd_cnt * ca->alpha) >> ALPHA_SHIFT; in tcp_illinois_cong_avoid()
Dtcp_dctcp.c121 u32 alpha = ca->dctcp_alpha; in dctcp_update_alpha() local
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()
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()
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()
Dtcp_vegas.c44 static int alpha = 2; variable
48 module_param(alpha, int, 0644);
49 MODULE_PARM_DESC(alpha, "lower bound of packets in network");
261 } else if (diff < alpha) { in tcp_vegas_cong_avoid()
/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/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
299 if (!format->has_alpha || alpha != 255) in dcss_dtg_plane_alpha_set()
300 dtg->alpha_cfg = (alpha << DEFAULT_FG_ALPHA_POS) & DEFAULT_FG_ALPHA_MASK; in dcss_dtg_plane_alpha_set()
304 dtg->alpha = alpha; in dcss_dtg_plane_alpha_set()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dbpf_dctcp.c126 __u32 alpha = ca->dctcp_alpha; in BPF_PROG() local
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/kernel/bpf/
Dtnum.c76 u64 dv, alpha, beta, chi, mu; in tnum_sub() local
79 alpha = dv + a.mask; in tnum_sub()
81 chi = alpha ^ beta; in tnum_sub()
88 u64 alpha, beta, v; in tnum_and() local
90 alpha = a.value | a.mask; in tnum_and()
93 return TNUM(v, alpha & beta & ~v); in tnum_and()
/Linux-v6.1/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_plane.c88 unsigned int alpha = DCU_LAYER_AB_NONE, bpp; in fsl_dcu_drm_plane_atomic_update() local
108 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update()
114 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update()
120 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update()
144 alpha); in fsl_dcu_drm_plane_atomic_update()
/Linux-v6.1/Documentation/translations/zh_CN/mm/
Dactive_mm.rst81 变了接口以适配alpha(谁会想到呢,但alpha体系结构上下文切换代码实际上最终是
82 最丑陋的之一--不像其他架构的MM和寄存器状态是分开的,alpha的PALcode将两者
/Linux-v6.1/arch/alpha/
DMakefile39 libs-y += arch/alpha/lib/
45 boot := arch/alpha/boot
57 $(Q)$(MAKE) $(build)=arch/alpha/kernel/syscalls all
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxgp102.c44 const u32 alpha = grctx->alpha_nr; in gp102_grctx_generate_attrib() local
65 mmio_wr32(info, 0x40585c, alpha); in gp102_grctx_generate_attrib()
66 mmio_wr32(info, 0x4064c4, ((alpha / 4) << 16) | max_batches); in gp102_grctx_generate_attrib()
70 const u32 as = alpha * gr->ppc_tpc_nr[gpc][ppc]; in gp102_grctx_generate_attrib()
Dctxgf108.c740 const u32 alpha = grctx->alpha_nr; in gf108_grctx_generate_attrib() local
753 mmio_wr32(info, 0x405830, (beta << 16) | alpha); in gf108_grctx_generate_attrib()
754 mmio_wr32(info, 0x4064c4, ((alpha / 4) << 16) | max_batches); in gf108_grctx_generate_attrib()
758 const u32 a = alpha; in gf108_grctx_generate_attrib()
Dctxgp100.c49 const u32 alpha = grctx->alpha_nr; in gp100_grctx_generate_attrib() local
69 mmio_wr32(info, 0x40585c, alpha); in gp100_grctx_generate_attrib()
70 mmio_wr32(info, 0x4064c4, ((alpha / 4) << 16) | max_batches); in gp100_grctx_generate_attrib()
74 const u32 as = alpha * gr->ppc_tpc_nr[gpc][ppc]; in gp100_grctx_generate_attrib()
Dctxgf117.c248 const u32 alpha = grctx->alpha_nr; in gf117_grctx_generate_attrib() local
261 mmio_wr32(info, 0x405830, (beta << 16) | alpha); in gf117_grctx_generate_attrib()
262 mmio_wr32(info, 0x4064c4, ((alpha / 4) << 16) | max_batches); in gf117_grctx_generate_attrib()
266 const u32 a = alpha * gr->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib()
Dctxgm107.c913 const u32 alpha = grctx->alpha_nr; in gm107_grctx_generate_attrib() local
926 mmio_wr32(info, 0x405830, (attrib << 16) | alpha); in gm107_grctx_generate_attrib()
927 mmio_wr32(info, 0x4064c4, ((alpha / 4) << 16) | max_batches); in gm107_grctx_generate_attrib()
931 const u32 as = alpha * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib()
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dvidioc-g-fbuf.rst240 - The device supports clipping/blending using the alpha channel of
245 - The device supports alpha blending using a global alpha value.
249 - The device supports clipping/blending using the inverted alpha
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
309 images. The blend function is: output = (framebuffer pixel * alpha
310 + video pixel * (255 - alpha)) / 255. The alpha value is
317 - Like ``V4L2_FBUF_FLAG_LOCAL_ALPHA``, use the alpha channel of the
[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/logicvc/
Dlogicvc_layer.c64 .alpha = true,
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()
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()
363 logicvc_layer_formats[i].alpha == alpha) in logicvc_layer_formats_lookup()
/Linux-v6.1/drivers/gpu/drm/tegra/
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()
685 state->blending[index].alpha = true; in tegra_plane_update_transparency()
687 state->blending[index].alpha = false; in tegra_plane_update_transparency()
/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
334 alpha = ((u64)params->alpha * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4; in pie_calculate_probability()
341 alpha >>= 1; in pie_calculate_probability()
347 alpha >>= 2; in pie_calculate_probability()
354 delta += alpha * (qdelay - params->target); in pie_calculate_probability()
474 nla_put_u32(skb, TCA_PIE_ALPHA, q->params.alpha) || in pie_dump()
/Linux-v6.1/drivers/video/fbdev/omap2/omapfb/dss/
Doverlay-sysfs.c242 u8 alpha; in overlay_global_alpha_store() local
248 r = kstrtou8(buf, 0, &alpha); in overlay_global_alpha_store()
254 info.global_alpha = alpha; in overlay_global_alpha_store()
284 u8 alpha; in overlay_pre_mult_alpha_store() local
290 r = kstrtou8(buf, 0, &alpha); in overlay_pre_mult_alpha_store()
296 info.pre_mult_alpha = alpha; in overlay_pre_mult_alpha_store()

12345678910>>...12