Home
last modified time | relevance | path

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

12345678910>>...42

/linux/drivers/gpu/drm/
A Ddrm_fourcc.c47 if (depth == 1) in drm_mode_legacy_fb_format()
52 if (depth == 2) in drm_mode_legacy_fb_format()
57 if (depth == 4) in drm_mode_legacy_fb_format()
62 if (depth == 8) in drm_mode_legacy_fb_format()
67 switch (depth) { in drm_mode_legacy_fb_format()
80 if (depth == 24) in drm_mode_legacy_fb_format()
85 switch (depth) { in drm_mode_legacy_fb_format()
120 uint32_t bpp, uint32_t depth) in drm_driver_legacy_fb_format() argument
285 { .format = DRM_FORMAT_P210, .depth = 0, in __drm_format_info()
298 { .format = DRM_FORMAT_NV15, .depth = 0, in __drm_format_info()
[all …]
/linux/lib/
A Dsbitmap.c14 unsigned depth = sb->depth; in init_alloc_hint() local
36 hint = depth ? get_random_u32_below(depth) : 0; in update_alloc_hint_before_get()
71 if (depth == 0) in sbitmap_deferred_clear()
116 sb->depth = depth; in sbitmap_init_node()
153 sb->depth = depth; in sbitmap_resize()
224 depth), in sbitmap_find_bit()
269 depth = READ_ONCE(sb->depth); in sbitmap_get()
298 depth = READ_ONCE(sb->depth); in sbitmap_get_shallow()
424 depth = ((depth >> sbq->sb.shift) * shallow_depth + in sbq_calc_wake_batch()
477 unsigned int depth = (sbq->sb.depth + users - 1) / users; in sbitmap_queue_recalculate_wake_batch() local
[all …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Ddc_fpu.c54 int depth; in dc_assert_fp_enabled() local
56 depth = __this_cpu_read(fpu_recursion_depth); in dc_assert_fp_enabled()
58 ASSERT(depth >= 1); in dc_assert_fp_enabled()
76 int depth; in dc_fpu_begin() local
80 depth = __this_cpu_inc_return(fpu_recursion_depth); in dc_fpu_begin()
81 if (depth == 1) { in dc_fpu_begin()
86 TRACE_DCN_FPU(true, function_name, line, depth); in dc_fpu_begin()
101 int depth; in dc_fpu_end() local
104 if (depth == 0) { in dc_fpu_end()
107 WARN_ON_ONCE(depth < 0); in dc_fpu_end()
[all …]
/linux/arch/powerpc/platforms/powernv/
A Dopal-tracepoints.c50 unsigned int *depth; in __trace_opal_entry() local
54 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_entry()
56 if (*depth) in __trace_opal_entry()
59 (*depth)++; in __trace_opal_entry()
62 (*depth)--; in __trace_opal_entry()
71 unsigned int *depth; in __trace_opal_exit() local
75 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_exit()
77 if (*depth) in __trace_opal_exit()
80 (*depth)++; in __trace_opal_exit()
83 (*depth)--; in __trace_opal_exit()
/linux/fs/quota/
A Dquota_tree.c36 depth = info->dqi_qtree_depth - depth - 1; in __get_index()
37 while (depth--) in __get_index()
346 if (!blks[depth]) { in do_insert_tree()
358 blks[depth] = ret; in do_insert_tree()
382 blks[depth], in do_insert_tree()
558 blks[depth]); in remove_tree()
571 blks[depth], in remove_tree()
578 blks[depth + 1] = 0; in remove_tree()
592 blks[depth] = 0; in remove_tree()
674 blks[depth]); in find_tree_dqentry()
[all …]
/linux/fs/ext4/
A Dextents.c116 int depth, i; in ext4_ext_drop_refs() local
900 if (depth < 0 || depth > EXT4_MAX_EXTENT_DEPTH) { in ext4_find_extent()
902 depth); in ext4_find_extent()
925 i = depth; in ext4_find_extent()
1640 int depth; in ext4_ext_next_allocated_block() local
1660 depth--; in ext4_ext_next_allocated_block()
1672 int depth; in ext4_ext_next_leaf_block() local
1682 depth--; in ext4_ext_next_leaf_block()
1689 depth--; in ext4_ext_next_leaf_block()
5168 depth--; in ext4_ext_shift_path_extents()
[all …]
/linux/drivers/media/platform/mediatek/mdp3/
A Dmdp_cfg_data.c824 .depth = { 8 },
831 .depth = { 16 },
838 .depth = { 16 },
845 .depth = { 24 },
852 .depth = { 24 },
859 .depth = { 32 },
866 .depth = { 32 },
873 .depth = { 16 },
881 .depth = { 16 },
889 .depth = { 16 },
[all …]
/linux/include/linux/
A Dsbitmap.h56 unsigned int depth; member
177 return sb->depth - (index << sb->shift); in __map_depth()
260 if (start >= sb->depth) in __sbitmap_for_each_set()
265 while (scanned < sb->depth) { in __sbitmap_for_each_set()
269 sb->depth - scanned); in __sbitmap_for_each_set()
271 scanned += depth; in __sbitmap_for_each_set()
281 depth += nr; in __sbitmap_for_each_set()
283 nr = find_next_bit(&word, depth, nr); in __sbitmap_for_each_set()
284 if (nr >= depth) in __sbitmap_for_each_set()
368 if (depth >= 4) { in sbitmap_calculate_shift()
[all …]
/linux/Documentation/devicetree/bindings/net/can/
A Dxilinx,can.yaml37 tx-fifo-depth:
41 rx-fifo-depth:
81 - tx-fifo-depth
82 - rx-fifo-depth
98 - tx-fifo-depth
99 - rx-fifo-depth
117 - rx-fifo-depth
130 tx-fifo-depth = <0x40>;
131 rx-fifo-depth = <0x40>;
142 tx-fifo-depth = <0x40>;
[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/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/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/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/scripts/dtc/libfdt/
A Dfdt.c266 if (depth) in fdt_next_node()
267 (*depth)++; in fdt_next_node()
271 if (depth && ((--(*depth)) < 0)) in fdt_next_node()
277 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
289 int depth = 0; in fdt_first_subnode() local
291 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode()
292 if (offset < 0 || depth != 1) in fdt_first_subnode()
300 int depth = 1; in fdt_next_subnode() local
307 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode()
308 if (offset < 0 || depth < 1) in fdt_next_subnode()
[all …]
/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.c124 long depth;
140 depth = (((int) (*(vi2 + 1) - *vi1) * (pcents - *vi1) / (*vi2 - *vi1)) + v1) * fc_register >> 14;
141 if (depth)
142 depth++;
143 if (depth > 255)
144 depth = 255;
145 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/kernel/trace/
A Dtrace_functions_graph.c24 int depth; member
201 .depth = 0, in __trace_graph_function()
205 .depth = 0, in __trace_graph_function()
735 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf()
782 cpu_data->depth = call->depth; in print_graph_entry_nested()
1025 cpu_data->depth = trace->depth - 1; in print_graph_return()
1084 int depth = 0; in print_graph_comment() local
1089 depth = per_cpu_ptr(data->cpu_data, iter->cpu)->depth; in print_graph_comment()
1097 if (depth > 0) in print_graph_comment()
1329 int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth); in graph_trace_open() local
[all …]
/linux/drivers/video/fbdev/core/
A Dfb_logo.c99 int depth) in fb_set_logo() argument
122 switch (depth) { in fb_set_logo()
175 int depth; member
291 image.depth = 8; in fb_show_logo_line()
312 if (fb_logo.depth <= 4) { in fb_show_logo_line()
431 depth = info->var.blue.length; in fb_prepare_logo()
440 depth = 4; in fb_prepare_logo()
461 fb_logo.depth = 8; in fb_prepare_logo()
463 fb_logo.depth = 4; in fb_prepare_logo()
465 fb_logo.depth = 1; in fb_prepare_logo()
[all …]
/linux/arch/xtensa/kernel/
A Dstacktrace.c28 void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_user() argument
40 if (!depth--) in xtensa_backtrace_user()
71 for (index = WSBITS - 1; (index > 0) && depth; depth--, index--) in xtensa_backtrace_user()
92 if (!depth) in xtensa_backtrace_user()
97 while (a0 != 0 && depth--) { in xtensa_backtrace_user()
117 void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_kernel() argument
137 while (a1 > sp_start && a1 < sp_end && depth--) { in xtensa_backtrace_kernel()
151 xtensa_backtrace_user(regs, depth, ufn, data); in xtensa_backtrace_kernel()
/linux/kernel/locking/
A Dlockdep.c787 if (!depth) in lockdep_print_held_locks()
1552 depth++; in get_lock_depth()
2044 int depth; in print_circular_bug() local
2445 int depth; in print_shortest_lock_dependencies() local
2462 depth--; in print_shortest_lock_dependencies()
2517 depth--; in print_shortest_lock_dependencies_backwards()
3294 depth--; in check_prevs_add()
4103 depth--; in print_irq_inversion_bug()
4840 for (depth = curr->lockdep_depth - 1; depth >= 0; depth--) { in check_wait_context()
4845 depth++; in check_wait_context()
[all …]
/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()
444 queue_size_mask = aq->depth - 1; in efa_com_handle_admin_completion()
465 if (ci == aq->depth) { in efa_com_handle_admin_completion()
869 if (ci == aenq->depth) { in efa_com_aenq_intr_handler()
1109 cmd.depth = params->depth; in efa_com_create_eq()
1172 ci = eeq->cc & (eeq->depth - 1); in efa_com_eq_comp_intr_handler()
1190 if (ci == eeq->depth) { in efa_com_eq_comp_intr_handler()
1221 params.depth = depth; in efa_com_eq_init()
[all …]
/linux/include/trace/events/
A Dkyber.h50 TP_PROTO(dev_t dev, const char *domain, unsigned int depth),
52 TP_ARGS(dev, domain, depth),
57 __field( unsigned int, depth )
63 __entry->depth = depth;
68 __entry->depth)
/linux/drivers/infiniband/hw/erdma/
A Derdma_cmdq.c94 sq->depth = cmdq->max_outstandings * sq->wqebb_cnt; in erdma_cmdq_sq_init()
111 erdma_reg_write32(dev, ERDMA_REGS_CMDQ_DEPTH_REG, sq->depth); in erdma_cmdq_sq_init()
117 dma_free_coherent(&dev->pdev->dev, sq->depth << SQEBB_SHIFT, in erdma_cmdq_sq_init()
128 cq->depth = cmdq->sq.depth; in erdma_cmdq_cq_init()
173 erdma_reg_write32(dev, ERDMA_REGS_CMDQ_EQ_DEPTH_REG, eq->depth); in erdma_cmdq_eq_init()
210 dma_free_coherent(&dev->pdev->dev, cmdq->cq.depth << CQE_SHIFT, in erdma_cmdq_init()
216 dma_free_coherent(&dev->pdev->dev, cmdq->sq.depth << SQEBB_SHIFT, in erdma_cmdq_init()
244 dma_free_coherent(&dev->pdev->dev, cmdq->cq.depth << CQE_SHIFT, in erdma_cmdq_destroy()
253 cmdq->cq.depth, CQE_SHIFT); in get_next_valid_cmdq_cqe()
257 return owner ^ !!(cmdq->cq.ci & cmdq->cq.depth) ? cqe : NULL; in get_next_valid_cmdq_cqe()
[all …]

Completed in 80 milliseconds

12345678910>>...42