Searched refs:sizes (Results 1 - 25 of 591) sorted by relevance

1234567891011>>

/linux-master/arch/arm64/include/asm/
H A Dboot.h6 #include <linux/sizes.h>
/linux-master/arch/arm/mach-sa1100/include/mach/
H A Dmemory.h11 #include <linux/sizes.h>
/linux-master/arch/arm/mach-tegra/
H A Dirammap.h9 #include <linux/sizes.h>
/linux-master/tools/testing/selftests/arm64/mte/
H A Dcheck_buffer_fill.c16 static int sizes[] = { variable
35 item = ARRAY_SIZE(sizes);
38 ptr = (char *)mte_allocate_memory(sizes[i], mem_type, 0, true);
39 if (check_allocated_memory(ptr, sizes[i], mem_type, true) != KSFT_PASS)
41 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[i]);
43 for (j = 0; j < sizes[i]; j++)
48 for (j = 0; j < sizes[i] && !err; j++) {
52 mte_free_memory((void *)ptr, sizes[i], mem_type, true);
72 item = ARRAY_SIZE(sizes);
74 ptr = (char *)mte_allocate_memory_tag_range(sizes[
[all...]
H A Dcheck_mmap_options.c28 static int sizes[] = { variable
64 int item = ARRAY_SIZE(sizes);
68 map_size = sizes[run] + OVERFLOW + UNDERFLOW;
74 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[run]);
76 ptr = mte_insert_tags((void *)ptr, sizes[run]);
82 result = check_mte_memory(ptr, sizes[run], mode, tag_check);
83 mte_clear_tags((void *)ptr, sizes[run]);
95 int total = ARRAY_SIZE(sizes);
104 map_size = sizes[run] + UNDERFLOW + OVERFLOW;
111 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[ru
[all...]
H A Dcheck_child_memory.c24 static int sizes[] = { variable
88 int item = ARRAY_SIZE(sizes);
90 item = ARRAY_SIZE(sizes);
93 ptr = (char *)mte_allocate_memory_tag_range(sizes[run], mem_type, mapping,
95 if (check_allocated_memory_range(ptr, sizes[run], mem_type,
98 result = check_child_tag_inheritance(ptr, sizes[run], mode);
99 mte_free_memory_tag_range((void *)ptr, sizes[run], mem_type, UNDERFLOW, OVERFLOW);
110 int total = ARRAY_SIZE(sizes);
118 map_size = sizes[run] + OVERFLOW + UNDERFLOW;
125 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[ru
[all...]
/linux-master/drivers/gpu/drm/xe/display/
H A Dintel_fbdev_fb.c17 struct drm_fb_helper_surface_size *sizes)
27 if (sizes->surface_bpp == 24)
28 sizes->surface_bpp = 32;
30 mode_cmd.width = sizes->surface_width;
31 mode_cmd.height = sizes->surface_height;
34 DIV_ROUND_UP(sizes->surface_bpp, 8), XE_PAGE_SIZE);
35 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp,
36 sizes->surface_depth);
16 intel_fbdev_fb_alloc(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument
H A Dintel_fbdev_fb.h17 struct drm_fb_helper_surface_size *sizes);
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_fbdev_fb.c15 struct drm_fb_helper_surface_size *sizes)
25 if (sizes->surface_bpp == 24)
26 sizes->surface_bpp = 32;
28 mode_cmd.width = sizes->surface_width;
29 mode_cmd.height = sizes->surface_height;
32 DIV_ROUND_UP(sizes->surface_bpp, 8), 64);
33 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp,
34 sizes->surface_depth);
14 intel_fbdev_fb_alloc(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument
H A Dintel_fbdev_fb.h17 struct drm_fb_helper_surface_size *sizes);
/linux-master/include/linux/
H A Dahci-remap.h5 #include <linux/sizes.h>
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_rogue_heap_config.h7 #include <linux/sizes.h>
/linux-master/drivers/android/
H A Dbinder_alloc_selftest.c82 static void pr_err_size_seq(size_t *sizes, int *seq) argument
86 pr_err("alloc sizes: ");
88 pr_cont("[%zu]", sizes[i]);
121 size_t *sizes, int *seq)
126 buffers[i] = binder_alloc_new_buf(alloc, sizes[i], 0, 0, 0);
129 sizes[i])) {
130 pr_err_size_seq(sizes, seq);
138 size_t *sizes, int *seq, size_t end)
152 pr_err_size_seq(sizes, seq);
181 size_t *sizes, in
119 binder_selftest_alloc_buf(struct binder_alloc *alloc, struct binder_buffer *buffers[], size_t *sizes, int *seq) argument
136 binder_selftest_free_buf(struct binder_alloc *alloc, struct binder_buffer *buffers[], size_t *sizes, int *seq, size_t end) argument
180 binder_selftest_alloc_free(struct binder_alloc *alloc, size_t *sizes, int *seq, size_t end) argument
209 binder_selftest_free_seq(struct binder_alloc *alloc, size_t *sizes, int *seq, int index, size_t end) argument
[all...]
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_fbdev.c69 struct drm_fb_helper_surface_size *sizes)
80 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth);
82 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width,
83 sizes->surface_height, sizes->surface_bpp,
84 sizes->fb_width, sizes->fb_height);
86 pitch = align_pitch(sizes->surface_width, sizes
68 msm_fbdev_create(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument
[all...]
/linux-master/drivers/gpu/drm/exynos/
H A Dexynos_drm_fbdev.c60 struct drm_fb_helper_surface_size *sizes,
77 drm_fb_helper_fill_info(fbi, helper, sizes);
91 struct drm_fb_helper_surface_size *sizes)
101 sizes->surface_width, sizes->surface_height,
102 sizes->surface_bpp);
104 mode_cmd.width = sizes->surface_width;
105 mode_cmd.height = sizes->surface_height;
106 mode_cmd.pitches[0] = sizes->surface_width * (sizes
59 exynos_drm_fbdev_update(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes, struct exynos_drm_gem *exynos_gem) argument
90 exynos_drm_fbdev_create(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument
[all...]
/linux-master/arch/parisc/boot/compressed/
H A DMakefile15 targets += $(OBJECTS) sizes.h
30 sed-sizes := -e 's/^\([0-9a-fA-F]*\) . \(__bss_start\|_end\|parisc_kernel_start\)$$/\#define SZ\2 0x\1/p'
33 cmd_sizes = $(NM) $< | sed -n $(sed-sizes) > $@
35 $(obj)/sizes.h: vmlinux FORCE
36 $(call if_changed,sizes)
39 $(obj)/head.o: $(obj)/sizes.h
42 $(obj)/misc.o: $(obj)/sizes.h
47 $(obj)/vmlinux.lds: $(obj)/sizes.h
/linux-master/arch/csky/include/asm/
H A Dmemory.h9 #include <linux/sizes.h>
/linux-master/drivers/media/usb/em28xx/
H A Dem28xx-vbi.c23 unsigned int sizes[], struct device *alloc_devs[])
33 if (sizes[0] < size)
35 size = sizes[0];
39 sizes[0] = size;
21 vbi_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], struct device *alloc_devs[]) argument
/linux-master/arch/xtensa/include/asm/
H A Dkasan.h10 #include <linux/sizes.h>
/linux-master/drivers/media/usb/au0828/
H A Dau0828-vbi.c23 unsigned int sizes[], struct device *alloc_devs[])
29 return sizes[0] < size ? -EINVAL : 0;
31 sizes[0] = size;
21 vbi_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], struct device *alloc_devs[]) argument
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_log.c66 log->sizes[i].bytes = sections[i].default_val;
69 if (log->sizes[GUC_LOG_SECTIONS_DEBUG].bytes >= SZ_1M &&
71 log->sizes[GUC_LOG_SECTIONS_CRASH].bytes = SZ_1M;
76 if ((log->sizes[i].bytes % SZ_1M) == 0) {
77 log->sizes[i].units = SZ_1M;
78 log->sizes[i].flag = sections[i].flag;
80 log->sizes[i].units = SZ_4K;
81 log->sizes[i].flag = 0;
84 if (!IS_ALIGNED(log->sizes[i].bytes, log->sizes[
[all...]
/linux-master/drivers/gpu/drm/gma500/
H A Dfbdev.c151 struct drm_fb_helper_surface_size *sizes)
166 if (sizes->surface_bpp == 24) {
167 sizes->surface_bpp = 32;
168 sizes->surface_depth = 24;
170 bpp = sizes->surface_bpp;
171 depth = sizes->surface_depth;
178 size = ALIGN(sizes->surface_width * DIV_ROUND_UP(bpp, 8), 64) *
179 sizes->surface_height;
183 sizes->surface_bpp = 16;
184 sizes
150 psb_fbdev_fb_probe(struct drm_fb_helper *fb_helper, struct drm_fb_helper_surface_size *sizes) argument
[all...]
/linux-master/drivers/gpu/drm/omapdrm/
H A Domap_fbdev.c122 struct drm_fb_helper_surface_size *sizes)
135 sizes->surface_bpp = 32;
136 sizes->surface_depth = 24;
138 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width,
139 sizes->surface_height, sizes->surface_bpp,
140 sizes->fb_width, sizes->fb_height);
142 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp,
143 sizes
121 omap_fbdev_create(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_fbdev_dma.c77 struct drm_fb_helper_surface_size *sizes)
90 sizes->surface_width, sizes->surface_height,
91 sizes->surface_bpp);
93 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth);
94 buffer = drm_client_framebuffer_create(client, sizes->surface_width,
95 sizes->surface_height, format);
123 drm_fb_helper_fill_info(info, fb_helper, sizes);
131 info->screen_size = sizes
76 drm_fbdev_dma_helper_fb_probe(struct drm_fb_helper *fb_helper, struct drm_fb_helper_surface_size *sizes) argument
[all...]
/linux-master/arch/sh/mm/
H A Duncached.c4 #include <linux/sizes.h>

Completed in 199 milliseconds

1234567891011>>