/drivers/gpu/drm/i915/ |
H A D | intel_fb.c | 62 struct drm_fb_helper_surface_size *sizes) 74 if (sizes->surface_bpp == 24) 75 sizes->surface_bpp = 32; 77 mode_cmd.width = sizes->surface_width; 78 mode_cmd.height = sizes->surface_height; 80 mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((sizes->surface_bpp + 7) / 82 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 83 sizes->surface_depth); 153 drm_fb_helper_fill_var(info, &ifbdev->helper, sizes->fb_width, sizes 61 intelfb_create(struct intel_fbdev *ifbdev, struct drm_fb_helper_surface_size *sizes) argument 175 intel_fb_find_or_create_single(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument [all...] |
/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fbdev.c | 95 struct drm_fb_helper_surface_size *sizes) 109 sizes->surface_width, sizes->surface_height, 110 sizes->surface_bpp); 112 mode_cmd.width = sizes->surface_width; 113 mode_cmd.height = sizes->surface_height; 114 mode_cmd.pitches[0] = sizes->surface_width * (sizes->surface_bpp >> 3); 115 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 116 sizes 94 exynos_drm_fbdev_create(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument 174 exynos_drm_fbdev_probe(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fbcon.c | 263 * with it's preferred mode. If the sizes differ, one display will 276 struct drm_fb_helper_surface_size *sizes) 290 mode_cmd.width = sizes->surface_width; 291 mode_cmd.height = sizes->surface_height; 293 mode_cmd.pitches[0] = mode_cmd.width * (sizes->surface_bpp >> 3); 296 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 297 sizes->surface_depth); 375 drm_fb_helper_fill_var(info, &nfbdev->helper, sizes->fb_width, sizes->fb_height); 421 struct drm_fb_helper_surface_size *sizes) 275 nouveau_fbcon_create(struct nouveau_fbdev *nfbdev, struct drm_fb_helper_surface_size *sizes) argument 420 nouveau_fbcon_find_or_create_single(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument [all...] |
/drivers/gpu/drm/radeon/ |
H A D | radeon_fb.c | 192 struct drm_fb_helper_surface_size *sizes) 204 mode_cmd.width = sizes->surface_width; 205 mode_cmd.height = sizes->surface_height; 208 if ((sizes->surface_bpp == 24) && ASIC_IS_AVIVO(rdev)) 209 sizes->surface_bpp = 32; 211 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 212 sizes->surface_depth); 258 drm_fb_helper_fill_var(info, &rfbdev->helper, sizes->fb_width, sizes->fb_height); 304 struct drm_fb_helper_surface_size *sizes) 191 radeonfb_create(struct radeon_fbdev *rfbdev, struct drm_fb_helper_surface_size *sizes) argument 303 radeon_fb_find_or_create_single(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument [all...] |
/drivers/media/video/uvc/ |
H A D | uvc_queue.c | 45 unsigned int sizes[], void *alloc_ctxs[]) 56 sizes[0] = stream->ctrl.dwMaxVideoFrameSize; 43 uvc_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], void *alloc_ctxs[]) argument
|
/drivers/s390/block/ |
H A D | xpram.c | 22 * set by kernel or module parameters (int devs & int sizes[]) 66 static char *sizes[XPRAM_MAX_DEVS]; variable 69 module_param_array(sizes, charp, NULL, 0); 73 MODULE_PARM_DESC(sizes, "list of device (partition) sizes " \ 77 "claimed by explicit sizes\n"); 271 * Copy sizes array to xpram_sizes and align partition 272 * sizes to page boundary. 277 if (sizes[i]) { 278 size = simple_strtoull(sizes[ [all...] |
/drivers/staging/omapdrm/ |
H A D | omap_fbdev.c | 140 struct drm_fb_helper_surface_size *sizes) 155 sizes->surface_bpp = 32; 156 sizes->surface_depth = 32; 158 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, 159 sizes->surface_height, sizes->surface_bpp, 160 sizes->fb_width, sizes->fb_height); 162 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 163 sizes 139 omap_fbdev_create(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument 296 omap_fbdev_probe(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument [all...] |
/drivers/media/video/pwc/ |
H A D | pwc-if.c | 650 unsigned int sizes[], void *alloc_ctxs[]) 663 sizes[0] = PAGE_ALIGN(pwc_image_sizes[size][0] * 1058 pwc_construct(pdev); /* set min/max sizes correct */ 648 queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], void *alloc_ctxs[]) argument
|
/drivers/media/video/s5p-g2d/ |
H A D | g2d.c | 106 unsigned int sizes[], void *alloc_ctxs[]) 114 sizes[0] = f->size; 104 g2d_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], void *alloc_ctxs[]) argument
|
/drivers/gpu/drm/gma500/ |
H A D | framebuffer.c | 336 * @sizes: specification of the layout 341 struct drm_fb_helper_surface_size *sizes) 357 mode_cmd.width = sizes->surface_width; 358 mode_cmd.height = sizes->surface_height; 359 bpp = sizes->surface_bpp; 360 depth = sizes->surface_depth; 471 sizes->fb_width, sizes->fb_height); 543 struct drm_fb_helper_surface_size *sizes) 550 ret = psbfb_create(psb_fbdev, sizes); 340 psbfb_create(struct psb_fbdev *fbdev, struct drm_fb_helper_surface_size *sizes) argument 542 psbfb_probe(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument [all...] |
/drivers/gpu/drm/udl/ |
H A D | udl_fb.c | 417 struct drm_fb_helper_surface_size *sizes) 428 if (sizes->surface_bpp == 24) 429 sizes->surface_bpp = 32; 431 mode_cmd.width = sizes->surface_width; 432 mode_cmd.height = sizes->surface_height; 433 mode_cmd.pitches[0] = mode_cmd.width * ((sizes->surface_bpp + 7) / 8); 435 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 436 sizes->surface_depth); 476 drm_fb_helper_fill_var(info, &ufbdev->helper, sizes->fb_width, sizes 416 udlfb_create(struct udl_fbdev *ufbdev, struct drm_fb_helper_surface_size *sizes) argument 496 udl_fb_find_or_create_single(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument [all...] |
/drivers/staging/media/dt3155v4l/ |
H A D | dt3155v4l.c | 223 unsigned int sizes[], void *alloc_ctxs[]) 232 sizes[0] = img_width * img_height; 221 dt3155_queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt, unsigned int *num_buffers, unsigned int *num_planes, unsigned int sizes[], void *alloc_ctxs[]) argument
|
/drivers/gpu/drm/ |
H A D | drm_fb_helper.c | 716 struct drm_fb_helper_surface_size sizes; local 719 memset(&sizes, 0, sizeof(struct drm_fb_helper_surface_size)); 720 sizes.surface_depth = 24; 721 sizes.surface_bpp = 32; 722 sizes.fb_width = (unsigned)-1; 723 sizes.fb_height = (unsigned)-1; 727 if (preferred_bpp != sizes.surface_bpp) { 728 sizes.surface_depth = sizes.surface_bpp = preferred_bpp; 740 sizes [all...] |
/drivers/gpu/ion/ |
H A D | ion.c | 588 size_t sizes[ION_NUM_HEAPS] = {0}; local 600 sizes[type] += handle->buffer->size; 608 seq_printf(s, "%16.16s: %16u\n", names[i], sizes[i]);
|
/drivers/media/video/ |
H A D | atmel-isi.c | 257 unsigned int sizes[], void *alloc_ctxs[]) 289 sizes[0] = size; 255 queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], void *alloc_ctxs[]) argument
|
H A D | mem2mem_testdev.c | 744 unsigned int sizes[], void *alloc_ctxs[]) 759 sizes[0] = size; 741 m2mtest_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], void *alloc_ctxs[]) argument
|
H A D | mx3_camera.c | 197 unsigned int sizes[], void *alloc_ctxs[]) 225 sizes[0] = bytes_per_line * height; 237 sizes[0] * *count + mx3_cam->buf_total > MAX_VIDEO_MEM * 1024 * 1024) 239 sizes[0]; 821 /* The capture device might have changed its output sizes */ 194 mx3_videobuf_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *count, unsigned int *num_planes, unsigned int sizes[], void *alloc_ctxs[]) argument
|
H A D | mx2_emmaprp.c | 30 #include <asm/sizes.h> 689 unsigned int sizes[], void *alloc_ctxs[]) 707 sizes[0] = size; 686 emmaprp_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], void *alloc_ctxs[]) argument
|
/drivers/media/video/blackfin/ |
H A D | bfin_capture.c | 269 unsigned int sizes[], void *alloc_ctxs[]) 277 sizes[0] = bcap_dev->fmt.sizeimage; 266 bcap_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], void *alloc_ctxs[]) argument
|
/drivers/media/video/s5p-fimc/ |
H A D | fimc-capture.c | 251 unsigned int sizes[], void *allocators[]) 277 sizes[i] = max(size, pixm->plane_fmt[i].sizeimage); 279 sizes[i] = size; 249 queue_setup(struct vb2_queue *vq, const struct v4l2_format *pfmt, unsigned int *num_buffers, unsigned int *num_planes, unsigned int sizes[], void *allocators[]) argument
|
H A D | fimc-core.c | 702 unsigned int sizes[], void *allocators[]) 720 sizes[i] = (f->f_width * f->f_height * f->fmt->depth[i]) / 8; 700 fimc_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *num_buffers, unsigned int *num_planes, unsigned int sizes[], void *allocators[]) argument
|
/drivers/media/video/s5p-tv/ |
H A D | mixer_video.c | 836 unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], 856 sizes[i] = PAGE_ALIGN(planes[i].sizeimage); 857 mxr_dbg(mdev, "size[%d] = %08lx\n", i, sizes[i]); 835 queue_setup(struct vb2_queue *vq, const struct v4l2_format *pfmt, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], void *alloc_ctxs[]) argument
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_drv.h | 112 struct drm_vmw_size *sizes; member in struct:vmw_surface
|
/drivers/media/video/marvell-ccic/ |
H A D | mcam-core.c | 911 unsigned int *num_planes, unsigned int sizes[], 917 sizes[0] = cam->pix_format.sizeimage; 1458 struct v4l2_frmsizeenum *sizes) 1464 ret = sensor_call(cam, video, enum_framesizes, sizes); 909 mcam_vb_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *nbufs, unsigned int *num_planes, unsigned int sizes[], void *alloc_ctxs[]) argument 1457 mcam_vidioc_enum_framesizes(struct file *filp, void *priv, struct v4l2_frmsizeenum *sizes) argument
|
/drivers/media/video/s5p-jpeg/ |
H A D | jpeg-core.c | 1070 unsigned int sizes[], void *alloc_ctxs[]) 1090 sizes[0] = size; 1067 s5p_jpeg_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], void *alloc_ctxs[]) argument
|