/Linux-v4.19/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 55 if (depth == 15) in drm_mode_legacy_fb_format() 64 if (depth == 24) in drm_mode_legacy_fb_format() 66 else if (depth == 30) in drm_mode_legacy_fb_format() 108 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 109 …{ .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info() 110 …{ .format = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info() 111 …{ .format = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() 112 …{ .format = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() 113 …{ .format = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() [all …]
|
/Linux-v4.19/lib/ |
D | sbitmap.c | 23 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node() argument 37 if (depth >= 4) { in sbitmap_init_node() 38 while ((4U << shift) > depth) in sbitmap_init_node() 47 sb->depth = depth; in sbitmap_init_node() 48 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_init_node() 50 if (depth == 0) { in sbitmap_init_node() 60 sb->map[i].depth = min(depth, bits_per_word); in sbitmap_init_node() 61 depth -= sb->map[i].depth; in sbitmap_init_node() 67 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize() argument 72 sb->depth = depth; in sbitmap_resize() [all …]
|
/Linux-v4.19/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()
|
/Linux-v4.19/fs/ext4/ |
D | extents.c | 175 int depth = path->p_depth; in ext4_ext_find_goal() local 195 ex = path[depth].p_ext; in ext4_ext_find_goal() 208 if (path[depth].p_bh) in ext4_ext_find_goal() 209 return path[depth].p_bh->b_blocknr; in ext4_ext_find_goal() 348 ext4_ext_max_entries(struct inode *inode, int depth) in ext4_ext_max_entries() argument 352 if (depth == ext_depth(inode)) { in ext4_ext_max_entries() 353 if (depth == 0) in ext4_ext_max_entries() 358 if (depth == 0) in ext4_ext_max_entries() 393 int depth) in ext4_valid_extent_entries() argument 401 if (depth == 0) { in ext4_valid_extent_entries() [all …]
|
/Linux-v4.19/arch/sh/oprofile/ |
D | backtrace.c | 34 unsigned int *depth = data; in backtrace_address() local 36 if ((*depth)--) in backtrace_address() 71 void sh_backtrace(struct pt_regs * const regs, unsigned int depth) in sh_backtrace() argument 78 if (depth > backtrace_limit) in sh_backtrace() 79 depth = backtrace_limit; in sh_backtrace() 83 if (depth) in sh_backtrace() 85 &backtrace_ops, &depth); in sh_backtrace() 89 while (depth-- && (stackaddr != NULL)) in sh_backtrace()
|
/Linux-v4.19/include/linux/ |
D | sbitmap.h | 40 unsigned long depth; member 53 unsigned int depth; member 151 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, 172 void sbitmap_resize(struct sbitmap *sb, unsigned int depth); 247 if (start >= sb->depth) in __sbitmap_for_each_set() 252 while (scanned < sb->depth) { in __sbitmap_for_each_set() 254 unsigned int depth = min_t(unsigned int, word->depth - nr, in __sbitmap_for_each_set() local 255 sb->depth - scanned); in __sbitmap_for_each_set() 257 scanned += depth; in __sbitmap_for_each_set() 266 depth += nr; in __sbitmap_for_each_set() [all …]
|
/Linux-v4.19/scripts/dtc/libfdt/ |
D | fdt.c | 165 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument 184 if (depth) in fdt_next_node() 185 (*depth)++; in fdt_next_node() 189 if (depth && ((--(*depth)) < 0)) in fdt_next_node() 195 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node() 207 int depth = 0; in fdt_first_subnode() local 209 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode() 210 if (offset < 0 || depth != 1) in fdt_first_subnode() 218 int depth = 1; in fdt_next_subnode() local 225 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode() [all …]
|
/Linux-v4.19/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()
|
/Linux-v4.19/block/ |
D | blk-tag.c | 90 init_tag_map(struct request_queue *q, struct blk_queue_tag *tags, int depth) in init_tag_map() argument 96 if (q && depth > q->nr_requests * 2) { in init_tag_map() 97 depth = q->nr_requests * 2; in init_tag_map() 99 __func__, depth); in init_tag_map() 102 tag_index = kcalloc(depth, sizeof(struct request *), GFP_ATOMIC); in init_tag_map() 106 nr_ulongs = ALIGN(depth, BITS_PER_LONG) / BITS_PER_LONG; in init_tag_map() 111 tags->real_max_depth = depth; in init_tag_map() 112 tags->max_depth = depth; in init_tag_map() 123 int depth, int alloc_policy) in __blk_queue_init_tags() argument 131 if (init_tag_map(q, tags, depth)) in __blk_queue_init_tags() [all …]
|
D | kyber-iosched.c | 174 unsigned int orig_depth, depth; in kyber_adjust_rw_depth() local 185 orig_depth = depth = kqd->domain_tokens[sched_domain].sb.depth; in kyber_adjust_rw_depth() 188 depth++; in kyber_adjust_rw_depth() 193 depth -= max(depth / 4, 1U); in kyber_adjust_rw_depth() 195 depth -= max(depth / 8, 1U); in kyber_adjust_rw_depth() 199 depth /= 2; in kyber_adjust_rw_depth() 201 depth -= max(depth / 4, 1U); in kyber_adjust_rw_depth() 204 depth++; in kyber_adjust_rw_depth() 208 depth += 2; in kyber_adjust_rw_depth() 210 depth++; in kyber_adjust_rw_depth() [all …]
|
D | blk-rq-qos.c | 106 unsigned int depth; in rq_depth_calc_max_depth() local 131 depth = min_t(unsigned int, rqd->default_depth, in rq_depth_calc_max_depth() 134 depth = 1 + ((depth - 1) >> min(31, rqd->scale_step)); in rq_depth_calc_max_depth() 138 depth = 1 + ((depth - 1) << -rqd->scale_step); in rq_depth_calc_max_depth() 139 if (depth > maxd) { in rq_depth_calc_max_depth() 140 depth = maxd; in rq_depth_calc_max_depth() 145 rqd->max_depth = depth; in rq_depth_calc_max_depth()
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | commonring.c | 41 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument 44 commonring->depth = depth; in brcmf_commonring_config() 85 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_write_available() 93 if (available > commonring->depth / 8) { in brcmf_commonring_write_available() 126 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write() 135 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write() 162 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write_multiple() 171 if (*alloced + commonring->w_ptr > commonring->depth) in brcmf_commonring_reserve_for_write_multiple() 172 *alloced = commonring->depth - commonring->w_ptr; in brcmf_commonring_reserve_for_write_multiple() 174 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write_multiple() [all …]
|
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/media/platform/ti-vpe/ |
D | vpdma.c | 35 .depth = 8, 40 .depth = 8, 45 .depth = 8, 50 .depth = 8, 55 .depth = 8, 60 .depth = 4, 65 .depth = 16, 70 .depth = 24, 75 .depth = 16, 80 .depth = 16, [all …]
|
/Linux-v4.19/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()
|
/Linux-v4.19/arch/s390/oprofile/ |
D | init.c | 19 unsigned int *depth = data; in __s390_backtrace() local 21 if (*depth == 0) in __s390_backtrace() 23 (*depth)--; in __s390_backtrace() 28 static void s390_backtrace(struct pt_regs *regs, unsigned int depth) in s390_backtrace() argument 32 dump_trace(__s390_backtrace, &depth, NULL, regs->gprs[15]); in s390_backtrace()
|
/Linux-v4.19/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()
|
/Linux-v4.19/Documentation/devicetree/bindings/net/can/ |
D | xilinx_can.txt | 18 - tx-fifo-depth : Can Tx fifo depth (Zynq, Axi CAN). 19 - rx-fifo-depth : Can Rx fifo depth (Zynq, Axi CAN, CAN FD in 36 tx-fifo-depth = <0x40>; 37 rx-fifo-depth = <0x40>; 47 tx-fifo-depth = <0x40>; 48 rx-fifo-depth = <0x40>; 59 rx-fifo-depth = <0x20>;
|
/Linux-v4.19/kernel/trace/ |
D | trace_functions_graph.c | 51 int depth; member 122 ftrace_push_return_trace(unsigned long ret, unsigned long func, int *depth, in ftrace_push_return_trace() argument 180 *depth = current->curr_ret_stack; in ftrace_push_return_trace() 244 trace->depth = index; in ftrace_pop_return_trace() 435 .depth = 0, in __trace_graph_function() 439 .depth = 0, in __trace_graph_function() 847 if (call->depth < -1) in print_graph_entry_leaf() 848 call->depth += FTRACE_NOTRACE_DEPTH; in print_graph_entry_leaf() 855 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf() 858 if (call->depth < FTRACE_RETFUNC_DEPTH && in print_graph_entry_leaf() [all …]
|
/Linux-v4.19/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()
|
/Linux-v4.19/kernel/locking/ |
D | lockdep.c | 560 int i, depth = READ_ONCE(p->lockdep_depth); in lockdep_print_held_locks() local 562 if (!depth) in lockdep_print_held_locks() 565 printk("%d lock%s held by %s/%d:\n", depth, in lockdep_print_held_locks() 566 depth > 1 ? "s" : "", p->comm, task_pid_nr(p)); in lockdep_print_held_locks() 573 for (i = 0; i < depth; i++) { in lockdep_print_held_locks() 976 int depth = 0; in get_lock_depth() local 981 depth++; in get_lock_depth() 983 return depth; in get_lock_depth() 1084 print_circular_bug_entry(struct lock_list *target, int depth) in print_circular_bug_entry() argument 1088 printk("\n-> #%u", depth); in print_circular_bug_entry() [all …]
|
/Linux-v4.19/sound/isa/gus/ |
D | gus_volume.c | 138 long depth; 153 depth = (((int) (*(vi2 + 1) - *vi1) * (pcents - *vi1) / (*vi2 - *vi1)) + v1) * fc_register >> 14; 154 if (depth) 155 depth++; 156 if (depth > 255) 157 depth = 255; 158 return cents < 0 ? -(short) depth : (short) depth;
|
/Linux-v4.19/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()
|
/Linux-v4.19/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() 64 for (index = WSBITS - 1; (index > 0) && depth; depth--, index--) in xtensa_backtrace_user() 85 if (!depth) in xtensa_backtrace_user() 90 while (a0 != 0 && depth--) { in xtensa_backtrace_user() 110 void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_kernel() argument 130 while (a1 > sp_start && a1 < sp_end && depth--) { in xtensa_backtrace_kernel() 144 xtensa_backtrace_user(regs, depth, ufn, data); in xtensa_backtrace_kernel()
|
/Linux-v4.19/fs/quota/ |
D | quota_tree.c | 25 static int __get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth) in __get_index() argument 29 depth = info->dqi_qtree_depth - depth - 1; in __get_index() 30 while (depth--) in __get_index() 35 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index() argument 39 return __get_index(info, id, depth); in get_index() 298 uint *treeblk, int depth) in do_insert_tree() argument 323 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in do_insert_tree() 326 if (depth == info->dqi_qtree_depth - 1) { in do_insert_tree() 332 dquot->dq_id, depth)])); in do_insert_tree() 339 ret = do_insert_tree(info, dquot, &newblk, depth+1); in do_insert_tree() [all …]
|