Home
last modified time | relevance | path

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

123456789

/Linux-v5.4/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
65 $(Q)$(MAKE) $(build)=arch/alpha/kernel/syscalls all
/Linux-v5.4/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.c119 u32 alpha = ca->dctcp_alpha; in dctcp_update_alpha() local
123 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in dctcp_update_alpha()
133 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in dctcp_update_alpha()
139 WRITE_ONCE(ca->dctcp_alpha, alpha); in dctcp_update_alpha()
Dtcp_htcp.c27 u32 alpha; /* Fixed point arith, << 7 */ member
127 if (ca->packetcount >= tp->snd_cwnd - (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 >= tp->snd_cwnd) { 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");
260 } else if (diff < alpha) { in tcp_vegas_cong_avoid()
/Linux-v5.4/drivers/gpu/drm/tegra/
Dplane.c273 unsigned int *alpha) in tegra_plane_format_get_alpha() argument
276 *alpha = opaque; in tegra_plane_format_get_alpha()
282 *alpha = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format_get_alpha()
286 *alpha = WIN_COLOR_DEPTH_A1B5G5R5; in tegra_plane_format_get_alpha()
290 *alpha = WIN_COLOR_DEPTH_R8G8B8A8; in tegra_plane_format_get_alpha()
294 *alpha = WIN_COLOR_DEPTH_B8G8R8A8; in tegra_plane_format_get_alpha()
298 *alpha = opaque; in tegra_plane_format_get_alpha()
404 state->blending[index].alpha = true; in tegra_plane_update_transparency()
406 state->blending[index].alpha = false; in tegra_plane_update_transparency()
/Linux-v5.4/kernel/bpf/
Dtnum.c71 u64 dv, alpha, beta, chi, mu; in tnum_sub() local
74 alpha = dv + a.mask; in tnum_sub()
76 chi = alpha ^ beta; in tnum_sub()
83 u64 alpha, beta, v; in tnum_and() local
85 alpha = a.value | a.mask; in tnum_and()
88 return TNUM(v, alpha & beta & ~v); in tnum_and()
/Linux-v5.4/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_plane.c83 unsigned int alpha = DCU_LAYER_AB_NONE, bpp; in fsl_dcu_drm_plane_atomic_update() local
103 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update()
109 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update()
115 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update()
139 alpha); in fsl_dcu_drm_plane_atomic_update()
/Linux-v5.4/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-v5.4/net/sched/
Dsch_pie.c33 u32 alpha; /* alpha and beta are between 0 and 32 */ member
73 params->alpha = 2; in pie_params_init()
239 q->params.alpha = nla_get_u32(tb[TCA_PIE_ALPHA]); in pie_change()
338 u64 alpha, beta; in calculate_probability() local
362 alpha = ((u64)q->params.alpha * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4; in calculate_probability()
369 alpha >>= 1; in calculate_probability()
375 alpha >>= 2; in calculate_probability()
382 delta += alpha * (u64)(qdelay - q->params.target); in calculate_probability()
497 nla_put_u32(skb, TCA_PIE_ALPHA, q->params.alpha) || in pie_dump()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-g-fbuf.rst249 - The device supports clipping/blending using the alpha channel of
254 - The device supports alpha blending using a global alpha value.
258 - The device supports clipping/blending using the inverted alpha
312 - Use the alpha channel of the framebuffer to clip or blend
314 output = framebuffer pixel * alpha + video pixel * (1 - alpha).
315 The actual alpha depth depends on the framebuffer pixel format.
318 - Use a global alpha value to blend the framebuffer with video
319 images. The blend function is: output = (framebuffer pixel * alpha
320 + video pixel * (255 - alpha)) / 255. The alpha value is
327 - Like ``V4L2_FBUF_FLAG_LOCAL_ALPHA``, use the alpha channel of the
[all …]
Dpixfmt-rgb.rst985 The usage and value of the alpha bits (a) in the ARGB and ABGR formats
986 (collectively referred to as alpha formats) depend on the device type
988 capture queues of mem-to-mem devices) fill the alpha component in
989 memory. When the device outputs an alpha channel the alpha component
991 an alpha channel but can set the alpha bit to a user-configurable value,
992 the :ref:`V4L2_CID_ALPHA_COMPONENT <v4l2-alpha-component>` control
993 is used to specify that alpha value, and the alpha component of all
995 corresponding format without an alpha component (XRGB or XBGR) must be
996 used instead of an alpha format.
999 devices and :ref:`video output overlay <osd>` devices) read the alpha
[all …]
/Linux-v5.4/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-v5.4/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()
/Linux-v5.4/drivers/media/platform/vsp1/
Dvsp1_rpf.c155 (fmtinfo->alpha ? VI6_RPF_ALPH_SEL_ASEL_PACKED in rpf_configure_stream()
161 if (fmtinfo->alpha) { in rpf_configure_stream()
234 rpf->alpha << VI6_RPF_VRTCOL_SET_LAYA_SHIFT); in rpf_configure_frame()
236 (rpf->alpha << VI6_RPF_MULT_ALPHA_RATIO_SHIFT)); in rpf_configure_frame()
238 vsp1_pipeline_propagate_alpha(pipe, dlb, rpf->alpha); in rpf_configure_frame()
/Linux-v5.4/drivers/media/platform/vicodec/
Dcodec-v4l2-fwht.c103 rf->alpha = NULL; in prepare_raw_frame()
114 rf->alpha = NULL; in prepare_raw_frame()
189 rf->alpha = rf->luma; in prepare_raw_frame()
198 rf->alpha = rf->cr + 1; in prepare_raw_frame()
206 rf->alpha = rf->luma; in prepare_raw_frame()
217 rf->alpha = rf->luma + 3; in prepare_raw_frame()
/Linux-v5.4/Documentation/gpu/
Dafbc.rst74 instead use an equivalent format with alpha, setting all alpha bits to
76 which doesn't include alpha can be used, e.g. DRM_FORMAT_BGR888.
126 - 10-bit per component RGB, with 2-bit alpha
134 - 8-bit per component RGB, with 8-bit alpha
156 - 5-bit per component RGB, with 1-bit alpha
/Linux-v5.4/arch/x86/boot/compressed/
Dmisc.c159 char alpha[2] = "0"; in __puthex() local
166 alpha[0] = '0' + digit; in __puthex()
168 alpha[0] = 'a' + (digit - 0xA); in __puthex()
170 __putstr(alpha); in __puthex()
/Linux-v5.4/tools/testing/ktest/examples/
Dcrosstests.conf96 TEST_START IF ${RUN} == alpha || ${DO_DEFAULT}
101 CROSS = alpha-linux
102 ARCH = alpha

123456789