/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | ioam6.sh | 11 # and INPUT tests only use a two-node topology (alpha and beta), while GLOBAL 12 # tests use the entire three-node topology (alpha, beta, gamma). Each test is 265 ip link del ioam-veth-alpha 2>/dev/null || true 268 ip netns del ioam-node-alpha || true 280 ip netns add ioam-node-alpha 284 ip link add name ioam-veth-alpha netns ioam-node-alpha type veth \ 289 ip -netns ioam-node-alpha link set ioam-veth-alpha name veth0 294 ip -netns ioam-node-alpha add [all...] |
/kernel/linux/linux-5.10/arch/alpha/ |
H A D | Makefile | 2 # alpha/Makefile 39 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/ 46 # export what is needed by arch/alpha/boot/Makefile 50 boot := arch/alpha/boot 65 $(Q)$(MAKE) $(build)=arch/alpha/kerne [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
H A D | ia_css_xnr3.host.c | 23 /* Maximum value for alpha on ISP interface */ 72 * Compute an alpha value for the ISP kernel from sigma value on the host 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() 167 /* alpha's are represented in qN.5 format */ in ia_css_xnr3_encode() 168 to->alpha in ia_css_xnr3_encode() [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
H A D | ia_css_xnr3.host.c | 23 /* Maximum value for alpha on ISP interface */ 72 * Compute an alpha value for the ISP kernel from sigma value on the host 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() 167 /* alpha's are represented in qN.5 format */ in ia_css_xnr3_encode() 168 to->alpha in ia_css_xnr3_encode() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop2.c | 1657 static bool is_opaque(u16 alpha) in is_opaque() argument 1659 return (alpha >> 8) == 0xff; in is_opaque() 1663 struct vop2_alpha *alpha) in vop2_parse_alpha() 1672 alpha->src_color_ctrl.val = 0; in vop2_parse_alpha() 1673 alpha->dst_color_ctrl.val = 0; in vop2_parse_alpha() 1674 alpha->src_alpha_ctrl.val = 0; in vop2_parse_alpha() 1675 alpha->dst_alpha_ctrl.val = 0; in vop2_parse_alpha() 1678 alpha->src_color_ctrl.bits.blend_mode = ALPHA_GLOBAL; in vop2_parse_alpha() 1680 alpha->src_color_ctrl.bits.blend_mode = ALPHA_PER_PIX; in vop2_parse_alpha() 1682 alpha in vop2_parse_alpha() 1662 vop2_parse_alpha(struct vop2_alpha_config *alpha_config, struct vop2_alpha *alpha) vop2_parse_alpha() argument 1739 struct vop2_alpha alpha; vop2_setup_cluster_alpha() local 1778 struct vop2_alpha alpha; vop2_setup_alpha() local [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_illinois.c | 50 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 D | tcp_dctcp.c | 63 MODULE_PARM_DESC(dctcp_alpha_on_init, "parameter for initial alpha value"); 119 u32 alpha = ca->dctcp_alpha; in dctcp_update_alpha() local 121 /* alpha = (1 - g) * alpha + g * F */ in dctcp_update_alpha() 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() [all...] |
H A 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() 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 >= tp->snd_cwnd) { in htcp_cong_avoid() 262 ca->alpha = ALPHA_BASE; in htcp_init()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_illinois.c | 50 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 D | tcp_dctcp.c | 66 MODULE_PARM_DESC(dctcp_alpha_on_init, "parameter for initial alpha value"); 125 u32 alpha = ca->dctcp_alpha; in dctcp_update_alpha() local 141 /* alpha = (1 - g) * alpha + g * F */ in dctcp_update_alpha() 143 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in dctcp_update_alpha() 152 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in dctcp_update_alpha() 158 WRITE_ONCE(ca->dctcp_alpha, alpha); in dctcp_update_alpha() [all...] |
H A D | tcp_htcp.c | 27 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | bpf_dctcp.c | 92 __u32 alpha = ca->dctcp_alpha; in BPF_PROG() local 94 /* alpha = (1 - g) * alpha + g * F */ in BPF_PROG() 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-6.6/tools/testing/selftests/bpf/progs/ |
H A D | bpf_dctcp.c | 126 __u32 alpha = ca->dctcp_alpha; in BPF_PROG() local 128 /* alpha = (1 - g) * alpha + g * F */ in BPF_PROG() 130 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in BPF_PROG() 140 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in BPF_PROG() 142 ca->dctcp_alpha = alpha; in BPF_PROG()
|
/test/xts/acts/graphic/graphicnapidrawingtest/ |
H A D | NativeDrawingBrushTest.cpp | 79 constexpr uint8_t alpha = 128; in HWTEST_F() local 80 OH_Drawing_BrushSetAlpha(brush1, alpha); in HWTEST_F() 81 EXPECT_EQ(OH_Drawing_BrushGetAlpha(brush1), alpha); in HWTEST_F() local 111 constexpr uint8_t alpha = 128; in HWTEST_F() local 112 OH_Drawing_BrushSetAlpha(brush1, alpha); in HWTEST_F()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/ |
H A 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() 291 /* we care about alpha only when channel 0 is concerned */ in dcss_dtg_plane_alpha_set() 296 * Use global alpha if pixel format does not have alpha channe in dcss_dtg_plane_alpha_set() 288 dcss_dtg_plane_alpha_set(struct dcss_dtg *dtg, int ch_num, const struct drm_format_info *format, int alpha) dcss_dtg_plane_alpha_set() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/imx/dcss/ |
H A 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() 291 /* we care about alpha only when channel 0 is concerned */ in dcss_dtg_plane_alpha_set() 296 * Use global alpha if pixel format does not have alpha channe in dcss_dtg_plane_alpha_set() 288 dcss_dtg_plane_alpha_set(struct dcss_dtg *dtg, int ch_num, const struct drm_format_info *format, int alpha) dcss_dtg_plane_alpha_set() argument [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A 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()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A 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()
|
/test/xts/hats/hdf/display/composer/moduletest/ |
H A D | hdi_device_test.cpp | 148 // alpha layer test 153 .alpha = 0xFF 160 .alpha = 0xFF 167 .alpha = 0xFF 175 .alpha = 0xFF, 183 .alpha = 0xFF, 191 .alpha = 0xFF, 247 if ((setting.alpha >= 0) && (setting.alpha <= 0xff)) { // alpha ran in CreateTestLayer() 248 LayerAlpha alpha = { 0 }; CreateTestLayer() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/logicvc/ |
H A D | logicvc_layer.c | 41 * 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...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxgp102.c | 44 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/ |
H A D | vkms_composer.c | 53 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() 86 * alpha blending equation, since DRM currently assumes that the pixel color 87 * values have already been pre-multiplied with the alpha channel values. See
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
H A D | plane.c | 390 unsigned int *alpha) in tegra_plane_format_get_alpha() 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() 424 * be emulated using the alpha formats and alpha blending disabled. 521 state->blending[index].alpha in tegra_plane_update_transparency() 389 tegra_plane_format_get_alpha(unsigned int opaque, unsigned int *alpha) tegra_plane_format_get_alpha() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
H A D | plane.c | 554 unsigned int *alpha) in tegra_plane_format_get_alpha() 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() 553 tegra_plane_format_get_alpha(unsigned int opaque, unsigned int *alpha) tegra_plane_format_get_alpha() argument [all...] |
/kernel/linux/linux-6.6/arch/alpha/ |
H A D | Makefile | 2 # alpha/Makefile 39 libs-y += arch/alpha/lib/ 41 # export what is needed by arch/alpha/boot/Makefile 45 boot := arch/alpha/boot 57 $(Q)$(MAKE) $(build)=arch/alpha/kernel/syscalls all 60 echo '* boot - Compressed kernel image (arch/alpha/boot/vmlinux.gz)' 61 echo ' bootimage - SRM bootable image (arch/alpha/boot/bootimage)' 62 echo ' bootpfile - BOOTP bootable image (arch/alpha/boot/bootpfile)' 63 echo ' bootpzfile - compressed kernel BOOTP image (arch/alpha/boot/bootpzfile)'
|