/drivers/media/platform/ti-vpe/ |
D | vpdma.c | 35 .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/brcm80211/brcmfmac/ |
D | commonring.c | 41 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 …]
|
D | commonring.h | 23 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/ |
D | r128_ioc32.c | 114 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()
|
D | r128_state.c | 884 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/ |
D | fdt.c | 188 static int depth; in unflatten_dt_node() local 341 old_depth = depth; in unflatten_dt_node() 342 *poffset = fdt_next_node(blob, *poffset, &depth); in unflatten_dt_node() 343 if (depth < 0) in unflatten_dt_node() 344 depth = 0; in unflatten_dt_node() 345 while (*poffset > 0 && depth > old_depth) in unflatten_dt_node() 541 int depth, void *data) in __fdt_scan_reserved_mem() argument 547 if (!found && depth == 1 && strcmp(uname, "reserved-memory") == 0) { in __fdt_scan_reserved_mem() 559 } else if (found && depth < 2) { in __fdt_scan_reserved_mem() 627 const char *uname, int depth, in of_scan_flat_dt() argument [all …]
|
/drivers/hwtracing/coresight/ |
D | coresight-etb10.c | 96 u32 depth = 0; in etb_get_buffer_depth() local 101 depth = readl_relaxed(drvdata->base + ETB_RAM_DEPTH_REG); in etb_get_buffer_depth() 104 return depth; in etb_get_buffer_depth() 110 u32 depth; in etb_enable_hw() local 114 depth = drvdata->buffer_depth; in etb_enable_hw() 118 for (i = 0; i < depth; i++) in etb_enable_hw() 187 u32 read_data, depth; in etb_dump_hw() local 213 depth = drvdata->buffer_depth; in etb_dump_hw() 215 for (i = 0; i < depth; i++) { in etb_dump_hw() 294 u32 depth; in etb_read() local [all …]
|
/drivers/video/fbdev/i810/ |
D | i810_accel.c | 304 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/ |
D | via_modesetting.c | 175 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()
|
D | viafbdev.c | 89 static void viafb_fill_var_color_info(struct fb_var_screeninfo *var, u8 depth) in viafb_fill_var_color_info() argument 99 switch (depth) { in viafb_fill_var_color_info() 203 int depth, refresh; in viafb_check_var() local 223 depth = fb_get_color_depth(var, &info->fix); in viafb_check_var() 224 if (!depth) in viafb_check_var() 225 depth = var->bits_per_pixel; in viafb_check_var() 227 if (depth < 0 || depth > 32) in viafb_check_var() 229 else if (!depth) in viafb_check_var() 230 depth = 24; in viafb_check_var() 231 else if (depth == 15 && viafb_dual_fb && ppar->iga_path == IGA1) in viafb_check_var() [all …]
|
/drivers/video/logo/ |
D | logo.c | 43 const struct linux_logo * __init_refok 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/ |
D | fimc-core.c | 45 .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/gpu/drm/qxl/ |
D | qxl_image.c | 105 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() 233 int depth, int stride) in qxl_image_init() argument 235 data += y * stride + x * (depth / 8); in qxl_image_init() 237 width, height, depth, 0, stride); in qxl_image_init()
|
/drivers/gpu/drm/sti/ |
D | sti_mixer.c | 109 int plane_id, depth = plane->zorder; in sti_mixer_set_plane_depth() local 113 if ((depth < 1) || (depth > GAM_MIXER_NB_DEPTH_LEVEL)) in sti_mixer_set_plane_depth() 148 mask |= GAM_DEPTH_MASK_ID << (3 * (depth - 1)); in sti_mixer_set_plane_depth() 149 plane_id = plane_id << (3 * (depth - 1)); in sti_mixer_set_plane_depth() 152 sti_plane_to_str(plane), depth); in sti_mixer_set_plane_depth()
|
/drivers/video/fbdev/ |
D | sunxvr2500.c | 26 unsigned int depth; member 36 sp->depth = of_getintprop_default(sp->of_node, "depth", 8); in s3d_get_props() 90 if (sp->depth == 32 || sp->depth == 24) in s3d_set_fbinfo() 99 var->bits_per_pixel = sp->depth; in s3d_set_fbinfo() 167 switch (sp->depth) { in s3d_pci_register()
|
D | offb.c | 391 int width, int height, int depth, in offb_init_fb() argument 407 width, height, name, address, depth, pitch); in offb_init_fb() 408 if (depth != 8 && depth != 15 && depth != 16 && depth != 32) { in offb_init_fb() 410 depth); in offb_init_fb() 440 if (depth == 8) in offb_init_fb() 446 switch (depth) { in offb_init_fb() 538 int i, width = 640, height = 480, depth = 8, pitch = 640; in offb_init_nodriver() local 558 depth = be32_to_cpup(pp); in offb_init_nodriver() 578 pitch = width * ((depth + 7) / 8); in offb_init_nodriver() 637 width, height, depth, pitch, address, in offb_init_nodriver()
|
D | sunxvr1000.c | 22 unsigned int depth; member 32 gp->depth = of_getintprop_default(gp->of_node, "depth", 32); in gfb_get_props() 86 if (gp->depth == 32 || gp->depth == 24) in gfb_set_fbinfo() 95 var->bits_per_pixel = gp->depth; in gfb_set_fbinfo()
|
D | pm2fb.c | 397 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/media/platform/exynos-gsc/ |
D | gsc-core.c | 37 .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 …]
|
D | gsc-regs.c | 170 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/ |
D | svga3d_surfacedefs.h | 192 u8 depth; member 981 size.depth = max_t(u32, base_level.depth >> mip_level, 1); in svga3dsurface_get_mip_size() 994 block_size->depth = DIV_ROUND_UP(pixel_size->depth, in svga3dsurface_get_size_in_blocks() 995 desc->block_size.depth); in svga3dsurface_get_size_in_blocks() 1053 total_size = clamped_umul32(total_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size() 1062 total_size = clamped_umul32(slice_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size() 1102 const u32 bd = desc->block_size.depth; in svga3dsurface_get_pixel_offset()
|
/drivers/media/pci/tw68/ |
D | tw68-video.c | 48 .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/ |
D | cx18-queue.c | 53 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/ |
D | matroxfb_base.c | 1256 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 …]
|
/drivers/media/platform/ |
D | sh_veu.c | 94 unsigned int depth; member 151 [SH_VEU_FMT_NV12] = { .ydepth = 8, .depth = 12, .name = "NV12", .fourcc = V4L2_PIX_FMT_NV12 }, 152 [SH_VEU_FMT_NV16] = { .ydepth = 8, .depth = 16, .name = "NV16", .fourcc = V4L2_PIX_FMT_NV16 }, 153 [SH_VEU_FMT_NV24] = { .ydepth = 8, .depth = 24, .name = "NV24", .fourcc = V4L2_PIX_FMT_NV24 }, 154 [SH_VEU_FMT_RGB332] = { .ydepth = 8, .depth = 8, .name = "RGB332", .fourcc = V4L2_PIX_FMT_RGB332 }, 155 …[SH_VEU_FMT_RGB444] = { .ydepth = 16, .depth = 16, .name = "RGB444", .fourcc = V4L2_PIX_FMT_RGB444… 156 …[SH_VEU_FMT_RGB565] = { .ydepth = 16, .depth = 16, .name = "RGB565", .fourcc = V4L2_PIX_FMT_RGB565… 157 …[SH_VEU_FMT_RGB666] = { .ydepth = 32, .depth = 32, .name = "BGR666", .fourcc = V4L2_PIX_FMT_BGR666… 158 [SH_VEU_FMT_RGB24] = { .ydepth = 24, .depth = 24, .name = "RGB24", .fourcc = V4L2_PIX_FMT_RGB24 }, 411 vfmt->fmt->depth / vfmt->fmt->ydepth; in sh_veu_g_fmt() [all …]
|