/Linux-v5.15/tools/testing/selftests/net/ |
D | ioam6.sh | 239 ip link del ioam-veth-alpha 2>/dev/null || true 242 ip netns del ioam-node-alpha || true 249 ip netns add ioam-node-alpha 253 ip link add name ioam-veth-alpha netns ioam-node-alpha type veth \ 258 ip -netns ioam-node-alpha link set ioam-veth-alpha name veth0 263 ip -netns ioam-node-alpha addr add db01::2/64 dev veth0 264 ip -netns ioam-node-alpha link set veth0 up 265 ip -netns ioam-node-alpha link set lo up 266 ip -netns ioam-node-alpha route add db02::/64 via db01::1 dev veth0 267 ip -netns ioam-node-alpha route del db01::/64 [all …]
|
/Linux-v5.15/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
D | ia_css_xnr3.host.c | 78 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-v5.15/net/ipv4/ |
D | tcp_illinois.c | 50 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()
|
D | tcp_dctcp.c | 119 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()
|
D | tcp_htcp.c | 27 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()
|
D | tcp_vegas.c | 44 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.15/drivers/gpu/drm/imx/dcss/ |
D | dcss-dtg.c | 91 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-v5.15/arch/alpha/ |
D | Makefile | 39 head-y := arch/alpha/kernel/head.o 41 libs-y += arch/alpha/lib/ 47 boot := arch/alpha/boot 62 $(Q)$(MAKE) $(build)=arch/alpha/kernel/syscalls all
|
/Linux-v5.15/tools/testing/selftests/bpf/progs/ |
D | bpf_dctcp.c | 117 __u32 alpha = ca->dctcp_alpha; in BPF_PROG() local 121 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in BPF_PROG() 131 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in BPF_PROG() 133 ca->dctcp_alpha = alpha; in BPF_PROG()
|
/Linux-v5.15/drivers/gpu/drm/vkms/ |
D | vkms_composer.c | 54 static u8 blend_channel(u8 src, u8 dst, u8 alpha) in blend_channel() argument 59 pre_blend = (src * 255 + dst * (255 - alpha)); in blend_channel() 79 u8 alpha; in alpha_blend() local 81 alpha = argb_src[3]; in alpha_blend() 82 argb_dst[0] = blend_channel(argb_src[0], argb_dst[0], alpha); in alpha_blend() 83 argb_dst[1] = blend_channel(argb_src[1], argb_dst[1], alpha); in alpha_blend() 84 argb_dst[2] = blend_channel(argb_src[2], argb_dst[2], alpha); in alpha_blend()
|
/Linux-v5.15/kernel/bpf/ |
D | tnum.c | 76 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-v5.15/drivers/gpu/drm/fsl-dcu/ |
D | fsl_dcu_drm_plane.c | 87 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-v5.15/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | ctxgp102.c | 44 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()
|
D | ctxgf108.c | 740 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()
|
D | ctxgp100.c | 49 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()
|
D | ctxgf117.c | 248 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()
|
D | ctxgm107.c | 913 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()
|
D | ctxgk104.c | 938 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.15/Documentation/userspace-api/media/v4l/ |
D | vidioc-g-fbuf.rst | 240 - 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 …]
|
D | pixfmt-rgb.rst | 17 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-v5.15/drivers/gpu/drm/tegra/ |
D | plane.c | 521 unsigned int *alpha) in tegra_plane_format_get_alpha() argument 524 *alpha = opaque; in tegra_plane_format_get_alpha() 530 *alpha = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format_get_alpha() 534 *alpha = WIN_COLOR_DEPTH_A1B5G5R5; in tegra_plane_format_get_alpha() 538 *alpha = WIN_COLOR_DEPTH_R8G8B8A8; in tegra_plane_format_get_alpha() 542 *alpha = WIN_COLOR_DEPTH_B8G8R8A8; in tegra_plane_format_get_alpha() 546 *alpha = opaque; in tegra_plane_format_get_alpha() 652 state->blending[index].alpha = true; in tegra_plane_update_transparency() 654 state->blending[index].alpha = false; in tegra_plane_update_transparency()
|
/Linux-v5.15/net/sched/ |
D | sch_pie.c | 178 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()
|
/Linux-v5.15/drivers/video/fbdev/omap2/omapfb/dss/ |
D | overlay-sysfs.c | 242 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.15/drivers/media/platform/vsp1/ |
D | vsp1_rpf.c | 155 (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.15/Documentation/gpu/ |
D | afbc.rst | 74 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
|