Home
last modified time | relevance | path

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

12345678910>>...42

/linux-6.15/drivers/gpu/drm/
H A Ddrm_fourcc.c46 if (depth == 1) in drm_mode_legacy_fb_format()
51 if (depth == 2) in drm_mode_legacy_fb_format()
56 if (depth == 4) in drm_mode_legacy_fb_format()
61 if (depth == 8) in drm_mode_legacy_fb_format()
66 switch (depth) { in drm_mode_legacy_fb_format()
79 if (depth == 24) in drm_mode_legacy_fb_format()
84 switch (depth) { in drm_mode_legacy_fb_format()
119 uint32_t bpp, uint32_t depth) in drm_driver_legacy_fb_format() argument
313 { .format = DRM_FORMAT_P210, .depth = 0, in __drm_format_info()
326 { .format = DRM_FORMAT_NV15, .depth = 0, in __drm_format_info()
[all …]
/linux-6.15/drivers/media/platform/raspberrypi/rp1-cfe/
H A Dcfe-fmts.h18 .depth = 16,
24 .depth = 16,
30 .depth = 16,
36 .depth = 16,
43 .depth = 16,
48 .depth = 16,
54 .depth = 16,
60 .depth = 16,
86 .depth = 8,
93 .depth = 8,
[all …]
/linux-6.15/lib/
H 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-6.15/drivers/gpu/drm/amd/display/amdgpu_dm/
H 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-6.15/arch/powerpc/platforms/powernv/
H 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-6.15/fs/quota/
H 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-6.15/fs/ext4/
H 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()
5119 depth--; in ext4_ext_shift_path_extents()
[all …]
/linux-6.15/drivers/media/platform/mediatek/mdp3/
H 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-6.15/include/linux/
H 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-6.15/Documentation/devicetree/bindings/net/can/
H 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-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H 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-6.15/drivers/iio/adc/
H 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-6.15/drivers/media/platform/ti/vpe/
H 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-6.15/arch/s390/kernel/
H 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-6.15/scripts/dtc/libfdt/
H 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-6.15/sound/isa/gus/
H 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-6.15/drivers/net/ethernet/netronome/nfp/nfpcore/
H 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-6.15/drivers/video/fbdev/core/
H 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-6.15/arch/xtensa/kernel/
H 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-6.15/kernel/locking/
H A Dlockdep.c792 if (!depth) in lockdep_print_held_locks()
1557 depth++; in get_lock_depth()
2049 int depth; in print_circular_bug() local
2450 int depth; in print_shortest_lock_dependencies() local
2467 depth--; in print_shortest_lock_dependencies()
2522 depth--; in print_shortest_lock_dependencies_backwards()
3299 depth--; in check_prevs_add()
4108 depth--; in print_irq_inversion_bug()
4869 for (depth = curr->lockdep_depth - 1; depth >= 0; depth--) { in check_wait_context()
4874 depth++; in check_wait_context()
[all …]
/linux-6.15/drivers/infiniband/hw/efa/
H 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-6.15/include/trace/events/
H 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-6.15/kernel/trace/
H A Dtrace_functions_graph.c24 int depth; member
170 entry->graph_ent.depth = trace->depth; in __trace_graph_retaddr_entry()
300 .depth = 0, in __trace_graph_function()
304 .depth = 0, in __trace_graph_function()
943 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf()
1001 cpu_data->depth = call->depth; in print_graph_entry_nested()
1279 cpu_data->depth = trace->depth - 1; in print_graph_return()
1339 int depth = 0; in print_graph_comment() local
1344 depth = per_cpu_ptr(data->cpu_data, iter->cpu)->depth; in print_graph_comment()
1586 int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth); in graph_trace_open() local
[all …]
/linux-6.15/drivers/infiniband/hw/erdma/
H 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()
209 dma_free_coherent(&dev->pdev->dev, cmdq->cq.depth << CQE_SHIFT, in erdma_cmdq_init()
215 dma_free_coherent(&dev->pdev->dev, cmdq->sq.depth << SQEBB_SHIFT, in erdma_cmdq_init()
241 dma_free_coherent(&dev->pdev->dev, cmdq->cq.depth << CQE_SHIFT, in erdma_cmdq_destroy()
250 cmdq->cq.depth, CQE_SHIFT); in get_next_valid_cmdq_cqe()
254 return owner ^ !!(cmdq->cq.ci & cmdq->cq.depth) ? cqe : NULL; in get_next_valid_cmdq_cqe()
[all …]
/linux-6.15/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-video.c48 .depth = { 16 },
57 .depth = { 32 },
125 .depth = { 16 },
136 .depth = { 24 },
147 .depth = { 24 },
158 .depth = { 32 },
186 .depth = { 8 },
222 .depth = { 8 },
231 .depth = { 8 },
240 .depth = { 8 },
[all …]

12345678910>>...42