Searched refs:cpp (Results 101 - 125 of 209) sorted by relevance

123456789

/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_fbc.c133 stride /= fb->format->cpp[0];
141 unsigned int cpp = 4; /* FBC always 4 bytes per pixel */ local
143 return intel_fbc_plane_stride(plane_state) * cpp;
151 unsigned int cpp = 4; /* FBC always 4 bytes per pixel */ local
157 stride = width * cpp * height / limit;
740 return plane_state->hw.fb->format->cpp[0] == 2 ? 2 : 1;
866 fb->format->cpp[0];
875 fb->format->cpp[0];
889 fb->format->cpp[0];
H A Dintel_fbdev.c374 cur_size = cur_size * fb->base.format->cpp[0];
392 fb->base.format->cpp[0] * 8,
416 ifbdev->preferred_bpp = fb->base.format->cpp[0] * 8;
/linux-master/drivers/gpu/drm/exynos/
H A Dexynos7_drm_decon.c314 DRM_DEV_DEBUG_KMS(ctx->dev, "cpp = %d\n", fb->format->cpp[0]);
324 padding = (fb->pitches[0] / fb->format->cpp[0]) - fb->width;
392 unsigned int cpp = fb->format->cpp[0]; local
412 padding = (pitch / cpp) - fb->width;
H A Dexynos_drm_rotator.c145 ROT_SET_BUF_SIZE_W(buf->buf.pitch[0] / buf->format->cpp[0]);
193 ROT_SET_BUF_SIZE_W(buf->buf.pitch[0] / buf->format->cpp[0]);
H A Dexynos_drm_fimd.c840 unsigned int cpp = fb->format->cpp[0]; local
846 offset = state->src.x * cpp;
866 buf_offsize = pitch - (state->crtc.w * cpp);
867 line_size = state->crtc.w * cpp;
/linux-master/net/netfilter/ipvs/
H A Dip_vs_proto_sctp.c18 int *verdict, struct ip_vs_conn **cpp,
70 *cpp = ip_vs_schedule(svc, skb, pd, &ignored, iph);
71 if (!*cpp && ignored <= 0) {
16 sctp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, int *verdict, struct ip_vs_conn **cpp, struct ip_vs_iphdr *iph) argument
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_bo.c676 int cpp = DIV_ROUND_UP(args->bpp, 8); local
679 switch (cpp) {
692 args->pitch = args->width * cpp;
/linux-master/kernel/debug/kdb/
H A Dkdb_main.c972 char *cpp, quoted; local
991 cpp = cbuf;
1004 if (cpp >= cbuf + CMD_BUFLEN) {
1015 argv[argc++] = cpp;
1022 if (cpp >= cbuf + CMD_BUFLEN)
1026 *cpp++ = *cp++;
1038 *cpp = *cp++;
1039 if (*cpp == '=' && !quoted)
1041 ++cpp;
1043 *cpp
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp6000_pcie.c1228 static int nfp6000_init(struct nfp_cpp *cpp) argument
1230 nfp_cpp_area_cache_add(cpp, SZ_64K);
1231 nfp_cpp_area_cache_add(cpp, SZ_64K);
1232 nfp_cpp_area_cache_add(cpp, SZ_256K);
1237 static void nfp6000_free(struct nfp_cpp *cpp) argument
1239 struct nfp6000_pcie *nfp = nfp_cpp_priv(cpp);
/linux-master/drivers/net/ethernet/freescale/fman/
H A Dfman_keygen.c350 * cpp: CPP register value
354 static void keygen_write_cpp(struct fman_kg_regs __iomem *regs, u32 cpp) argument
356 iowrite32be(cpp, &regs->fmkg_pe.fmkg_pe_cpp);
659 /* Clear all pe cpp classification plans registers */
/linux-master/drivers/gpu/drm/stm/
H A Dltdc.c1353 paddr += (fb->format->cpp[0] * (x1 - x0 + 1)) - 1;
1362 line_length = fb->format->cpp[0] *
1387 paddr1 += ((fb->format->cpp[1] * (x1 - x0 + 1)) >> 1) - 1;
1400 paddr1 += ((fb->format->cpp[1] * (x1 - x0 + 1)) >> 1) - 1;
1401 paddr2 += ((fb->format->cpp[2] * (x1 - x0 + 1)) >> 1) - 1;
1418 paddr1 += ((fb->format->cpp[1] * (x1 - x0 + 1)) >> 1) - 1;
1419 paddr2 += ((fb->format->cpp[2] * (x1 - x0 + 1)) >> 1) - 1;
1446 line_length = ((fb->format->cpp[1] * (x1 - x0 + 1)) >> 1) +
/linux-master/tools/build/
H A DMakefile.build108 $(OUTPUT)%.o: %.cpp FORCE
/linux-master/drivers/net/ethernet/netronome/nfp/abm/
H A Dcls.c94 nfp_err(abm->app->cpp,
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_draw.c149 int depth = fb->format->cpp[0] * 8;
/linux-master/drivers/gpu/drm/msm/disp/
H A Dmdp_format.c74 .cpp = c, \
88 /* name a r g b e0 e1 e2 e3 alpha tight cpp cnt ... */
/linux-master/drivers/gpu/drm/armada/
H A Darmada_fbdev.c106 dfb->fb.width, dfb->fb.height, dfb->fb.format->cpp[0] * 8,
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dcurs507a.c129 if (asyw->image.pitch[0] != asyw->image.w * fb->format->cpp[0]) {
/linux-master/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c288 return bpp_shift[format->cpp[0] - 1];
299 u32 offset = fb->pitches[0] / fb->format->cpp[0];
302 if (fb->format->cpp[0] * 8 == 24)
333 bpp = format->cpp[0] * 8;
H A Dmgag200_g200se.c78 if (format->cpp[0] * 8 > 16)
80 else if (format->cpp[0] * 8 > 8)
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c789 fb->pitches[0] / fb->format->cpp[0];
803 fb->pitches[0] / fb->format->cpp[0];
812 fb->pitches[1] / fb->format->cpp[1];
1283 attributes.pitch = afb->base.pitches[0] / afb->base.format->cpp[0];
1427 if (microtile == MICRO_SWIZZLE_D && info->cpp[0] == 4)
1432 info->cpp[0] < 8)
1437 if (info->cpp[0] != 4)
/linux-master/drivers/gpu/drm/omapdrm/
H A Domap_dmm_tiler.c49 .cpp = (bytes_per_pixel), \
57 u32 cpp; /* bytes/chars per pixel */ member in struct:__anon838
548 slot_bytes = geom[fmt].slot_w * geom[fmt].cpp;
707 return geom[fmt].cpp * w * h;
713 return round_up(geom[fmt].cpp * w, PAGE_SIZE) * h;
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_plane.c663 * vc4_state->src_w[i] * vc4_state->src_h[i] * cpp * vrefresh
676 fb->format->cpp[i];
880 fb->format->cpp[i];
888 u32 tile_w_shift = fb->format->cpp[0] == 2 ? 6 : 5;
1028 pix_per_tile = tile_w / fb->format->cpp[0];
1031 fb->format->cpp[i];
/linux-master/drivers/gpu/drm/tidss/
H A Dtidss_dispc.c2073 return gem->dma_addr + fb->offsets[0] + x * fb->format->cpp[0] +
2091 (x * fb->format->cpp[1] / fb->format->hsub) +
2101 u16 cpp = state->fb->format->cpp[0]; local
2102 u32 fb_width = state->fb->pitches[0] / cpp;
2121 pixinc(scale.xinc, cpp * 2));
2124 pixinc(scale.xinc, cpp));
2129 cpp));
2132 u16 cpp_uv = state->fb->format->cpp[1];
/linux-master/drivers/gpu/drm/hisilicon/hibmc/
H A Dhibmc_drm_de.c123 reg = new_state->fb->width * (new_state->fb->format->cpp[0]);
134 new_state->fb->format->cpp[0] * 8 / 16);
/linux-master/drivers/gpu/drm/gma500/
H A Doaktrail_crtc.c616 offset = y * fb->pitches[0] + x * fb->format->cpp[0];
623 switch (fb->format->cpp[0] * 8) {

Completed in 573 milliseconds

123456789