Home
last modified time | relevance | path

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

12345678910>>...36

/linux/drivers/gpu/drm/
A Ddrm_fourcc.c47 if (depth == 8) in drm_mode_legacy_fb_format()
52 switch (depth) { in drm_mode_legacy_fb_format()
65 if (depth == 24) in drm_mode_legacy_fb_format()
70 switch (depth) { in drm_mode_legacy_fb_format()
105 uint32_t bpp, uint32_t depth) in drm_driver_legacy_fb_format() argument
107 uint32_t fmt = drm_mode_legacy_fb_format(bpp, depth); in drm_driver_legacy_fb_format()
247 { .format = DRM_FORMAT_P210, .depth = 0, in __drm_format_info()
251 { .format = DRM_FORMAT_VUY101010, .depth = 0, in __drm_format_info()
260 { .format = DRM_FORMAT_NV15, .depth = 0, in __drm_format_info()
264 { .format = DRM_FORMAT_Q410, .depth = 0, in __drm_format_info()
[all …]
/linux/lib/
A Dsbitmap.c14 unsigned depth = sb->depth; in init_alloc_hint() local
36 hint = depth ? prandom_u32() % depth : 0; in update_alloc_hint_before_get()
98 sb->depth = depth; in sbitmap_init_node()
121 sb->map[i].depth = min(depth, bits_per_word); in sbitmap_init_node()
122 depth -= sb->map[i].depth; in sbitmap_init_node()
136 sb->depth = depth; in sbitmap_resize()
140 sb->map[i].depth = min(depth, bits_per_word); in sbitmap_resize()
141 depth -= sb->map[i].depth; in sbitmap_resize()
239 depth = READ_ONCE(sb->depth); in sbitmap_get()
291 depth = READ_ONCE(sb->depth); in sbitmap_get_shallow()
[all …]
/linux/fs/ext4/
A Dextents.c889 if (depth < 0 || depth > EXT4_MAX_EXTENT_DEPTH) { in ext4_find_extent()
891 depth); in ext4_find_extent()
914 i = depth; in ext4_find_extent()
1637 int depth; in ext4_ext_next_allocated_block() local
1657 depth--; in ext4_ext_next_allocated_block()
1669 int depth; in ext4_ext_next_leaf_block() local
1679 depth--; in ext4_ext_next_leaf_block()
1686 depth--; in ext4_ext_next_leaf_block()
2304 depth--; in ext4_ext_rm_idx()
5105 depth--; in ext4_ext_shift_path_extents()
[all …]
/linux/arch/powerpc/platforms/powernv/
A Dopal-tracepoints.c51 unsigned int *depth; in __trace_opal_entry() local
55 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_entry()
57 if (*depth) in __trace_opal_entry()
60 (*depth)++; in __trace_opal_entry()
63 (*depth)--; in __trace_opal_entry()
72 unsigned int *depth; in __trace_opal_exit() local
76 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_exit()
78 if (*depth) in __trace_opal_exit()
81 (*depth)++; in __trace_opal_exit()
84 (*depth)--; in __trace_opal_exit()
/linux/include/linux/
A Dsbitmap.h33 unsigned long depth; member
56 unsigned int depth; member
246 if (start >= sb->depth) in __sbitmap_for_each_set()
251 while (scanned < sb->depth) { in __sbitmap_for_each_set()
254 sb->map[index].depth - nr, in __sbitmap_for_each_set()
255 sb->depth - scanned); in __sbitmap_for_each_set()
257 scanned += depth; in __sbitmap_for_each_set()
267 depth += nr; in __sbitmap_for_each_set()
270 if (nr >= depth) in __sbitmap_for_each_set()
354 if (depth >= 4) { in sbitmap_calculate_shift()
[all …]
/linux/drivers/iio/adc/
A Dmax1027.c107 .realbits = depth, \
131 MAX1027_V_CHAN(0, depth), \
132 MAX1027_V_CHAN(1, depth), \
133 MAX1027_V_CHAN(2, depth), \
134 MAX1027_V_CHAN(3, depth), \
135 MAX1027_V_CHAN(4, depth), \
138 MAX1027_V_CHAN(7, depth)
141 MAX1X27_CHANNELS(depth), \
145 MAX1027_V_CHAN(11, depth)
148 MAX1X29_CHANNELS(depth), \
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dcommonring.c34 commonring->depth = depth; in brcmf_commonring_config()
75 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_write_available()
83 if (available > commonring->depth / 8) { in brcmf_commonring_write_available()
116 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write()
125 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write()
152 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write_multiple()
162 *alloced = commonring->depth - commonring->w_ptr; in brcmf_commonring_reserve_for_write_multiple()
164 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write_multiple()
201 commonring->w_ptr = commonring->depth - n_items; in brcmf_commonring_write_cancel()
215 (commonring->depth - commonring->r_ptr); in brcmf_commonring_get_read_ptr()
[all …]
/linux/drivers/media/platform/ti-vpe/
A Dvpdma.c32 .depth = 8,
37 .depth = 8,
42 .depth = 8,
47 .depth = 8,
52 .depth = 8,
57 .depth = 4,
62 .depth = 4,
67 .depth = 16,
72 .depth = 24,
827 int depth = fmt->depth; in vpdma_rawchan_add_out_dtd() local
[all …]
/linux/scripts/dtc/libfdt/
A Dfdt.c262 if (depth) in fdt_next_node()
263 (*depth)++; in fdt_next_node()
267 if (depth && ((--(*depth)) < 0)) in fdt_next_node()
273 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
285 int depth = 0; in fdt_first_subnode() local
287 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode()
288 if (offset < 0 || depth != 1) in fdt_first_subnode()
296 int depth = 1; in fdt_next_subnode() local
303 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode()
304 if (offset < 0 || depth < 1) in fdt_next_subnode()
[all …]
A Dfdt_ro.c228 int depth; in fdt_subnode_offset_namelen() local
232 for (depth = 0; in fdt_subnode_offset_namelen()
235 if ((depth == 1) in fdt_subnode_offset_namelen()
239 if (depth < 0) in fdt_subnode_offset_namelen()
545 int offset, depth, namelen; in fdt_get_path() local
553 for (offset = 0, depth = 0; in fdt_get_path()
556 while (pdepth > depth) { in fdt_get_path()
563 if (pdepth >= depth) { in fdt_get_path()
576 if (pdepth < (depth + 1)) in fdt_get_path()
597 int offset, depth; in fdt_supernode_atdepth_offset() local
[all …]
/linux/Documentation/devicetree/bindings/net/can/
A Dxilinx_can.txt19 - tx-fifo-depth : Can Tx fifo depth (Zynq, Axi CAN).
20 - rx-fifo-depth : Can Rx fifo depth (Zynq, Axi CAN, CAN FD in
37 tx-fifo-depth = <0x40>;
38 rx-fifo-depth = <0x40>;
48 tx-fifo-depth = <0x40>;
49 rx-fifo-depth = <0x40>;
60 rx-fifo-depth = <0x20>;
/linux/kernel/trace/
A Dtrace_functions_graph.c24 int depth; member
195 .depth = 0, in __trace_graph_function()
199 .depth = 0, in __trace_graph_function()
651 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf()
689 cpu_data->depth = call->depth; in print_graph_entry_nested()
925 cpu_data->depth = trace->depth - 1; in print_graph_return()
975 int depth = 0; in print_graph_comment() local
980 depth = per_cpu_ptr(data->cpu_data, iter->cpu)->depth; in print_graph_comment()
988 if (depth > 0) in print_graph_comment()
1220 int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth); in graph_trace_open() local
[all …]
/linux/kernel/locking/
A Dlockdep.c754 if (!depth) in lockdep_print_held_locks()
1511 depth++; in get_lock_depth()
1993 int depth; in print_circular_bug() local
2377 int depth; in print_shortest_lock_dependencies() local
2394 depth--; in print_shortest_lock_dependencies()
2449 depth--; in print_shortest_lock_dependencies_backwards()
3200 depth--; in check_prevs_add()
3994 depth--; in print_irq_inversion_bug()
4714 for (depth = curr->lockdep_depth - 1; depth >= 0; depth--) { in check_wait_context()
4719 depth++; in check_wait_context()
[all …]
/linux/fs/quota/
A Dquota_tree.c30 depth = info->dqi_qtree_depth - depth - 1; in __get_index()
31 while (depth--) in __get_index()
40 return __get_index(info, id, depth); in get_index()
290 uint *treeblk, int depth) in do_insert_tree() argument
318 if (depth == info->dqi_qtree_depth - 1) { in do_insert_tree()
324 dquot->dq_id, depth)])); in do_insert_tree()
467 uint *blk, int depth) in remove_tree() argument
490 if (depth == info->dqi_qtree_depth - 1) { in remove_tree()
596 if (depth < info->dqi_qtree_depth - 1) in find_tree_dqentry()
686 unsigned int blk, int depth) in find_next_id() argument
[all …]
/linux/arch/s390/kernel/
A Dtrace.c20 unsigned int *depth; in trace_s390_diagnose_norecursion() local
26 depth = this_cpu_ptr(&diagnose_trace_depth); in trace_s390_diagnose_norecursion()
27 if (*depth == 0) { in trace_s390_diagnose_norecursion()
28 (*depth)++; in trace_s390_diagnose_norecursion()
30 (*depth)--; in trace_s390_diagnose_norecursion()
/linux/fs/reiserfs/
A Dlock.c55 int depth; in reiserfs_write_unlock_nested() local
61 depth = sb_i->lock_depth; in reiserfs_write_unlock_nested()
67 return depth; in reiserfs_write_unlock_nested()
70 void reiserfs_write_lock_nested(struct super_block *s, int depth) in reiserfs_write_lock_nested() argument
75 if (depth == -1) in reiserfs_write_lock_nested()
80 sb_i->lock_depth = depth; in reiserfs_write_lock_nested()
A Dresize.c37 int depth; in reiserfs_resize() local
47 depth = reiserfs_write_unlock_nested(s); in reiserfs_resize()
49 reiserfs_write_lock_nested(s, depth); in reiserfs_resize()
143 int depth; in reiserfs_resize() local
148 depth = reiserfs_write_unlock_nested(s); in reiserfs_resize()
150 reiserfs_write_lock_nested(s, depth); in reiserfs_resize()
161 depth = reiserfs_write_unlock_nested(s); in reiserfs_resize()
163 reiserfs_write_lock_nested(s, depth); in reiserfs_resize()
/linux/sound/isa/gus/
A Dgus_volume.c123 long depth;
139 depth = (((int) (*(vi2 + 1) - *vi1) * (pcents - *vi1) / (*vi2 - *vi1)) + v1) * fc_register >> 14;
140 if (depth)
141 depth++;
142 if (depth > 255)
143 depth = 255;
144 return cents < 0 ? -(short) depth : (short) depth;
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_mutex.c17 u16 depth; member
151 mutex->depth = 0; in nfp_cpp_mutex_alloc()
199 mutex->depth, in nfp_cpp_mutex_lock()
228 if (mutex->depth > 1) { in nfp_cpp_mutex_unlock()
229 mutex->depth--; in nfp_cpp_mutex_unlock()
252 mutex->depth = 0; in nfp_cpp_mutex_unlock()
271 if (mutex->depth > 0) { in nfp_cpp_mutex_trylock()
272 if (mutex->depth == NFP_MUTEX_DEPTH_MAX) in nfp_cpp_mutex_trylock()
274 mutex->depth++; in nfp_cpp_mutex_trylock()
323 mutex->depth = 1; in nfp_cpp_mutex_trylock()
/linux/drivers/infiniband/hw/efa/
A Defa_com.c217 aenq->depth = EFA_ASYNC_QUEUE_DEPTH; in efa_com_admin_init_aenq()
312 queue_size_mask = aq->depth - 1; in __efa_com_submit_admin_cmd()
370 for (i = 0; i < aq->depth; i++) { in efa_com_init_comp_ctxt()
441 queue_size_mask = aq->depth - 1; in efa_com_handle_admin_completion()
460 if (ci == aq->depth) { in efa_com_handle_admin_completion()
865 if (ci == aenq->depth) { in efa_com_aenq_intr_handler()
1105 cmd.depth = params->depth; in efa_com_create_eq()
1168 ci = eeq->cc & (eeq->depth - 1); in efa_com_eq_comp_intr_handler()
1186 if (ci == eeq->depth) { in efa_com_eq_comp_intr_handler()
1217 params.depth = depth; in efa_com_eq_init()
[all …]
/linux/arch/xtensa/kernel/
A Dstacktrace.c26 void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_user() argument
38 if (!depth--) in xtensa_backtrace_user()
69 for (index = WSBITS - 1; (index > 0) && depth; depth--, index--) in xtensa_backtrace_user()
90 if (!depth) in xtensa_backtrace_user()
95 while (a0 != 0 && depth--) { in xtensa_backtrace_user()
115 void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_kernel() argument
135 while (a1 > sp_start && a1 < sp_end && depth--) { in xtensa_backtrace_kernel()
149 xtensa_backtrace_user(regs, depth, ufn, data); in xtensa_backtrace_kernel()
/linux/drivers/gpu/drm/r128/
A Dr128_ioc32.c112 drm_r128_depth_t depth; in compat_r128_depth() local
117 depth.func = depth32.func; in compat_r128_depth()
118 depth.n = depth32.n; in compat_r128_depth()
119 depth.x = compat_ptr(depth32.x); in compat_r128_depth()
120 depth.y = compat_ptr(depth32.y); in compat_r128_depth()
121 depth.buffer = compat_ptr(depth32.buffer); in compat_r128_depth()
122 depth.mask = compat_ptr(depth32.mask); in compat_r128_depth()
124 return drm_ioctl_kernel(file, r128_cce_depth, &depth, DRM_AUTH); in compat_r128_depth()
/linux/fs/minix/
A Ditree_common.c31 int depth, in get_branch() argument
45 while (--depth) { in get_branch()
160 int depth = block_to_path(inode, block, offsets); in get_block() local
162 if (depth == 0) in get_block()
166 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
173 partial = chain+depth-1; /* the whole chain */ in get_block()
196 left = (chain + depth) - partial; in get_block()
224 int depth, in find_shared() argument
233 for (k = depth; k > 1 && !offsets[k-1]; k--) in find_shared()
281 if (depth--) { in free_branches()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
A Dvmw_surface_cache.h63 .depth = max_t(u32, base_level.depth >> mip_level, 1) in vmw_surface_get_mip_size()
78 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth, in vmw_surface_get_size_in_blocks()
79 desc->blockSize.depth); in vmw_surface_get_size_in_blocks()
126 total_size = clamped_umul32(total_size, image_blocks.depth); in vmw_surface_get_image_buffer_size()
135 total_size = clamped_umul32(slice_size, image_blocks.depth); in vmw_surface_get_image_buffer_size()
198 const u32 bd = desc->blockSize.depth; in vmw_surface_get_pixel_offset()
456 loc->z *= desc->blockSize.depth; in vmw_surface_get_loc()
491 loc->z += desc->blockSize.depth; in vmw_surface_inc_loc()
492 if (loc->z > size->depth) in vmw_surface_inc_loc()
493 loc->z = size->depth; in vmw_surface_inc_loc()
[all …]
/linux/block/
A Dblk-rq-qos.c118 unsigned int depth; in rq_depth_calc_max_depth() local
143 depth = min_t(unsigned int, rqd->default_depth, in rq_depth_calc_max_depth()
146 depth = 1 + ((depth - 1) >> min(31, rqd->scale_step)); in rq_depth_calc_max_depth()
150 depth = 1 + ((depth - 1) << -rqd->scale_step); in rq_depth_calc_max_depth()
151 if (depth > maxd) { in rq_depth_calc_max_depth()
152 depth = maxd; in rq_depth_calc_max_depth()
157 rqd->max_depth = depth; in rq_depth_calc_max_depth()

Completed in 262 milliseconds

12345678910>>...36