Searched refs:depth (Results 51 - 75 of 653) sorted by relevance

1234567891011>>

/linux-master/drivers/video/fbdev/core/
H A Dfb_logo.c99 int depth)
122 switch (depth) {
151 * the visual format and color depth of the framebuffer, the DAC, the
167 * nibbles into separate bytes. The "depth" flag will be set to 4.
171 * We isolate each bit and expand each into a byte. The "depth" flag will
175 int depth; member in struct:logo_data
291 image.depth = 8;
312 if (fb_logo.depth <= 4) {
322 fb_set_logo(info, logo, logo_new, fb_logo.depth);
420 int depth local
97 fb_set_logo(struct fb_info *info, const struct linux_logo *logo, u8 *dst, int depth) argument
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h63 .depth = max_t(u32, base_level.depth >> mip_level, 1)
78 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth,
79 desc->blockSize.depth);
126 total_size = clamped_umul32(total_size, image_blocks.depth);
135 total_size = clamped_umul32(slice_size, image_blocks.depth);
198 const u32 bd = desc->blockSize.depth;
456 loc->z *= desc->blockSize.depth;
491 loc->z += desc->blockSize.depth;
[all...]
/linux-master/fs/minix/
H A Ditree_common.c31 int depth,
45 while (--depth) {
160 int depth = block_to_path(inode, block, offsets); local
162 if (depth == 0)
166 partial = get_branch(inode, depth, offsets, chain, &err);
171 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key));
173 partial = chain+depth-1; /* the whole chain */
196 left = (chain + depth) - partial;
224 int depth,
233 for (k = depth;
30 get_branch(struct inode *inode, int depth, int *offsets, Indirect chain[DEPTH], int *err) argument
223 find_shared(struct inode *inode, int depth, int offsets[DEPTH], Indirect chain[DEPTH], block_t *top) argument
276 free_branches(struct inode *inode, block_t *p, block_t *q, int depth) argument
291 block_end(bh), depth); local
[all...]
/linux-master/drivers/infiniband/hw/erdma/
H A Derdma_eq.c24 u64 *eqe = get_queue_entry(eq->qbuf, eq->ci, eq->depth, EQE_SHIFT);
27 return owner ^ !!(eq->ci & eq->depth) ? eqe : NULL;
87 eq->depth = ERDMA_DEFAULT_EQ_DEPTH;
89 eq->qbuf = dma_alloc_coherent(&dev->pdev->dev, eq->depth << EQE_SHIFT,
107 erdma_reg_write32(dev, ERDMA_REGS_AEQ_DEPTH_REG, eq->depth);
113 dma_free_coherent(&dev->pdev->dev, eq->depth << EQE_SHIFT, eq->qbuf,
123 dma_free_coherent(&dev->pdev->dev, eq->depth << EQE_SHIFT, eq->qbuf,
221 req.depth = ilog2(eq->depth);
237 eq->depth
[all...]
H A Derdma_cq.c12 cq->depth, CQE_SHIFT);
16 return owner ^ !!(cq->kern_cq.ci & cq->depth) ? cqe : NULL;
117 u16 wqe_idx, depth; local
147 depth = qp->attrs.sq_size;
155 depth = qp->attrs.rq_size;
157 wc->wr_id = id_table[wqe_idx & (depth - 1)];
/linux-master/kernel/locking/
H A Dlockdep.c783 int i, depth = READ_ONCE(p->lockdep_depth); local
785 if (!depth)
788 printk("%d lock%s held by %s/%d:\n", depth,
789 depth > 1 ? "s" : "", p->comm, task_pid_nr(p));
796 for (i = 0; i < depth; i++) {
1045 for (i = chain->base; i < chain->base + chain->depth; i++)
1450 * depth-first search is used in order to find the shortest (circular)
1535 int depth = 0; local
1540 depth++;
1542 return depth;
1860 print_circular_bug_entry(struct lock_list *target, int depth) argument
1935 print_circular_bug_header(struct lock_list *entry, unsigned int depth, struct held_lock *check_src, struct held_lock *check_tgt) argument
2032 int depth; local
2343 print_lock_class_header(struct lock_class *class, int depth) argument
2426 int depth; local
2473 int depth; local
3230 int depth = curr->lockdep_depth; local
3574 int depth = curr->lockdep_depth; local
4031 int depth; local
4614 unsigned int depth = curr->lockdep_depth; local
4776 int depth; local
4997 unsigned int depth; local
5234 find_held_lock(struct task_struct *curr, struct lockdep_map *lock, unsigned int depth, int *idx) argument
5269 reacquire_held_locks(struct task_struct *curr, unsigned int depth, int idx, unsigned int *merged) argument
5307 unsigned int depth, merged = 0; local
5354 unsigned int depth, merged = 0; local
5408 unsigned int depth, merged = 1; local
5922 unsigned int depth; local
5963 unsigned int depth; local
[all...]
/linux-master/scripts/dtc/libfdt/
H A Dfdt_ro.c228 int depth; local
232 for (depth = 0;
233 (offset >= 0) && (depth >= 0);
234 offset = fdt_next_node(fdt, offset, &depth))
235 if ((depth == 1)
239 if (depth < 0)
545 int offset, depth, namelen; local
553 for (offset = 0, depth = 0;
555 offset = fdt_next_node(fdt, offset, &depth)) {
556 while (pdepth > depth) {
597 int offset, depth; local
[all...]
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dqplib_rcfw.h70 /* Shadow queue depth for non blocking command */
76 #define BNXT_QPLIB_CMDQE_BYTES(depth) ((depth) * BNXT_QPLIB_CMDQE_UNITS)
78 static inline u32 bnxt_qplib_cmdqe_npages(u32 depth) argument
82 npages = BNXT_QPLIB_CMDQE_BYTES(depth) / PAGE_SIZE;
83 if (BNXT_QPLIB_CMDQE_BYTES(depth) % PAGE_SIZE)
88 static inline u32 bnxt_qplib_cmdqe_page_size(u32 depth) argument
90 return (bnxt_qplib_cmdqe_npages(depth) * PAGE_SIZE);
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dheadc57d.c48 u8 depth; local
51 /*XXX: This is a dirty hack until OR depth handling is
54 switch (asyh->or.depth) {
55 case 6: depth = 5; break;
56 case 5: depth = 4; break;
57 case 2: depth = 1; break;
58 case 0: depth = 4; break;
60 depth = asyh->or.depth;
72 NVVAL(NVC57D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, PIXEL_DEPTH, depth) |
[all...]
H A Dpior507d.c39 ctrl |= NVVAL(NV837D, PIOR_SET_CONTROL, PIXEL_DEPTH, asyh->or.depth);
H A Dsor507d.c39 ctrl |= NVVAL(NV837D, SOR_SET_CONTROL, PIXEL_DEPTH, asyh->or.depth);
/linux-master/drivers/video/fbdev/i810/
H A Di810_accel.c304 par->depth == 4) {
309 if (par->depth == 1)
316 dx = rect->dx * par->depth;
317 width = rect->width * par->depth;
332 par->depth == 4) {
337 dx = region->dx * par->depth;
338 sx = region->sx * par->depth;
339 width = region->width * par->depth;
373 par->depth == 4 || image->depth !
[all...]
/linux-master/drivers/net/ethernet/brocade/bna/
H A Dbfa_msgq.h21 (((_q)->consumer_index - (_q)->producer_index - 1) & ((_q)->depth - 1))
66 u16 depth; /* FW Q depth is 16 bits */ member in struct:bfa_msgq_cmdq
94 u16 depth; /* FW Q depth is 16 bits */ member in struct:bfa_msgq_rspq
/linux-master/include/drm/
H A Ddrm_fourcc.h67 * @depth:
69 * Color depth (number of bits per pixel excluding padding bits),
73 u8 depth; member in struct:drm_format_info
313 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth);
315 uint32_t bpp, uint32_t depth);
/linux-master/drivers/infiniband/hw/efa/
H A Defa_com.c128 u16 size = aq->depth * sizeof(*sq->entries);
152 EFA_SET(&aq_caps, EFA_REGS_AQ_CAPS_AQ_DEPTH, aq->depth);
165 u16 size = aq->depth * sizeof(*cq->entries);
186 EFA_SET(&acq_caps, EFA_REGS_ACQ_CAPS_ACQ_DEPTH, aq->depth);
217 aenq->depth = EFA_ASYNC_QUEUE_DEPTH;
227 EFA_SET(&aenq_caps, EFA_REGS_AENQ_CAPS_AENQ_DEPTH, aenq->depth);
270 u16 ctx_id = cmd_id & (aq->depth - 1);
280 u16 ctx_id = cmd_id & (aq->depth - 1);
312 queue_size_mask = aq->depth - 1;
357 size_t pool_size = aq->depth * sizeo
1210 efa_com_eq_init(struct efa_com_dev *edev, struct efa_com_eq *eeq, efa_eqe_handler cb, u16 depth, u8 msix_vec) argument
[all...]
/linux-master/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-video.c48 .depth = { 16 },
57 .depth = { 32 },
66 .depth = { 8, 16 },
77 .depth = { 8, 16 },
88 .depth = { 8, 16 },
99 .depth = { 8, 16 },
110 .depth = { 8, 8, 8 },
125 .depth = { 16 },
136 .depth = { 24 },
147 .depth
[all...]
/linux-master/drivers/video/fbdev/
H A Dvalkyriefb.h66 struct vpreg depth; member in struct:valkyrie_regs
H A Dsunxvr2500.c28 unsigned int depth; member in struct:s3d_info
38 sp->depth = of_getintprop_default(sp->of_node, "depth", 8);
89 if (sp->depth == 32 || sp->depth == 24)
98 var->bits_per_pixel = sp->depth;
166 * XXX with depth of 32 on my XVR-2500 which is clearly not
169 switch (sp->depth) {
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_crtc.h66 int depth; member in struct:nouveau_crtc::__anon879
/linux-master/drivers/video/fbdev/via/
H A Dvia_modesetting.c160 void via_set_primary_color_depth(u8 depth) argument
164 DEBUG_MSG(KERN_DEBUG "via_set_primary_color_depth(%d)\n", depth);
165 switch (depth) {
183 "Unsupported depth: %d\n", depth);
190 void via_set_secondary_color_depth(u8 depth) argument
194 DEBUG_MSG(KERN_DEBUG "via_set_secondary_color_depth(%d)\n", depth);
195 switch (depth) {
210 "Unsupported depth: %d\n", depth);
[all...]
/linux-master/drivers/pci/hotplug/
H A Dpciehp_pci.c73 down_read_nested(&ctrl->reset_lock, ctrl->depth);
121 down_read_nested(&ctrl->reset_lock, ctrl->depth);
/linux-master/kernel/trace/
H A Dtrace_entries.h82 __field_packed( int, graph_ent, depth )
85 F_printk("--> %ps (%d)", (void *)__entry->func, __entry->depth)
99 __field_packed( int, ret, depth )
106 (void *)__entry->func, __entry->depth,
108 __entry->depth, __entry->retval)
120 __field_packed( int, ret, depth )
127 (void *)__entry->func, __entry->depth,
129 __entry->depth)
/linux-master/include/linux/
H A Dtrace_recursion.h53 * the function in that interrupt, the depth can be greater
55 * trace. In an even more unlikely case, depth could be 2
58 * tracing in the softirq, and depth can even be 3
63 * of what the depth is when we set TRACE_GRAPH_BIT
86 #define trace_recursion_set_depth(depth) \
91 ((depth) & 3) << TRACE_GRAPH_DEPTH_START_BIT; \
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_image.c105 int depth, unsigned int hash,
113 int linesize = width * depth / 8;
202 switch (depth) {
214 DRM_ERROR("unsupported image bit depth\n");
235 int depth, int stride)
237 data += y * stride + x * (depth / 8);
239 width, height, depth, 0, stride);
100 qxl_image_init_helper(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image *dimage, const uint8_t *data, int width, int height, int depth, unsigned int hash, int stride) argument
230 qxl_image_init(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image *dimage, const uint8_t *data, int x, int y, int width, int height, int depth, int stride) argument
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-call.c20 unsigned int *depth; local
23 depth = this_cpu_ptr(&opal_trace_depth);
25 if (*depth)
37 (*depth)++;
39 (*depth)--;
44 unsigned int *depth; local
46 depth = this_cpu_ptr(&opal_trace_depth);
48 if (*depth)
51 (*depth)++;
53 (*depth)
[all...]

Completed in 534 milliseconds

1234567891011>>