Searched refs:alpha (Results 1 - 25 of 55) sorted by relevance

123

/drivers/gpu/drm/rcar-du/
H A Drcar_du_plane.h42 unsigned int alpha; member in struct:rcar_du_plane
65 struct drm_property *alpha; member in struct:rcar_du_planes
H A Drcar_du_plane.c163 /* The PnALPHAR register controls alpha-blending in 16bpp formats
166 * For ARGB, set the alpha value to 0, and enable alpha-blending when
167 * the A bit is 0. This maps A=0 to alpha=0 and A=1 to alpha=255.
169 * For XRGB, set the alpha value to the plane-wide alpha value and
170 * enable alpha-blending regardless of the X bit value.
176 PnALPHAR_ABIT_X | plane->alpha);
355 * the alpha an
357 rcar_du_plane_set_alpha(struct rcar_du_plane *plane, u32 alpha) argument
[all...]
/drivers/media/platform/vsp1/
H A Dvsp1_uds.h38 void vsp1_uds_set_alpha(struct vsp1_uds *uds, unsigned int alpha);
H A Dvsp1_video.h36 * @alpha: has an alpha channel
49 bool alpha; member in struct:vsp1_format_info
150 unsigned int alpha);
H A Dvsp1_uds.c48 void vsp1_uds_set_alpha(struct vsp1_uds *uds, unsigned int alpha) argument
50 vsp1_uds_write(uds, VI6_UDS_ALPVAL, alpha << VI6_UDS_ALPVAL_VAL0_SHIFT);
137 /* Multi-tap scaling can't be enabled along with alpha scaling when
H A Dvsp1_rpf.c139 /* Use the alpha channel (extended to 8 bits) when available or an
140 * alpha value set through the V4L2_CID_ALPHA_COMPONENT control
144 (fmtinfo->alpha ? VI6_RPF_ALPH_SEL_ASEL_PACKED
H A Dvsp1_wpf.c136 if (fmtinfo->alpha)
/drivers/gpu/drm/msm/mdp/
H A Dmdp_format.c22 #define FMT(name, a, r, g, b, e0, e1, e2, e3, alpha, tight, c, cnt) { \
29 .alpha_enable = alpha, \
38 /* name a r g b e0 e1 e2 e3 alpha tight cpp cnt */
/drivers/char/agp/
H A DMakefile10 obj-$(CONFIG_AGP_ALPHA_CORE) += alpha-agp.o
/drivers/gpu/drm/nouveau/core/engine/graph/
H A Dctxnvd7.c185 const u32 alpha = impl->alpha_nr; local
199 mmio_wr32(info, 0x405830, (beta << 16) | alpha);
200 mmio_wr32(info, 0x4064c4, ((alpha / 4) << 16) | max_batches);
204 const u32 a = alpha * priv->ppc_tpc_nr[gpc][ppc];
H A Dctxnvc1.c734 const u32 alpha = impl->alpha_nr; local
748 mmio_wr32(info, 0x405830, (beta << 16) | alpha);
749 mmio_wr32(info, 0x4064c4, ((alpha / 4) << 16) | max_batches);
753 const u32 a = alpha;
/drivers/video/fbdev/mbx/
H A Dmbxfb.c512 static int mbxfb_ioctl_alphactl(struct mbxfb_alphaCtl *alpha) argument
517 vbbase = Vbbase_Glalpha(alpha->overlay_global_alpha) |
518 Vbbase_Colkey(alpha->overlay_colorkey);
520 gbbase = Gbbase_Glalpha(alpha->graphics_global_alpha) |
521 Gbbase_Colkey(alpha->graphics_colorkey);
525 vcmsk |= Vcmsk_colkey_m(alpha->overlay_colorkey_mask);
529 gdrctrl |= Gdrctrl_Colkeym(alpha->graphics_colorkey_mask);
537 switch (alpha->overlay_colorkey_mode) {
550 switch (alpha->overlay_blend_mode) {
564 switch (alpha
606 struct mbxfb_alphaCtl alpha; local
[all...]
/drivers/video/fbdev/omap2/dss/
H A Doverlay-sysfs.c253 u8 alpha; local
259 r = kstrtou8(buf, 0, &alpha);
265 info.global_alpha = alpha;
295 u8 alpha; local
301 r = kstrtou8(buf, 0, &alpha);
307 info.pre_mult_alpha = alpha;
/drivers/gpu/drm/shmobile/
H A Dshmob_drm_plane.c30 unsigned int alpha; member in struct:shmob_drm_plane
73 format = LDBBSIFR_EN | (splane->alpha << LDBBSIFR_LAY_SHIFT);
256 splane->alpha = 255;
/drivers/media/platform/omap3isp/
H A Dispcsi2.h87 u16 alpha; member in struct:isp_csi2_ctx_cfg
/drivers/media/platform/
H A Dvino.h20 volatile u32 alpha; member in struct:sgi_vino_channel
/drivers/staging/media/omap4iss/
H A Diss_csi2.h87 u16 alpha; member in struct:iss_csi2_ctx_cfg
/drivers/gpu/ipu-v3/
H A Dipu-dp.c88 u8 alpha, bool bg_chan)
105 writel(reg | ((u32) alpha << 24),
87 ipu_dp_set_global_alpha(struct ipu_dp *dp, bool enable, u8 alpha, bool bg_chan) argument
/drivers/net/wireless/ath/ath9k/
H A Dar9003_paprd.c432 int Q_scale_B, Q_beta, Q_alpha, alpha, beta, order_1, order_2; local
636 alpha = (alpha_raw << 10) / scale_B;
653 y3 = (alpha * tmp) >> order2_3x;
689 alpha = (alpha_raw << 10) / scale_B;
720 y3 = (alpha * tmp -
723 y3 = (alpha * tmp +
/drivers/media/platform/exynos4-is/
H A Dfimc-core.c565 ctx->d_frame.alpha = ctrl->val;
616 ctrls->alpha = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops,
620 ctrls->alpha = NULL;
646 ctrls->alpha = NULL;
663 if (ctrls->alpha)
664 v4l2_ctrl_activate(ctrls->alpha, active && has_alpha);
680 /* Update maximum value of the alpha color control */
684 struct v4l2_ctrl *ctrl = ctx->ctrls.alpha;
H A Dfimc-core.h263 u8 alpha; member in struct:fimc_frame
385 * @alpha_color: 1 if alpha color component is supported
450 * @alpha: RGB alpha control
462 struct v4l2_ctrl *alpha; member in struct:fimc_ctrls
586 /* Return the alpha component bit mask */
/drivers/media/platform/vivid/
H A Dvivid-tpg.c579 u8 alpha = tpg->alpha_component; local
585 alpha = 0;
628 alpha = 0;
632 buf[0][offset + 1] = (alpha & 0x80) | (r_y << 2) | (g_u >> 3);
635 buf[0][offset] = (alpha & 0x80) | (r_y << 2) | (g_u >> 3);
650 alpha = 0;
653 buf[0][offset] = alpha;
660 alpha = 0;
666 buf[0][offset + 3] = alpha;
/drivers/video/fbdev/
H A Dsh_mobile_lcdcfb.c156 * @mode: Overlay blending mode (alpha blend or ROP3)
157 * @alpha: Global alpha blending value (0-255, for alpha blending mode)
185 unsigned int alpha; member in struct:sh_mobile_lcdc_overlay
884 format = LDBBSIFR_EN | (ovl->alpha << LDBBSIFR_LAY_SHIFT);
1334 return scnprintf(buf, PAGE_SIZE, "%u\n", ovl->alpha);
1343 unsigned int alpha; local
1346 alpha = simple_strtoul(buf, &endp, 10);
1353 if (alpha > 25
[all...]
/drivers/video/fbdev/msm/
H A Dmdp_ppp.c174 if (req->alpha != MDP_ALPHA_NOP) {
191 req->alpha &= 0xff;
196 } else if (req->alpha < MDP_ALPHA_NOP) {
197 /* just blend by alpha */
622 mdp_writel(mdp, (req->alpha << 24) | (req->transp_mask & 0xffffff),
/drivers/gpu/drm/nouveau/dispnv04/
H A Dcrtc.c948 int alpha, i; local
950 /* nv11+ supports premultiplied (PM), or non-premultiplied (NPM) alpha
959 /* hw gets unhappy if alpha <= rgb values. for a PM image "less
961 * alpha channel (slightly inaccurate, but so is attempting to
964 alpha = pixel >> 24;
965 if (alpha > 0 && alpha < 255)
966 pixel = (pixel & 0x00ffffff) | ((alpha + 1) << 24);

Completed in 392 milliseconds

123