/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_fbc.c | 133 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 D | intel_fbdev.c | 374 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 D | exynos7_drm_decon.c | 314 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 D | exynos_drm_rotator.c | 145 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 D | exynos_drm_fimd.c | 840 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 D | ip_vs_proto_sctp.c | 18 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 D | vmwgfx_bo.c | 676 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 D | kdb_main.c | 972 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 D | nfp6000_pcie.c | 1228 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 D | fman_keygen.c | 350 * cpp: CPP register value 354 static void keygen_write_cpp(struct fman_kg_regs __iomem *regs, u32 cpp) argument 356 iowrite32be(cpp, ®s->fmkg_pe.fmkg_pe_cpp); 659 /* Clear all pe cpp classification plans registers */
|
/linux-master/drivers/gpu/drm/stm/ |
H A D | ltdc.c | 1353 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 D | Makefile.build | 108 $(OUTPUT)%.o: %.cpp FORCE
|
/linux-master/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | cls.c | 94 nfp_err(abm->app->cpp,
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 149 int depth = fb->format->cpp[0] * 8;
|
/linux-master/drivers/gpu/drm/msm/disp/ |
H A D | mdp_format.c | 74 .cpp = c, \ 88 /* name a r g b e0 e1 e2 e3 alpha tight cpp cnt ... */
|
/linux-master/drivers/gpu/drm/armada/ |
H A D | armada_fbdev.c | 106 dfb->fb.width, dfb->fb.height, dfb->fb.format->cpp[0] * 8,
|
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | curs507a.c | 129 if (asyw->image.pitch[0] != asyw->image.w * fb->format->cpp[0]) {
|
/linux-master/drivers/gpu/drm/mgag200/ |
H A D | mgag200_mode.c | 288 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 D | mgag200_g200se.c | 78 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 D | amdgpu_dm_plane.c | 789 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 D | omap_dmm_tiler.c | 49 .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 D | vc4_plane.c | 663 * 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 D | tidss_dispc.c | 2073 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 D | hibmc_drm_de.c | 123 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 D | oaktrail_crtc.c | 616 offset = y * fb->pitches[0] + x * fb->format->cpp[0]; 623 switch (fb->format->cpp[0] * 8) {
|