Home
last modified time | relevance | path

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

123456789

/Linux-v4.19/arch/alpha/
DMakefile39 head-y := arch/alpha/kernel/head.o
41 core-y += arch/alpha/kernel/ arch/alpha/mm/
42 core-$(CONFIG_MATHEMU) += arch/alpha/math-emu/
43 drivers-$(CONFIG_OPROFILE) += arch/alpha/oprofile/
44 libs-y += arch/alpha/lib/
50 boot := arch/alpha/boot
/Linux-v4.19/net/ipv4/
Dtcp_illinois.c49 u32 alpha; /* Additive increase */ member
72 ca->alpha = ALPHA_MAX; in tcp_illinois_init()
139 static u32 alpha(struct illinois *ca, u32 da, u32 dm) in alpha() function
152 return ca->alpha; in alpha()
227 ca->alpha = ALPHA_BASE; in update_params()
233 ca->alpha = alpha(ca, da, dm); in update_params()
248 ca->alpha = ALPHA_BASE; in tcp_illinois_state()
285 delta = (tp->snd_cwnd_cnt * ca->alpha) >> ALPHA_SHIFT; in tcp_illinois_cong_avoid()
Dtcp_dctcp.c191 u32 alpha = ca->dctcp_alpha; in dctcp_update_alpha() local
195 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in dctcp_update_alpha()
203 alpha = min(alpha + (u32)bytes_ecn, DCTCP_MAX_ALPHA); in dctcp_update_alpha()
209 WRITE_ONCE(ca->dctcp_alpha, alpha); in dctcp_update_alpha()
Dtcp_htcp.c26 u32 alpha; /* Fixed point arith, << 7 */ member
126 if (ca->packetcount >= tp->snd_cwnd - (ca->alpha >> 7 ? : 1) && in measure_achieved_throughput()
193 ca->alpha = 2 * factor * ((1 << 7) - ca->beta); in htcp_alpha_update()
194 if (!ca->alpha) in htcp_alpha_update()
195 ca->alpha = ALPHA_BASE; in htcp_alpha_update()
244 if ((tp->snd_cwnd_cnt * ca->alpha)>>7 >= tp->snd_cwnd) { in htcp_cong_avoid()
261 ca->alpha = ALPHA_BASE; in htcp_init()
Dtcp_vegas.c43 static int alpha = 2; variable
47 module_param(alpha, int, 0644);
48 MODULE_PARM_DESC(alpha, "lower bound of packets in network");
259 } else if (diff < alpha) { in tcp_vegas_cong_avoid()
/Linux-v4.19/drivers/gpu/drm/tegra/
Dplane.c275 unsigned int *alpha) in tegra_plane_format_get_alpha() argument
278 *alpha = opaque; in tegra_plane_format_get_alpha()
284 *alpha = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format_get_alpha()
288 *alpha = WIN_COLOR_DEPTH_A1B5G5R5; in tegra_plane_format_get_alpha()
292 *alpha = WIN_COLOR_DEPTH_R8G8B8A8; in tegra_plane_format_get_alpha()
296 *alpha = WIN_COLOR_DEPTH_B8G8R8A8; in tegra_plane_format_get_alpha()
300 *alpha = opaque; in tegra_plane_format_get_alpha()
406 state->blending[index].alpha = true; in tegra_plane_update_transparency()
408 state->blending[index].alpha = false; in tegra_plane_update_transparency()
/Linux-v4.19/net/sched/
Dsch_pie.c44 u32 alpha; /* alpha and beta are between 0 and 32 */ member
82 params->alpha = 2; in pie_params_init()
222 q->params.alpha = nla_get_u32(tb[TCA_PIE_ALPHA]); in pie_change()
322 u32 alpha, beta; in calculate_probability() local
350 alpha = in calculate_probability()
351 (q->params.alpha * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 7; in calculate_probability()
355 alpha = in calculate_probability()
356 (q->params.alpha * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 5; in calculate_probability()
360 alpha = in calculate_probability()
361 (q->params.alpha * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4; in calculate_probability()
[all …]
/Linux-v4.19/kernel/bpf/
Dtnum.c70 u64 dv, alpha, beta, chi, mu; in tnum_sub() local
73 alpha = dv + a.mask; in tnum_sub()
75 chi = alpha ^ beta; in tnum_sub()
82 u64 alpha, beta, v; in tnum_and() local
84 alpha = a.value | a.mask; in tnum_and()
87 return TNUM(v, alpha & beta & ~v); in tnum_and()
/Linux-v4.19/Documentation/media/uapi/v4l/
Dpixfmt-packed-rgb.rst544 The usage and value of the alpha bits (a) in the ARGB and ABGR formats
545 (collectively referred to as alpha formats) depend on the device type
547 capture queues of mem-to-mem devices) fill the alpha component in
548 memory. When the device outputs an alpha channel the alpha component
550 an alpha channel but can set the alpha bit to a user-configurable value,
551 the :ref:`V4L2_CID_ALPHA_COMPONENT <v4l2-alpha-component>` control
552 is used to specify that alpha value, and the alpha component of all
554 corresponding format without an alpha component (XRGB or XBGR) must be
555 used instead of an alpha format.
558 devices and :ref:`video output overlay <osd>` devices) read the alpha
[all …]
Dvidioc-g-fbuf.rst242 - The device supports clipping/blending using the alpha channel of
247 - The device supports alpha blending using a global alpha value.
251 - The device supports clipping/blending using the inverted alpha
305 - Use the alpha channel of the framebuffer to clip or blend
307 output = framebuffer pixel * alpha + video pixel * (1 - alpha).
308 The actual alpha depth depends on the framebuffer pixel format.
311 - Use a global alpha value to blend the framebuffer with video
312 images. The blend function is: output = (framebuffer pixel * alpha
313 + video pixel * (255 - alpha)) / 255. The alpha value is
320 - Like ``V4L2_FBUF_FLAG_LOCAL_ALPHA``, use the alpha channel of the
[all …]
/Linux-v4.19/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_plane.c87 unsigned int alpha = DCU_LAYER_AB_NONE, bpp; in fsl_dcu_drm_plane_atomic_update() local
107 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update()
113 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update()
119 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update()
143 alpha); in fsl_dcu_drm_plane_atomic_update()
/Linux-v4.19/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()
Dctxgv100.c66 const u32 alpha = grctx->alpha_nr; in gv100_grctx_generate_attrib() local
86 mmio_wr32(info, 0x40585c, alpha); in gv100_grctx_generate_attrib()
87 mmio_wr32(info, 0x4064c4, ((alpha / 4) << 16) | max_batches); in gv100_grctx_generate_attrib()
91 const u32 as = alpha * gr->ppc_tpc_nr[gpc][ppc]; in gv100_grctx_generate_attrib()
Dctxgk104.c938 bool alpha = atarget < btarget; in gk104_grctx_generate_alpha_beta_tables() local
946 if (alpha) { in gk104_grctx_generate_alpha_beta_tables()
965 alpha = !alpha; in gk104_grctx_generate_alpha_beta_tables()
/Linux-v4.19/drivers/video/fbdev/mbx/
Dmbxfb.c512 static int mbxfb_ioctl_alphactl(struct mbxfb_alphaCtl *alpha) in mbxfb_ioctl_alphactl() argument
517 vbbase = Vbbase_Glalpha(alpha->overlay_global_alpha) | in mbxfb_ioctl_alphactl()
518 Vbbase_Colkey(alpha->overlay_colorkey); in mbxfb_ioctl_alphactl()
520 gbbase = Gbbase_Glalpha(alpha->graphics_global_alpha) | in mbxfb_ioctl_alphactl()
521 Gbbase_Colkey(alpha->graphics_colorkey); in mbxfb_ioctl_alphactl()
525 vcmsk |= Vcmsk_colkey_m(alpha->overlay_colorkey_mask); in mbxfb_ioctl_alphactl()
529 gdrctrl |= Gdrctrl_Colkeym(alpha->graphics_colorkey_mask); in mbxfb_ioctl_alphactl()
537 switch (alpha->overlay_colorkey_mode) { in mbxfb_ioctl_alphactl()
550 switch (alpha->overlay_blend_mode) { in mbxfb_ioctl_alphactl()
564 switch (alpha->graphics_colorkey_mode) { in mbxfb_ioctl_alphactl()
[all …]
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Doverlay-sysfs.c253 u8 alpha; in overlay_global_alpha_store() local
259 r = kstrtou8(buf, 0, &alpha); in overlay_global_alpha_store()
265 info.global_alpha = alpha; in overlay_global_alpha_store()
295 u8 alpha; in overlay_pre_mult_alpha_store() local
301 r = kstrtou8(buf, 0, &alpha); in overlay_pre_mult_alpha_store()
307 info.pre_mult_alpha = alpha; in overlay_pre_mult_alpha_store()
/Linux-v4.19/drivers/media/platform/vsp1/
Dvsp1_rpf.c154 (fmtinfo->alpha ? VI6_RPF_ALPH_SEL_ASEL_PACKED in rpf_configure_stream()
160 if (fmtinfo->alpha) { in rpf_configure_stream()
233 rpf->alpha << VI6_RPF_VRTCOL_SET_LAYA_SHIFT); in rpf_configure_frame()
235 (rpf->alpha << VI6_RPF_MULT_ALPHA_RATIO_SHIFT)); in rpf_configure_frame()
237 vsp1_pipeline_propagate_alpha(pipe, dlb, rpf->alpha); in rpf_configure_frame()
Dvsp1_pipe.h47 bool alpha; member
165 unsigned int alpha);
/Linux-v4.19/arch/x86/boot/compressed/
Dmisc.c158 char alpha[2] = "0"; in __puthex() local
165 alpha[0] = '0' + digit; in __puthex()
167 alpha[0] = 'a' + (digit - 0xA); in __puthex()
169 __putstr(alpha); in __puthex()
/Linux-v4.19/tools/testing/ktest/examples/
Dcrosstests.conf96 TEST_START IF ${RUN} == alpha || ${DO_DEFAULT}
101 CROSS = alpha-linux
102 ARCH = alpha
/Linux-v4.19/drivers/gpu/drm/rcar-du/
Drcar_du_vsp.c60 .alpha = DRM_BLEND_ALPHA_OPAQUE, in rcar_du_vsp_enable()
185 .alpha = state->state.alpha >> 8, in rcar_du_vsp_plane_setup()
349 state->state.alpha = DRM_BLEND_ALPHA_OPAQUE; in rcar_du_vsp_plane_reset()

123456789