/linux/tools/testing/selftests/net/ |
A D | ioam6.sh | 263 ip link del ioam-veth-alpha 2>/dev/null || true 266 ip netns del ioam-node-alpha || true 278 ip netns add ioam-node-alpha 282 ip link add name ioam-veth-alpha netns ioam-node-alpha type veth \ 287 ip -netns ioam-node-alpha link set ioam-veth-alpha name veth0 293 ip -netns ioam-node-alpha link set veth0 up 294 ip -netns ioam-node-alpha link set lo up 296 ip -netns ioam-node-alpha route del db01::/64 434 ip -netns ioam-node-alpha ioam namespace del 123 676 ip -netns ioam-node-alpha ioam namespace add 123 [all …]
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
A D | ia_css_xnr3.host.c | 78 s32 alpha; in compute_alpha() local 82 alpha = XNR_MAX_ALPHA; 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() 172 to->alpha.udiff = min(max(alpha_udiff, min_diff), max_diff); in ia_css_xnr3_encode() [all …]
|
/linux/net/ipv4/ |
A 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()
|
A D | tcp_dctcp.c | 121 u32 alpha = ca->dctcp_alpha; in dctcp_update_alpha() local 125 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in dctcp_update_alpha() 135 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in dctcp_update_alpha() 141 WRITE_ONCE(ca->dctcp_alpha, alpha); in dctcp_update_alpha()
|
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() 245 if ((tp->snd_cwnd_cnt * ca->alpha)>>7 >= tp->snd_cwnd) { in htcp_cong_avoid() 262 ca->alpha = ALPHA_BASE; in htcp_init()
|
A 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/drivers/gpu/drm/imx/dcss/ |
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() 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/tools/testing/selftests/bpf/progs/ |
A 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/arch/alpha/ |
A D | Makefile | 39 head-y := arch/alpha/kernel/head.o 41 libs-y += arch/alpha/lib/ 47 boot := arch/alpha/boot 59 $(Q)$(MAKE) $(build)=arch/alpha/kernel/syscalls all
|
/linux/drivers/gpu/drm/vkms/ |
A 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/Documentation/userspace-api/media/v4l/ |
A D | vidioc-g-fbuf.rst | 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 319 but with an inverted alpha value. The blend function is: output = 320 framebuffer pixel * (1 - alpha) + video pixel * alpha. The actual [all …]
|
A 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 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. 33 memory. When the device processes the alpha channel the alpha component must be [all …]
|
/linux/kernel/bpf/ |
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()
|
/linux/drivers/gpu/drm/fsl-dcu/ |
A 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/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
/linux/drivers/gpu/drm/tegra/ |
A 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/net/sched/ |
A 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/Documentation/devicetree/bindings/display/ |
A D | xylon,logicvc-display.yaml | 145 xylon,layer-alpha-mode: 177 - xylon,layer-alpha-mode 248 xylon,layer-alpha-mode = "layer"; 258 xylon,layer-alpha-mode = "layer"; 267 xylon,layer-alpha-mode = "layer"; 276 xylon,layer-alpha-mode = "layer"; 285 xylon,layer-alpha-mode = "layer";
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
A 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/drivers/media/platform/vsp1/ |
A 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/drivers/media/test-drivers/vicodec/ |
A D | codec-v4l2-fwht.c | 103 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()
|