/Linux-v5.4/drivers/android/ |
D | binder_alloc_selftest.c | 78 static void pr_err_size_seq(size_t *sizes, int *seq) in pr_err_size_seq() argument 84 pr_cont("[%zu]", sizes[i]); in pr_err_size_seq() 117 size_t *sizes, int *seq) in binder_selftest_alloc_buf() argument 122 buffers[i] = binder_alloc_new_buf(alloc, sizes[i], 0, 0, 0); in binder_selftest_alloc_buf() 125 sizes[i])) { in binder_selftest_alloc_buf() 126 pr_err_size_seq(sizes, seq); in binder_selftest_alloc_buf() 134 size_t *sizes, int *seq, size_t end) in binder_selftest_free_buf() argument 148 pr_err_size_seq(sizes, seq); in binder_selftest_free_buf() 177 size_t *sizes, int *seq, size_t end) in binder_selftest_alloc_free() argument 181 binder_selftest_alloc_buf(alloc, buffers, sizes, seq); in binder_selftest_alloc_free() [all …]
|
/Linux-v5.4/drivers/gpu/drm/msm/ |
D | msm_fbdev.c | 61 struct drm_fb_helper_surface_size *sizes) in msm_fbdev_create() argument 73 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); in msm_fbdev_create() 75 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, in msm_fbdev_create() 76 sizes->surface_height, sizes->surface_bpp, in msm_fbdev_create() 77 sizes->fb_width, sizes->fb_height); in msm_fbdev_create() 79 pitch = align_pitch(sizes->surface_width, sizes->surface_bpp); in msm_fbdev_create() 80 fb = msm_alloc_stolen_fb(dev, sizes->surface_width, in msm_fbdev_create() 81 sizes->surface_height, pitch, format); in msm_fbdev_create() 117 drm_fb_helper_fill_info(fbi, helper, sizes); in msm_fbdev_create()
|
/Linux-v5.4/drivers/gpu/drm/exynos/ |
D | exynos_drm_fbdev.c | 73 struct drm_fb_helper_surface_size *sizes, in exynos_drm_fbdev_update() argument 91 drm_fb_helper_fill_info(fbi, helper, sizes); in exynos_drm_fbdev_update() 114 struct drm_fb_helper_surface_size *sizes) in exynos_drm_fbdev_create() argument 125 sizes->surface_width, sizes->surface_height, in exynos_drm_fbdev_create() 126 sizes->surface_bpp); in exynos_drm_fbdev_create() 128 mode_cmd.width = sizes->surface_width; in exynos_drm_fbdev_create() 129 mode_cmd.height = sizes->surface_height; in exynos_drm_fbdev_create() 130 mode_cmd.pitches[0] = sizes->surface_width * (sizes->surface_bpp >> 3); in exynos_drm_fbdev_create() 131 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in exynos_drm_fbdev_create() 132 sizes->surface_depth); in exynos_drm_fbdev_create() [all …]
|
/Linux-v5.4/drivers/gpu/drm/omapdrm/ |
D | omap_fbdev.c | 91 struct drm_fb_helper_surface_size *sizes) in omap_fbdev_create() argument 103 sizes->surface_bpp = 32; in omap_fbdev_create() 104 sizes->surface_depth = 24; in omap_fbdev_create() 106 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, in omap_fbdev_create() 107 sizes->surface_height, sizes->surface_bpp, in omap_fbdev_create() 108 sizes->fb_width, sizes->fb_height); in omap_fbdev_create() 110 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in omap_fbdev_create() 111 sizes->surface_depth); in omap_fbdev_create() 113 mode_cmd.width = sizes->surface_width; in omap_fbdev_create() 114 mode_cmd.height = sizes->surface_height; in omap_fbdev_create() [all …]
|
/Linux-v5.4/drivers/gpu/drm/armada/ |
D | armada_fbdev.c | 28 struct drm_fb_helper_surface_size *sizes) in armada_fbdev_create() argument 39 mode.width = sizes->surface_width; in armada_fbdev_create() 40 mode.height = sizes->surface_height; in armada_fbdev_create() 41 mode.pitches[0] = armada_pitch(mode.width, sizes->surface_bpp); in armada_fbdev_create() 42 mode.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in armada_fbdev_create() 43 sizes->surface_depth); in armada_fbdev_create() 88 drm_fb_helper_fill_info(info, fbh, sizes); in armada_fbdev_create() 102 struct drm_fb_helper_surface_size *sizes) in armada_fb_probe() argument 107 ret = armada_fbdev_create(fbh, sizes); in armada_fb_probe()
|
/Linux-v5.4/arch/parisc/boot/compressed/ |
D | Makefile | 14 targets += misc.o piggy.o sizes.h head.o real2.o firmware.o 31 sed-sizes := -e 's/^\([0-9a-fA-F]*\) . \(__bss_start\|_end\|parisc_kernel_start\)$$/\#define SZ\2 0… 34 cmd_sizes = $(NM) $< | sed -n $(sed-sizes) > $@ 36 $(obj)/sizes.h: vmlinux 37 $(call if_changed,sizes) 40 $(obj)/head.o: $(obj)/sizes.h 43 $(obj)/misc.o: $(obj)/sizes.h 54 $(obj)/misc.o: $(obj)/sizes.h 57 $(obj)/vmlinux.lds: $(obj)/sizes.h
|
/Linux-v5.4/drivers/gpu/drm/hisilicon/hibmc/ |
D | hibmc_drm_fbdev.c | 54 struct drm_fb_helper_surface_size *sizes) in hibmc_drm_fb_create() argument 69 sizes->surface_width, sizes->surface_height, in hibmc_drm_fb_create() 70 sizes->surface_bpp); in hibmc_drm_fb_create() 72 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in hibmc_drm_fb_create() 74 mode_cmd.width = sizes->surface_width; in hibmc_drm_fb_create() 75 mode_cmd.height = sizes->surface_height; in hibmc_drm_fb_create() 77 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in hibmc_drm_fb_create() 78 sizes->surface_depth); in hibmc_drm_fb_create() 123 drm_fb_helper_fill_info(info, &priv->fbdev->helper, sizes); in hibmc_drm_fb_create()
|
/Linux-v5.4/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_fbdev.c | 40 struct drm_fb_helper_surface_size *sizes) in rockchip_drm_fbdev_create() argument 53 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in rockchip_drm_fbdev_create() 55 mode_cmd.width = sizes->surface_width; in rockchip_drm_fbdev_create() 56 mode_cmd.height = sizes->surface_height; in rockchip_drm_fbdev_create() 57 mode_cmd.pitches[0] = sizes->surface_width * bytes_per_pixel; in rockchip_drm_fbdev_create() 58 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in rockchip_drm_fbdev_create() 59 sizes->surface_depth); in rockchip_drm_fbdev_create() 88 drm_fb_helper_fill_info(fbi, helper, sizes); in rockchip_drm_fbdev_create()
|
/Linux-v5.4/drivers/gpu/drm/vboxvideo/ |
D | vbox_fb.c | 45 struct drm_fb_helper_surface_size *sizes) in vboxfb_create() argument 59 mode_cmd.width = sizes->surface_width; in vboxfb_create() 60 mode_cmd.height = sizes->surface_height; in vboxfb_create() 61 pitch = mode_cmd.width * ((sizes->surface_bpp + 7) / 8); in vboxfb_create() 62 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in vboxfb_create() 63 sizes->surface_depth); in vboxfb_create() 105 drm_fb_helper_fill_info(info, helper, sizes); in vboxfb_create()
|
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_fbdev.c | 115 struct drm_fb_helper_surface_size *sizes) in intelfb_alloc() argument 127 if (sizes->surface_bpp == 24) in intelfb_alloc() 128 sizes->surface_bpp = 32; in intelfb_alloc() 130 mode_cmd.width = sizes->surface_width; in intelfb_alloc() 131 mode_cmd.height = sizes->surface_height; in intelfb_alloc() 134 DIV_ROUND_UP(sizes->surface_bpp, 8), 64); in intelfb_alloc() 135 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in intelfb_alloc() 136 sizes->surface_depth); in intelfb_alloc() 164 struct drm_fb_helper_surface_size *sizes) in intelfb_create() argument 185 (sizes->fb_width > intel_fb->base.width || in intelfb_create() [all …]
|
/Linux-v5.4/drivers/gpu/drm/ |
D | drm_fb_helper.c | 1491 struct drm_fb_helper_surface_size sizes; in drm_fb_helper_single_fb_probe() local 1496 memset(&sizes, 0, sizeof(struct drm_fb_helper_surface_size)); in drm_fb_helper_single_fb_probe() 1497 sizes.surface_depth = 24; in drm_fb_helper_single_fb_probe() 1498 sizes.surface_bpp = 32; in drm_fb_helper_single_fb_probe() 1499 sizes.fb_width = (u32)-1; in drm_fb_helper_single_fb_probe() 1500 sizes.fb_height = (u32)-1; in drm_fb_helper_single_fb_probe() 1506 if (preferred_bpp != sizes.surface_bpp) in drm_fb_helper_single_fb_probe() 1507 sizes.surface_depth = sizes.surface_bpp = preferred_bpp; in drm_fb_helper_single_fb_probe() 1518 sizes.surface_depth = sizes.surface_bpp = 8; in drm_fb_helper_single_fb_probe() 1521 sizes.surface_depth = 15; in drm_fb_helper_single_fb_probe() [all …]
|
/Linux-v5.4/Documentation/media/uapi/v4l/ |
D | vidioc-subdev-enum-frame-size.rst | 19 VIDIOC_SUBDEV_ENUM_FRAME_SIZE - Enumerate media bus frame sizes 42 This ioctl allows applications to enumerate all frame sizes supported by 48 To enumerate frame sizes applications initialize the ``pad``, ``which`` 52 structure. Drivers fill the minimum and maximum frame sizes or return an 55 Sub-devices that only support discrete frame sizes (such as most 56 sensors) will return one or more frame sizes with identical minimum and 59 Not all possible sizes in given [minimum, maximum] ranges need to be 66 Available frame sizes may depend on the current 'try' formats at other 106 - Frame sizes to be enumerated, from enum
|
D | vidioc-enum-framesizes.rst | 19 VIDIOC_ENUM_FRAMESIZES - Enumerate frame sizes 44 This ioctl allows applications to enumerate all frame sizes (i. e. width 52 depend on the type of frame sizes the device supports. Here are the 78 it make sense to increase the index value to receive more frame sizes. 82 The order in which the frame sizes are returned has no special 84 format sizes. 163 - IN: Pixel format for which the frame sizes are enumerated.
|
/Linux-v5.4/drivers/media/usb/em28xx/ |
D | em28xx-vbi.c | 33 unsigned int sizes[], struct device *alloc_devs[]) in vbi_queue_setup() argument 43 if (sizes[0] < size) in vbi_queue_setup() 45 size = sizes[0]; in vbi_queue_setup() 49 sizes[0] = size; in vbi_queue_setup()
|
/Linux-v5.4/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 304 struct drm_fb_helper_surface_size *sizes) in psbfb_create() argument 319 mode_cmd.width = sizes->surface_width; in psbfb_create() 320 mode_cmd.height = sizes->surface_height; in psbfb_create() 321 bpp = sizes->surface_bpp; in psbfb_create() 322 depth = sizes->surface_depth; in psbfb_create() 414 drm_fb_helper_fill_info(info, &fbdev->psb_fb_helper, sizes); in psbfb_create() 459 struct drm_fb_helper_surface_size *sizes) in psbfb_probe() argument 467 bytespp = sizes->surface_bpp / 8; in psbfb_probe() 474 if (ALIGN(sizes->fb_width * bytespp, 64) * sizes->fb_height > in psbfb_probe() 476 sizes->surface_bpp = 16; in psbfb_probe() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fb.c | 199 struct drm_fb_helper_surface_size *sizes) in amdgpufb_create() argument 211 mode_cmd.width = sizes->surface_width; in amdgpufb_create() 212 mode_cmd.height = sizes->surface_height; in amdgpufb_create() 214 if (sizes->surface_bpp == 24) in amdgpufb_create() 215 sizes->surface_bpp = 32; in amdgpufb_create() 217 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in amdgpufb_create() 218 sizes->surface_depth); in amdgpufb_create() 255 drm_fb_helper_fill_info(info, &rfbdev->helper, sizes); in amdgpufb_create()
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | radeon_fb.c | 212 struct drm_fb_helper_surface_size *sizes) in radeonfb_create() argument 225 mode_cmd.width = sizes->surface_width; in radeonfb_create() 226 mode_cmd.height = sizes->surface_height; in radeonfb_create() 229 if ((sizes->surface_bpp == 24) && ASIC_IS_AVIVO(rdev)) in radeonfb_create() 230 sizes->surface_bpp = 32; in radeonfb_create() 232 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in radeonfb_create() 233 sizes->surface_depth); in radeonfb_create() 274 drm_fb_helper_fill_info(info, &rfbdev->helper, sizes); in radeonfb_create()
|
/Linux-v5.4/drivers/gpu/drm/tegra/ |
D | fb.c | 205 struct drm_fb_helper_surface_size *sizes) in tegra_fbdev_probe() argument 219 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in tegra_fbdev_probe() 221 cmd.width = sizes->surface_width; in tegra_fbdev_probe() 222 cmd.height = sizes->surface_height; in tegra_fbdev_probe() 223 cmd.pitches[0] = round_up(sizes->surface_width * bytes_per_pixel, in tegra_fbdev_probe() 226 cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fbdev_probe() 227 sizes->surface_depth); in tegra_fbdev_probe() 257 drm_fb_helper_fill_info(info, helper, sizes); in tegra_fbdev_probe()
|
/Linux-v5.4/drivers/media/usb/au0828/ |
D | au0828-vbi.c | 22 unsigned int sizes[], struct device *alloc_devs[]) in vbi_queue_setup() argument 28 return sizes[0] < size ? -EINVAL : 0; in vbi_queue_setup() 30 sizes[0] = size; in vbi_queue_setup()
|
/Linux-v5.4/Documentation/devicetree/bindings/usb/ |
D | gr-udc.txt | 21 - epobufsizes : Array of buffer sizes for OUT endpoints when they differ 24 each OUT endpoint of the core. Fewer entries overrides the default sizes 27 - epibufsizes : Array of buffer sizes for IN endpoints when they differ 30 each IN endpoint of the core. Fewer entries overrides the default sizes
|
/Linux-v5.4/Documentation/devicetree/bindings/dma/ |
D | fsl-qdma.txt | 26 - status-sizes: status queue size of per virtual block 27 - queue-sizes: command queue size of per virtual block, the size number 53 status-sizes = <64>; 54 queue-sizes = <64 64>;
|
/Linux-v5.4/drivers/gpu/drm/udl/ |
D | udl_fb.c | 351 struct drm_fb_helper_surface_size *sizes) in udlfb_create() argument 363 if (sizes->surface_bpp == 24) in udlfb_create() 364 sizes->surface_bpp = 32; in udlfb_create() 366 mode_cmd.width = sizes->surface_width; in udlfb_create() 367 mode_cmd.height = sizes->surface_height; in udlfb_create() 368 mode_cmd.pitches[0] = mode_cmd.width * ((sizes->surface_bpp + 7) / 8); in udlfb_create() 370 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in udlfb_create() 371 sizes->surface_depth); in udlfb_create() 405 drm_fb_helper_fill_info(info, &ufbdev->helper, sizes); in udlfb_create()
|
/Linux-v5.4/lib/ |
D | sg_split.c | 21 off_t skip, const size_t *sizes, in sg_calculate_split() argument 26 size_t size = sizes[0], len; in sg_calculate_split() 53 size = *(++sizes); in sg_calculate_split() 67 size = *(++sizes); in sg_calculate_split()
|
/Linux-v5.4/drivers/s390/block/ |
D | xpram.c | 67 static char *sizes[XPRAM_MAX_DEVS]; variable 70 module_param_array(sizes, charp, NULL, 0); 74 MODULE_PARM_DESC(sizes, "list of device (partition) sizes " \ 282 if (sizes[i]) { in xpram_setup_sizes() 283 size = simple_strtoull(sizes[i], &sizes_end, 0); in xpram_setup_sizes()
|
/Linux-v5.4/include/drm/ |
D | drm_fb_helper.h | 93 struct drm_fb_helper_surface_size *sizes); 232 struct drm_fb_helper_surface_size *sizes); 284 struct drm_fb_helper_surface_size *sizes); 351 struct drm_fb_helper_surface_size *sizes) in drm_fb_helper_fill_info() argument 484 struct drm_fb_helper_surface_size *sizes) in drm_fb_helper_generic_probe() argument
|