cpp 1739 arch/ia64/include/asm/pal.h cpp :8, /* Cores per processor */ cpp 1774 arch/ia64/include/asm/pal.h #define overview_cpp overview.overview_bits.cpp cpp 221 arch/powerpc/platforms/powermac/bootx_init.c u32 *cpp, *ppp = &np->properties; cpp 266 arch/powerpc/platforms/powermac/bootx_init.c cpp = &np->child; cpp 267 arch/powerpc/platforms/powermac/bootx_init.c while(*cpp) { cpp 268 arch/powerpc/platforms/powermac/bootx_init.c np = (struct bootx_dt_node *)(base + *cpp); cpp 269 arch/powerpc/platforms/powermac/bootx_init.c bootx_scan_dt_build_strings(base, *cpp, mem_end); cpp 270 arch/powerpc/platforms/powermac/bootx_init.c cpp = &np->sibling; cpp 279 arch/powerpc/platforms/powermac/bootx_init.c u32 *cpp, *ppp = &np->properties; cpp 338 arch/powerpc/platforms/powermac/bootx_init.c cpp = &np->child; cpp 339 arch/powerpc/platforms/powermac/bootx_init.c while(*cpp) { cpp 340 arch/powerpc/platforms/powermac/bootx_init.c np = (struct bootx_dt_node *)(base + *cpp); cpp 341 arch/powerpc/platforms/powermac/bootx_init.c bootx_scan_dt_build_struct(base, *cpp, mem_end); cpp 342 arch/powerpc/platforms/powermac/bootx_init.c cpp = &np->sibling; cpp 251 arch/sparc/vdso/vma.c struct page *cp, **cpp = NULL; cpp 268 arch/sparc/vdso/vma.c cpp = kcalloc(cnpages, sizeof(struct page *), GFP_KERNEL); cpp 269 arch/sparc/vdso/vma.c vdso_mapping->pages = cpp; cpp 271 arch/sparc/vdso/vma.c if (!cpp) cpp 278 arch/sparc/vdso/vma.c cpp[i] = cp; cpp 309 arch/sparc/vdso/vma.c if (cpp != NULL) { cpp 311 arch/sparc/vdso/vma.c if (cpp[i] != NULL) cpp 312 arch/sparc/vdso/vma.c __free_page(cpp[i]); cpp 314 arch/sparc/vdso/vma.c kfree(cpp); cpp 60 drivers/crypto/ccree/cc_cipher.c struct cc_cpp_key_info cpp; cpp 361 drivers/crypto/ccree/cc_cipher.c ctx_p->cpp.slot = cc_slot_to_cpp_key(hki.hw_key1); cpp 363 drivers/crypto/ccree/cc_cipher.c ctx_p->cpp.alg = CC_CPP_AES; cpp 365 drivers/crypto/ccree/cc_cipher.c ctx_p->cpp.alg = CC_CPP_SM4; cpp 368 drivers/crypto/ccree/cc_cipher.c ctx_p->cpp.alg, ctx_p->cpp.slot); cpp 690 drivers/crypto/ccree/cc_cipher.c set_cpp_crypto_key(&desc[*seq_size], ctx_p->cpp.slot); cpp 905 drivers/crypto/ccree/cc_cipher.c cc_req.cpp.is_cpp = true; cpp 906 drivers/crypto/ccree/cc_cipher.c cc_req.cpp.alg = ctx_p->cpp.alg; cpp 907 drivers/crypto/ccree/cc_cipher.c cc_req.cpp.slot = ctx_p->cpp.slot; cpp 130 drivers/crypto/ccree/cc_driver.h struct cc_cpp_req cpp; cpp 599 drivers/crypto/ccree/cc_request_mgr.c if (cc_req->cpp.is_cpp) { cpp 602 drivers/crypto/ccree/cc_request_mgr.c cc_req->cpp.slot, cc_req->cpp.alg); cpp 603 drivers/crypto/ccree/cc_request_mgr.c mask = cc_cpp_int_mask(cc_req->cpp.alg, cpp 604 drivers/crypto/ccree/cc_request_mgr.c cc_req->cpp.slot); cpp 83 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int cpp, bool tiled) cpp 88 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c switch (cpp) { cpp 103 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c return aligned * cpp; cpp 133 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c u32 cpp; cpp 139 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c cpp = info->cpp[0]; cpp 142 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c mode_cmd->pitches[0] = amdgpu_align_pitch(adev, mode_cmd->width, cpp, cpp 249 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c fb->pitches[0] / fb->format->cpp[0]); cpp 2041 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; cpp 267 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c fb->pitches[0] / fb->format->cpp[0]); cpp 2083 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; cpp 201 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c fb->pitches[0] / fb->format->cpp[0]); cpp 1976 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; cpp 194 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c fb->pitches[0] / fb->format->cpp[0]); cpp 1950 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; cpp 2788 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c fb->pitches[0] / fb->format->cpp[0]; cpp 2801 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c fb->pitches[0] / fb->format->cpp[0]; cpp 2810 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c fb->pitches[1] / fb->format->cpp[1]; cpp 50 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c bpp = info->cpp[0] * 8; cpp 387 drivers/gpu/drm/arm/malidp_hw.c int bpp = info->cpp[0] * 8; cpp 228 drivers/gpu/drm/arm/malidp_planes.c if (info->cpp[0] <= 2) { cpp 91 drivers/gpu/drm/armada/armada_fbdev.c dfb->fb.width, dfb->fb.height, dfb->fb.format->cpp[0] * 8, cpp 49 drivers/gpu/drm/armada/armada_plane.c fb->pitches[0], x, y, format->cpp[0] * 8); cpp 55 drivers/gpu/drm/armada/armada_plane.c x * format->cpp[0]; cpp 63 drivers/gpu/drm/armada/armada_plane.c x * format->cpp[i]; cpp 96 drivers/gpu/drm/ast/ast_mode.c switch (fb->format->cpp[0] * 8) { cpp 220 drivers/gpu/drm/ast/ast_mode.c fb->format->cpp[0] * 8); cpp 425 drivers/gpu/drm/ast/ast_mode.c switch (fb->format->cpp[0] * 8) { cpp 483 drivers/gpu/drm/ast/ast_mode.c switch (fb->format->cpp[0] * 8) { cpp 647 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->bpp[i] = fb->format->cpp[i]; cpp 56 drivers/gpu/drm/cirrus/cirrus.c unsigned int cpp; cpp 124 drivers/gpu/drm/cirrus/cirrus.c if (fb->format->cpp[0] == 4 && fb->pitches[0] > CIRRUS_MAX_PITCH) { cpp 141 drivers/gpu/drm/cirrus/cirrus.c return fb->format->cpp[0]; cpp 250 drivers/gpu/drm/cirrus/cirrus.c cirrus->cpp = cirrus_cpp(fb); cpp 251 drivers/gpu/drm/cirrus/cirrus.c switch (cirrus->cpp * 8) { cpp 309 drivers/gpu/drm/cirrus/cirrus.c if (cirrus->cpp == fb->format->cpp[0]) cpp 313 drivers/gpu/drm/cirrus/cirrus.c else if (fb->format->cpp[0] == 4 && cirrus->cpp == 2) cpp 318 drivers/gpu/drm/cirrus/cirrus.c else if (fb->format->cpp[0] == 4 && cirrus->cpp == 3) cpp 431 drivers/gpu/drm/cirrus/cirrus.c cirrus->cpp != cirrus_cpp(pipe->plane.state->fb)) cpp 266 drivers/gpu/drm/drm_client.c dumb_args.bpp = info->cpp[0] * 8; cpp 369 drivers/gpu/drm/drm_client.c fb_req.bpp = info->cpp[0] * 8; cpp 62 drivers/gpu/drm/drm_dumb_buffers.c u32 cpp, stride, size; cpp 72 drivers/gpu/drm/drm_dumb_buffers.c cpp = DIV_ROUND_UP(args->bpp, 8); cpp 73 drivers/gpu/drm/drm_dumb_buffers.c if (cpp > U32_MAX / args->width) cpp 75 drivers/gpu/drm/drm_dumb_buffers.c stride = cpp * args->width; cpp 385 drivers/gpu/drm/drm_fb_helper.c unsigned int cpp = fb->format->cpp[0]; cpp 386 drivers/gpu/drm/drm_fb_helper.c size_t offset = clip->y1 * fb->pitches[0] + clip->x1 * cpp; cpp 389 drivers/gpu/drm/drm_fb_helper.c size_t len = (clip->x2 - clip->x1) * cpp; cpp 1323 drivers/gpu/drm/drm_fb_helper.c if (var->bits_per_pixel > fb->format->cpp[0] * 8 || cpp 1330 drivers/gpu/drm/drm_fb_helper.c fb->width, fb->height, fb->format->cpp[0] * 8); cpp 1351 drivers/gpu/drm/drm_fb_helper.c var->bits_per_pixel = fb->format->cpp[0] * 8; cpp 1686 drivers/gpu/drm/drm_fb_helper.c info->var.bits_per_pixel = fb->format->cpp[0] * 8; cpp 21 drivers/gpu/drm/drm_format_helper.c unsigned int pitch, unsigned int cpp) cpp 23 drivers/gpu/drm/drm_format_helper.c return clip->y1 * pitch + clip->x1 * cpp; cpp 39 drivers/gpu/drm/drm_format_helper.c unsigned int cpp = fb->format->cpp[0]; cpp 40 drivers/gpu/drm/drm_format_helper.c size_t len = (clip->x2 - clip->x1) * cpp; cpp 43 drivers/gpu/drm/drm_format_helper.c vaddr += clip_offset(clip, fb->pitches[0], cpp); cpp 66 drivers/gpu/drm/drm_format_helper.c unsigned int cpp = fb->format->cpp[0]; cpp 67 drivers/gpu/drm/drm_format_helper.c unsigned int offset = clip_offset(clip, fb->pitches[0], cpp); cpp 68 drivers/gpu/drm/drm_format_helper.c size_t len = (clip->x2 - clip->x1) * cpp; cpp 160 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 161 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 162 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 163 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 164 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 165 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 166 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 167 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 168 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 169 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 170 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 171 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 172 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 173 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 174 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 175 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 176 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 177 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBA5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 178 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRA5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 179 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB565, .depth = 16, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 180 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR565, .depth = 16, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 181 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB888, .depth = 24, .num_planes = 1, .cpp = { 3, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 182 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR888, .depth = 24, .num_planes = 1, .cpp = { 3, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 183 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 184 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 185 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX8888, .depth = 24, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 186 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX8888, .depth = 24, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 187 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB565_A8, .depth = 24, .num_planes = 2, .cpp = { 2, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 188 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR565_A8, .depth = 24, .num_planes = 2, .cpp = { 2, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 189 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB2101010, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 190 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR2101010, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 191 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX1010102, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 192 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX1010102, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 193 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB2101010, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 194 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR2101010, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 195 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBA1010102, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 196 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRA1010102, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 197 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 198 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 199 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBA8888, .depth = 32, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 200 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRA8888, .depth = 32, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 201 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB16161616F, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 202 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR16161616F, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1 }, cpp 203 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB16161616F, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 204 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR16161616F, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 205 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB888_A8, .depth = 32, .num_planes = 2, .cpp = { 3, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 206 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR888_A8, .depth = 32, .num_planes = 2, .cpp = { 3, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 207 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB8888_A8, .depth = 32, .num_planes = 2, .cpp = { 4, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 208 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR8888_A8, .depth = 32, .num_planes = 2, .cpp = { 4, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 209 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX8888_A8, .depth = 32, .num_planes = 2, .cpp = { 4, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 210 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX8888_A8, .depth = 32, .num_planes = 2, .cpp = { 4, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, cpp 211 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV410, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 4, .is_yuv = true }, cpp 212 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU410, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 4, .is_yuv = true }, cpp 213 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV411, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 1, .is_yuv = true }, cpp 214 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU411, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 1, .is_yuv = true }, cpp 215 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV420, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 2, .is_yuv = true }, cpp 216 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU420, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 2, .is_yuv = true }, cpp 217 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV422, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 1, .is_yuv = true }, cpp 218 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU422, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 1, .is_yuv = true }, cpp 219 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV444, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 1, .vsub = 1, .is_yuv = true }, cpp 220 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU444, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 1, .vsub = 1, .is_yuv = true }, cpp 221 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV12, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 2, .vsub = 2, .is_yuv = true }, cpp 222 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV21, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 2, .vsub = 2, .is_yuv = true }, cpp 223 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV16, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, cpp 224 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV61, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, cpp 225 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV24, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, cpp 226 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV42, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, cpp 227 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUYV, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, cpp 228 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVYU, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, cpp 229 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_UYVY, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, cpp 230 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_VYUY, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, cpp 231 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XYUV8888, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, cpp 232 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_VUY888, .depth = 0, .num_planes = 1, .cpp = { 3, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, cpp 233 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_AYUV, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true, .is_yuv = true }, cpp 234 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y210, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, cpp 235 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y212, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, cpp 236 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y216, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, cpp 237 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y410, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true, .is_yuv = true }, cpp 238 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y412, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true, .is_yuv = true }, cpp 239 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y416, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true, .is_yuv = true }, cpp 240 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XVYU2101010, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, cpp 241 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XVYU12_16161616, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, cpp 242 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XVYU16161616, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, cpp 269 drivers/gpu/drm/drm_fourcc.c .num_planes = 1, .cpp = { 0, 0, 0 }, .hsub = 1, .vsub = 1, cpp 272 drivers/gpu/drm/drm_fourcc.c .num_planes = 1, .cpp = { 0, 0, 0 }, .hsub = 2, .vsub = 2, cpp 275 drivers/gpu/drm/drm_fourcc.c .num_planes = 1, .cpp = { 0, 0, 0 }, .hsub = 2, .vsub = 2, cpp 533 drivers/gpu/drm/drm_framebuffer.c r->bpp = fb->format->cpp[0] * 8; cpp 360 drivers/gpu/drm/exynos/exynos5433_drm_decon.c DRM_DEV_DEBUG_KMS(ctx->dev, "cpp = %u\n", fb->format->cpp[0]); cpp 407 drivers/gpu/drm/exynos/exynos5433_drm_decon.c unsigned int cpp = fb->format->cpp[0]; cpp 443 drivers/gpu/drm/exynos/exynos5433_drm_decon.c val = BIT_VAL(pitch - state->crtc.w * cpp, 27, 14) cpp 444 drivers/gpu/drm/exynos/exynos5433_drm_decon.c | BIT_VAL(state->crtc.w * cpp, 13, 0); cpp 446 drivers/gpu/drm/exynos/exynos5433_drm_decon.c val = BIT_VAL(pitch - state->crtc.w * cpp, 29, 15) cpp 447 drivers/gpu/drm/exynos/exynos5433_drm_decon.c | BIT_VAL(state->crtc.w * cpp, 14, 0); cpp 314 drivers/gpu/drm/exynos/exynos7_drm_decon.c DRM_DEV_DEBUG_KMS(ctx->dev, "cpp = %d\n", fb->format->cpp[0]); cpp 324 drivers/gpu/drm/exynos/exynos7_drm_decon.c padding = (fb->pitches[0] / fb->format->cpp[0]) - fb->width; cpp 391 drivers/gpu/drm/exynos/exynos7_drm_decon.c unsigned int cpp = fb->format->cpp[0]; cpp 411 drivers/gpu/drm/exynos/exynos7_drm_decon.c padding = (pitch / cpp) - fb->width; cpp 78 drivers/gpu/drm/exynos/exynos_drm_fbdev.c unsigned int size = fb->width * fb->height * fb->format->cpp[0]; cpp 103 drivers/gpu/drm/exynos/exynos_drm_fbdev.c offset = fbi->var.xoffset * fb->format->cpp[0]; cpp 472 drivers/gpu/drm/exynos/exynos_drm_fimc.c unsigned int real_width = buf->buf.pitch[0] / buf->format->cpp[0]; cpp 507 drivers/gpu/drm/exynos/exynos_drm_fimc.c unsigned int real_width = buf->buf.pitch[0] / buf->format->cpp[0]; cpp 849 drivers/gpu/drm/exynos/exynos_drm_fimc.c unsigned int real_width = buf->buf.pitch[0] / buf->format->cpp[0]; cpp 799 drivers/gpu/drm/exynos/exynos_drm_fimd.c unsigned int cpp = fb->format->cpp[0]; cpp 805 drivers/gpu/drm/exynos/exynos_drm_fimd.c offset = state->src.x * cpp; cpp 825 drivers/gpu/drm/exynos/exynos_drm_fimd.c buf_offsize = pitch - (state->crtc.w * cpp); cpp 826 drivers/gpu/drm/exynos/exynos_drm_fimd.c line_size = state->crtc.w * cpp; cpp 585 drivers/gpu/drm/exynos/exynos_drm_gsc.c cfg |= (GSC_SRCIMG_WIDTH(buf->buf.pitch[0] / buf->format->cpp[0]) | cpp 887 drivers/gpu/drm/exynos/exynos_drm_gsc.c cfg |= GSC_DSTIMG_WIDTH(buf->buf.pitch[0] / buf->format->cpp[0]) | cpp 481 drivers/gpu/drm/exynos/exynos_drm_ipp.c int real_width = buf->buf.pitch[0] / buf->format->cpp[0]; cpp 576 drivers/gpu/drm/exynos/exynos_drm_ipp.c buf->buf.pitch[i] = width * buf->format->cpp[i]; cpp 577 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (buf->buf.pitch[i] < width * buf->format->cpp[i]) cpp 145 drivers/gpu/drm/exynos/exynos_drm_rotator.c ROT_SET_BUF_SIZE_W(buf->buf.pitch[0] / buf->format->cpp[0]); cpp 193 drivers/gpu/drm/exynos/exynos_drm_rotator.c ROT_SET_BUF_SIZE_W(buf->buf.pitch[0] / buf->format->cpp[0]); cpp 171 drivers/gpu/drm/exynos/exynos_drm_scaler.c src_buf->format->cpp[0]); cpp 234 drivers/gpu/drm/exynos/exynos_drm_scaler.c dst_buf->format->cpp[0]); cpp 650 drivers/gpu/drm/exynos/exynos_mixer.c + (state->src.x * fb->format->cpp[0]) cpp 661 drivers/gpu/drm/exynos/exynos_mixer.c fb->pitches[0] / fb->format->cpp[0]); cpp 64 drivers/gpu/drm/gma500/framebuffer.c switch (fb->format->cpp[0] * 8) { cpp 224 drivers/gpu/drm/gma500/framebuffer.c if (!info || !info->depth || info->cpp[0] > 4) cpp 81 drivers/gpu/drm/gma500/gma_display.c offset = y * fb->pitches[0] + x * fb->format->cpp[0]; cpp 88 drivers/gpu/drm/gma500/gma_display.c switch (fb->format->cpp[0] * 8) { cpp 142 drivers/gpu/drm/gma500/mdfld_intel_display.c switch (fb->format->cpp[0] * 8) { cpp 190 drivers/gpu/drm/gma500/mdfld_intel_display.c offset = y * fb->pitches[0] + x * fb->format->cpp[0]; cpp 196 drivers/gpu/drm/gma500/mdfld_intel_display.c switch (fb->format->cpp[0] * 8) { cpp 612 drivers/gpu/drm/gma500/oaktrail_crtc.c offset = y * fb->pitches[0] + x * fb->format->cpp[0]; cpp 619 drivers/gpu/drm/gma500/oaktrail_crtc.c switch (fb->format->cpp[0] * 8) { cpp 125 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c reg = state->fb->width * (state->fb->format->cpp[0]); cpp 129 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c line_l = state->fb->width * state->fb->format->cpp[0]; cpp 139 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c state->fb->format->cpp[0] * 8 / 16); cpp 601 drivers/gpu/drm/i810/i810_dma.c int cpp = 2; cpp 623 drivers/gpu/drm/i810/i810_dma.c unsigned int width = (pbox->x2 - x) * cpp; cpp 625 drivers/gpu/drm/i810/i810_dma.c unsigned int start = y * pitch + x * cpp; cpp 674 drivers/gpu/drm/i810/i810_dma.c int cpp = 2; cpp 688 drivers/gpu/drm/i810/i810_dma.c unsigned int dst = pbox->x1 * cpp + pbox->y1 * pitch; cpp 699 drivers/gpu/drm/i810/i810_dma.c OUT_RING((h << 16) | (w * cpp)); cpp 122 drivers/gpu/drm/i915/display/intel_atomic_plane.c unsigned int cpp; cpp 127 drivers/gpu/drm/i915/display/intel_atomic_plane.c cpp = fb->format->cpp[0]; cpp 136 drivers/gpu/drm/i915/display/intel_atomic_plane.c cpp *= 4; cpp 138 drivers/gpu/drm/i915/display/intel_atomic_plane.c return cpp * crtc_state->pixel_rate; cpp 1900 drivers/gpu/drm/i915/display/intel_display.c unsigned int cpp = fb->format->cpp[color_plane]; cpp 1924 drivers/gpu/drm/i915/display/intel_display.c switch (cpp) { cpp 1934 drivers/gpu/drm/i915/display/intel_display.c MISSING_CASE(cpp); cpp 1935 drivers/gpu/drm/i915/display/intel_display.c return cpp; cpp 1940 drivers/gpu/drm/i915/display/intel_display.c return cpp; cpp 1957 drivers/gpu/drm/i915/display/intel_display.c unsigned int cpp = fb->format->cpp[color_plane]; cpp 1959 drivers/gpu/drm/i915/display/intel_display.c *tile_width = tile_width_bytes / cpp; cpp 2195 drivers/gpu/drm/i915/display/intel_display.c unsigned int cpp = fb->format->cpp[color_plane]; cpp 2198 drivers/gpu/drm/i915/display/intel_display.c return y * pitch + x * cpp; cpp 2255 drivers/gpu/drm/i915/display/intel_display.c unsigned int cpp = fb->format->cpp[color_plane]; cpp 2270 drivers/gpu/drm/i915/display/intel_display.c pitch_tiles = pitch / (tile_width * cpp); cpp 2277 drivers/gpu/drm/i915/display/intel_display.c old_offset += *y * pitch + *x * cpp; cpp 2280 drivers/gpu/drm/i915/display/intel_display.c *x = ((old_offset - new_offset) - *y * pitch) / cpp; cpp 2323 drivers/gpu/drm/i915/display/intel_display.c unsigned int cpp = fb->format->cpp[color_plane]; cpp 2340 drivers/gpu/drm/i915/display/intel_display.c pitch_tiles = pitch / (tile_width * cpp); cpp 2356 drivers/gpu/drm/i915/display/intel_display.c offset = *y * pitch + *x * cpp; cpp 2360 drivers/gpu/drm/i915/display/intel_display.c *x = ((offset & alignment) - *y * pitch) / cpp; cpp 2453 drivers/gpu/drm/i915/display/intel_display.c .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, cpp 2455 drivers/gpu/drm/i915/display/intel_display.c .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, cpp 2457 drivers/gpu/drm/i915/display/intel_display.c .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, cpp 2459 drivers/gpu/drm/i915/display/intel_display.c .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, cpp 2641 drivers/gpu/drm/i915/display/intel_display.c unsigned int cpp, size; cpp 2646 drivers/gpu/drm/i915/display/intel_display.c cpp = fb->format->cpp[i]; cpp 2698 drivers/gpu/drm/i915/display/intel_display.c (x + width) * cpp > fb->pitches[i]) { cpp 2725 drivers/gpu/drm/i915/display/intel_display.c rot_info->plane[i].stride = DIV_ROUND_UP(fb->pitches[i], tile_width * cpp); cpp 2776 drivers/gpu/drm/i915/display/intel_display.c x * cpp, tile_size); cpp 2831 drivers/gpu/drm/i915/display/intel_display.c unsigned int cpp = fb->format->cpp[i]; cpp 2859 drivers/gpu/drm/i915/display/intel_display.c tile_width * cpp); cpp 2885 drivers/gpu/drm/i915/display/intel_display.c plane_state->color_plane[i].stride = pitch_tiles * tile_width * cpp; cpp 3281 drivers/gpu/drm/i915/display/intel_display.c int cpp = fb->format->cpp[color_plane]; cpp 3296 drivers/gpu/drm/i915/display/intel_display.c if (cpp == 8) cpp 3305 drivers/gpu/drm/i915/display/intel_display.c if (cpp == 8) cpp 3319 drivers/gpu/drm/i915/display/intel_display.c int cpp = fb->format->cpp[color_plane]; cpp 3324 drivers/gpu/drm/i915/display/intel_display.c if (cpp == 8) cpp 3333 drivers/gpu/drm/i915/display/intel_display.c if (cpp == 8) cpp 3434 drivers/gpu/drm/i915/display/intel_display.c int cpp = fb->format->cpp[0]; cpp 3436 drivers/gpu/drm/i915/display/intel_display.c while ((x + w) * cpp > plane_state->color_plane[0].stride) { cpp 8665 drivers/gpu/drm/i915/display/intel_display.c fb->format->cpp[0] * 8, base, fb->pitches[0], cpp 9908 drivers/gpu/drm/i915/display/intel_display.c fb->format->cpp[0] * 8, base, fb->pitches[0], cpp 10523 drivers/gpu/drm/i915/display/intel_display.c plane_state->base.crtc_w - 1) * fb->format->cpp[0]; cpp 10901 drivers/gpu/drm/i915/display/intel_display.c if (fb->pitches[0] != plane_state->base.crtc_w * fb->format->cpp[0]) { cpp 174 drivers/gpu/drm/i915/display/intel_fbc.c if (params->fb.format->cpp[0] == 2) cpp 221 drivers/gpu/drm/i915/display/intel_fbc.c if (params->fb.format->cpp[0] == 2) cpp 304 drivers/gpu/drm/i915/display/intel_fbc.c if (params->fb.format->cpp[0] == 2) cpp 500 drivers/gpu/drm/i915/display/intel_fbc.c fb_cpp = fbc->state_cache.fb.format->cpp[0]; cpp 370 drivers/gpu/drm/i915/display/intel_fbdev.c cur_size = cur_size * fb->base.format->cpp[0]; cpp 386 drivers/gpu/drm/i915/display/intel_fbdev.c fb->base.format->cpp[0] * 8, cpp 407 drivers/gpu/drm/i915/display/intel_fbdev.c ifbdev->preferred_bpp = fb->base.format->cpp[0] * 8; cpp 346 drivers/gpu/drm/i915/display/intel_sprite.c int cpp = info->cpp[0]; cpp 353 drivers/gpu/drm/i915/display/intel_sprite.c return min(8192, 32768 / cpp); cpp 355 drivers/gpu/drm/i915/display/intel_sprite.c return min(8192 * cpp, 32768); cpp 1532 drivers/gpu/drm/i915/display/intel_sprite.c unsigned int cpp = fb->format->cpp[0]; cpp 1558 drivers/gpu/drm/i915/display/intel_sprite.c width_bytes = ((src_x * cpp) & 63) + src_w * cpp; cpp 1529 drivers/gpu/drm/i915/i915_debugfs.c fbdev_fb->base.format->cpp[0] * 8, cpp 1547 drivers/gpu/drm/i915/i915_debugfs.c fb->base.format->cpp[0] * 8, cpp 918 drivers/gpu/drm/i915/i915_drv.h u8 cpp; cpp 194 drivers/gpu/drm/i915/i915_gem.c int cpp = DIV_ROUND_UP(args->bpp, 8); cpp 197 drivers/gpu/drm/i915/i915_gem.c switch (cpp) { cpp 212 drivers/gpu/drm/i915/i915_gem.c args->pitch = ALIGN(args->width * cpp, 64); cpp 686 drivers/gpu/drm/i915/intel_pm.c unsigned int cpp, cpp 691 drivers/gpu/drm/i915/intel_pm.c ret = mul_u32_u32(pixel_rate, cpp * latency); cpp 730 drivers/gpu/drm/i915/intel_pm.c unsigned int cpp, cpp 743 drivers/gpu/drm/i915/intel_pm.c ret = (ret + 1) * width * cpp; cpp 769 drivers/gpu/drm/i915/intel_pm.c int fifo_size, int cpp, cpp 780 drivers/gpu/drm/i915/intel_pm.c entries = intel_wm_method1(pixel_rate, cpp, cpp 885 drivers/gpu/drm/i915/intel_pm.c int cpp = fb->format->cpp[0]; cpp 891 drivers/gpu/drm/i915/intel_pm.c cpp, latency->display_sr); cpp 910 drivers/gpu/drm/i915/intel_pm.c cpp, latency->display_hpll_disable); cpp 942 drivers/gpu/drm/i915/intel_pm.c static unsigned int g4x_tlb_miss_wa(int fifo_size, int width, int cpp) cpp 944 drivers/gpu/drm/i915/intel_pm.c int tlb_miss = fifo_size * 64 - width * cpp * 8; cpp 1120 drivers/gpu/drm/i915/intel_pm.c unsigned int clock, htotal, cpp, width, wm; cpp 1128 drivers/gpu/drm/i915/intel_pm.c cpp = plane_state->base.fb->format->cpp[0]; cpp 1143 drivers/gpu/drm/i915/intel_pm.c cpp = max(cpp, 4u); cpp 1154 drivers/gpu/drm/i915/intel_pm.c wm = intel_wm_method2(clock, htotal, width, cpp, latency); cpp 1157 drivers/gpu/drm/i915/intel_pm.c wm = intel_wm_method1(clock, cpp, latency); cpp 1161 drivers/gpu/drm/i915/intel_pm.c small = intel_wm_method1(clock, cpp, latency); cpp 1162 drivers/gpu/drm/i915/intel_pm.c large = intel_wm_method2(clock, htotal, width, cpp, latency); cpp 1168 drivers/gpu/drm/i915/intel_pm.c width, cpp); cpp 1593 drivers/gpu/drm/i915/intel_pm.c unsigned int cpp, cpp 1599 drivers/gpu/drm/i915/intel_pm.c width, cpp, latency); cpp 1628 drivers/gpu/drm/i915/intel_pm.c unsigned int clock, htotal, cpp, width, wm; cpp 1636 drivers/gpu/drm/i915/intel_pm.c cpp = plane_state->base.fb->format->cpp[0]; cpp 1650 drivers/gpu/drm/i915/intel_pm.c wm = vlv_wm_method2(clock, htotal, width, cpp, cpp 2228 drivers/gpu/drm/i915/intel_pm.c int cpp = fb->format->cpp[0]; cpp 2232 drivers/gpu/drm/i915/intel_pm.c hdisplay, cpp, sr_latency_ns / 100); cpp 2306 drivers/gpu/drm/i915/intel_pm.c int cpp; cpp 2309 drivers/gpu/drm/i915/intel_pm.c cpp = 4; cpp 2311 drivers/gpu/drm/i915/intel_pm.c cpp = fb->format->cpp[0]; cpp 2314 drivers/gpu/drm/i915/intel_pm.c wm_info, fifo_size, cpp, cpp 2333 drivers/gpu/drm/i915/intel_pm.c int cpp; cpp 2336 drivers/gpu/drm/i915/intel_pm.c cpp = 4; cpp 2338 drivers/gpu/drm/i915/intel_pm.c cpp = fb->format->cpp[0]; cpp 2341 drivers/gpu/drm/i915/intel_pm.c wm_info, fifo_size, cpp, cpp 2384 drivers/gpu/drm/i915/intel_pm.c int cpp; cpp 2388 drivers/gpu/drm/i915/intel_pm.c cpp = 4; cpp 2390 drivers/gpu/drm/i915/intel_pm.c cpp = fb->format->cpp[0]; cpp 2392 drivers/gpu/drm/i915/intel_pm.c entries = intel_wm_method2(clock, htotal, hdisplay, cpp, cpp 2451 drivers/gpu/drm/i915/intel_pm.c unsigned int cpp, cpp 2456 drivers/gpu/drm/i915/intel_pm.c ret = intel_wm_method1(pixel_rate, cpp, latency); cpp 2466 drivers/gpu/drm/i915/intel_pm.c unsigned int cpp, cpp 2472 drivers/gpu/drm/i915/intel_pm.c width, cpp, latency); cpp 2478 drivers/gpu/drm/i915/intel_pm.c static u32 ilk_wm_fbc(u32 pri_val, u32 horiz_pixels, u8 cpp) cpp 2486 drivers/gpu/drm/i915/intel_pm.c if (WARN_ON(!cpp)) cpp 2491 drivers/gpu/drm/i915/intel_pm.c return DIV_ROUND_UP(pri_val * 64, horiz_pixels * cpp) + 2; cpp 2510 drivers/gpu/drm/i915/intel_pm.c int cpp; cpp 2518 drivers/gpu/drm/i915/intel_pm.c cpp = plane_state->base.fb->format->cpp[0]; cpp 2520 drivers/gpu/drm/i915/intel_pm.c method1 = ilk_wm_method1(crtc_state->pixel_rate, cpp, mem_value); cpp 2528 drivers/gpu/drm/i915/intel_pm.c cpp, mem_value); cpp 2542 drivers/gpu/drm/i915/intel_pm.c int cpp; cpp 2550 drivers/gpu/drm/i915/intel_pm.c cpp = plane_state->base.fb->format->cpp[0]; cpp 2552 drivers/gpu/drm/i915/intel_pm.c method1 = ilk_wm_method1(crtc_state->pixel_rate, cpp, mem_value); cpp 2556 drivers/gpu/drm/i915/intel_pm.c cpp, mem_value); cpp 2568 drivers/gpu/drm/i915/intel_pm.c int cpp; cpp 2576 drivers/gpu/drm/i915/intel_pm.c cpp = plane_state->base.fb->format->cpp[0]; cpp 2580 drivers/gpu/drm/i915/intel_pm.c plane_state->base.crtc_w, cpp, mem_value); cpp 2588 drivers/gpu/drm/i915/intel_pm.c int cpp; cpp 2593 drivers/gpu/drm/i915/intel_pm.c cpp = plane_state->base.fb->format->cpp[0]; cpp 2595 drivers/gpu/drm/i915/intel_pm.c return ilk_wm_fbc(pri_val, drm_rect_width(&plane_state->base.dst), cpp); cpp 4174 drivers/gpu/drm/i915/intel_pm.c bpp = plane_state->base.fb->format->cpp[0] * 8; cpp 4245 drivers/gpu/drm/i915/intel_pm.c rate *= fb->format->cpp[plane]; cpp 4561 drivers/gpu/drm/i915/intel_pm.c u8 cpp, u32 latency, u32 dbuf_block_size) cpp 4569 drivers/gpu/drm/i915/intel_pm.c wm_intermediate_val = latency * pixel_rate * cpp; cpp 4668 drivers/gpu/drm/i915/intel_pm.c wp->cpp = format->cpp[color_plane]; cpp 4672 drivers/gpu/drm/i915/intel_pm.c modifier == I915_FORMAT_MOD_Yf_TILED && wp->cpp == 1) cpp 4678 drivers/gpu/drm/i915/intel_pm.c switch (wp->cpp) { cpp 4689 drivers/gpu/drm/i915/intel_pm.c MISSING_CASE(wp->cpp); cpp 4699 drivers/gpu/drm/i915/intel_pm.c wp->plane_bytes_per_line = wp->width * wp->cpp; cpp 4795 drivers/gpu/drm/i915/intel_pm.c wp->cpp, latency, wp->dbuf_block_size); cpp 4804 drivers/gpu/drm/i915/intel_pm.c if ((wp->cpp * crtc_state->base.adjusted_mode.crtc_htotal / cpp 104 drivers/gpu/drm/imx/ipuv3-plane.c fb->format->cpp[plane] * x; cpp 123 drivers/gpu/drm/imx/ipuv3-plane.c fb->format->cpp[1] * x - eba; cpp 142 drivers/gpu/drm/imx/ipuv3-plane.c fb->format->cpp[2] * x - eba; cpp 523 drivers/gpu/drm/imx/ipuv3-plane.c static void ipu_calculate_bursts(u32 width, u32 cpp, u32 stride, cpp 526 drivers/gpu/drm/imx/ipuv3-plane.c const unsigned int width_bytes = width * cpp; cpp 530 drivers/gpu/drm/imx/ipuv3-plane.c for (npb = 64 / cpp; npb > 0; --npb) { cpp 531 drivers/gpu/drm/imx/ipuv3-plane.c if (round_up(width_bytes, npb * cpp) <= stride) cpp 538 drivers/gpu/drm/imx/ipuv3-plane.c if (round_up(width_bytes, npb * cpp * bursts) <= stride) cpp 631 drivers/gpu/drm/imx/ipuv3-plane.c ipu_calculate_bursts(width, info->cpp[0], fb->pitches[0], cpp 373 drivers/gpu/drm/ingenic/ingenic-drm.c unsigned int width, height, cpp; cpp 380 drivers/gpu/drm/ingenic/ingenic-drm.c cpp = state->fb->format->cpp[plane->index]; cpp 383 drivers/gpu/drm/ingenic/ingenic-drm.c priv->dma_hwdesc->cmd = width * height * cpp / 4; cpp 171 drivers/gpu/drm/mcde/mcde_display.c if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) { cpp 826 drivers/gpu/drm/mcde/mcde_display.c int cpp = fb->format->cpp[0]; cpp 849 drivers/gpu/drm/mcde/mcde_display.c cpp, cpp 885 drivers/gpu/drm/mcde/mcde_display.c mode->hdisplay * mode->vdisplay * cpp); cpp 886 drivers/gpu/drm/mcde/mcde_display.c mcde->stride = mode->hdisplay * cpp; cpp 72 drivers/gpu/drm/mediatek/mtk_drm_fb.c bpp = info->cpp[0]; cpp 124 drivers/gpu/drm/mediatek/mtk_drm_plane.c addr += (plane->state->src.x1 >> 16) * fb->format->cpp[0]; cpp 44 drivers/gpu/drm/mgag200/mgag200_mode.c if (fb && fb->format->cpp[0] * 8 == 16) { cpp 928 drivers/gpu/drm/mgag200/mgag200_mode.c bppshift = mdev->bpp_shifts[fb->format->cpp[0] - 1]; cpp 968 drivers/gpu/drm/mgag200/mgag200_mode.c switch (fb->format->cpp[0] * 8) { cpp 1025 drivers/gpu/drm/mgag200/mgag200_mode.c pitch = fb->pitches[0] / fb->format->cpp[0]; cpp 1026 drivers/gpu/drm/mgag200/mgag200_mode.c if (fb->format->cpp[0] * 8 == 24) cpp 1103 drivers/gpu/drm/mgag200/mgag200_mode.c if (fb->format->cpp[0] * 8 == 24) cpp 1169 drivers/gpu/drm/mgag200/mgag200_mode.c if (fb->format->cpp[0] * 8 > 16) cpp 1171 drivers/gpu/drm/mgag200/mgag200_mode.c else if (fb->format->cpp[0] * 8 > 8) cpp 1135 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c for (i = 0; i < ARRAY_SIZE(fb->format->cpp); ++i) cpp 1137 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c i, fb->format->cpp[i]); cpp 305 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_FORMAT_CPP(format->cpp - 1) | cpp 808 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c stride = width * info->cpp[0]; cpp 860 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_FORMAT_CPP(format->cpp - 1) | cpp 149 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c int n, fetch_stride, cpp; cpp 151 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c cpp = info->cpp[i]; cpp 152 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c fetch_stride = width * cpp / (i ? hsub : 1); cpp 72 drivers/gpu/drm/msm/disp/mdp_format.c .cpp = c, \ cpp 81 drivers/gpu/drm/msm/disp/mdp_kms.h uint8_t cpp, unpack_count; cpp 177 drivers/gpu/drm/msm/msm_fb.c + width * info->cpp[i] cpp 876 drivers/gpu/drm/nouveau/dispnv04/crtc.c regp->fb_start += (y * drm_fb->pitches[0]) + (x * drm_fb->format->cpp[0]); cpp 880 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_calc_arb(dev, crtc->mode.clock, drm_fb->format->cpp[0] * 8, cpp 1193 drivers/gpu/drm/nouveau/dispnv04/crtc.c { { }, event, crtc, fb->format->cpp[0] * 8, fb->pitches[0], cpp 89 drivers/gpu/drm/nouveau/dispnv50/atom.h u8 cpp; cpp 97 drivers/gpu/drm/nouveau/dispnv50/atom.h u8 cpp; cpp 183 drivers/gpu/drm/nouveau/dispnv50/base507c.c asyh->base.cpp = 0; cpp 201 drivers/gpu/drm/nouveau/dispnv50/base507c.c if ((asyh->base.cpp != 1) ^ (fb->format->cpp[0] != 1)) cpp 206 drivers/gpu/drm/nouveau/dispnv50/base507c.c asyh->base.cpp = fb->format->cpp[0]; cpp 217 drivers/gpu/drm/nouveau/dispnv50/base507c.c asyh->base.depth = asyh->base.cpp * 8; cpp 355 drivers/gpu/drm/nouveau/dispnv50/head.c asyh->set.base = armh->base.cpp != asyh->base.cpp; cpp 356 drivers/gpu/drm/nouveau/dispnv50/head.c asyh->set.ovly = armh->ovly.cpp != asyh->ovly.cpp; cpp 361 drivers/gpu/drm/nouveau/dispnv50/head.c asyh->base.cpp = 0; cpp 362 drivers/gpu/drm/nouveau/dispnv50/head.c asyh->ovly.cpp = 0; cpp 59 drivers/gpu/drm/nouveau/dispnv50/head507d.c if (asyh->ovly.cpp) { cpp 60 drivers/gpu/drm/nouveau/dispnv50/head507d.c switch (asyh->ovly.cpp) { cpp 86 drivers/gpu/drm/nouveau/dispnv50/head507d.c if (asyh->base.cpp) { cpp 87 drivers/gpu/drm/nouveau/dispnv50/head507d.c switch (asyh->base.cpp) { cpp 204 drivers/gpu/drm/nouveau/dispnv50/head507d.c if ((asyh->core.visible = (asyh->base.cpp != 0))) { cpp 210 drivers/gpu/drm/nouveau/dispnv50/head507d.c if ((asyh->core.visible = (asyh->ovly.cpp != 0)) || cpp 277 drivers/gpu/drm/nouveau/dispnv50/head507d.c if (asyh->base.cpp == 1) cpp 75 drivers/gpu/drm/nouveau/dispnv50/head907d.c if (asyh->ovly.cpp) { cpp 76 drivers/gpu/drm/nouveau/dispnv50/head907d.c switch (asyh->ovly.cpp) { cpp 103 drivers/gpu/drm/nouveau/dispnv50/head907d.c if (asyh->base.cpp) { cpp 104 drivers/gpu/drm/nouveau/dispnv50/head907d.c switch (asyh->base.cpp) { cpp 46 drivers/gpu/drm/nouveau/dispnv50/head917d.c if (asyh->base.cpp) { cpp 47 drivers/gpu/drm/nouveau/dispnv50/head917d.c switch (asyh->base.cpp) { cpp 122 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c asyh->ovly.cpp = 0; cpp 139 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c asyh->ovly.cpp = fb->format->cpp[0]; cpp 49 drivers/gpu/drm/nouveau/nouveau_crtc.h int cpp; cpp 56 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c .cpp = (bytes_per_pixel), \ cpp 64 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c u32 cpp; /* bytes/chars per pixel */ cpp 557 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c slot_bytes = geom[fmt].slot_w * geom[fmt].cpp; cpp 716 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c return geom[fmt].cpp * w * h; cpp 722 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c return round_up(geom[fmt].cpp * w, PAGE_SIZE) * h; cpp 90 drivers/gpu/drm/omapdrm/omap_fb.c + (x * format->cpp[n] / (n == 0 ? 1 : format->hsub)) cpp 209 drivers/gpu/drm/omapdrm/omap_fb.c info->screen_width /= format->cpp[0]; cpp 385 drivers/gpu/drm/omapdrm/omap_fb.c if (pitch % format->cpp[0]) { cpp 388 drivers/gpu/drm/omapdrm/omap_fb.c pitch, format->cpp[0]); cpp 56 drivers/gpu/drm/pl111/pl111_display.c u32 cpp = priv->variant->fb_bpp / 8; cpp 64 drivers/gpu/drm/pl111/pl111_display.c bw = bw * mode->hdisplay * mode->vdisplay * cpp; cpp 74 drivers/gpu/drm/pl111/pl111_display.c mode->clock * 1000, cpp, bw); cpp 80 drivers/gpu/drm/pl111/pl111_display.c mode->clock * 1000, cpp, bw); cpp 106 drivers/gpu/drm/pl111/pl111_display.c if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) cpp 144 drivers/gpu/drm/qxl/qxl_draw.c int depth = fb->format->cpp[0] * 8; cpp 1288 drivers/gpu/drm/radeon/atombios_crtc.c tileb = 8 * 8 * target_fb->format->cpp[0]; cpp 1296 drivers/gpu/drm/radeon/atombios_crtc.c target_fb->format->cpp[0] * 8, cpp 1303 drivers/gpu/drm/radeon/atombios_crtc.c switch (target_fb->format->cpp[0] * 8) { cpp 1426 drivers/gpu/drm/radeon/atombios_crtc.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; cpp 1642 drivers/gpu/drm/radeon/atombios_crtc.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; cpp 1731 drivers/gpu/drm/radeon/r100.c track->cb[0].cpp = 1; cpp 1736 drivers/gpu/drm/radeon/r100.c track->cb[0].cpp = 2; cpp 1739 drivers/gpu/drm/radeon/r100.c track->cb[0].cpp = 4; cpp 1753 drivers/gpu/drm/radeon/r100.c track->zb.cpp = 2; cpp 1761 drivers/gpu/drm/radeon/r100.c track->zb.cpp = 4; cpp 1838 drivers/gpu/drm/radeon/r100.c track->textures[i].cpp = 1; cpp 1850 drivers/gpu/drm/radeon/r100.c track->textures[i].cpp = 2; cpp 1857 drivers/gpu/drm/radeon/r100.c track->textures[i].cpp = 4; cpp 1861 drivers/gpu/drm/radeon/r100.c track->textures[i].cpp = 1; cpp 1866 drivers/gpu/drm/radeon/r100.c track->textures[i].cpp = 1; cpp 2087 drivers/gpu/drm/radeon/r100.c DRM_ERROR("bpp %d\n", t->cpp); cpp 2141 drivers/gpu/drm/radeon/r100.c size *= track->textures[idx].cpp; cpp 2177 drivers/gpu/drm/radeon/r100.c w = (track->textures[u].pitch / track->textures[u].cpp) / (1 << i); cpp 2208 drivers/gpu/drm/radeon/r100.c size *= track->textures[u].cpp; cpp 2254 drivers/gpu/drm/radeon/r100.c size = track->cb[i].pitch * track->cb[i].cpp * track->maxy; cpp 2261 drivers/gpu/drm/radeon/r100.c i, track->cb[i].pitch, track->cb[i].cpp, cpp 2273 drivers/gpu/drm/radeon/r100.c size = track->zb.pitch * track->zb.cpp * track->maxy; cpp 2280 drivers/gpu/drm/radeon/r100.c track->zb.pitch, track->zb.cpp, cpp 2293 drivers/gpu/drm/radeon/r100.c size = track->aa.pitch * track->cb[0].cpp * track->maxy; cpp 2300 drivers/gpu/drm/radeon/r100.c i, track->aa.pitch, track->cb[0].cpp, cpp 2403 drivers/gpu/drm/radeon/r100.c track->cb[i].cpp = 16; cpp 2409 drivers/gpu/drm/radeon/r100.c track->zb.cpp = 4; cpp 2434 drivers/gpu/drm/radeon/r100.c track->textures[i].cpp = 64; cpp 3232 drivers/gpu/drm/radeon/r100.c pixel_bytes1 = fb->format->cpp[0]; cpp 3240 drivers/gpu/drm/radeon/r100.c pixel_bytes2 = fb->format->cpp[0]; cpp 18 drivers/gpu/drm/radeon/r100_track.h unsigned cpp; cpp 45 drivers/gpu/drm/radeon/r100_track.h unsigned cpp; cpp 318 drivers/gpu/drm/radeon/r200.c track->cb[0].cpp = 1; cpp 323 drivers/gpu/drm/radeon/r200.c track->cb[0].cpp = 2; cpp 326 drivers/gpu/drm/radeon/r200.c track->cb[0].cpp = 4; cpp 345 drivers/gpu/drm/radeon/r200.c track->zb.cpp = 2; cpp 353 drivers/gpu/drm/radeon/r200.c track->zb.cpp = 4; cpp 488 drivers/gpu/drm/radeon/r200.c track->textures[i].cpp = 1; cpp 500 drivers/gpu/drm/radeon/r200.c track->textures[i].cpp = 2; cpp 508 drivers/gpu/drm/radeon/r200.c track->textures[i].cpp = 4; cpp 512 drivers/gpu/drm/radeon/r200.c track->textures[i].cpp = 1; cpp 517 drivers/gpu/drm/radeon/r200.c track->textures[i].cpp = 1; cpp 809 drivers/gpu/drm/radeon/r300.c track->cb[i].cpp = 1; cpp 815 drivers/gpu/drm/radeon/r300.c track->cb[i].cpp = 2; cpp 825 drivers/gpu/drm/radeon/r300.c track->cb[i].cpp = 4; cpp 828 drivers/gpu/drm/radeon/r300.c track->cb[i].cpp = 8; cpp 831 drivers/gpu/drm/radeon/r300.c track->cb[i].cpp = 16; cpp 854 drivers/gpu/drm/radeon/r300.c track->zb.cpp = 2; cpp 857 drivers/gpu/drm/radeon/r300.c track->zb.cpp = 4; cpp 925 drivers/gpu/drm/radeon/r300.c track->textures[i].cpp = 1; cpp 938 drivers/gpu/drm/radeon/r300.c track->textures[i].cpp = 2; cpp 950 drivers/gpu/drm/radeon/r300.c track->textures[i].cpp = 4; cpp 956 drivers/gpu/drm/radeon/r300.c track->textures[i].cpp = 8; cpp 960 drivers/gpu/drm/radeon/r300.c track->textures[i].cpp = 16; cpp 964 drivers/gpu/drm/radeon/r300.c track->textures[i].cpp = 1; cpp 977 drivers/gpu/drm/radeon/r300.c track->textures[i].cpp = 1; cpp 545 drivers/gpu/drm/radeon/radeon_display.c pitch_pixels = fb->pitches[0] / fb->format->cpp[0]; cpp 551 drivers/gpu/drm/radeon/radeon_display.c int byteshift = fb->format->cpp[0] * 8 >> 4; cpp 557 drivers/gpu/drm/radeon/radeon_display.c switch (fb->format->cpp[0] * 8) { cpp 87 drivers/gpu/drm/radeon/radeon_fb.c int radeon_align_pitch(struct radeon_device *rdev, int width, int cpp, bool tiled) cpp 93 drivers/gpu/drm/radeon/radeon_fb.c switch (cpp) { cpp 108 drivers/gpu/drm/radeon/radeon_fb.c return aligned * cpp; cpp 138 drivers/gpu/drm/radeon/radeon_fb.c u32 cpp; cpp 141 drivers/gpu/drm/radeon/radeon_fb.c cpp = info->cpp[0]; cpp 144 drivers/gpu/drm/radeon/radeon_fb.c mode_cmd->pitches[0] = radeon_align_pitch(rdev, mode_cmd->width, cpp, cpp 164 drivers/gpu/drm/radeon/radeon_fb.c switch (cpp) { cpp 403 drivers/gpu/drm/radeon/radeon_legacy_crtc.c switch (target_fb->format->cpp[0] * 8) { cpp 477 drivers/gpu/drm/radeon/radeon_legacy_crtc.c pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; cpp 478 drivers/gpu/drm/radeon/radeon_legacy_crtc.c crtc_pitch = DIV_ROUND_UP(pitch_pixels * target_fb->format->cpp[0] * 8, cpp 479 drivers/gpu/drm/radeon/radeon_legacy_crtc.c target_fb->format->cpp[0] * 8 * 8); cpp 504 drivers/gpu/drm/radeon/radeon_legacy_crtc.c int byteshift = target_fb->format->cpp[0] * 8 >> 4; cpp 511 drivers/gpu/drm/radeon/radeon_legacy_crtc.c switch (target_fb->format->cpp[0] * 8) { cpp 602 drivers/gpu/drm/radeon/radeon_legacy_crtc.c switch (fb->format->cpp[0] * 8) { cpp 84 drivers/gpu/drm/rockchip/rockchip_drm_fb.c width * info->cpp[i]; cpp 833 drivers/gpu/drm/rockchip/rockchip_drm_vop.c offset = (src->x1 >> 16) * fb->format->cpp[0]; cpp 860 drivers/gpu/drm/rockchip/rockchip_drm_vop.c int bpp = fb->format->cpp[1]; cpp 778 drivers/gpu/drm/sti/sti_gdp.c bpp = fb->format->cpp[0]; cpp 819 drivers/gpu/drm/stm/ltdc.c line_length = fb->format->cpp[0] * cpp 214 drivers/gpu/drm/sun4i/sun8i_ui_layer.c bpp = fb->format->cpp[0]; cpp 298 drivers/gpu/drm/sun4i/sun8i_vi_layer.c paddr += dx * format->cpp[i]; cpp 708 drivers/gpu/drm/tegra/dc.c window.bits_per_pixel = fb->format->cpp[0] * 8; cpp 976 drivers/gpu/drm/tegra/drm.c fb->format->cpp[0] * 8, cpp 151 drivers/gpu/drm/tegra/fb.c bpp = info->cpp[i]; cpp 74 drivers/gpu/drm/tilcdc/tilcdc_crtc.c crtc->x * fb->format->cpp[0]; cpp 58 drivers/gpu/drm/tilcdc/tilcdc_plane.c state->fb->format->cpp[0]; cpp 104 drivers/gpu/drm/tve200/tve200_display.c if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) { cpp 91 drivers/gpu/drm/udl/udl_fb.c BUG_ON(!is_power_of_2(fb->base.format->cpp[0])); cpp 92 drivers/gpu/drm/udl/udl_fb.c log_bpp = __ffs(fb->base.format->cpp[0]); cpp 41 drivers/gpu/drm/vboxvideo/vbox_mode.c bpp = fb ? fb->format->cpp[0] * 8 : 32; cpp 874 drivers/gpu/drm/vc4/vc4_drv.h uint32_t width, uint32_t height, uint8_t cpp); cpp 534 drivers/gpu/drm/vc4/vc4_plane.c fb->format->cpp[i]; cpp 649 drivers/gpu/drm/vc4/vc4_plane.c fb->format->cpp[i]; cpp 657 drivers/gpu/drm/vc4/vc4_plane.c u32 tile_w_shift = fb->format->cpp[0] == 2 ? 6 : 5; cpp 752 drivers/gpu/drm/vc4/vc4_plane.c pix_per_tile = tile_w / fb->format->cpp[0]; cpp 766 drivers/gpu/drm/vc4/vc4_plane.c fb->format->cpp[i]; cpp 446 drivers/gpu/drm/vc4/vc4_render_cl.c int cpp; cpp 501 drivers/gpu/drm/vc4/vc4_render_cl.c cpp = 4; cpp 506 drivers/gpu/drm/vc4/vc4_render_cl.c cpp = 2; cpp 509 drivers/gpu/drm/vc4/vc4_render_cl.c cpp = 4; cpp 526 drivers/gpu/drm/vc4/vc4_render_cl.c exec->args->width, exec->args->height, cpp)) { cpp 543 drivers/gpu/drm/vc4/vc4_render_cl.c int cpp; cpp 576 drivers/gpu/drm/vc4/vc4_render_cl.c cpp = 2; cpp 579 drivers/gpu/drm/vc4/vc4_render_cl.c cpp = 4; cpp 587 drivers/gpu/drm/vc4/vc4_render_cl.c exec->args->width, exec->args->height, cpp)) { cpp 57 drivers/gpu/drm/vc4/vc4_validate.c utile_width(int cpp) cpp 59 drivers/gpu/drm/vc4/vc4_validate.c switch (cpp) { cpp 68 drivers/gpu/drm/vc4/vc4_validate.c DRM_ERROR("unknown cpp: %d\n", cpp); cpp 75 drivers/gpu/drm/vc4/vc4_validate.c utile_height(int cpp) cpp 77 drivers/gpu/drm/vc4/vc4_validate.c switch (cpp) { cpp 85 drivers/gpu/drm/vc4/vc4_validate.c DRM_ERROR("unknown cpp: %d\n", cpp); cpp 99 drivers/gpu/drm/vc4/vc4_validate.c size_is_lt(uint32_t width, uint32_t height, int cpp) cpp 101 drivers/gpu/drm/vc4/vc4_validate.c return (width <= 4 * utile_width(cpp) || cpp 102 drivers/gpu/drm/vc4/vc4_validate.c height <= 4 * utile_height(cpp)); cpp 161 drivers/gpu/drm/vc4/vc4_validate.c uint32_t width, uint32_t height, uint8_t cpp) cpp 164 drivers/gpu/drm/vc4/vc4_validate.c uint32_t utile_w = utile_width(cpp); cpp 165 drivers/gpu/drm/vc4/vc4_validate.c uint32_t utile_h = utile_height(cpp); cpp 198 drivers/gpu/drm/vc4/vc4_validate.c stride = aligned_width * cpp; cpp 578 drivers/gpu/drm/vc4/vc4_validate.c uint32_t cpp, tiling_format, utile_w, utile_h; cpp 634 drivers/gpu/drm/vc4/vc4_validate.c cpp = 4; cpp 642 drivers/gpu/drm/vc4/vc4_validate.c cpp = 2; cpp 647 drivers/gpu/drm/vc4/vc4_validate.c cpp = 1; cpp 653 drivers/gpu/drm/vc4/vc4_validate.c cpp = 8; cpp 666 drivers/gpu/drm/vc4/vc4_validate.c utile_w = utile_width(cpp); cpp 667 drivers/gpu/drm/vc4/vc4_validate.c utile_h = utile_height(cpp); cpp 672 drivers/gpu/drm/vc4/vc4_validate.c if (size_is_lt(width, height, cpp)) cpp 679 drivers/gpu/drm/vc4/vc4_validate.c tiling_format, width, height, cpp)) { cpp 694 drivers/gpu/drm/vc4/vc4_validate.c size_is_lt(level_width, level_height, cpp)) { cpp 713 drivers/gpu/drm/vc4/vc4_validate.c level_size = aligned_width * cpp * aligned_height; cpp 34 drivers/gpu/drm/vkms/vkms_composer.c + (j * composer->cpp); cpp 82 drivers/gpu/drm/vkms/vkms_composer.c + (j_dst++ * dest_composer->cpp); cpp 85 drivers/gpu/drm/vkms/vkms_composer.c + (j * src_composer->cpp); cpp 28 drivers/gpu/drm/vkms/vkms_drv.h unsigned int cpp; cpp 110 drivers/gpu/drm/vkms/vkms_plane.c composer->cpp = fb->format->cpp[0]; cpp 260 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c size_t offs = (diff_offs + diff->line_offset) / diff->cpp; cpp 292 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c if (WARN_ON_ONCE(round_down(n, diff->cpp) != n)) cpp 296 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c csize = vmw_find_first_diff(dest, src, n, diff->cpp); cpp 299 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c byte_len = diff->cpp; cpp 309 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c csize = vmw_find_last_diff(dest, src, n, diff->cpp); cpp 1354 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h int cpp; cpp 1371 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h .cpp = _cpp, \ cpp 94 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c par->set_fb->format->cpp[0] * 8); cpp 183 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c u32 cpp, max_x, max_y; cpp 214 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c cpp = cur_fb->format->cpp[0]; cpp 238 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c (dst_y1 * par->set_fb->pitches[0] + dst_x1 * cpp); cpp 241 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c (dst_x1 + par->fb_x) * cpp); cpp 244 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c memcpy(dst_ptr, src_ptr, w*cpp); cpp 674 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vps->cpp = 0; cpp 296 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h unsigned int cpp; cpp 103 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c fb->format->cpp[0] * 8, cpp 112 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c fb->format->cpp[0] * 8, fb->format->depth); cpp 492 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c gmr->body.format.bitsPerPixel = update->vfb->base.format->cpp[0] * 8; cpp 1002 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c cmd->body.format.bitsPerPixel = framebuffer->base.format->cpp[0] * 8; cpp 124 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c unsigned int cpp; cpp 581 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct vmw_diff_cpy diff = VMW_CPU_BLIT_DIFF_INITIALIZER(stdu->cpp); cpp 593 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c dst_pitch = stdu->display_srf->base_size.width * stdu->cpp; cpp 595 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c dst_offset = ddirty->top * dst_pitch + ddirty->left * stdu->cpp; cpp 599 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c src_offset = ddirty->fb_top * src_pitch + ddirty->fb_left * stdu->cpp; cpp 610 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c width * stdu->cpp, height, &diff); cpp 1014 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vps->cpp = 0; cpp 1080 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c switch (new_fb->format->cpp[0]*8) { cpp 1175 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vps->cpp = new_fb->pitches[0] / new_fb->width; cpp 1308 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c diff.cpp = stdu->cpp; cpp 1311 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c dst_pitch = stdu->display_srf->base_size.width * stdu->cpp; cpp 1312 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c dst_offset = bb->y1 * dst_pitch + bb->x1 * stdu->cpp; cpp 1317 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c stdu->cpp; cpp 1320 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c src_offset, src_pitch, width * stdu->cpp, height, cpp 1609 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c stdu->cpp = vps->cpp; cpp 126 drivers/gpu/drm/xen/xen_drm_front_kms.c fb->format->cpp[0] * 8, cpp 221 drivers/gpu/drm/zte/zx_plane.c paddr += src_x * fb->format->cpp[i]; cpp 382 drivers/gpu/drm/zte/zx_plane.c bpp = fb->format->cpp[0]; cpp 170 drivers/gpu/ipu-v3/ipu-pre.c u32 active_bpp = info->cpp[0] >> 1; cpp 218 drivers/gpu/ipu-v3/ipu-pre.c if (info->cpp[0] == 2) cpp 381 drivers/net/ethernet/freescale/fman/fman_keygen.c static void keygen_write_cpp(struct fman_kg_regs __iomem *regs, u32 cpp) cpp 383 drivers/net/ethernet/freescale/fman/fman_keygen.c iowrite32be(cpp, ®s->fmkg_pe.fmkg_pe_cpp); cpp 94 drivers/net/ethernet/netronome/nfp/abm/cls.c nfp_err(abm->app->cpp, cpp 52 drivers/net/ethernet/netronome/nfp/abm/ctrl.c struct nfp_cpp *cpp = alink->abm->app->cpp; cpp 62 drivers/net/ethernet/netronome/nfp/abm/ctrl.c err = __nfp_rtsym_readq(cpp, sym, 3, 0, sym_offset, &val); cpp 64 drivers/net/ethernet/netronome/nfp/abm/ctrl.c err = __nfp_rtsym_readl(cpp, sym, 3, 0, sym_offset, &val32); cpp 66 drivers/net/ethernet/netronome/nfp/abm/ctrl.c nfp_err(cpp, "RED offload reading stat failed on vNIC %d band %d queue %d (+ %d)\n", cpp 77 drivers/net/ethernet/netronome/nfp/abm/ctrl.c struct nfp_cpp *cpp = abm->app->cpp; cpp 86 drivers/net/ethernet/netronome/nfp/abm/ctrl.c err = __nfp_rtsym_writel(cpp, abm->q_lvls, 4, 0, sym_offset, val); cpp 88 drivers/net/ethernet/netronome/nfp/abm/ctrl.c nfp_err(cpp, cpp 111 drivers/net/ethernet/netronome/nfp/abm/ctrl.c struct nfp_cpp *cpp = abm->app->cpp; cpp 119 drivers/net/ethernet/netronome/nfp/abm/ctrl.c err = __nfp_rtsym_writel(cpp, abm->q_lvls, 4, 0, sym_offset, act); cpp 121 drivers/net/ethernet/netronome/nfp/abm/ctrl.c nfp_err(cpp, cpp 283 drivers/net/ethernet/netronome/nfp/abm/ctrl.c nfp_err(alink->abm->app->cpp, cpp 299 drivers/net/ethernet/netronome/nfp/abm/ctrl.c nfp_err(abm->app->pf->cpp, "vNIC mailbox too small for prio offload: %u, need: %u\n", cpp 333 drivers/net/ethernet/netronome/nfp/abm/ctrl.c nfp_err(pf->cpp, "Symbol '%s' not found\n", name); cpp 337 drivers/net/ethernet/netronome/nfp/abm/ctrl.c nfp_err(pf->cpp, cpp 365 drivers/net/ethernet/netronome/nfp/abm/ctrl.c abm->pf_id = nfp_cppcore_pcie_unit(pf->cpp); cpp 398 drivers/net/ethernet/netronome/nfp/abm/ctrl.c nfp_err(pf->cpp, cpp 134 drivers/net/ethernet/netronome/nfp/abm/main.c nfp_info(app->cpp, "%s Port %d Representor(%s) created\n", cpp 267 drivers/net/ethernet/netronome/nfp/abm/main.c nfp_warn(pf->cpp, "No entry for persistent MAC address\n"); cpp 275 drivers/net/ethernet/netronome/nfp/abm/main.c nsp = nfp_nsp_open(pf->cpp); cpp 277 drivers/net/ethernet/netronome/nfp/abm/main.c nfp_warn(pf->cpp, "Failed to access the NSP for persistent MAC address: %ld\n", cpp 284 drivers/net/ethernet/netronome/nfp/abm/main.c nfp_warn(pf->cpp, "NSP doesn't support PF MAC generation\n"); cpp 293 drivers/net/ethernet/netronome/nfp/abm/main.c nfp_warn(pf->cpp, "Reading persistent MAC address failed: %d\n", cpp 302 drivers/net/ethernet/netronome/nfp/abm/main.c nfp_warn(pf->cpp, "Can't parse persistent MAC address (%s)\n", cpp 344 drivers/net/ethernet/netronome/nfp/abm/main.c err = nfp_eth_set_configured(app->cpp, eth_port->index, true); cpp 451 drivers/net/ethernet/netronome/nfp/abm/main.c nfp_err(pf->cpp, "ABM NIC requires ETH table\n"); cpp 455 drivers/net/ethernet/netronome/nfp/abm/main.c nfp_err(pf->cpp, "ETH entries don't match vNICs (%d vs %d)\n", cpp 460 drivers/net/ethernet/netronome/nfp/abm/main.c nfp_warn(app->cpp, "ABM NIC requires mac_stats symbol\n"); cpp 48 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct nfp_cpp *cpp = alink->abm->app->cpp; cpp 59 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_err(cpp, "RED stats (%d, %d) read failed with error %d\n", cpp 65 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_err(cpp, "RED xstats (%d, %d) read failed with error %d\n", cpp 125 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(alink->abm->app->cpp, "Offload of '%08x' stopped\n", cpp 153 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_err(alink->abm->app->cpp, cpp 161 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_err(alink->abm->app->cpp, cpp 365 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_err(alink->abm->app->cpp, cpp 519 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct nfp_cpp *cpp = alink->abm->app->cpp; cpp 524 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(cpp, "GRED offload failed - GRIO and WRED not supported (p:%08x h:%08x)\n", cpp 529 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(cpp, "GRED offload failed - default band must be %d (p:%08x h:%08x)\n", cpp 534 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(cpp, "GRED offload failed - band count must be %d (p:%08x h:%08x)\n", cpp 545 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(cpp, "GRED offload failed - drop is not supported (ECN option required) (p:%08x h:%08x vq:%d)\n", cpp 550 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(cpp, "GRED offload failed - ECN marking not supported (p:%08x h:%08x vq:%d)\n", cpp 555 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(cpp, "GRED offload failed - harddrop is not supported (p:%08x h:%08x vq:%d)\n", cpp 560 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(cpp, "GRED offload failed - threshold mismatch (p:%08x h:%08x vq:%d)\n", cpp 565 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(cpp, "GRED offload failed - threshold too large %d > %d (p:%08x h:%08x vq:%d)\n", cpp 664 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct nfp_cpp *cpp = alink->abm->app->cpp; cpp 668 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(cpp, "RED offload failed - drop is not supported (ECN option required) (p:%08x h:%08x)\n", cpp 673 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(cpp, "RED offload failed - ECN marking not supported (p:%08x h:%08x)\n", cpp 678 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(cpp, "RED offload failed - harddrop is not supported (p:%08x h:%08x)\n", cpp 683 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(cpp, "RED offload failed - unsupported min/max parameters (p:%08x h:%08x)\n", cpp 688 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_warn(cpp, "RED offload failed - threshold too large %d > %d (p:%08x h:%08x)\n", cpp 70 drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_err(pf->cpp, "No ETH table\n"); cpp 74 drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_err(pf->cpp, "ETH entries don't match vNICs (%d vs %d)\n", cpp 204 drivers/net/ethernet/netronome/nfp/bpf/main.c struct nfp_cpp *cpp = bpf->app->pf->cpp; cpp 207 drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_err(cpp, "truncated adjust_head TLV: %d\n", length); cpp 218 drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_err(cpp, "invalid adjust_head TLV: min > max\n"); cpp 223 drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_warn(cpp, "disabling adjust_head - driver expects min/max to fit in as immediates\n"); cpp 237 drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_err(bpf->app->cpp, "truncated function TLV: %d\n", length); cpp 265 drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_err(bpf->app->cpp, "truncated maps TLV: %d\n", length); cpp 315 drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_err(bpf->app->cpp, "truncated ABI version TLV: %d\n", cpp 322 drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_warn(bpf->app->cpp, "unsupported BPF ABI version: %d\n", cpp 332 drivers/net/ethernet/netronome/nfp/bpf/main.c struct nfp_cpp *cpp = app->pf->cpp; cpp 392 drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_dbg(cpp, "unknown BPF capability: %d\n", type); cpp 397 drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_err(cpp, "BPF capabilities left after parsing, parsed:%zd total length:%zu\n", cpp 407 drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_err(cpp, "invalid BPF capabilities at offset:%zd\n", mem - start); cpp 436 drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_err(bpf->app->cpp, cpp 98 drivers/net/ethernet/netronome/nfp/devlink_param.c nsp = nfp_nsp_open(pf->cpp); cpp 101 drivers/net/ethernet/netronome/nfp/devlink_param.c nfp_warn(pf->cpp, "can't access NSP: %d\n", err); cpp 109 drivers/net/ethernet/netronome/nfp/devlink_param.c nfp_warn(pf->cpp, "HWinfo lookup failed: %d\n", err); cpp 115 drivers/net/ethernet/netronome/nfp/devlink_param.c nfp_warn(pf->cpp, "HWinfo '%s' value %li invalid\n", cpp 148 drivers/net/ethernet/netronome/nfp/devlink_param.c nsp = nfp_nsp_open(pf->cpp); cpp 151 drivers/net/ethernet/netronome/nfp/devlink_param.c nfp_warn(pf->cpp, "can't access NSP: %d\n", err); cpp 160 drivers/net/ethernet/netronome/nfp/devlink_param.c nfp_warn(pf->cpp, "HWinfo set failed: %d\n", err); cpp 213 drivers/net/ethernet/netronome/nfp/devlink_param.c nsp = nfp_nsp_open(pf->cpp); cpp 113 drivers/net/ethernet/netronome/nfp/flower/cmsg.h nfp_warn((app)->cpp, fmt, ## args); \ cpp 493 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c nfp_warn(priv->app->cpp, "untracked bond got unregistered %s\n", cpp 302 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "Not all reprs responded to reify\n"); cpp 350 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "Failed to notify firmware about repr destruction\n"); cpp 372 drivers/net/ethernet/netronome/nfp/flower/main.c u8 nfp_pcie = nfp_cppcore_pcie_unit(app->pf->cpp); cpp 445 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_info(app->cpp, "%s%d Representor(%s) created\n", cpp 456 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "Failed to notify firmware about repr creation\n"); cpp 563 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_info(app->cpp, "Phys Port %d Representor(%s) created\n", cpp 580 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "Failed to notify firmware about repr creation\n"); cpp 604 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "FlowerNIC doesn't support more than one data vNIC\n"); cpp 676 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "FlowerNIC requires eth table\n"); cpp 681 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "FlowerNIC requires mac_stats BAR\n"); cpp 686 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "FlowerNIC requires vf_cfg BAR\n"); cpp 692 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "FlowerNIC requires hw_flower_version memory symbol\n"); cpp 699 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, cpp 707 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, cpp 716 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, cpp 725 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "FlowerNIC: unsupported firmware version\n"); cpp 765 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "LAG not supported by FW.\n"); cpp 778 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "Flow merge not supported by FW.\n"); cpp 783 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "Flow mod/merge not supported by FW.\n"); cpp 851 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_err(app->cpp, "Physical port MTU setting not supported\n"); cpp 877 drivers/net/ethernet/netronome/nfp/flower/main.c nfp_warn(app->cpp, "MTU change not verified with fw\n"); cpp 233 drivers/net/ethernet/netronome/nfp/nfp_app.c nfp_err(pf->cpp, "unknown FW app ID 0x%02hhx, driver too old or support for FW not built in\n", id); cpp 247 drivers/net/ethernet/netronome/nfp/nfp_app.c app->cpp = pf->cpp; cpp 165 drivers/net/ethernet/netronome/nfp/nfp_app.h struct nfp_cpp *cpp; cpp 45 drivers/net/ethernet/netronome/nfp/nfp_devlink.c nsp = nfp_eth_config_start(pf->cpp, idx); cpp 293 drivers/net/ethernet/netronome/nfp/nfp_devlink.c nsp = nfp_nsp_open(pf->cpp); cpp 368 drivers/net/ethernet/netronome/nfp/nfp_devlink.c serial_len = nfp_cpp_serial(port->app->cpp, &serial); cpp 58 drivers/net/ethernet/netronome/nfp/nfp_hwmon.c return nfp_hwmon_read_sensor(pf->cpp, id, val); cpp 60 drivers/net/ethernet/netronome/nfp/nfp_hwmon.c return nfp_hwmon_read_sensor(pf->cpp, id, val); cpp 141 drivers/net/ethernet/netronome/nfp/nfp_hwmon.c nfp_warn(pf->cpp, "not registering HWMON (no NSP info)\n"); cpp 145 drivers/net/ethernet/netronome/nfp/nfp_hwmon.c nfp_info(pf->cpp, cpp 60 drivers/net/ethernet/netronome/nfp/nfp_main.c snprintf(name, sizeof(name), format, nfp_cppcore_pcie_unit(pf->cpp)); cpp 66 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_err(pf->cpp, "Unable to read symbol %s\n", name); cpp 80 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_cppcore_pcie_unit(pf->cpp)); cpp 100 drivers/net/ethernet/netronome/nfp/nfp_main.c err = nfp_rtsym_readl(pf->cpp, pf->mbox, NFP_MBOX_CMD, &val); cpp 102 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_warn(pf->cpp, "failed to issue command (%u): %u, err: %d\n", cpp 108 drivers/net/ethernet/netronome/nfp/nfp_main.c n = nfp_rtsym_write(pf->cpp, pf->mbox, NFP_MBOX_DATA, in_data, cpp 113 drivers/net/ethernet/netronome/nfp/nfp_main.c err = nfp_rtsym_writeq(pf->cpp, pf->mbox, NFP_MBOX_DATA_LEN, in_length); cpp 118 drivers/net/ethernet/netronome/nfp/nfp_main.c err = nfp_rtsym_readl(pf->cpp, pf->mbox, NFP_MBOX_DATA_LEN, &val); cpp 123 drivers/net/ethernet/netronome/nfp/nfp_main.c err = nfp_rtsym_writeq(pf->cpp, pf->mbox, NFP_MBOX_CMD, cmd); cpp 130 drivers/net/ethernet/netronome/nfp/nfp_main.c err = nfp_rtsym_readl(pf->cpp, pf->mbox, NFP_MBOX_CMD, &val); cpp 143 drivers/net/ethernet/netronome/nfp/nfp_main.c err = nfp_rtsym_readl(pf->cpp, pf->mbox, NFP_MBOX_DATA_LEN, &val); cpp 148 drivers/net/ethernet/netronome/nfp/nfp_main.c n = nfp_rtsym_read(pf->cpp, pf->mbox, NFP_MBOX_DATA, cpp 154 drivers/net/ethernet/netronome/nfp/nfp_main.c err = nfp_rtsym_readl(pf->cpp, pf->mbox, NFP_MBOX_RET, &val); cpp 186 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_err(pf->cpp, "NFP board initialization timeout\n"); cpp 190 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_info(pf->cpp, "waiting for board initialization\n"); cpp 196 drivers/net/ethernet/netronome/nfp/nfp_main.c pf->hwinfo = nfp_hwinfo_read(pf->cpp); cpp 213 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_warn(pf->cpp, "Warning: VF limit read failed: %d\n", err); cpp 219 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_warn(pf->cpp, "Failed to set VF count in sysfs: %d\n", err); cpp 230 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_info(pf->cpp, "Firmware limits number of VFs to %u\n", cpp 314 drivers/net/ethernet/netronome/nfp/nfp_main.c nsp = nfp_nsp_open(pf->cpp); cpp 354 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_info(pf->cpp, " %s: %s\n", cpp 380 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_info(pf->cpp, "Looking for firmware file in order of priority:\n"); cpp 383 drivers/net/ethernet/netronome/nfp/nfp_main.c interface = nfp_cpp_interface(pf->cpp); cpp 384 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_cpp_serial(pf->cpp, &serial); cpp 484 drivers/net/ethernet/netronome/nfp/nfp_main.c interface = nfp_cpp_interface(pf->cpp); cpp 581 drivers/net/ethernet/netronome/nfp/nfp_main.c pf->eth_tbl = __nfp_eth_read_ports(pf->cpp, nsp); cpp 597 drivers/net/ethernet/netronome/nfp/nfp_main.c pf->eth_tbl = __nfp_eth_read_ports(pf->cpp, nsp); cpp 605 drivers/net/ethernet/netronome/nfp/nfp_main.c err = nfp_resource_wait(pf->cpp, NFP_RESOURCE_NSP, 30); cpp 609 drivers/net/ethernet/netronome/nfp/nfp_main.c nsp = nfp_nsp_open(pf->cpp); cpp 648 drivers/net/ethernet/netronome/nfp/nfp_main.c nsp = nfp_nsp_open(pf->cpp); cpp 650 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_err(pf->cpp, "Reset failed, can't open NSP\n"); cpp 668 drivers/net/ethernet/netronome/nfp/nfp_main.c pf_id = nfp_cppcore_pcie_unit(pf->cpp); cpp 674 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_err(pf->cpp, "PF mailbox symbol too small: %llu < %d\n", cpp 728 drivers/net/ethernet/netronome/nfp/nfp_main.c pf->cpp = nfp_cpp_from_nfp6000_pcie(pdev); cpp 729 drivers/net/ethernet/netronome/nfp/nfp_main.c if (IS_ERR_OR_NULL(pf->cpp)) { cpp 730 drivers/net/ethernet/netronome/nfp/nfp_main.c err = PTR_ERR(pf->cpp); cpp 736 drivers/net/ethernet/netronome/nfp/nfp_main.c err = nfp_resource_table_init(pf->cpp); cpp 740 drivers/net/ethernet/netronome/nfp/nfp_main.c pf->hwinfo = nfp_hwinfo_read(pf->cpp); cpp 757 drivers/net/ethernet/netronome/nfp/nfp_main.c pf->mip = nfp_mip_open(pf->cpp); cpp 758 drivers/net/ethernet/netronome/nfp/nfp_main.c pf->rtbl = __nfp_rtsym_table_read(pf->cpp, pf->mip); cpp 765 drivers/net/ethernet/netronome/nfp/nfp_main.c pf->dumpspec = nfp_net_dump_load_dumpspec(pf->cpp, pf->rtbl); cpp 805 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_cpp_free(pf->cpp); cpp 843 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_cpp_free(pf->cpp); cpp 92 drivers/net/ethernet/netronome/nfp/nfp_main.h struct nfp_cpp *cpp; cpp 177 drivers/net/ethernet/netronome/nfp/nfp_main.h nfp_net_dump_load_dumpspec(struct nfp_cpp *cpp, struct nfp_rtsym_table *rtbl); cpp 59 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c struct nfp_dump_common_cpp cpp; cpp 71 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c struct nfp_dump_common_cpp cpp; cpp 79 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c struct nfp_dump_common_cpp cpp; cpp 156 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c nfp_net_dump_load_dumpspec(struct nfp_cpp *cpp, struct nfp_rtsym_table *rtbl) cpp 174 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c bytes_read = nfp_rtsym_read(cpp, specsym, 0, dumpspec->data, sym_size); cpp 177 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c nfp_warn(cpp, "Debug dump specification read failed.\n"); cpp 269 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); cpp 277 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length) * cpp 466 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); cpp 473 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->cpp = spec_csr->cpp; cpp 476 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c cpp_id = nfp_get_numeric_cpp_id(&spec_csr->cpp.cpp_id); cpp 477 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c cpp_rd_addr = be32_to_cpu(spec_csr->cpp.offset); cpp 478 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c max_rd_addr = cpp_rd_addr + be32_to_cpu(spec_csr->cpp.dump_length); cpp 481 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c if (is_xpb_read(&spec_csr->cpp.cpp_id)) { cpp 482 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c err = nfp_xpb_readl(pf->cpp, cpp_rd_addr, (u32 *)dest); cpp 484 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c bytes_read = nfp_cpp_read(pf->cpp, cpp_id, cpp_rd_addr, cpp 504 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c nfp_read_indirect_csr(struct nfp_cpp *cpp, cpp 516 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c result = nfp_cpp_writel(cpp, cpp_id, csr_ctx_ptr_offs, context); cpp 521 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c result = nfp_cpp_read(cpp, cpp_id, csr_ctx_ptr_offs, dest, reg_sz); cpp 525 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c result = nfp_cpp_read(cpp, cpp_id, offset, dest, reg_sz); cpp 533 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c nfp_read_all_indirect_csr_ctx(struct nfp_cpp *cpp, cpp 541 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c err = nfp_read_indirect_csr(cpp, spec_csr->cpp.cpp_id, address, cpp 567 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c reg_data_length = be32_to_cpu(spec_csr->cpp.dump_length) * cpp 576 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->cpp = spec_csr->cpp; cpp 579 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c cpp_rd_addr = be32_to_cpu(spec_csr->cpp.offset); cpp 580 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c max_rd_addr = cpp_rd_addr + be32_to_cpu(spec_csr->cpp.dump_length); cpp 582 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c err = nfp_read_all_indirect_csr_ctx(pf->cpp, spec_csr, cpp 632 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->cpp.dump_length = cpu_to_be32(sym_size); cpp 639 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->cpp.cpp_id = cpp_params; cpp 640 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c dump_header->cpp.offset = cpu_to_be32(sym->addr); cpp 643 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c bytes_read = nfp_rtsym_read(pf->cpp, sym, 0, dest, sym_size); cpp 166 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nsp = nfp_nsp_open(app->cpp); cpp 331 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nsp = nfp_eth_config_start(port->app->cpp, eth_port->index); cpp 771 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c err = nfp_eth_set_fec(port->app->cpp, eth_port->index, fec); cpp 1021 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c res = nfp_resource_acquire(app->cpp, NFP_RESOURCE_NSP_DIAG); cpp 1031 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c ret = nfp_cpp_read(app->cpp, nfp_resource_cpp_id(res), cpp 1132 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nsp = nfp_nsp_open(port->app->cpp); cpp 1206 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nsp = nfp_nsp_open(port->app->cpp); cpp 252 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_warn(pf->cpp, "Unable to allocate MSI-X vectors\n"); cpp 329 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_err(pf->cpp, "Failed to find ctrl vNIC memory symbol\n"); cpp 456 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_err(pf->cpp, "Failed to find data vNIC memory symbol\n"); cpp 498 drivers/net/ethernet/netronome/nfp/nfp_net_main.c mem = nfp_cpp_map_area(pf->cpp, "net.qc", cpp_id, NFP_PCIE_QUEUE(0), cpp 501 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_err(pf->cpp, "Failed to map Queue Controller area.\n"); cpp 523 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_net_eth_port_update(struct nfp_cpp *cpp, struct nfp_port *port, cpp 533 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_warn(cpp, "Warning: port #%d not present after reconfig\n", cpp 538 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_warn(cpp, "Port #%d config changed, unregistering. Driver reload required before port will be operational again.\n", port->eth_id); cpp 565 drivers/net/ethernet/netronome/nfp/nfp_net_main.c eth_table = nfp_eth_read_ports(pf->cpp); cpp 571 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_err(pf->cpp, "Error refreshing port config!\n"); cpp 577 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_net_eth_port_update(pf->cpp, port, eth_table); cpp 620 drivers/net/ethernet/netronome/nfp/nfp_net_main.c struct nfp_cpp *cpp = port->app->cpp; cpp 626 drivers/net/ethernet/netronome/nfp/nfp_net_main.c eth_table = nfp_eth_read_ports(cpp); cpp 629 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_err(cpp, "Error refreshing port state table!\n"); cpp 633 drivers/net/ethernet/netronome/nfp/nfp_net_main.c ret = nfp_net_eth_port_update(cpp, port, eth_table); cpp 654 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_err(pf->cpp, "No %s, giving up.\n", cpp 676 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_err(pf->cpp, "Unknown Firmware ABI %d.%d.%d.%d\n", cpp 685 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_warn(pf->cpp, "OBSOLETE Firmware detected - VF isolation not available\n"); cpp 692 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_err(pf->cpp, "Unsupported Firmware ABI %d.%d.%d.%d\n", cpp 434 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c nfp_info(repr->app->cpp, "Destroying Representor(%s)\n", cpp 27 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c nfp_warn(app->pf->cpp, "ndo_set_vf_%s not supported\n", msg); cpp 32 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c nfp_warn(app->pf->cpp, "invalid VF id %d\n", vf); cpp 57 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c nfp_warn(app->pf->cpp, cpp 73 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c nfp_warn(app->pf->cpp, cpp 87 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c nfp_info(app->pf->cpp, cpp 110 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c nfp_warn(app->pf->cpp, cpp 43 drivers/net/ethernet/netronome/nfp/nfp_port.c ppid->id_len = nfp_cpp_serial(port->app->cpp, &serial); cpp 185 drivers/net/ethernet/netronome/nfp/nfp_port.c err = nfp_eth_set_configured(port->app->cpp, eth_port->index, configed); cpp 194 drivers/net/ethernet/netronome/nfp/nfp_port.c nfp_err(app->cpp, cpp 200 drivers/net/ethernet/netronome/nfp/nfp_port.c nfp_warn(app->cpp, cpp 20 drivers/net/ethernet/netronome/nfp/nfpcore/nfp.h struct nfp_hwinfo *nfp_hwinfo_read(struct nfp_cpp *cpp); cpp 67 drivers/net/ethernet/netronome/nfp/nfpcore/nfp.h int nfp_resource_table_init(struct nfp_cpp *cpp); cpp 70 drivers/net/ethernet/netronome/nfp/nfpcore/nfp.h nfp_resource_acquire(struct nfp_cpp *cpp, const char *name); cpp 74 drivers/net/ethernet/netronome/nfp/nfpcore/nfp.h int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs); cpp 1230 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c static int nfp6000_init(struct nfp_cpp *cpp) cpp 1232 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp_cpp_area_cache_add(cpp, SZ_64K); cpp 1233 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp_cpp_area_cache_add(cpp, SZ_64K); cpp 1234 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp_cpp_area_cache_add(cpp, SZ_256K); cpp 1239 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c static void nfp6000_free(struct nfp_cpp *cpp) cpp 1241 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c struct nfp6000_pcie *nfp = nfp_cpp_priv(cpp); cpp 21 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define nfp_err(cpp, fmt, args...) \ cpp 22 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h dev_err(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) cpp 23 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define nfp_warn(cpp, fmt, args...) \ cpp 24 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h dev_warn(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) cpp 25 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define nfp_info(cpp, fmt, args...) \ cpp 26 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h dev_info(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) cpp 27 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define nfp_dbg(cpp, fmt, args...) \ cpp 28 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h dev_dbg(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) cpp 29 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define nfp_printk(level, cpp, fmt, args...) \ cpp 30 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h dev_printk(level, nfp_cpp_device(cpp)->parent, \ cpp 202 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h void nfp_cpp_free(struct nfp_cpp *cpp); cpp 203 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h u32 nfp_cpp_model(struct nfp_cpp *cpp); cpp 204 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h u16 nfp_cpp_interface(struct nfp_cpp *cpp); cpp 205 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_serial(struct nfp_cpp *cpp, const u8 **serial); cpp 206 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h unsigned int nfp_cpp_mu_locality_lsb(struct nfp_cpp *cpp); cpp 208 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h struct nfp_cpp_area *nfp_cpp_area_alloc_with_name(struct nfp_cpp *cpp, cpp 213 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h struct nfp_cpp_area *nfp_cpp_area_alloc(struct nfp_cpp *cpp, u32 cpp_id, cpp 217 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h nfp_cpp_area_alloc_acquire(struct nfp_cpp *cpp, const char *name, u32 cpp_id, cpp 247 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_xpb_readl(struct nfp_cpp *cpp, u32 xpb_tgt, u32 *value); cpp 248 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_xpb_writel(struct nfp_cpp *cpp, u32 xpb_tgt, u32 value); cpp 249 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_xpb_writelm(struct nfp_cpp *cpp, u32 xpb_tgt, u32 mask, u32 value); cpp 252 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_read(struct nfp_cpp *cpp, u32 cpp_id, cpp 254 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_write(struct nfp_cpp *cpp, u32 cpp_id, cpp 257 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_readl(struct nfp_cpp *cpp, u32 cpp_id, cpp 259 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_writel(struct nfp_cpp *cpp, u32 cpp_id, cpp 261 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_readq(struct nfp_cpp *cpp, u32 cpp_id, cpp 263 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_writeq(struct nfp_cpp *cpp, u32 cpp_id, cpp 267 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h nfp_cpp_map_area(struct nfp_cpp *cpp, const char *name, u32 cpp_id, u64 addr, cpp 272 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_mutex_init(struct nfp_cpp *cpp, int target, cpp 274 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h struct nfp_cpp_mutex *nfp_cpp_mutex_alloc(struct nfp_cpp *cpp, int target, cpp 281 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_mutex_reclaim(struct nfp_cpp *cpp, int target, cpp 290 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h static inline u8 nfp_cppcore_pcie_unit(struct nfp_cpp *cpp) cpp 292 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h return NFP_CPP_INTERFACE_UNIT_of(nfp_cpp_interface(cpp)); cpp 342 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int (*init)(struct nfp_cpp *cpp); cpp 343 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h void (*free)(struct nfp_cpp *cpp); cpp 379 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_area_cache_add(struct nfp_cpp *cpp, size_t size); cpp 389 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h struct device *nfp_cpp_device(struct nfp_cpp *cpp); cpp 404 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h struct nfp_cpp_explicit *nfp_cpp_explicit_acquire(struct nfp_cpp *cpp); cpp 426 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_model_autodetect(struct nfp_cpp *cpp, u32 *model); cpp 428 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_explicit_read(struct nfp_cpp *cpp, u32 cpp_id, cpp 432 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_explicit_write(struct nfp_cpp *cpp, u32 cpp_id, cpp 90 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c struct nfp_cpp *cpp; cpp 102 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c struct nfp_cpp *cpp; cpp 134 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c struct nfp_cpp *cpp = nfp_cpp_area_cpp(area); cpp 136 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_cleanup) cpp 137 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area->cpp->op->area_cleanup(area); cpp 139 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c write_lock(&cpp->resource_lock); cpp 141 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c write_unlock(&cpp->resource_lock); cpp 161 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c void nfp_cpp_free(struct nfp_cpp *cpp) cpp 167 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c list_for_each_entry_safe(cache, ctmp, &cpp->area_cache_list, entry) { cpp 176 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c WARN_ON(!list_empty(&cpp->resource_list)); cpp 179 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c list_for_each_entry_safe(res, rtmp, &cpp->resource_list, list) { cpp 184 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c dev_err(cpp->dev.parent, "Dangling area: %d:%d:%d:0x%0llx-0x%0llx%s%s\n", cpp 192 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_release) cpp 193 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area->cpp->op->area_release(area); cpp 198 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->free) cpp 199 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->op->free(cpp); cpp 201 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c device_unregister(&cpp->dev); cpp 203 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c kfree(cpp); cpp 212 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c u32 nfp_cpp_model(struct nfp_cpp *cpp) cpp 214 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return cpp->model; cpp 223 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c u16 nfp_cpp_interface(struct nfp_cpp *cpp) cpp 225 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return cpp->interface; cpp 235 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_cpp_serial(struct nfp_cpp *cpp, const u8 **serial) cpp 237 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c *serial = &cpp->serial[0]; cpp 238 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return sizeof(cpp->serial); cpp 246 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c static int nfp_cpp_set_mu_locality_lsb(struct nfp_cpp *cpp) cpp 252 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c imbcppat = cpp->imb_cat_table[NFP_CPP_TARGET_MU]; cpp 259 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->mu_locality_lsb = res; cpp 264 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c unsigned int nfp_cpp_mu_locality_lsb(struct nfp_cpp *cpp) cpp 266 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return cpp->mu_locality_lsb; cpp 285 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c nfp_cpp_area_alloc_with_name(struct nfp_cpp *cpp, u32 dest, const char *name, cpp 293 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = nfp_target_cpp(dest, tmp64, &dest, &tmp64, cpp->imb_cat_table); cpp 303 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area = kzalloc(sizeof(*area) + cpp->op->area_priv_size + name_len, cpp 308 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area->cpp = cpp; cpp 310 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->op->area_priv_size; cpp 322 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->area_init) { cpp 325 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = cpp->op->area_init(area, dest, address, size); cpp 332 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c write_lock(&cpp->resource_lock); cpp 333 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c __resource_add(&cpp->resource_list, &area->resource); cpp 334 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c write_unlock(&cpp->resource_lock); cpp 357 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c nfp_cpp_area_alloc(struct nfp_cpp *cpp, u32 dest, cpp 360 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return nfp_cpp_area_alloc_with_name(cpp, dest, NULL, address, size); cpp 380 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c nfp_cpp_area_alloc_acquire(struct nfp_cpp *cpp, const char *name, u32 dest, cpp 385 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area = nfp_cpp_area_alloc_with_name(cpp, dest, name, address, size); cpp 406 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c nfp_warn(area->cpp, "Warning: freeing busy area\n"); cpp 412 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c *status = area->cpp->op->area_acquire(area); cpp 424 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (!area->cpp->op->area_acquire) cpp 427 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = wait_event_interruptible(area->cpp->waitq, cpp 432 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c nfp_warn(area->cpp, "Warning: area wait failed: %d\n", err); cpp 477 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_acquire) { cpp 480 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = area->cpp->op->area_acquire(area); cpp 505 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_release) { cpp 506 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area->cpp->op->area_release(area); cpp 508 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c wake_up_interruptible_all(&area->cpp->waitq); cpp 546 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return area->cpp->op->area_read(area, kernel_vaddr, offset, length); cpp 567 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return area->cpp->op->area_write(area, kernel_vaddr, offset, length); cpp 611 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return cpp_area->cpp; cpp 626 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_resource) cpp 627 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c res = area->cpp->op->area_resource(area); cpp 644 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_phys) cpp 645 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c addr = area->cpp->op->area_phys(area); cpp 665 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_iomem) cpp 666 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c iomem = area->cpp->op->area_iomem(area); cpp 792 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_cpp_area_cache_add(struct nfp_cpp *cpp, size_t size) cpp 800 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area = nfp_cpp_area_alloc(cpp, NFP_CPP_ID(7, NFP_CPP_ACTION_RW, 0), cpp 813 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c mutex_lock(&cpp->area_cache_mutex); cpp 814 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c list_add_tail(&cache->entry, &cpp->area_cache_list); cpp 815 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c mutex_unlock(&cpp->area_cache_mutex); cpp 821 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area_cache_get(struct nfp_cpp *cpp, u32 id, cpp 835 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = nfp_target_cpp(id, addr, &id, &addr, cpp->imb_cat_table); cpp 839 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c mutex_lock(&cpp->area_cache_mutex); cpp 841 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (list_empty(&cpp->area_cache_list)) { cpp 842 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c mutex_unlock(&cpp->area_cache_mutex); cpp 849 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c list_for_each_entry(cache, &cpp->area_cache_list, entry) { cpp 857 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cache = list_entry(cpp->area_cache_list.prev, cpp 863 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c mutex_unlock(&cpp->area_cache_mutex); cpp 879 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->area_init) { cpp 880 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = cpp->op->area_init(cache->area, cpp 883 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c mutex_unlock(&cpp->area_cache_mutex); cpp 891 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c mutex_unlock(&cpp->area_cache_mutex); cpp 902 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area_cache_put(struct nfp_cpp *cpp, struct nfp_cpp_area_cache *cache) cpp 909 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c list_add(&cache->entry, &cpp->area_cache_list); cpp 911 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c mutex_unlock(&cpp->area_cache_mutex); cpp 914 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c static int __nfp_cpp_read(struct nfp_cpp *cpp, u32 destination, cpp 923 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cache = area_cache_get(cpp, destination, address, &offset, length); cpp 927 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area = nfp_cpp_area_alloc(cpp, destination, address, length); cpp 941 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area_cache_put(cpp, cache); cpp 958 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_cpp_read(struct nfp_cpp *cpp, u32 destination, cpp 972 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c ret = __nfp_cpp_read(cpp, destination, address + offset, cpp 983 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c static int __nfp_cpp_write(struct nfp_cpp *cpp, u32 destination, cpp 992 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cache = area_cache_get(cpp, destination, address, &offset, length); cpp 996 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area = nfp_cpp_area_alloc(cpp, destination, address, length); cpp 1010 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area_cache_put(cpp, cache); cpp 1027 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_cpp_write(struct nfp_cpp *cpp, u32 destination, cpp 1041 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c ret = __nfp_cpp_write(cpp, destination, address + offset, cpp 1053 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c static u32 nfp_xpb_to_cpp(struct nfp_cpp *cpp, u32 *xpb_addr) cpp 1077 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (NFP_CPP_INTERFACE_TYPE_of(nfp_cpp_interface(cpp)) cpp 1093 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_xpb_readl(struct nfp_cpp *cpp, u32 xpb_addr, u32 *value) cpp 1095 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c u32 cpp_dest = nfp_xpb_to_cpp(cpp, &xpb_addr); cpp 1097 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return nfp_cpp_readl(cpp, cpp_dest, xpb_addr, value); cpp 1108 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_xpb_writel(struct nfp_cpp *cpp, u32 xpb_addr, u32 value) cpp 1110 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c u32 cpp_dest = nfp_xpb_to_cpp(cpp, &xpb_addr); cpp 1112 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return nfp_cpp_writel(cpp, cpp_dest, xpb_addr, value); cpp 1126 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_xpb_writelm(struct nfp_cpp *cpp, u32 xpb_tgt, cpp 1132 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = nfp_xpb_readl(cpp, xpb_tgt, &tmp); cpp 1138 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return nfp_xpb_writel(cpp, xpb_tgt, tmp); cpp 1165 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c struct nfp_cpp *cpp; cpp 1171 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp = kzalloc(sizeof(*cpp), GFP_KERNEL); cpp 1172 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (!cpp) { cpp 1177 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->op = ops; cpp 1178 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->priv = priv; cpp 1185 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->interface = ifc; cpp 1187 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = ops->read_serial(parent, cpp->serial); cpp 1192 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c rwlock_init(&cpp->resource_lock); cpp 1193 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c init_waitqueue_head(&cpp->waitq); cpp 1194 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c lockdep_set_class(&cpp->resource_lock, &nfp_cpp_resource_lock_key); cpp 1195 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c INIT_LIST_HEAD(&cpp->resource_list); cpp 1196 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c INIT_LIST_HEAD(&cpp->area_cache_list); cpp 1197 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c mutex_init(&cpp->area_cache_mutex); cpp 1198 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->dev.init_name = "cpp"; cpp 1199 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->dev.parent = parent; cpp 1200 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->dev.release = nfp_cpp_dev_release; cpp 1201 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = device_register(&cpp->dev); cpp 1203 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c put_device(&cpp->dev); cpp 1207 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c dev_set_drvdata(&cpp->dev, cpp); cpp 1212 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->init) { cpp 1213 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = cpp->op->init(cpp); cpp 1221 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = nfp_cpp_model_autodetect(cpp, &cpp->model); cpp 1227 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c for (tgt = 0; tgt < ARRAY_SIZE(cpp->imb_cat_table); tgt++) { cpp 1230 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = nfp_xpb_readl(cpp, xpbaddr, cpp 1231 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c &cpp->imb_cat_table[tgt]); cpp 1239 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c nfp_cpp_readl(cpp, arm, NFP_ARM_GCSR + NFP_ARM_GCSR_SOFTMODEL2, cpp 1241 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c nfp_cpp_readl(cpp, arm, NFP_ARM_GCSR + NFP_ARM_GCSR_SOFTMODEL3, cpp 1244 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = nfp_cpp_set_mu_locality_lsb(cpp); cpp 1250 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c dev_info(cpp->dev.parent, "Model: 0x%08x, SN: %pM, Ifc: 0x%04x\n", cpp 1251 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c nfp_cpp_model(cpp), cpp->serial, nfp_cpp_interface(cpp)); cpp 1253 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return cpp; cpp 1256 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c device_unregister(&cpp->dev); cpp 1258 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c kfree(cpp); cpp 1269 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c void *nfp_cpp_priv(struct nfp_cpp *cpp) cpp 1271 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return cpp->priv; cpp 1280 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c struct device *nfp_cpp_device(struct nfp_cpp *cpp) cpp 1282 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return &cpp->dev; cpp 1287 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c struct nfp_cpp *cpp = nfp_cpp_explicit_cpp(expl); \ cpp 1290 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->func) \ cpp 1291 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = cpp->op->func(expl, ##args); \ cpp 1297 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c struct nfp_cpp *cpp = nfp_cpp_explicit_cpp(expl); \ cpp 1299 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->func) \ cpp 1300 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->op->func(expl, ##args); \ cpp 1313 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c struct nfp_cpp_explicit *nfp_cpp_explicit_acquire(struct nfp_cpp *cpp) cpp 1318 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl = kzalloc(sizeof(*expl) + cpp->op->explicit_priv_size, GFP_KERNEL); cpp 1322 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cpp = cpp; cpp 1485 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return cpp_explicit->cpp; cpp 40 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c int nfp_cpp_readl(struct nfp_cpp *cpp, u32 cpp_id, cpp 46 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c n = nfp_cpp_read(cpp, cpp_id, address, tmp, sizeof(tmp)); cpp 63 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c int nfp_cpp_writel(struct nfp_cpp *cpp, u32 cpp_id, cpp 70 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c n = nfp_cpp_write(cpp, cpp_id, address, tmp, sizeof(tmp)); cpp 84 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c int nfp_cpp_readq(struct nfp_cpp *cpp, u32 cpp_id, cpp 90 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c n = nfp_cpp_read(cpp, cpp_id, address, tmp, sizeof(tmp)); cpp 107 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c int nfp_cpp_writeq(struct nfp_cpp *cpp, u32 cpp_id, cpp 114 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c n = nfp_cpp_write(cpp, cpp_id, address, tmp, sizeof(tmp)); cpp 122 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c int nfp_cpp_model_autodetect(struct nfp_cpp *cpp, u32 *model) cpp 127 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c err = nfp_xpb_readl(cpp, NFP_XPB_DEVICE(1, 1, 16) + NFP_PL_DEVICE_ID, cpp 153 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c int nfp_cpp_explicit_read(struct nfp_cpp *cpp, u32 cpp_id, cpp 164 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c expl = nfp_cpp_explicit_acquire(cpp); cpp 206 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c int nfp_cpp_explicit_write(struct nfp_cpp *cpp, u32 cpp_id, u64 addr, cpp 217 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c expl = nfp_cpp_explicit_acquire(cpp); cpp 274 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c nfp_cpp_map_area(struct nfp_cpp *cpp, const char *name, u32 cpp_id, u64 addr, cpp 279 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c *area = nfp_cpp_area_alloc_acquire(cpp, name, cpp_id, addr, size); cpp 106 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c hwinfo_db_walk(struct nfp_cpp *cpp, struct nfp_hwinfo *hwinfo, u32 size) cpp 115 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c nfp_warn(cpp, "Bad HWINFO - overflowing key\n"); cpp 120 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c nfp_warn(cpp, "Bad HWINFO - overflowing value\n"); cpp 129 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c hwinfo_db_validate(struct nfp_cpp *cpp, struct nfp_hwinfo *db, u32 len) cpp 135 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c nfp_err(cpp, "Unsupported hwinfo size %u > %u\n", size, len); cpp 142 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c nfp_err(cpp, "Corrupt hwinfo table (CRC mismatch), calculated 0x%x, expected 0x%x\n", cpp 148 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c return hwinfo_db_walk(cpp, db, size); cpp 152 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c hwinfo_try_fetch(struct nfp_cpp *cpp, size_t *cpp_size) cpp 161 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c res = nfp_resource_acquire(cpp, NFP_RESOURCE_NFP_HWINFO); cpp 185 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c err = nfp_cpp_read(cpp, cpp_id, cpp_addr, db, *cpp_size); cpp 194 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c nfp_err(cpp, "Unknown HWInfo version: 0x%08x\n", cpp 208 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c static struct nfp_hwinfo *hwinfo_fetch(struct nfp_cpp *cpp, size_t *hwdb_size) cpp 217 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c db = hwinfo_try_fetch(cpp, hwdb_size); cpp 223 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c nfp_err(cpp, "NFP access error\n"); cpp 229 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c struct nfp_hwinfo *nfp_hwinfo_read(struct nfp_cpp *cpp) cpp 235 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c db = hwinfo_fetch(cpp, &hwdb_size); cpp 239 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c err = hwinfo_db_validate(cpp, db, hwdb_size); cpp 43 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mip.c nfp_mip_try_read(struct nfp_cpp *cpp, u32 cpp_id, u64 addr, struct nfp_mip *mip) cpp 47 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mip.c ret = nfp_cpp_read(cpp, cpp_id, addr, mip, sizeof(*mip)); cpp 49 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mip.c nfp_err(cpp, "Failed to read MIP data (%d, %zu)\n", cpp 54 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mip.c nfp_warn(cpp, "Incorrect MIP signature (0x%08x)\n", cpp 59 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mip.c nfp_warn(cpp, "Unsupported MIP version (%d)\n", cpp 68 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mip.c static int nfp_mip_read_resource(struct nfp_cpp *cpp, struct nfp_mip *mip) cpp 75 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mip.c nffw_info = nfp_nffw_info_open(cpp); cpp 83 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mip.c err = nfp_mip_try_read(cpp, cpp_id, addr, mip); cpp 99 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mip.c const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp) cpp 108 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mip.c err = nfp_mip_read_resource(cpp, mip); cpp 15 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c struct nfp_cpp *cpp; cpp 86 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c int nfp_cpp_mutex_init(struct nfp_cpp *cpp, cpp 90 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c u16 interface = nfp_cpp_interface(cpp); cpp 97 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_writel(cpp, muw, address + 4, key); cpp 101 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_writel(cpp, muw, address, nfp_mutex_locked(interface)); cpp 123 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c struct nfp_cpp_mutex *nfp_cpp_mutex_alloc(struct nfp_cpp *cpp, int target, cpp 127 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c u16 interface = nfp_cpp_interface(cpp); cpp 136 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_readl(cpp, mur, address + 4, &tmp); cpp 147 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c mutex->cpp = cpp; cpp 190 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c nfp_info(mutex->cpp, cpp 197 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c nfp_warn(mutex->cpp, cpp 203 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c nfp_err(mutex->cpp, "Error: mutex wait timed out\n"); cpp 221 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c struct nfp_cpp *cpp = mutex->cpp; cpp 226 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c interface = nfp_cpp_interface(cpp); cpp 233 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_readl(mutex->cpp, mur, mutex->address + 4, &key); cpp 240 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_readl(mutex->cpp, mur, mutex->address, &value); cpp 247 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_writel(cpp, muw, mutex->address, cpp 267 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c struct nfp_cpp *cpp = mutex->cpp; cpp 279 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_readl(cpp, mur, mutex->address + 4, &key); cpp 290 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c value = nfp_mutex_locked(nfp_cpp_interface(cpp)); cpp 304 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_readl(cpp, mus, mutex->address, &tmp); cpp 319 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_writel(cpp, muw, mutex->address, value); cpp 341 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c int nfp_cpp_mutex_reclaim(struct nfp_cpp *cpp, int target, cpp 346 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c u16 interface = nfp_cpp_interface(cpp); cpp 355 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_readl(cpp, mur, address, &tmp); cpp 363 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_writel(cpp, muw, address, nfp_mutex_unlocked(interface)); cpp 79 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c struct nfp_cpp *cpp; cpp 159 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp) cpp 170 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c state->res = nfp_resource_acquire(cpp, NFP_RESOURCE_NFP_NFFW); cpp 179 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c err = nfp_cpp_read(cpp, nfp_resource_cpp_id(state->res), cpp 192 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c state->cpp = cpp; cpp 254 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c int locality_off = nfp_cpp_mu_locality_lsb(state->cpp); cpp 17 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp); cpp 25 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp); cpp 65 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h struct nfp_rtsym_table *nfp_rtsym_table_read(struct nfp_cpp *cpp); cpp 67 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h __nfp_rtsym_table_read(struct nfp_cpp *cpp, const struct nfp_mip *mip); cpp 74 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h int __nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, cpp 76 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h int nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, cpp 78 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h int __nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, cpp 80 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h int nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, cpp 82 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h int __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, cpp 84 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h int nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, cpp 86 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h int __nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, cpp 88 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h int nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, cpp 90 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h int __nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, cpp 92 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h int nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, cpp 94 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h int __nfp_rtsym_writeq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, cpp 96 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h int nfp_rtsym_writeq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, cpp 127 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c struct nfp_cpp *cpp; cpp 179 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c return state->cpp; cpp 224 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(state->cpp, "err msg: %s\n", nsp_errors[i].msg); cpp 229 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c struct nfp_cpp *cpp = state->cpp; cpp 237 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = nfp_cpp_readq(cpp, nsp_cpp, nsp_status, ®); cpp 242 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(cpp, "Cannot detect NFP Service Processor\n"); cpp 250 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(cpp, "Unsupported ABI %hu.%hu\n", cpp 255 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(cpp, "ABI too old to support NIC operation (%u.%hu < %u.%u), please update the management FW on the flash\n", cpp 261 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(cpp, "Service processor busy!\n"); cpp 272 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp) cpp 278 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c res = nfp_resource_acquire(cpp, NFP_RESOURCE_NSP); cpp 287 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c state->cpp = cpp; cpp 320 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_nsp_wait_reg(struct nfp_cpp *cpp, u64 *reg, u32 nsp_cpp, u64 addr, cpp 329 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = nfp_cpp_readq(cpp, nsp_cpp, addr, reg); cpp 362 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c struct nfp_cpp *cpp = state->cpp; cpp 376 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = nfp_cpp_writeq(cpp, nsp_cpp, nsp_buffer, arg->buf); cpp 380 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = nfp_cpp_writeq(cpp, nsp_cpp, nsp_command, cpp 389 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = nfp_nsp_wait_reg(cpp, ®, nsp_cpp, nsp_command, cpp 392 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(cpp, "Error %d waiting for code 0x%04x to start\n", cpp 398 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = nfp_nsp_wait_reg(cpp, ®, nsp_cpp, nsp_status, NSP_STATUS_BUSY, cpp 401 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(cpp, "Error %d waiting for code 0x%04x to complete\n", cpp 406 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = nfp_cpp_readq(cpp, nsp_cpp, nsp_command, &ret_val); cpp 414 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_warn(cpp, "Result (error) code set: %d (%d) command: %d\n", cpp 440 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c struct nfp_cpp *cpp = nsp->cpp; cpp 445 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = nfp_cpp_readq(cpp, nfp_resource_cpp_id(nsp->res), cpp 456 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = nfp_cpp_write(cpp, cpp_id, cpp_buf, cpp 463 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = nfp_cpp_write(cpp, cpp_id, cpp_buf + arg->in_size, cpp 471 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(cpp, "Buffer out of reach %08x %016llx\n", cpp 483 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = nfp_cpp_read(cpp, cpp_id, cpp_buf, cpp 498 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c struct nfp_cpp *cpp = nsp->cpp; cpp 542 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c dev = nfp_cpp_device(cpp)->parent; cpp 616 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(cpp, "NSP: SG DMA failed for command 0x%04x: %d (sz:%d cord:%d)\n", cpp 627 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c struct nfp_cpp *cpp = nsp->cpp; cpp 634 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = nfp_cpp_readq(cpp, nfp_resource_cpp_id(nsp->res), cpp 643 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(cpp, "NSP: can't service non-SG DMA for command 0x%04x\n", cpp 660 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c struct nfp_cpp *cpp = nsp->cpp; cpp 665 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(cpp, "NSP: Code 0x%04x with buffer not supported (ABI %hu.%hu)\n", cpp 670 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = nfp_cpp_readq(cpp, nfp_resource_cpp_id(nsp->res), cpp 688 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(cpp, "NSP: default buffer too small for command 0x%04x (%u < %u)\n", cpp 701 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_dbg(state->cpp, "Waiting for NSP to respond (%u sec max).\n", cpp 722 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(state->cpp, "NSP failed to respond %d\n", err); cpp 779 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_printk(level, state->cpp, "FW loading status: %x\n", cpp 782 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_printk(level, state->cpp, "%s, reason code: %d\n", cpp 785 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_printk(level, state->cpp, "%s%c %s\n", cpp 930 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(state->cpp, "NSP HWinfo value not NULL-terminated\n"); cpp 962 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(state->cpp, "NSP HWinfo lookup failed: %d\n", err); cpp 967 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_err(state->cpp, "NSP HWinfo value not NULL-terminated\n"); cpp 14 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp); cpp 189 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp); cpp 191 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp); cpp 193 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable); cpp 194 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx, cpp 197 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode); cpp 210 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx); cpp 251 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id, cpp 70 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id, cpp 77 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c nsp = nfp_nsp_open(cpp); cpp 176 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_eth_calc_port_geometry(struct nfp_cpp *cpp, struct nfp_eth_table *table) cpp 193 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_warn(cpp, cpp 204 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_eth_calc_port_type(struct nfp_cpp *cpp, struct nfp_eth_table_port *entry) cpp 229 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp) cpp 234 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nsp = nfp_nsp_open(cpp); cpp 238 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c ret = __nfp_eth_read_ports(cpp, nsp); cpp 245 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp) cpp 257 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_err(cpp, "reading port table failed %d\n", ret); cpp 270 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_err(cpp, "table entry count reported (%d) does not match entries present (%d)\n", cpp 285 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_eth_calc_port_geometry(cpp, table); cpp 287 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_eth_calc_port_type(cpp, &table->ports[i]); cpp 298 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx) cpp 308 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nsp = nfp_nsp_open(cpp); cpp 316 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_err(cpp, "reading port table failed %d\n", ret); cpp 321 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_warn(cpp, "trying to set port state on disabled port %d\n", cpp 388 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable) cpp 394 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nsp = nfp_eth_config_start(cpp, idx); cpp 427 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx, bool configed) cpp 433 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nsp = nfp_eth_config_start(cpp, idx); cpp 548 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode) cpp 553 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nsp = nfp_eth_config_start(cpp, idx); cpp 69 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c static int nfp_cpp_resource_find(struct nfp_cpp *cpp, struct nfp_resource *res) cpp 79 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_err(cpp, "Grabbing device lock not supported\n"); cpp 88 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c ret = nfp_cpp_read(cpp, cpp_id, addr, &entry, sizeof(entry)); cpp 97 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_cpp_mutex_alloc(cpp, cpp 112 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_resource_try_acquire(struct nfp_cpp *cpp, struct nfp_resource *res, cpp 120 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c err = nfp_cpp_resource_find(cpp, res); cpp 150 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_resource_acquire(struct nfp_cpp *cpp, const char *name) cpp 164 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c dev_mutex = nfp_cpp_mutex_alloc(cpp, NFP_RESOURCE_TBL_TARGET, cpp 173 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c err = nfp_resource_try_acquire(cpp, res, dev_mutex); cpp 187 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_warn(cpp, "Warning: waiting for NFP resource %s\n", cpp 191 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_err(cpp, "Error: resource %s timed out\n", name); cpp 231 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs) cpp 238 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c res = nfp_resource_acquire(cpp, name); cpp 245 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_err(cpp, "error waiting for resource %s: %ld\n", cpp 250 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_err(cpp, "timeout waiting for resource %s\n", name); cpp 255 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_info(cpp, "waiting for NFP resource %s\n", name); cpp 258 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_err(cpp, "wait for resource %s interrupted\n", cpp 318 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c int nfp_resource_table_init(struct nfp_cpp *cpp) cpp 323 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c err = nfp_cpp_mutex_reclaim(cpp, NFP_RESOURCE_TBL_TARGET, cpp 326 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_err(cpp, "Error: failed to reclaim resource table mutex\n"); cpp 330 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_warn(cpp, "Warning: busted main resource table mutex\n"); cpp 332 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c dev_mutex = nfp_cpp_mutex_alloc(cpp, NFP_RESOURCE_TBL_TARGET, cpp 339 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_err(cpp, "Error: failed to claim resource table mutex\n"); cpp 349 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c err = nfp_cpp_mutex_reclaim(cpp, NFP_RESOURCE_TBL_TARGET, addr); cpp 351 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_err(cpp, cpp 357 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c nfp_warn(cpp, "Warning: busted resource %d mutex\n", i); cpp 41 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c struct nfp_cpp *cpp; cpp 82 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c struct nfp_rtsym_table *nfp_rtsym_table_read(struct nfp_cpp *cpp) cpp 87 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c mip = nfp_mip_open(cpp); cpp 88 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c rtbl = __nfp_rtsym_table_read(cpp, mip); cpp 95 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c __nfp_rtsym_table_read(struct nfp_cpp *cpp, const struct nfp_mip *mip) cpp 128 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c cache->cpp = cpp; cpp 132 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c err = nfp_cpp_read(cpp, dram, symtab_addr, rtsymtab, symtab_size); cpp 136 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c err = nfp_cpp_read(cpp, dram, strtab_addr, cache->strtab, strtab_size); cpp 226 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_rtsym_to_dest(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, cpp 230 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_err(cpp, "rtsym '%s': direct access to non-object rtsym\n", cpp 238 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c int locality_off = nfp_cpp_mu_locality_lsb(cpp); cpp 246 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_err(cpp, "rtsym '%s': unhandled target encoding: %d\n", cpp 257 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c int __nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, cpp 266 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_err(cpp, "rtsym '%s': read out of bounds: off: %lld + len: %zd > size: %lld\n", cpp 281 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); cpp 285 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c return nfp_cpp_read(cpp, cpp_id, addr, buf, len); cpp 288 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c int nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, cpp 291 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c return __nfp_rtsym_read(cpp, sym, NFP_CPP_ACTION_RW, 0, off, buf, len); cpp 294 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c int __nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, cpp 302 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_err(cpp, "rtsym '%s': readl out of bounds: off: %lld + 4 > size: %lld\n", cpp 307 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); cpp 311 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c return nfp_cpp_readl(cpp, cpp_id, addr, value); cpp 314 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c int nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, cpp 317 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c return __nfp_rtsym_readl(cpp, sym, NFP_CPP_ACTION_RW, 0, off, value); cpp 320 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c int __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, cpp 328 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_err(cpp, "rtsym '%s': readq out of bounds: off: %lld + 8 > size: %lld\n", cpp 338 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); cpp 342 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c return nfp_cpp_readq(cpp, cpp_id, addr, value); cpp 345 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c int nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, cpp 348 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c return __nfp_rtsym_readq(cpp, sym, NFP_CPP_ACTION_RW, 0, off, value); cpp 351 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c int __nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, cpp 360 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_err(cpp, "rtsym '%s': write out of bounds: off: %lld + len: %zd > size: %lld\n", cpp 366 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); cpp 370 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c return nfp_cpp_write(cpp, cpp_id, addr, buf, len); cpp 373 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c int nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, cpp 376 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c return __nfp_rtsym_write(cpp, sym, NFP_CPP_ACTION_RW, 0, off, buf, len); cpp 379 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c int __nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, cpp 387 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_err(cpp, "rtsym '%s': writel out of bounds: off: %lld + 4 > size: %lld\n", cpp 392 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); cpp 396 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c return nfp_cpp_writel(cpp, cpp_id, addr, value); cpp 399 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c int nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, cpp 402 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c return __nfp_rtsym_writel(cpp, sym, NFP_CPP_ACTION_RW, 0, off, value); cpp 405 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c int __nfp_rtsym_writeq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, cpp 413 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_err(cpp, "rtsym '%s': writeq out of bounds: off: %lld + 8 > size: %lld\n", cpp 418 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); cpp 422 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c return nfp_cpp_writeq(cpp, cpp_id, addr, value); cpp 425 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c int nfp_rtsym_writeq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, cpp 428 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c return __nfp_rtsym_writeq(cpp, sym, NFP_CPP_ACTION_RW, 0, off, value); cpp 459 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c err = nfp_rtsym_readl(rtbl->cpp, sym, 0, &val32); cpp 463 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c err = nfp_rtsym_readq(rtbl->cpp, sym, 0, &val); cpp 466 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_err(rtbl->cpp, cpp 506 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c err = nfp_rtsym_writel(rtbl->cpp, sym, 0, value); cpp 509 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c err = nfp_rtsym_writeq(rtbl->cpp, sym, 0, value); cpp 512 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_err(rtbl->cpp, cpp 536 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c err = nfp_rtsym_to_dest(rtbl->cpp, sym, NFP_CPP_ACTION_RW, 0, 0, cpp 539 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_err(rtbl->cpp, "rtsym '%s': mapping failed\n", name); cpp 544 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_err(rtbl->cpp, "rtsym '%s': too small\n", name); cpp 548 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c mem = nfp_cpp_map_area(rtbl->cpp, id, cpp_id, addr, sym->size, area); cpp 550 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_err(rtbl->cpp, "rtysm '%s': failed to map: %ld\n", cpp 14 drivers/net/ethernet/netronome/nfp/nic/main.c nfp_err(pf->cpp, "ETH entries don't match vNICs (%d vs %d)\n", cpp 83 drivers/net/slip/slhc.c static long decode(unsigned char **cpp); cpp 85 drivers/net/slip/slhc.c static unsigned short pull16(unsigned char **cpp); cpp 195 drivers/net/slip/slhc.c pull16(unsigned char **cpp) cpp 199 drivers/net/slip/slhc.c rval = *(*cpp)++; cpp 201 drivers/net/slip/slhc.c rval |= *(*cpp)++; cpp 207 drivers/net/slip/slhc.c decode(unsigned char **cpp) cpp 211 drivers/net/slip/slhc.c x = *(*cpp)++; cpp 213 drivers/net/slip/slhc.c return pull16(cpp) & 0xffff; /* pull16 returns -1 on error */ cpp 228 drivers/net/slip/slhc.c unsigned char *ocp, unsigned char **cpp, int compress_cid) cpp 453 drivers/net/slip/slhc.c *cpp = ocp; cpp 459 drivers/net/slip/slhc.c *cpp = ocp; cpp 485 drivers/net/slip/slhc.c *cpp = ocp; cpp 720 drivers/net/slip/slhc.c unsigned char *ocp, unsigned char **cpp, int compress_cid) cpp 556 drivers/video/fbdev/tdfxfb.c u32 cpp = (info->var.bits_per_pixel + 7) >> 3; cpp 562 drivers/video/fbdev/tdfxfb.c ((cpp - 1) << VIDCFG_PIXFMT_SHIFT) | cpp 563 drivers/video/fbdev/tdfxfb.c (cpp != 1 ? VIDCFG_CLUT_BYPASS : 0); cpp 694 drivers/video/fbdev/tdfxfb.c reg.stride = info->var.xres * cpp; cpp 696 drivers/video/fbdev/tdfxfb.c + info->var.xoffset * cpp; cpp 217 fs/nilfs2/cpfile.c struct nilfs_checkpoint **cpp, cpp 263 fs/nilfs2/cpfile.c if (cpp != NULL) cpp 264 fs/nilfs2/cpfile.c *cpp = cp; cpp 526 fs/ocfs2/aops.c unsigned int cpp; cpp 528 fs/ocfs2/aops.c cpp = 1 << (PAGE_SHIFT - osb->s_clustersize_bits); cpp 530 fs/ocfs2/aops.c cluster_start = cpos % cpp; cpp 2926 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *cpp; /* child ptr pointer */ cpp 2978 fs/xfs/libxfs/xfs_btree.c cpp = xfs_btree_ptr_addr(cur, 1, cblock); cpp 2985 fs/xfs/libxfs/xfs_btree.c xfs_btree_copy_ptrs(cur, cpp, pp, xfs_btree_get_numrecs(cblock)); cpp 3515 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *cpp; cpp 3579 fs/xfs/libxfs/xfs_btree.c cpp = xfs_btree_ptr_addr(cur, 1, cblock); cpp 3582 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_debug_check_ptr(cur, cpp, i, level - 1); cpp 3587 fs/xfs/libxfs/xfs_btree.c xfs_btree_copy_ptrs(cur, pp, cpp, numrecs); cpp 81 include/drm/drm_fourcc.h u8 cpp[3]; cpp 435 include/net/ip_vs.h int *verdict, struct ip_vs_conn **cpp, cpp 791 include/net/ip_vs.h int *verdict, struct ip_vs_conn **cpp); cpp 179 include/net/slhc_vj.h unsigned char *ocp, unsigned char **cpp, int compress_cid); cpp 209 include/uapi/drm/i915_drm.h unsigned int cpp; cpp 917 kernel/debug/kdb/kdb_main.c char *cpp, quoted; cpp 936 kernel/debug/kdb/kdb_main.c cpp = cbuf; cpp 949 kernel/debug/kdb/kdb_main.c if (cpp >= cbuf + CMD_BUFLEN) { cpp 960 kernel/debug/kdb/kdb_main.c argv[argc++] = cpp; cpp 967 kernel/debug/kdb/kdb_main.c if (cpp >= cbuf + CMD_BUFLEN) cpp 971 kernel/debug/kdb/kdb_main.c *cpp++ = *cp++; cpp 983 kernel/debug/kdb/kdb_main.c *cpp = *cp++; cpp 984 kernel/debug/kdb/kdb_main.c if (*cpp == '=' && !quoted) cpp 986 kernel/debug/kdb/kdb_main.c ++cpp; cpp 988 kernel/debug/kdb/kdb_main.c *cpp++ = '\0'; /* Squash a ws or '=' character */ cpp 1547 net/netfilter/ipvs/ip_vs_core.c int *verdict, struct ip_vs_conn **cpp, cpp 1558 net/netfilter/ipvs/ip_vs_core.c if (!pp->conn_schedule(ipvs, af, skb, pd, verdict, cpp, iph)) cpp 1562 net/netfilter/ipvs/ip_vs_core.c if (unlikely(!*cpp)) { cpp 105 net/netfilter/ipvs/ip_vs_proto_ah_esp.c int *verdict, struct ip_vs_conn **cpp, cpp 18 net/netfilter/ipvs/ip_vs_proto_sctp.c int *verdict, struct ip_vs_conn **cpp, cpp 70 net/netfilter/ipvs/ip_vs_proto_sctp.c *cpp = ip_vs_schedule(svc, skb, pd, &ignored, iph); cpp 71 net/netfilter/ipvs/ip_vs_proto_sctp.c if (!*cpp && ignored <= 0) { cpp 37 net/netfilter/ipvs/ip_vs_proto_tcp.c int *verdict, struct ip_vs_conn **cpp, cpp 90 net/netfilter/ipvs/ip_vs_proto_tcp.c *cpp = ip_vs_schedule(svc, skb, pd, &ignored, iph); cpp 91 net/netfilter/ipvs/ip_vs_proto_tcp.c if (!*cpp && ignored <= 0) { cpp 33 net/netfilter/ipvs/ip_vs_proto_udp.c int *verdict, struct ip_vs_conn **cpp, cpp 78 net/netfilter/ipvs/ip_vs_proto_udp.c *cpp = ip_vs_schedule(svc, skb, pd, &ignored, iph); cpp 79 net/netfilter/ipvs/ip_vs_proto_udp.c if (!*cpp && ignored <= 0) { cpp 825 scripts/unifdef.c eval_unary(const struct ops *ops, int *valp, const char **cpp) cpp 833 scripts/unifdef.c cp = skipcomment(*cpp); cpp 904 scripts/unifdef.c *cpp = cp; cpp 913 scripts/unifdef.c eval_table(const struct ops *ops, int *valp, const char **cpp) cpp 921 scripts/unifdef.c cp = *cpp; cpp 940 scripts/unifdef.c *cpp = cp; cpp 952 scripts/unifdef.c ifeval(const char **cpp) cpp 957 scripts/unifdef.c debug("eval %s", *cpp); cpp 959 scripts/unifdef.c ret = eval_table(eval_ops, &val, cpp); cpp 209 tools/include/uapi/drm/i915_drm.h unsigned int cpp;