Home
last modified time | relevance | path

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

1234567891011

/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_dctcp.c92 __u32 alpha = ca->dctcp_alpha; in BPF_PROG() local
96 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in BPF_PROG()
106 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in BPF_PROG()
108 ca->dctcp_alpha = alpha; in BPF_PROG()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/
Dvkms_composer.c53 static u8 blend_channel(u8 src, u8 dst, u8 alpha) in blend_channel() argument
58 pre_blend = (src * 255 + dst * (255 - alpha)); in blend_channel()
68 u8 alpha; in alpha_blending() local
70 alpha = argb_src[3]; in alpha_blending()
71 argb_dst[0] = blend_channel(argb_src[0], argb_dst[0], alpha); in alpha_blending()
72 argb_dst[1] = blend_channel(argb_src[1], argb_dst[1], alpha); in alpha_blending()
73 argb_dst[2] = blend_channel(argb_src[2], argb_dst[2], alpha); in alpha_blending()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Dplane.c390 unsigned int *alpha) in tegra_plane_format_get_alpha() argument
393 *alpha = opaque; in tegra_plane_format_get_alpha()
399 *alpha = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format_get_alpha()
403 *alpha = WIN_COLOR_DEPTH_A1B5G5R5; in tegra_plane_format_get_alpha()
407 *alpha = WIN_COLOR_DEPTH_R8G8B8A8; in tegra_plane_format_get_alpha()
411 *alpha = WIN_COLOR_DEPTH_B8G8R8A8; in tegra_plane_format_get_alpha()
415 *alpha = opaque; in tegra_plane_format_get_alpha()
521 state->blending[index].alpha = true; in tegra_plane_update_transparency()
523 state->blending[index].alpha = false; in tegra_plane_update_transparency()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
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()
/kernel/linux/linux-5.10/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.rst978 The usage and value of the alpha bits (a) in the ARGB and ABGR formats
979 (collectively referred to as alpha formats) depend on the device type
981 capture queues of mem-to-mem devices) fill the alpha component in
982 memory. When the device outputs an alpha channel the alpha component
984 an alpha channel but can set the alpha bit to a user-configurable value,
985 the :ref:`V4L2_CID_ALPHA_COMPONENT <v4l2-alpha-component>` control
986 is used to specify that alpha value, and the alpha component of all
988 corresponding format without an alpha component (XRGB or XBGR) must be
989 used instead of an alpha format.
992 devices and :ref:`video output overlay <osd>` devices) read the alpha
[all …]
/kernel/linux/linux-5.10/net/sched/
Dsch_pie.c178 q->params.alpha = nla_get_u32(tb[TCA_PIE_ALPHA]); in pie_change()
307 u64 alpha, beta; in pie_calculate_probability() local
337 alpha = ((u64)params->alpha * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4; in pie_calculate_probability()
344 alpha >>= 1; in pie_calculate_probability()
350 alpha >>= 2; in pie_calculate_probability()
357 delta += alpha * (qdelay - params->target); in pie_calculate_probability()
477 nla_put_u32(skb, TCA_PIE_ALPHA, q->params.alpha) || in pie_dump()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/
Dcodec-v4l2-fwht.c103 rf->alpha = NULL; in prepare_raw_frame()
114 rf->alpha = NULL; in prepare_raw_frame()
179 rf->alpha = rf->luma; in prepare_raw_frame()
190 rf->alpha = rf->cr + 1; in prepare_raw_frame()
194 rf->alpha = rf->luma; in prepare_raw_frame()
201 rf->alpha = rf->luma + 3; in prepare_raw_frame()

1234567891011