Home
last modified time | relevance | path

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

12345678910>>...14

/linux/include/video/
H A Dpixel_format.h14 } alpha, red, green, blue; member
24 { 16, false, { .alpha = {0, 0}, .red = {10, 5}, .green = {5, 5}, .blue = {0, 5} } }
27 { 16, false, { .alpha = {0, 0}, .red = {11, 5}, .green = {5, 6}, .blue = {0, 5} } }
30 { 24, false, { .alpha = {0, 0}, .red = {16, 8}, .green = {8, 8}, .blue = {0, 8} } }
33 { 32, false, { .alpha = {0, 0}, .red = {16, 8}, .green = {8, 8}, .blue = {0, 8} } }
36 { 32, false, { .alpha = {0, 0}, .red = {0, 8}, .green = {8, 8}, .blue = {16, 8} } }
39 { 32, false, { .alpha = {0, 0}, .red = {20, 10}, .green = {10, 10}, .blue = {0, 10} } }
/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 ping
[all...]
/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()
[all...]
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()
H A 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/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/Documentation/userspace-api/media/v4l/
H A Dvidioc-g-fbuf.rst227 - The device supports clipping/blending using the alpha channel of
232 - The device supports alpha blending using a global alpha value.
236 - The device supports clipping/blending using the inverted alpha
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
296 images. The blend function is: output = (framebuffer pixel * alpha
[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 valu
[all...]
/linux/kernel/bpf/
H A 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()
93 u64 alpha, beta, v; in tnum_and() local
95 alpha = a.value | a.mask; in tnum_and()
98 return TNUM(v, alpha & beta & ~v); in tnum_and()
/linux/drivers/gpu/drm/fsl-dcu/
H A 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/Documentation/translations/zh_CN/mm/
H A Dactive_mm.rst
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dctxgp102.c44 const u32 alpha = grctx->alpha_nr; in gp102_grctx_generate_attrib() local
54 gf100_grctx_patch_wr32(chan, 0x40585c, alpha); in gp102_grctx_generate_attrib()
55 gf100_grctx_patch_wr32(chan, 0x4064c4, ((alpha / 4) << 16) | max_batches); in gp102_grctx_generate_attrib()
59 const u32 as = alpha * gr->ppc_tpc_nr[gpc][ppc]; in gp102_grctx_generate_attrib()
H A Dctxgf108.c740 const u32 alpha = grctx->alpha_nr; in gf108_grctx_generate_attrib() local
748 gf100_grctx_patch_wr32(chan, 0x405830, (beta << 16) | alpha); in gf108_grctx_generate_attrib()
749 gf100_grctx_patch_wr32(chan, 0x4064c4, ((alpha / 4) << 16) | max_batches); in gf108_grctx_generate_attrib()
753 const u32 a = alpha; in gf108_grctx_generate_attrib()
H A Dctxgp100.c46 const u32 alpha = grctx->alpha_nr; in gp100_grctx_generate_attrib() local
55 gf100_grctx_patch_wr32(chan, 0x40585c, alpha); in gp100_grctx_generate_attrib()
56 gf100_grctx_patch_wr32(chan, 0x4064c4, ((alpha / 4) << 16) | max_batches); in gp100_grctx_generate_attrib()
60 const u32 as = alpha * gr->ppc_tpc_nr[gpc][ppc]; in gp100_grctx_generate_attrib()
H A Dctxgf117.c248 const u32 alpha = grctx->alpha_nr; in gf117_grctx_generate_attrib() local
256 gf100_grctx_patch_wr32(chan, 0x405830, (beta << 16) | alpha); in gf117_grctx_generate_attrib()
257 gf100_grctx_patch_wr32(chan, 0x4064c4, ((alpha / 4) << 16) | max_batches); in gf117_grctx_generate_attrib()
261 const u32 a = alpha * gr->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib()
H A Dctxgm107.c904 const u32 alpha = grctx->alpha_nr; in gm107_grctx_generate_attrib() local
911 gf100_grctx_patch_wr32(chan, 0x405830, (attrib << 16) | alpha); in gm107_grctx_generate_attrib()
912 gf100_grctx_patch_wr32(chan, 0x4064c4, ((alpha / 4) << 16) | max_batches); in gm107_grctx_generate_attrib()
916 const u32 as = alpha * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib()
H A Dctxgk104.c930 bool alpha = atarget < btarget; in gk104_grctx_generate_alpha_beta_tables() local
938 if (alpha) { in gk104_grctx_generate_alpha_beta_tables()
957 alpha = !alpha; in gk104_grctx_generate_alpha_beta_tables()
H A Dctxgv100.c66 const u32 alpha = grctx->alpha_nr; in gv100_grctx_generate_attrib() local
76 gf100_grctx_patch_wr32(chan, 0x40585c, alpha); in gv100_grctx_generate_attrib()
77 gf100_grctx_patch_wr32(chan, 0x4064c4, ((alpha / 4) << 16) | max_batches); in gv100_grctx_generate_attrib()
81 const u32 as = alpha * gr->ppc_tpc_nr[gpc][ppc]; in gv100_grctx_generate_attrib()
/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
[all...]
/linux/drivers/gpu/drm/ci/xfails/
H A Di915-amly-fails.txt32 kms_plane_alpha_blend@alpha-basic,Fail
33 kms_plane_alpha_blend@alpha-opaque-fb,Fail
34 kms_plane_alpha_blend@alpha-transparent-fb,Fail
35 kms_plane_alpha_blend@constant-alpha-max,Fail
H A Di915-apl-fails.txt28 kms_plane_alpha_blend@alpha-basic,Fail
29 kms_plane_alpha_blend@alpha-opaque-fb,Fail
30 kms_plane_alpha_blend@alpha-transparent-fb,Fail
31 kms_plane_alpha_blend@constant-alpha-max,Fail
H A Di915-whl-fails.txt35 kms_plane_alpha_blend@alpha-basic,Fail
36 kms_plane_alpha_blend@alpha-opaque-fb,Fail
37 kms_plane_alpha_blend@alpha-transparent-fb,Fail
38 kms_plane_alpha_blend@constant-alpha-max,Fail
/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 in tegra_plane_update_transparency()
[all...]
/linux/net/sched/
H A Dsch_pie.c179 WRITE_ONCE(q->params.alpha, nla_get_u32(tb[TCA_PIE_ALPHA])); in pie_change()
309 u64 alpha, beta; in pie_calculate_probability() local
332 /* In the algorithm, alpha and beta are between 0 and 2 with typical in pie_calculate_probability()
333 * value for alpha as 0.125. In this implementation, we use values 0-32 in pie_calculate_probability()
334 * passed from user space to represent this. Also, alpha and beta have in pie_calculate_probability()
336 * probability. alpha/beta are updated locally below by scaling down in pie_calculate_probability()
339 alpha = ((u64)params->alpha * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4; in pie_calculate_probability()
342 /* We scale alpha and beta differently depending on how heavy the in pie_calculate_probability()
346 alpha >> in pie_calculate_probability()
[all...]
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Doverlay-sysfs.c243 u8 alpha; in overlay_global_alpha_store() local
249 r = kstrtou8(buf, 0, &alpha); in overlay_global_alpha_store()
255 info.global_alpha = alpha; in overlay_global_alpha_store()
285 u8 alpha; in overlay_pre_mult_alpha_store() local
291 r = kstrtou8(buf, 0, &alpha); in overlay_pre_mult_alpha_store()
297 info.pre_mult_alpha = alpha; in overlay_pre_mult_alpha_store()

12345678910>>...14