/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_fourcc.c | 46 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) in drm_mode_legacy_fb_format() argument 52 if (depth == 8) in drm_mode_legacy_fb_format() 57 switch (depth) { in drm_mode_legacy_fb_format() 70 if (depth == 24) in drm_mode_legacy_fb_format() 75 switch (depth) { in drm_mode_legacy_fb_format() 110 uint32_t bpp, uint32_t depth) in drm_driver_legacy_fb_format() argument 112 uint32_t fmt = drm_mode_legacy_fb_format(bpp, depth); in drm_driver_legacy_fb_format() 160 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 161 …{ .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info() 162 …{ .format = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info() [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | sbitmap.c | 44 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node() argument 58 if (depth >= 4) { in sbitmap_init_node() 59 while ((4U << shift) > depth) in sbitmap_init_node() 68 sb->depth = depth; in sbitmap_init_node() 69 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_init_node() 71 if (depth == 0) { in sbitmap_init_node() 81 sb->map[i].depth = min(depth, bits_per_word); in sbitmap_init_node() 82 depth -= sb->map[i].depth; in sbitmap_init_node() 89 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize() argument 97 sb->depth = depth; in sbitmap_resize() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | opal-tracepoints.c | 51 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()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | extents.c | 195 int depth = path->p_depth; in ext4_ext_find_goal() local 215 ex = path[depth].p_ext; in ext4_ext_find_goal() 228 if (path[depth].p_bh) in ext4_ext_find_goal() 229 return path[depth].p_bh->b_blocknr; in ext4_ext_find_goal() 324 ext4_ext_max_entries(struct inode *inode, int depth) in ext4_ext_max_entries() argument 328 if (depth == ext_depth(inode)) { in ext4_ext_max_entries() 329 if (depth == 0) in ext4_ext_max_entries() 334 if (depth == 0) in ext4_ext_max_entries() 370 int depth) in ext4_valid_extent_entries() argument 381 if (depth == 0) { in ext4_valid_extent_entries() [all …]
|
/kernel/linux/linux-5.10/arch/sh/oprofile/ |
D | backtrace.c | 24 unsigned int *depth = data; in backtrace_address() local 26 if ((*depth)--) in backtrace_address() 60 void sh_backtrace(struct pt_regs * const regs, unsigned int depth) in sh_backtrace() argument 67 if (depth > backtrace_limit) in sh_backtrace() 68 depth = backtrace_limit; in sh_backtrace() 72 if (depth) in sh_backtrace() 74 &backtrace_ops, &depth); in sh_backtrace() 78 while (depth-- && (stackaddr != NULL)) in sh_backtrace()
|
/kernel/linux/linux-5.10/arch/x86/oprofile/ |
D | backtrace.c | 47 x86_backtrace_32(struct pt_regs * const regs, unsigned int depth) in x86_backtrace_32() argument 56 while (depth-- && head) in x86_backtrace_32() 64 x86_backtrace_32(struct pt_regs * const regs, unsigned int depth) in x86_backtrace_32() argument 91 x86_backtrace(struct pt_regs * const regs, unsigned int depth) in x86_backtrace() argument 99 if (!depth) in x86_backtrace() 104 if (!--depth) in x86_backtrace() 115 if (!--depth) in x86_backtrace() 122 if (x86_backtrace_32(regs, depth)) in x86_backtrace() 125 while (depth-- && head) in x86_backtrace()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | max1027.c | 94 #define MAX1027_V_CHAN(index, depth) \ argument 104 .realbits = depth, \ 106 .shift = (depth == 10) ? 2 : 0, \ 126 #define MAX1X27_CHANNELS(depth) \ argument 128 MAX1027_V_CHAN(0, depth), \ 129 MAX1027_V_CHAN(1, depth), \ 130 MAX1027_V_CHAN(2, depth), \ 131 MAX1027_V_CHAN(3, depth), \ 132 MAX1027_V_CHAN(4, depth), \ 133 MAX1027_V_CHAN(5, depth), \ [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | sbitmap.h | 24 unsigned long depth; member 52 unsigned int depth; member 155 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, 176 void sbitmap_resize(struct sbitmap *sb, unsigned int depth); 242 if (start >= sb->depth) in __sbitmap_for_each_set() 247 while (scanned < sb->depth) { in __sbitmap_for_each_set() 249 unsigned int depth = min_t(unsigned int, in __sbitmap_for_each_set() local 250 sb->map[index].depth - nr, in __sbitmap_for_each_set() 251 sb->depth - scanned); in __sbitmap_for_each_set() 253 scanned += depth; in __sbitmap_for_each_set() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | commonring.c | 31 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument 34 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() 161 if (*alloced + commonring->w_ptr > commonring->depth) 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() [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
D | vpdma.c | 32 .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, 77 .depth = 16, [all …]
|
/kernel/linux/linux-5.10/arch/arm/oprofile/ |
D | common.c | 64 unsigned int *depth = d; in report_trace() local 66 if (*depth) { in report_trace() 68 (*depth)--; in report_trace() 71 return *depth == 0; in report_trace() 106 static void arm_backtrace(struct pt_regs * const regs, unsigned int depth) in arm_backtrace() argument 113 walk_stackframe(&frame, report_trace, &depth); in arm_backtrace() 117 while (depth-- && tail && !((unsigned long) tail & 3)) in arm_backtrace()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | trace.c | 20 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()
|
/kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
D | fdt.c | 235 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument 254 if (depth) in fdt_next_node() 255 (*depth)++; in fdt_next_node() 259 if (depth && ((--(*depth)) < 0)) in fdt_next_node() 265 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node() 277 int depth = 0; in fdt_first_subnode() local 279 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode() 280 if (offset < 0 || depth != 1) in fdt_first_subnode() 288 int depth = 1; in fdt_next_subnode() local 295 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/can/ |
D | xilinx_can.txt | 19 - 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>;
|
/kernel/linux/linux-5.10/scripts/dtc/ |
D | fdtdump.c | 60 int depth, sz, shift; in dump_blob() local 64 depth = 0; in dump_blob() 110 printf("%*s%s {\n", depth * shift, "", s); in dump_blob() 112 depth++; in dump_blob() 117 depth--; in dump_blob() 119 printf("%*s};\n", depth * shift, ""); in dump_blob() 124 printf("%*s// [NOP]\n", depth * shift, ""); in dump_blob() 129 fprintf(stderr, "%*s ** Unknown tag 0x%08x\n", depth * shift, "", tag); in dump_blob() 140 printf("%*s%s", depth * shift, "", s); in dump_blob()
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
D | lock.c | 55 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()
|
/kernel/linux/linux-5.10/sound/isa/gus/ |
D | gus_volume.c | 123 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;
|
/kernel/linux/linux-5.10/arch/mips/oprofile/ |
D | backtrace.c | 134 unsigned int depth) in do_user_backtrace() argument 139 while (depth-- && !unwind_user_frame(frame, max_instr_check)) { in do_user_backtrace() 149 unsigned int depth) { } in do_kernel_backtrace() argument 153 unsigned int depth) in do_kernel_backtrace() argument 155 while (depth-- && frame->pc) { in do_kernel_backtrace() 165 void notrace op_mips_backtrace(struct pt_regs *const regs, unsigned int depth) in op_mips_backtrace() argument 174 do_user_backtrace(low_addr, &frame, depth); in op_mips_backtrace() 176 do_kernel_backtrace(low_addr, &frame, depth); in op_mips_backtrace()
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | trace_functions_graph.c | 24 int depth; member 196 .depth = 0, in __trace_graph_function() 200 .depth = 0, in __trace_graph_function() 653 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf() 656 if (call->depth < FTRACE_RETFUNC_DEPTH && in print_graph_entry_leaf() 657 !WARN_ON_ONCE(call->depth < 0)) in print_graph_entry_leaf() 658 cpu_data->enter_funcs[call->depth] = 0; in print_graph_entry_leaf() 665 for (i = 0; i < call->depth * TRACE_GRAPH_INDENT; i++) in print_graph_entry_leaf() 691 cpu_data->depth = call->depth; in print_graph_entry_nested() 694 if (call->depth < FTRACE_RETFUNC_DEPTH && in print_graph_entry_nested() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_mutex.c | 17 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()
|
/kernel/linux/linux-5.10/kernel/locking/ |
D | lockdep.c | 749 int i, depth = READ_ONCE(p->lockdep_depth); in lockdep_print_held_locks() local 751 if (!depth) in lockdep_print_held_locks() 754 printk("%d lock%s held by %s/%d:\n", depth, in lockdep_print_held_locks() 755 depth > 1 ? "s" : "", p->comm, task_pid_nr(p)); in lockdep_print_held_locks() 762 for (i = 0; i < depth; i++) { in lockdep_print_held_locks() 1005 for (i = chain->base; i < chain->base + chain->depth; i++) in check_lock_chain_key() 1495 int depth = 0; in get_lock_depth() local 1500 depth++; in get_lock_depth() 1502 return depth; in get_lock_depth() 1812 print_circular_bug_entry(struct lock_list *target, int depth) in print_circular_bug_entry() argument [all …]
|
/kernel/linux/linux-5.10/drivers/of/ |
D | fdt.c | 293 int offset = 0, depth = 0, initial_depth = 0; in unflatten_dt_nodes() local 310 depth = initial_depth = 1; in unflatten_dt_nodes() 313 nps[depth] = dad; in unflatten_dt_nodes() 316 offset >= 0 && depth >= initial_depth; in unflatten_dt_nodes() 317 offset = fdt_next_node(blob, offset, &depth)) { in unflatten_dt_nodes() 318 if (WARN_ON_ONCE(depth >= FDT_MAX_DEPTH - 1)) in unflatten_dt_nodes() 325 if (!populate_node(blob, offset, &mem, nps[depth], in unflatten_dt_nodes() 326 &nps[depth+1], dryrun)) in unflatten_dt_nodes() 330 *nodepp = nps[depth+1]; in unflatten_dt_nodes() 332 root = nps[depth+1]; in unflatten_dt_nodes() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/r128/ |
D | r128_ioc32.c | 112 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()
|
/kernel/linux/linux-5.10/arch/powerpc/oprofile/ |
D | backtrace.c | 85 void op_powerpc_backtrace(struct pt_regs * const regs, unsigned int depth) in op_powerpc_backtrace() argument 91 depth += 1; in op_powerpc_backtrace() 94 while (depth--) { in op_powerpc_backtrace() 103 while (depth--) { in op_powerpc_backtrace() 113 while (depth--) { in op_powerpc_backtrace()
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
D | stacktrace.c | 26 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()
|