Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/drivers/gpu/drm/
Ddrm_fourcc.c46 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) in drm_mode_legacy_fb_format() argument
55 if (depth == 15) in drm_mode_legacy_fb_format()
64 if (depth == 24) in drm_mode_legacy_fb_format()
66 else if (depth == 30) in drm_mode_legacy_fb_format()
114 void drm_fb_get_bpp_depth(uint32_t format, unsigned int *depth, in drm_fb_get_bpp_depth() argument
123 *depth = 8; in drm_fb_get_bpp_depth()
134 *depth = 15; in drm_fb_get_bpp_depth()
139 *depth = 16; in drm_fb_get_bpp_depth()
144 *depth = 24; in drm_fb_get_bpp_depth()
151 *depth = 24; in drm_fb_get_bpp_depth()
[all …]
/drivers/media/platform/ti-vpe/
Dvpdma.c35 .depth = 8,
40 .depth = 8,
45 .depth = 8,
50 .depth = 8,
55 .depth = 8,
60 .depth = 4,
65 .depth = 16,
70 .depth = 24,
75 .depth = 16,
83 .depth = 16,
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcommonring.c41 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument
44 commonring->depth = depth; in brcmf_commonring_config()
85 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_write_available()
93 if (available > commonring->depth / 8) { in brcmf_commonring_write_available()
126 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write()
135 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write()
162 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write_multiple()
171 if (*alloced + commonring->w_ptr > commonring->depth) in brcmf_commonring_reserve_for_write_multiple()
172 *alloced = commonring->depth - commonring->w_ptr; in brcmf_commonring_reserve_for_write_multiple()
174 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write_multiple()
[all …]
Dcommonring.h23 u16 depth; member
51 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth,
68 #define brcmf_commonring_n_items(commonring) (commonring->depth)
/drivers/gpu/drm/r128/
Dr128_ioc32.c114 drm_r128_depth_t __user *depth; in compat_r128_depth() local
119 depth = compat_alloc_user_space(sizeof(*depth)); in compat_r128_depth()
120 if (!access_ok(VERIFY_WRITE, depth, sizeof(*depth)) in compat_r128_depth()
121 || __put_user(depth32.func, &depth->func) in compat_r128_depth()
122 || __put_user(depth32.n, &depth->n) in compat_r128_depth()
123 || __put_user((int __user *)(unsigned long)depth32.x, &depth->x) in compat_r128_depth()
124 || __put_user((int __user *)(unsigned long)depth32.y, &depth->y) in compat_r128_depth()
126 &depth->buffer) in compat_r128_depth()
128 &depth->mask)) in compat_r128_depth()
131 return drm_ioctl(file, DRM_IOCTL_R128_DEPTH, (unsigned long)depth); in compat_r128_depth()
Dr128_state.c884 drm_r128_depth_t *depth) in r128_cce_dispatch_write_span() argument
894 count = depth->n; in r128_cce_dispatch_write_span()
898 if (copy_from_user(&x, depth->x, sizeof(x))) in r128_cce_dispatch_write_span()
900 if (copy_from_user(&y, depth->y, sizeof(y))) in r128_cce_dispatch_write_span()
903 buffer_size = depth->n * sizeof(u32); in r128_cce_dispatch_write_span()
904 buffer = memdup_user(depth->buffer, buffer_size); in r128_cce_dispatch_write_span()
908 mask_size = depth->n; in r128_cce_dispatch_write_span()
909 if (depth->mask) { in r128_cce_dispatch_write_span()
910 mask = memdup_user(depth->mask, mask_size); in r128_cce_dispatch_write_span()
969 drm_r128_depth_t *depth) in r128_cce_dispatch_write_pixels() argument
[all …]
/drivers/of/
Dfdt.c398 int offset = 0, depth = 0, initial_depth = 0; in unflatten_dt_nodes() local
416 depth = initial_depth = 1; in unflatten_dt_nodes()
419 fpsizes[depth] = dad ? strlen(of_node_full_name(dad)) : 0; in unflatten_dt_nodes()
420 nps[depth] = dad; in unflatten_dt_nodes()
423 offset >= 0 && depth >= initial_depth; in unflatten_dt_nodes()
424 offset = fdt_next_node(blob, offset, &depth)) { in unflatten_dt_nodes()
425 if (WARN_ON_ONCE(depth >= FDT_MAX_DEPTH)) in unflatten_dt_nodes()
428 fpsizes[depth+1] = populate_node(blob, offset, &mem, in unflatten_dt_nodes()
429 nps[depth], in unflatten_dt_nodes()
430 fpsizes[depth], in unflatten_dt_nodes()
[all …]
/drivers/staging/android/fiq_debugger/
Dfiq_debugger_arm.c152 unsigned int depth; member
159 if (sts->depth) { in report_trace()
164 sts->depth--; in report_trace()
169 return sts->depth == 0; in report_trace()
206 const struct pt_regs *regs, unsigned int depth, void *ssp) in fiq_debugger_dump_stacktrace() argument
212 sts.depth = depth; in fiq_debugger_dump_stacktrace()
238 while (depth-- && tail && !((unsigned long) tail & 3)) in fiq_debugger_dump_stacktrace()
Dfiq_debugger_arm64.c157 unsigned int depth; member
164 if (sts->depth) { in report_trace()
169 sts->depth--; in report_trace()
174 return sts->depth == 0; in report_trace()
178 const struct pt_regs *regs, unsigned int depth, void *ssp) in fiq_debugger_dump_stacktrace() argument
183 sts.depth = depth; in fiq_debugger_dump_stacktrace()
/drivers/video/fbdev/i810/
Di810_accel.c304 par->depth == 4) { in i810fb_fillrect()
309 if (par->depth == 1) in i810fb_fillrect()
316 dx = rect->dx * par->depth; in i810fb_fillrect()
317 width = rect->width * par->depth; in i810fb_fillrect()
332 par->depth == 4) { in i810fb_copyarea()
337 dx = region->dx * par->depth; in i810fb_copyarea()
338 sx = region->sx * par->depth; in i810fb_copyarea()
339 width = region->width * par->depth; in i810fb_copyarea()
373 par->depth == 4 || image->depth != 1) { in i810fb_imageblit()
391 (image->dx * par->depth); in i810fb_imageblit()
[all …]
/drivers/video/fbdev/via/
Dvia_modesetting.c175 void via_set_primary_color_depth(u8 depth) in via_set_primary_color_depth() argument
179 DEBUG_MSG(KERN_DEBUG "via_set_primary_color_depth(%d)\n", depth); in via_set_primary_color_depth()
180 switch (depth) { in via_set_primary_color_depth()
198 "Unsupported depth: %d\n", depth); in via_set_primary_color_depth()
205 void via_set_secondary_color_depth(u8 depth) in via_set_secondary_color_depth() argument
209 DEBUG_MSG(KERN_DEBUG "via_set_secondary_color_depth(%d)\n", depth); in via_set_secondary_color_depth()
210 switch (depth) { in via_set_secondary_color_depth()
225 "Unsupported depth: %d\n", depth); in via_set_secondary_color_depth()
/drivers/video/logo/
Dlogo.c43 const struct linux_logo * __ref fb_find_logo(int depth) in fb_find_logo() argument
50 if (depth >= 1) { in fb_find_logo()
61 if (depth >= 4) { in fb_find_logo()
76 if (depth >= 8) { in fb_find_logo()
/drivers/media/platform/exynos4-is/
Dfimc-core.c45 .depth = { 16 },
53 .depth = { 32 },
61 .depth = { 32 },
69 .depth = { 16 },
77 .depth = { 16 },
89 .depth = { 16 },
98 .depth = { 16 },
107 .depth = { 16 },
116 .depth = { 16 },
125 .depth = { 16 },
[all …]
/drivers/hwtracing/coresight/
Dcoresight-etb10.c103 u32 depth = 0; in etb_get_buffer_depth() local
108 depth = readl_relaxed(drvdata->base + ETB_RAM_DEPTH_REG); in etb_get_buffer_depth()
111 return depth; in etb_get_buffer_depth()
117 u32 depth; in etb_enable_hw() local
121 depth = drvdata->buffer_depth; in etb_enable_hw()
125 for (i = 0; i < depth; i++) in etb_enable_hw()
205 u32 read_data, depth; in etb_dump_hw() local
231 depth = drvdata->buffer_depth; in etb_dump_hw()
233 for (i = 0; i < depth; i++) { in etb_dump_hw()
521 u32 depth; in etb_read() local
[all …]
/drivers/video/fbdev/
Dsunxvr2500.c27 unsigned int depth; member
37 sp->depth = of_getintprop_default(sp->of_node, "depth", 8); in s3d_get_props()
91 if (sp->depth == 32 || sp->depth == 24) in s3d_set_fbinfo()
100 var->bits_per_pixel = sp->depth; in s3d_set_fbinfo()
168 switch (sp->depth) { in s3d_pci_register()
Doffb.c387 int width, int height, int depth, in offb_init_fb() argument
403 width, height, name, address, depth, pitch); in offb_init_fb()
404 if (depth != 8 && depth != 15 && depth != 16 && depth != 32) { in offb_init_fb()
406 depth); in offb_init_fb()
436 if (depth == 8) in offb_init_fb()
442 switch (depth) { in offb_init_fb()
534 int i, width = 640, height = 480, depth = 8, pitch = 640; in offb_init_nodriver() local
554 depth = be32_to_cpup(pp); in offb_init_nodriver()
574 pitch = width * ((depth + 7) / 8); in offb_init_nodriver()
648 width, height, depth, pitch, address, in offb_init_nodriver()
Dsunxvr1000.c23 unsigned int depth; member
33 gp->depth = of_getintprop_default(gp->of_node, "depth", 32); in gfb_get_props()
87 if (gp->depth == 32 || gp->depth == 24) in gfb_set_fbinfo()
96 var->bits_per_pixel = gp->depth; in gfb_set_fbinfo()
Dpm2fb.c397 static void set_aperture(struct pm2fb_par *p, u32 depth) in set_aperture() argument
408 switch (depth) { in set_aperture()
686 u32 depth = (info->var.bits_per_pixel + 7) & ~7; in pm2fb_set_par() local
706 depth = (depth > 32) ? 32 : depth; in pm2fb_set_par()
707 data64 = depth > 8 || par->type == PM2_TYPE_PERMEDIA2V; in pm2fb_set_par()
715 hsstart = to3264(info->var.right_margin, depth, data64); in pm2fb_set_par()
716 hsend = hsstart + to3264(info->var.hsync_len, depth, data64); in pm2fb_set_par()
717 hbend = hsend + to3264(info->var.left_margin, depth, data64); in pm2fb_set_par()
718 htotal = to3264(xres, depth, data64) + hbend - 1; in pm2fb_set_par()
726 stride = to3264(width, depth, 1); in pm2fb_set_par()
[all …]
/drivers/gpu/drm/qxl/
Dqxl_image.c105 int depth, unsigned int hash, in qxl_image_init_helper() argument
113 int linesize = width * depth / 8; in qxl_image_init_helper()
200 switch (depth) { in qxl_image_init_helper()
232 int depth, int stride) in qxl_image_init() argument
234 data += y * stride + x * (depth / 8); in qxl_image_init()
236 width, height, depth, 0, stride); in qxl_image_init()
/drivers/media/platform/exynos-gsc/
Dgsc-core.c37 .depth = { 16 },
44 .depth = { 32 },
51 .depth = { 16 },
61 .depth = { 16 },
71 .depth = { 16 },
81 .depth = { 16 },
91 .depth = { 32 },
100 .depth = { 16 },
109 .depth = { 16 },
118 .depth = { 16 },
[all …]
Dgsc-regs.c170 u32 i, depth = 0; in gsc_hw_set_in_image_format() local
184 depth += frame->fmt->depth[i]; in gsc_hw_set_in_image_format()
199 if (depth == 12) in gsc_hw_set_in_image_format()
209 if (depth == 12) in gsc_hw_set_in_image_format()
290 u32 i, depth = 0; in gsc_hw_set_out_image_format() local
310 depth += frame->fmt->depth[i]; in gsc_hw_set_out_image_format()
325 if (depth == 12) in gsc_hw_set_out_image_format()
/drivers/gpu/drm/vmwgfx/device_include/
Dsvga3d_surfacedefs.h193 u8 depth; member
982 size.depth = max_t(u32, base_level.depth >> mip_level, 1); in svga3dsurface_get_mip_size()
995 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth, in svga3dsurface_get_size_in_blocks()
996 desc->block_size.depth); in svga3dsurface_get_size_in_blocks()
1054 total_size = clamped_umul32(total_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size()
1063 total_size = clamped_umul32(slice_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size()
1103 const u32 bd = desc->block_size.depth; in svga3dsurface_get_pixel_offset()
/drivers/media/pci/tw68/
Dtw68-video.c48 .depth = 16,
53 .depth = 16,
58 .depth = 16,
63 .depth = 16,
68 .depth = 24,
73 .depth = 24,
78 .depth = 32,
83 .depth = 32,
89 .depth = 16,
94 .depth = 16,
[all …]
/drivers/media/pci/cx18/
Dcx18-queue.c53 atomic_set(&q->depth, 0); in cx18_queue_init()
71 atomic_read(&q->depth) >= CX18_MAX_FW_MDLS_PER_STREAM) in _cx18_enqueue()
81 atomic_inc(&q->depth); in _cx18_enqueue()
97 atomic_dec(&q->depth); in cx18_dequeue()
165 if (mdl->skipped >= atomic_read(&s->q_busy.depth)-1) { in cx18_queue_get_mdl()
173 atomic_dec(&s->q_busy.depth); in cx18_queue_get_mdl()
182 atomic_dec(&s->q_busy.depth); in cx18_queue_get_mdl()
229 atomic_inc(&q_dst->depth); in cx18_queue_flush()
/drivers/video/fbdev/matrox/
Dmatroxfb_base.c1256 static int depth = -1; /* "matroxfb:depth:xxxxx" */ variable
1785 vesafb_defined.red = colors[depth-1].red; in initMatrox2()
1786 vesafb_defined.green = colors[depth-1].green; in initMatrox2()
1787 vesafb_defined.blue = colors[depth-1].blue; in initMatrox2()
1788 vesafb_defined.bits_per_pixel = colors[depth-1].bits_per_pixel; in initMatrox2()
2293 if (depth == -1) in matroxfb_init_params()
2294 depth = RSDepth(RSptr->info); in matroxfb_init_params()
2334 case 0: depth = RSText; break; in matroxfb_setup()
2335 case 4: depth = RS4bpp; break; in matroxfb_setup()
2336 case 8: depth = RS8bpp; break; in matroxfb_setup()
[all …]

12345678910>>...12