Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 200 of 617) sorted by relevance

1234

/linux-4.4.14/arch/powerpc/platforms/powernv/
Dopal-tracepoints.c47 unsigned int *depth; in __trace_opal_entry() local
51 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_entry()
53 if (*depth) in __trace_opal_entry()
56 (*depth)++; in __trace_opal_entry()
59 (*depth)--; in __trace_opal_entry()
68 unsigned int *depth; in __trace_opal_exit() local
72 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_exit()
74 if (*depth) in __trace_opal_exit()
77 (*depth)++; in __trace_opal_exit()
80 (*depth)--; in __trace_opal_exit()
Dopal.c75 const char *uname, int depth, void *data) in early_init_dt_scan_opal() argument
80 if (depth != 1 || strcmp(uname, "ibm,opal") != 0) in early_init_dt_scan_opal()
124 const char *uname, int depth, void *data) in early_init_dt_scan_recoverable_ranges() argument
129 if (depth != 1 || strcmp(uname, "ibm,opal") != 0) in early_init_dt_scan_recoverable_ranges()
/linux-4.4.14/fs/ext4/
Dextents.c182 int depth = path->p_depth; in ext4_ext_find_goal() local
202 ex = path[depth].p_ext; in ext4_ext_find_goal()
215 if (path[depth].p_bh) in ext4_ext_find_goal()
216 return path[depth].p_bh->b_blocknr; in ext4_ext_find_goal()
355 ext4_ext_max_entries(struct inode *inode, int depth) in ext4_ext_max_entries() argument
359 if (depth == ext_depth(inode)) { in ext4_ext_max_entries()
360 if (depth == 0) in ext4_ext_max_entries()
365 if (depth == 0) in ext4_ext_max_entries()
396 int depth) in ext4_valid_extent_entries() argument
404 if (depth == 0) { in ext4_valid_extent_entries()
[all …]
Dindirect.c143 static Indirect *ext4_get_branch(struct inode *inode, int depth, in ext4_get_branch() argument
157 while (--depth) { in ext4_get_branch()
525 int depth; in ext4_ind_map_blocks() local
532 depth = ext4_block_to_path(inode, map->m_lblk, offsets, in ext4_ind_map_blocks()
535 if (depth == 0) in ext4_ind_map_blocks()
538 partial = ext4_get_branch(inode, depth, offsets, chain, &err); in ext4_ind_map_blocks()
542 first_block = le32_to_cpu(chain[depth - 1].key); in ext4_ind_map_blocks()
548 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext4_ind_map_blocks()
585 indirect_blks = (chain + depth) - partial - 1; in ext4_ind_map_blocks()
618 map->m_pblk = le32_to_cpu(chain[depth-1].key); in ext4_ind_map_blocks()
[all …]
/linux-4.4.14/arch/s390/oprofile/
Dbacktrace.c12 __show_trace(unsigned int *depth, unsigned long sp, in __show_trace() argument
18 while (*depth) { in __show_trace()
23 (*depth)--; in __show_trace()
27 while (*depth) { in __show_trace()
35 (*depth)--; in __show_trace()
40 if (*depth == 0) in __show_trace()
48 (*depth)--; in __show_trace()
56 void s390_backtrace(struct pt_regs * const regs, unsigned int depth) in s390_backtrace() argument
72 head = __show_trace(&depth, head, S390_lowcore.async_stack - ASYNC_SIZE, in s390_backtrace()
75 __show_trace(&depth, head, S390_lowcore.thread_info, in s390_backtrace()
/linux-4.4.14/arch/x86/oprofile/
Dbacktrace.c28 unsigned int *depth = data; in backtrace_address() local
30 if ((*depth)--) in backtrace_address()
66 x86_backtrace_32(struct pt_regs * const regs, unsigned int depth) in x86_backtrace_32() argument
75 while (depth-- && head) in x86_backtrace_32()
83 x86_backtrace_32(struct pt_regs * const regs, unsigned int depth) in x86_backtrace_32() argument
110 x86_backtrace(struct pt_regs * const regs, unsigned int depth) in x86_backtrace() argument
116 if (depth) in x86_backtrace()
118 &backtrace_ops, &depth); in x86_backtrace()
122 if (x86_backtrace_32(regs, depth)) in x86_backtrace()
125 while (depth-- && head) in x86_backtrace()
Dinit.c27 extern void x86_backtrace(struct pt_regs * const regs, unsigned int depth);
/linux-4.4.14/block/
Dblk-mq-tag.c30 ret = find_first_zero_bit(&bm->word, bm->depth); in bt_has_free_tags()
31 if (ret < bm->depth) in bt_has_free_tags()
123 unsigned int depth, users; in hctx_may_queue() local
133 if (bt->depth == 1) in hctx_may_queue()
143 depth = max((bt->depth + users - 1) / users, 4U); in hctx_may_queue()
144 return atomic_read(&hctx->nr_active) < depth; in hctx_may_queue()
153 tag = find_next_zero_bit(&bm->word, bm->depth, last_tag); in __bt_get_word()
154 if (unlikely(tag >= bm->depth)) { in __bt_get_word()
171 if (last_tag >= bm->depth - 1) in __bt_get_word()
234 if (last_tag >= bt->depth - 1) in __bt_get()
[all …]
Dblk-tag.c89 init_tag_map(struct request_queue *q, struct blk_queue_tag *tags, int depth) in init_tag_map() argument
95 if (q && depth > q->nr_requests * 2) { in init_tag_map()
96 depth = q->nr_requests * 2; in init_tag_map()
98 __func__, depth); in init_tag_map()
101 tag_index = kzalloc(depth * sizeof(struct request *), GFP_ATOMIC); in init_tag_map()
105 nr_ulongs = ALIGN(depth, BITS_PER_LONG) / BITS_PER_LONG; in init_tag_map()
110 tags->real_max_depth = depth; in init_tag_map()
111 tags->max_depth = depth; in init_tag_map()
122 int depth, int alloc_policy) in __blk_queue_init_tags() argument
130 if (init_tag_map(q, tags, depth)) in __blk_queue_init_tags()
[all …]
Dblk-mq-tag.h20 unsigned int depth; member
59 extern int blk_mq_tag_update_depth(struct blk_mq_tags *tags, unsigned int depth);
Dblk-mq.c703 bit = find_next_bit(&bm->word, bm->depth, bit); in flush_busy_ctxs()
704 if (bit >= bm->depth) in flush_busy_ctxs()
1023 int depth, in blk_mq_insert_requests() argument
1030 trace_block_unplug(q, depth, !from_schedule); in blk_mq_insert_requests()
1075 unsigned int depth; in blk_mq_flush_plug_list() local
1083 depth = 0; in blk_mq_flush_plug_list()
1092 &ctx_list, depth, in blk_mq_flush_plug_list()
1098 depth = 0; in blk_mq_flush_plug_list()
1101 depth++; in blk_mq_flush_plug_list()
1110 blk_mq_insert_requests(this_q, this_ctx, &ctx_list, depth, in blk_mq_flush_plug_list()
[all …]
/linux-4.4.14/arch/sh/oprofile/
Dbacktrace.c34 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()
Dcommon.c24 extern void sh_backtrace(struct pt_regs * const regs, unsigned int depth);
/linux-4.4.14/scripts/dtc/libfdt/
Dfdt.c161 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument
180 if (depth) in fdt_next_node()
181 (*depth)++; in fdt_next_node()
185 if (depth && ((--(*depth)) < 0)) in fdt_next_node()
191 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
203 int depth = 0; in fdt_first_subnode() local
205 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode()
206 if (offset < 0 || depth != 1) in fdt_first_subnode()
214 int depth = 1; in fdt_next_subnode() local
221 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode()
[all …]
Dfdt_ro.c135 int depth; in fdt_subnode_offset_namelen() local
139 for (depth = 0; in fdt_subnode_offset_namelen()
140 (offset >= 0) && (depth >= 0); in fdt_subnode_offset_namelen()
141 offset = fdt_next_node(fdt, offset, &depth)) in fdt_subnode_offset_namelen()
142 if ((depth == 1) in fdt_subnode_offset_namelen()
146 if (depth < 0) in fdt_subnode_offset_namelen()
366 int offset, depth, namelen; in fdt_get_path() local
374 for (offset = 0, depth = 0; in fdt_get_path()
376 offset = fdt_next_node(fdt, offset, &depth)) { in fdt_get_path()
377 while (pdepth > depth) { in fdt_get_path()
[all …]
Dfdt_wip.c99 int depth = 0; in _fdt_node_end_offset() local
101 while ((offset >= 0) && (depth >= 0)) in _fdt_node_end_offset()
102 offset = fdt_next_node(fdt, offset, &depth); in _fdt_node_end_offset()
/linux-4.4.14/drivers/media/platform/ti-vpe/
Dvpdma.c35 .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,
83 .depth = 16,
[all …]
/linux-4.4.14/arch/metag/oprofile/
Dbacktrace.c16 static void user_backtrace_fp(unsigned long __user *fp, unsigned int depth) in user_backtrace_fp() argument
18 while (depth-- && access_ok(VERIFY_READ, fp, 8)) { in user_backtrace_fp()
38 unsigned int *depth = data; in kernel_backtrace_frame() local
43 if ((*depth)-- == 0) in kernel_backtrace_frame()
50 void metag_backtrace(struct pt_regs * const regs, unsigned int depth) in metag_backtrace() argument
54 user_backtrace_fp((unsigned long __user __force *)fp, depth); in metag_backtrace()
61 walk_stackframe(&frame, &kernel_backtrace_frame, &depth); in metag_backtrace()
Dbacktrace.h4 void metag_backtrace(struct pt_regs * const regs, unsigned int depth);
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcommonring.c41 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 …]
Dcommonring.h23 u16 depth; member
51 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth,
68 #define brcmf_commonring_n_items(commonring) (commonring->depth)
/linux-4.4.14/arch/arm/oprofile/
Dcommon.c64 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-4.4.14/arch/s390/kernel/
Dtrace.c19 unsigned int *depth; in trace_s390_diagnose_norecursion() local
22 depth = this_cpu_ptr(&diagnose_trace_depth); in trace_s390_diagnose_norecursion()
23 if (*depth == 0) { in trace_s390_diagnose_norecursion()
24 (*depth)++; in trace_s390_diagnose_norecursion()
26 (*depth)--; in trace_s390_diagnose_norecursion()
Dftrace.c208 trace.depth = current->curr_ret_stack + 1; in prepare_ftrace_return()
212 if (ftrace_push_return_trace(parent, ip, &trace.depth, 0) == -EBUSY) in prepare_ftrace_return()
/linux-4.4.14/drivers/gpu/drm/r128/
Dr128_ioc32.c114 drm_r128_depth_t __user *depth; in compat_r128_depth() local
119 depth = compat_alloc_user_space(sizeof(*depth)); in compat_r128_depth()
120 if (!access_ok(VERIFY_WRITE, depth, sizeof(*depth)) in compat_r128_depth()
121 || __put_user(depth32.func, &depth->func) in compat_r128_depth()
122 || __put_user(depth32.n, &depth->n) in compat_r128_depth()
123 || __put_user((int __user *)(unsigned long)depth32.x, &depth->x) in compat_r128_depth()
124 || __put_user((int __user *)(unsigned long)depth32.y, &depth->y) in compat_r128_depth()
126 &depth->buffer) in compat_r128_depth()
128 &depth->mask)) in compat_r128_depth()
131 return drm_ioctl(file, DRM_IOCTL_R128_DEPTH, (unsigned long)depth); in compat_r128_depth()
Dr128_state.c884 drm_r128_depth_t *depth) in r128_cce_dispatch_write_span() argument
894 count = depth->n; in r128_cce_dispatch_write_span()
898 if (copy_from_user(&x, depth->x, sizeof(x))) in r128_cce_dispatch_write_span()
900 if (copy_from_user(&y, depth->y, sizeof(y))) in r128_cce_dispatch_write_span()
903 buffer_size = depth->n * sizeof(u32); in r128_cce_dispatch_write_span()
904 buffer = memdup_user(depth->buffer, buffer_size); in r128_cce_dispatch_write_span()
908 mask_size = depth->n; in r128_cce_dispatch_write_span()
909 if (depth->mask) { in r128_cce_dispatch_write_span()
910 mask = memdup_user(depth->mask, mask_size); in r128_cce_dispatch_write_span()
969 drm_r128_depth_t *depth) in r128_cce_dispatch_write_pixels() argument
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/net/can/
Dxilinx_can.txt17 - tx-fifo-depth : Can Tx fifo depth.
18 - rx-fifo-depth : Can Rx fifo depth.
31 tx-fifo-depth = <0x40>;
32 rx-fifo-depth = <0x40>;
42 tx-fifo-depth = <0x40>;
43 rx-fifo-depth = <0x40>;
/linux-4.4.14/scripts/dtc/
Dfdtdump.c59 int depth, sz, shift; in dump_blob() local
63 depth = 0; in dump_blob()
109 printf("%*s%s {\n", depth * shift, "", s); in dump_blob()
111 depth++; in dump_blob()
116 depth--; in dump_blob()
118 printf("%*s};\n", depth * shift, ""); in dump_blob()
123 printf("%*s// [NOP]\n", depth * shift, ""); in dump_blob()
128 fprintf(stderr, "%*s ** Unknown tag 0x%08x\n", depth * shift, "", tag); in dump_blob()
139 printf("%*s%s", depth * shift, "", s); in dump_blob()
Dfdtget.c156 int depth = 1; /* the assumed depth of this node */ in list_subnodes() local
163 if (level <= depth) { in list_subnodes()
187 if (level <= depth) in list_subnodes()
/linux-4.4.14/fs/reiserfs/
Dlock.c54 int depth; in reiserfs_write_unlock_nested() local
60 depth = sb_i->lock_depth; in reiserfs_write_unlock_nested()
66 return depth; in reiserfs_write_unlock_nested()
69 void reiserfs_write_lock_nested(struct super_block *s, int depth) in reiserfs_write_lock_nested() argument
74 if (depth == -1) in reiserfs_write_lock_nested()
79 sb_i->lock_depth = depth; in reiserfs_write_lock_nested()
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()
142 int depth; in reiserfs_resize() local
147 depth = reiserfs_write_unlock_nested(s); in reiserfs_resize()
149 reiserfs_write_lock_nested(s, depth); in reiserfs_resize()
160 depth = reiserfs_write_unlock_nested(s); in reiserfs_resize()
162 reiserfs_write_lock_nested(s, depth); in reiserfs_resize()
Dstree.c533 int depth = -1; in search_by_key_reada() local
552 if (depth == -1) in search_by_key_reada()
553 depth = reiserfs_write_unlock_nested(s); in search_by_key_reada()
558 return depth; in search_by_key_reada()
654 int depth = -1; in search_by_key() local
657 depth = search_by_key_reada(sb, reada_bh, in search_by_key()
660 if (!buffer_uptodate(bh) && depth == -1) in search_by_key()
661 depth = reiserfs_write_unlock_nested(sb); in search_by_key()
666 if (depth != -1) in search_by_key()
667 reiserfs_write_lock_nested(sb, depth); in search_by_key()
[all …]
Ddir.c77 int depth; in reiserfs_readdir_inode() local
208 depth = reiserfs_write_unlock_nested(inode->i_sb); in reiserfs_readdir_inode()
212 reiserfs_write_lock_nested(inode->i_sb, depth); in reiserfs_readdir_inode()
218 reiserfs_write_lock_nested(inode->i_sb, depth); in reiserfs_readdir_inode()
Dbitmap.c461 int depth = reiserfs_write_unlock_nested(s); in _reiserfs_free_block() local
463 reiserfs_write_lock_nested(s, depth); in _reiserfs_free_block()
1194 int depth; in blocknrs_and_prealloc_arrays_from_search_start() local
1204 depth = reiserfs_write_unlock_nested(s); in blocknrs_and_prealloc_arrays_from_search_start()
1208 reiserfs_write_lock_nested(s, depth); in blocknrs_and_prealloc_arrays_from_search_start()
1223 reiserfs_write_lock_nested(s, depth); in blocknrs_and_prealloc_arrays_from_search_start()
1253 depth = reiserfs_write_unlock_nested(s); in blocknrs_and_prealloc_arrays_from_search_start()
1257 reiserfs_write_lock_nested(s, depth); in blocknrs_and_prealloc_arrays_from_search_start()
1289 depth = reiserfs_write_unlock_nested(s); in blocknrs_and_prealloc_arrays_from_search_start()
1294 reiserfs_write_lock_nested(s, depth); in blocknrs_and_prealloc_arrays_from_search_start()
[all …]
Djournal.c958 int depth; in reiserfs_async_progress_wait() local
960 depth = reiserfs_write_unlock_nested(s); in reiserfs_async_progress_wait()
962 reiserfs_write_lock_nested(s, depth); in reiserfs_async_progress_wait()
985 int depth; in flush_commit_list() local
1036 depth = reiserfs_write_unlock_nested(s); in flush_commit_list()
1041 reiserfs_write_lock_nested(s, depth); in flush_commit_list()
1061 depth = reiserfs_write_unlock_nested(s); in flush_commit_list()
1063 reiserfs_write_lock_nested(s, depth); in flush_commit_list()
1075 depth = reiserfs_write_unlock_nested(s); in flush_commit_list()
1077 reiserfs_write_lock_nested(s, depth); in flush_commit_list()
[all …]
Dinode.c70 int depth = reiserfs_write_unlock_nested(inode->i_sb); in reiserfs_evict_inode() local
72 reiserfs_write_lock_nested(inode->i_sb, depth); in reiserfs_evict_inode()
1646 int depth; in reiserfs_iget() local
1650 depth = reiserfs_write_unlock_nested(s); in reiserfs_iget()
1654 reiserfs_write_lock_nested(s, depth); in reiserfs_iget()
1942 int depth; in reiserfs_new_inode() local
1946 depth = reiserfs_write_unlock_nested(sb); in reiserfs_new_inode()
1948 reiserfs_write_lock_nested(sb, depth); in reiserfs_new_inode()
1973 depth = reiserfs_write_unlock_nested(inode->i_sb); in reiserfs_new_inode()
1976 reiserfs_write_lock_nested(inode->i_sb, depth); in reiserfs_new_inode()
[all …]
Dfix_node.c1112 int depth = reiserfs_write_unlock_nested(tb->tb_sb); in get_far_parent() local
1114 reiserfs_write_lock_nested(tb->tb_sb, depth); in get_far_parent()
2134 int depth = reiserfs_write_unlock_nested(tb->tb_sb); in get_direct_parent() local
2136 reiserfs_write_lock_nested(tb->tb_sb, depth); in get_direct_parent()
2162 int depth; in get_neighbors() local
2180 depth = reiserfs_write_unlock_nested(tb->tb_sb); in get_neighbors()
2182 reiserfs_write_lock_nested(tb->tb_sb, depth); in get_neighbors()
2220 depth = reiserfs_write_unlock_nested(tb->tb_sb); in get_neighbors()
2222 reiserfs_write_lock_nested(tb->tb_sb, depth); in get_neighbors()
2491 int depth; in wait_tb_buffers_until_unlocked() local
[all …]
/linux-4.4.14/arch/mips/oprofile/
Dbacktrace.c133 unsigned int depth) in do_user_backtrace() argument
138 while (depth-- && !unwind_user_frame(frame, max_instr_check)) { in do_user_backtrace()
148 unsigned int depth) { } in do_kernel_backtrace() argument
152 unsigned int depth) in do_kernel_backtrace() argument
154 while (depth-- && frame->pc) { in do_kernel_backtrace()
164 void notrace op_mips_backtrace(struct pt_regs *const regs, unsigned int depth) in op_mips_backtrace() argument
173 do_user_backtrace(low_addr, &frame, depth); in op_mips_backtrace()
175 do_kernel_backtrace(low_addr, &frame, depth); in op_mips_backtrace()
Dop_impl.h39 void op_mips_backtrace(struct pt_regs * const regs, unsigned int depth);
/linux-4.4.14/sound/isa/gus/
Dgus_volume.c138 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-4.4.14/kernel/trace/
Dtrace_functions_graph.c49 int depth; member
120 ftrace_push_return_trace(unsigned long ret, unsigned long func, int *depth, in ftrace_push_return_trace() argument
174 *depth = current->curr_ret_stack; in ftrace_push_return_trace()
238 trace->depth = index; in ftrace_pop_return_trace()
325 if ((!(trace->depth || ftrace_graph_addr(trace->func)) || in trace_graph_entry()
326 ftrace_graph_ignore_irqs()) || (trace->depth < 0) || in trace_graph_entry()
327 (max_depth && trace->depth >= max_depth)) in trace_graph_entry()
372 .depth = 0, in __trace_graph_function()
376 .depth = 0, in __trace_graph_function()
788 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf()
[all …]
Dtrace_entries.h82 __field_desc( int, graph_ent, depth )
85 F_printk("--> %lx (%d)", __entry->func, __entry->depth),
101 __field_desc( int, ret, depth )
105 __entry->func, __entry->depth,
107 __entry->depth),
/linux-4.4.14/arch/xtensa/kernel/
Dstacktrace.c34 void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_user() argument
46 if (!depth--) in xtensa_backtrace_user()
72 for (index = WSBITS - 1; (index > 0) && depth; depth--, index--) in xtensa_backtrace_user()
93 if (!depth) in xtensa_backtrace_user()
98 while (a0 != 0 && depth--) { in xtensa_backtrace_user()
128 void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_kernel() argument
148 while (a1 > sp_start && a1 < sp_end && depth--) { in xtensa_backtrace_kernel()
163 xtensa_backtrace_user(regs, depth, ufn, data); in xtensa_backtrace_kernel()
Dsetup.c198 int depth, void *data) in xtensa_dt_io_area() argument
203 if (depth > 1) in xtensa_dt_io_area()
223 int depth, void *data) in xtensa_dt_io_area() argument
/linux-4.4.14/arch/sh/kernel/
Dreturn_address.c17 void *return_address(unsigned int depth) in return_address() argument
23 for (i = 0, frame = NULL, ra = 0; i <= depth; i++) { in return_address()
42 WARN_ON(i != depth + 1); in return_address()
52 void *return_address(unsigned int depth) in return_address() argument
/linux-4.4.14/net/sunrpc/xprtrdma/
Dfrwr_ops.c114 unsigned int depth = r_xprt->rx_ia.ri_max_frmr_depth; in __frwr_recovery_worker() local
120 r->r.frmr.fr_mr = ib_alloc_mr(pd, IB_MR_TYPE_MEM_REG, depth); in __frwr_recovery_worker()
146 unsigned int depth) in __frwr_init() argument
151 f->fr_mr = ib_alloc_mr(pd, IB_MR_TYPE_MEM_REG, depth); in __frwr_init()
155 f->sg = kcalloc(depth, sizeof(*f->sg), GFP_KERNEL); in __frwr_init()
159 sg_init_table(f->sg, depth); in __frwr_init()
194 int depth, delta; in frwr_op_open() local
211 depth = 7; in frwr_op_open()
219 depth += 2; /* FRMR reg + invalidate */ in frwr_op_open()
224 ep->rep_attr.cap.max_send_wr *= depth; in frwr_op_open()
[all …]
/linux-4.4.14/kernel/locking/
Dlockdep.c575 int i, depth = curr->lockdep_depth; in lockdep_print_held_locks() local
577 if (!depth) { in lockdep_print_held_locks()
582 depth, depth > 1 ? "s" : "", curr->comm, task_pid_nr(curr)); in lockdep_print_held_locks()
584 for (i = 0; i < depth; i++) { in lockdep_print_held_locks()
984 int depth = 0; in get_lock_depth() local
989 depth++; in get_lock_depth()
991 return depth; in get_lock_depth()
1092 print_circular_bug_entry(struct lock_list *target, int depth) in print_circular_bug_entry() argument
1096 printk("\n-> #%u", depth); in print_circular_bug_entry()
1159 print_circular_bug_header(struct lock_list *entry, unsigned int depth, in print_circular_bug_header() argument
[all …]
/linux-4.4.14/arch/ia64/oprofile/
Dbacktrace.c28 unsigned int depth; member
93 while (bt->depth-- && next_frame(bt)) { in do_ia64_backtrace()
112 ia64_backtrace(struct pt_regs * const regs, unsigned int depth) in ia64_backtrace() argument
125 bt.depth = depth; in ia64_backtrace()
Dinit.c17 extern void ia64_backtrace(struct pt_regs * const regs, unsigned int depth);
/linux-4.4.14/arch/powerpc/oprofile/
Dbacktrace.c92 void op_powerpc_backtrace(struct pt_regs * const regs, unsigned int depth) in op_powerpc_backtrace() argument
98 depth += 1; in op_powerpc_backtrace()
101 while (depth--) { in op_powerpc_backtrace()
111 while (depth--) { in op_powerpc_backtrace()
122 while (depth--) { in op_powerpc_backtrace()
/linux-4.4.14/drivers/of/
Dfdt.c188 static int depth; in unflatten_dt_node() local
341 old_depth = depth; in unflatten_dt_node()
342 *poffset = fdt_next_node(blob, *poffset, &depth); in unflatten_dt_node()
343 if (depth < 0) in unflatten_dt_node()
344 depth = 0; in unflatten_dt_node()
345 while (*poffset > 0 && depth > old_depth) in unflatten_dt_node()
541 int depth, void *data) in __fdt_scan_reserved_mem() argument
547 if (!found && depth == 1 && strcmp(uname, "reserved-memory") == 0) { in __fdt_scan_reserved_mem()
559 } else if (found && depth < 2) { in __fdt_scan_reserved_mem()
627 const char *uname, int depth, in of_scan_flat_dt() argument
[all …]
/linux-4.4.14/fs/minix/
Ditree_common.c30 int depth, in get_branch() argument
44 while (--depth) { in get_branch()
153 int depth = block_to_path(inode, block, offsets); in get_block() local
155 if (depth == 0) in get_block()
159 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
164 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
166 partial = chain+depth-1; /* the whole chain */ in get_block()
189 left = (chain + depth) - partial; in get_block()
217 int depth, in find_shared() argument
226 for (k = depth; k > 1 && !offsets[k-1]; k--) in find_shared()
[all …]
/linux-4.4.14/drivers/video/logo/
Dlogo.c43 const struct linux_logo * __init_refok fb_find_logo(int depth) in fb_find_logo() argument
50 if (depth >= 1) { in fb_find_logo()
61 if (depth >= 4) { in fb_find_logo()
76 if (depth >= 8) { in fb_find_logo()
/linux-4.4.14/drivers/video/fbdev/via/
Dvia_modesetting.c175 void via_set_primary_color_depth(u8 depth) in via_set_primary_color_depth() argument
179 DEBUG_MSG(KERN_DEBUG "via_set_primary_color_depth(%d)\n", depth); in via_set_primary_color_depth()
180 switch (depth) { in via_set_primary_color_depth()
198 "Unsupported depth: %d\n", depth); in via_set_primary_color_depth()
205 void via_set_secondary_color_depth(u8 depth) in via_set_secondary_color_depth() argument
209 DEBUG_MSG(KERN_DEBUG "via_set_secondary_color_depth(%d)\n", depth); in via_set_secondary_color_depth()
210 switch (depth) { in via_set_secondary_color_depth()
225 "Unsupported depth: %d\n", depth); in via_set_secondary_color_depth()
Dvia_modesetting.h58 void via_set_primary_color_depth(u8 depth);
59 void via_set_secondary_color_depth(u8 depth);
Dviafbdev.c88 static void viafb_fill_var_color_info(struct fb_var_screeninfo *var, u8 depth) in viafb_fill_var_color_info() argument
98 switch (depth) { in viafb_fill_var_color_info()
202 int depth, refresh; in viafb_check_var() local
222 depth = fb_get_color_depth(var, &info->fix); in viafb_check_var()
223 if (!depth) in viafb_check_var()
224 depth = var->bits_per_pixel; in viafb_check_var()
226 if (depth < 0 || depth > 32) in viafb_check_var()
228 else if (!depth) in viafb_check_var()
229 depth = 24; in viafb_check_var()
230 else if (depth == 15 && viafb_dual_fb && ppar->iga_path == IGA1) in viafb_check_var()
[all …]
/linux-4.4.14/drivers/video/fbdev/i810/
Di810_accel.c304 par->depth == 4) { in i810fb_fillrect()
309 if (par->depth == 1) in i810fb_fillrect()
316 dx = rect->dx * par->depth; in i810fb_fillrect()
317 width = rect->width * par->depth; in i810fb_fillrect()
332 par->depth == 4) { in i810fb_copyarea()
337 dx = region->dx * par->depth; in i810fb_copyarea()
338 sx = region->sx * par->depth; in i810fb_copyarea()
339 width = region->width * par->depth; in i810fb_copyarea()
373 par->depth == 4 || image->depth != 1) { in i810fb_imageblit()
391 (image->dx * par->depth); in i810fb_imageblit()
[all …]
/linux-4.4.14/fs/quota/
Dquota_tree.c25 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index() argument
30 depth = info->dqi_qtree_depth - depth - 1; in get_index()
31 while (depth--) in get_index()
292 uint *treeblk, int depth) in do_insert_tree() argument
317 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in do_insert_tree()
320 if (depth == info->dqi_qtree_depth - 1) { in do_insert_tree()
326 dquot->dq_id, depth)])); in do_insert_tree()
333 ret = do_insert_tree(info, dquot, &newblk, depth+1); in do_insert_tree()
336 ref[get_index(info, dquot->dq_id, depth)] = in do_insert_tree()
468 uint *blk, int depth) in remove_tree() argument
[all …]
/linux-4.4.14/arch/xtensa/oprofile/
Dbacktrace.c20 void xtensa_backtrace(struct pt_regs * const regs, unsigned int depth) in xtensa_backtrace() argument
23 xtensa_backtrace_user(regs, depth, xtensa_backtrace_cb, NULL); in xtensa_backtrace()
25 xtensa_backtrace_kernel(regs, depth, xtensa_backtrace_cb, in xtensa_backtrace()
Dinit.c15 extern void xtensa_backtrace(struct pt_regs *const regs, unsigned int depth);
/linux-4.4.14/drivers/hwtracing/coresight/
Dcoresight-etb10.c96 u32 depth = 0; in etb_get_buffer_depth() local
101 depth = readl_relaxed(drvdata->base + ETB_RAM_DEPTH_REG); in etb_get_buffer_depth()
104 return depth; in etb_get_buffer_depth()
110 u32 depth; in etb_enable_hw() local
114 depth = drvdata->buffer_depth; in etb_enable_hw()
118 for (i = 0; i < depth; i++) in etb_enable_hw()
187 u32 read_data, depth; in etb_dump_hw() local
213 depth = drvdata->buffer_depth; in etb_dump_hw()
215 for (i = 0; i < depth; i++) { in etb_dump_hw()
294 u32 depth; in etb_read() local
[all …]
/linux-4.4.14/fs/configfs/
Dsymlink.c41 int depth = 0; in item_depth() local
42 do { depth++; } while ((p = p->ci_parent) && !configfs_is_root(p)); in item_depth()
43 return depth; in item_depth()
239 int depth, size; in configfs_get_target_path() local
241 depth = item_depth(item); in configfs_get_target_path()
242 size = item_path_length(target) + depth * 3 - 1; in configfs_get_target_path()
246 pr_debug("%s: depth = %d, size = %d\n", __func__, depth, size); in configfs_get_target_path()
248 for (s = path; depth--; s += 3) in configfs_get_target_path()
Dinode.c153 int depth = sd->s_depth; in configfs_set_inode_lock_class() local
155 if (depth > 0) { in configfs_set_inode_lock_class()
156 if (depth <= ARRAY_SIZE(default_group_class)) { in configfs_set_inode_lock_class()
158 &default_group_class[depth - 1]); in configfs_set_inode_lock_class()
/linux-4.4.14/tools/perf/ui/stdio/
Dhist.c20 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line() argument
26 for (i = 0; i < depth; i++) in ipchain__fprintf_graph_line()
38 int depth, int depth_mask, int period, in ipchain__fprintf_graph() argument
47 for (i = 0; i < depth; i++) { in ipchain__fprintf_graph()
52 if (!period && i == depth - 1) { in ipchain__fprintf_graph()
81 u64 total_samples, int depth, in __callchain__fprintf_graph() argument
113 new_depth_mask &= ~(1 << (depth - 1)); in __callchain__fprintf_graph()
119 ret += ipchain__fprintf_graph_line(fp, depth, depth_mask, in __callchain__fprintf_graph()
123 ret += ipchain__fprintf_graph(fp, chain, depth, in __callchain__fprintf_graph()
136 depth + 1, in __callchain__fprintf_graph()
[all …]
/linux-4.4.14/include/linux/
Dof_fdt.h53 int depth, void *data),
63 int depth, void *data);
65 int depth, void *data);
76 int depth, void *data);
Dkmod.h88 extern int __usermodehelper_disable(enum umh_disable_depth depth);
89 extern void __usermodehelper_set_disable_depth(enum umh_disable_depth depth);
Dlinux_logo.h51 extern const struct linux_logo *fb_find_logo(int depth);
Dif_vlan.h482 int *depth) in __vlan_get_protocol() argument
512 if (depth) in __vlan_get_protocol()
513 *depth = vlan_depth; in __vlan_get_protocol()
/linux-4.4.14/tools/testing/selftests/x86/
Dunwind_vdso.c93 int depth; /* -1 until we hit the trap source */ member
101 if (state->depth == -1) { in trace_fn()
103 state->depth = 0; in trace_fn()
130 state->depth++; in trace_fn()
163 state.depth = -1; in sigtrap()
/linux-4.4.14/fs/sysv/
Ditree.c88 int depth, in get_branch() argument
101 while (--depth) { in get_branch()
210 int depth = block_to_path(inode, iblock, offsets); in get_block() local
212 if (depth == 0) in get_block()
217 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
224 chain[depth-1].key)); in get_block()
226 partial = chain+depth-1; /* the whole chain */ in get_block()
249 left = (chain + depth) - partial; in get_block()
277 int depth, in find_shared() argument
286 for (k = depth; k > 1 && !offsets[k-1]; k--) in find_shared()
[all …]
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-core.c45 .depth = { 16 },
53 .depth = { 32 },
61 .depth = { 32 },
69 .depth = { 16 },
77 .depth = { 16 },
89 .depth = { 16 },
98 .depth = { 16 },
107 .depth = { 16 },
116 .depth = { 16 },
125 .depth = { 16 },
[all …]
Dfimc-core.h529 u32 i, depth = 0; in fimc_get_format_depth() local
533 depth += ff->depth[i]; in fimc_get_format_depth()
534 return depth; in fimc_get_format_depth()
Dfimc-lite.c48 .depth = { 16 },
57 .depth = { 16 },
66 .depth = { 16 },
75 .depth = { 16 },
84 .depth = { 8 },
93 .depth = { 16 },
102 .depth = { 16 },
384 unsigned int size = (wh * fmt->depth[i]) / 8; in queue_setup()
698 plane_fmt->bytesperline = (frame->f_width * fmt->depth[0]) / 8; in fimc_lite_g_fmt_mplane()
740 if ((bpl == 0 || ((bpl * 8) / fmt->depth[0]) < pixm->width)) in fimc_lite_try_fmt()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/net/
Daltera_tse.txt22 - rx-fifo-depth: MAC receive FIFO buffer depth in bytes
23 - tx-fifo-depth: MAC transmit FIFO buffer depth in bytes
67 rx-fifo-depth = <2048>;
68 tx-fifo-depth = <2048>;
105 rx-fifo-depth = <2048>;
106 tx-fifo-depth = <2048>;
Dti,dp83867.txt9 - ti,fifo-depth - Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h
21 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
Dstmmac.txt48 - tx-fifo-depth: See ethernet.txt file in the same directory
49 - rx-fifo-depth: See ethernet.txt file in the same directory
64 rx-fifo-depth = <16384>;
65 tx-fifo-depth = <16384>;
Dethernet.txt22 - rx-fifo-depth: the size of the controller's receive fifo in bytes. This
26 - tx-fifo-depth: the size of the controller's transmit fifo in bytes. This
/linux-4.4.14/arch/avr32/oprofile/
Dbacktrace.c55 void avr32_backtrace(struct pt_regs * const regs, unsigned int depth) in avr32_backtrace() argument
66 while (depth-- && valid_stack_ptr(task_thread_info(current), in avr32_backtrace()
76 while (depth-- && head) in avr32_backtrace()
/linux-4.4.14/arch/parisc/kernel/
Dftrace.c25 unsigned long func, int *depth) in push_return_trace() argument
43 *depth = index; in push_return_trace()
68 trace->depth = index; in pop_return_trace()
135 self_addr, &trace.depth) == -EBUSY) { in prepare_ftrace_return()
/linux-4.4.14/arch/powerpc/kernel/
Dbtext.c119 void __init btext_setup_display(int width, int height, int depth, int pitch, in btext_setup_display() argument
129 dispDeviceDepth = depth == 15 ? 16 : depth; in btext_setup_display()
174 unsigned int width, height, depth, pitch; in btext_initialize() local
195 depth = *prop; in btext_initialize()
196 pitch = width * ((depth + 7) / 8); in btext_initialize()
222 dispDeviceDepth = depth == 15 ? 16 : depth; in btext_initialize()
281 int depth, int pitch) in btext_update_display() argument
295 dispDeviceDepth = depth; in btext_update_display()
Dprom.c299 const char *uname, int depth, in early_init_dt_scan_cpus() argument
396 int depth, void *data) in early_init_dt_scan_chosen_ppc() argument
401 if (early_init_dt_scan_chosen(node, uname, depth, data) == 0) in early_init_dt_scan_chosen_ppc()
523 int depth, void *data) in early_init_dt_scan_memory_ppc() argument
525 if (depth == 1 && in early_init_dt_scan_memory_ppc()
529 return early_init_dt_scan_memory(node, uname, depth, data); in early_init_dt_scan_memory_ppc()
Depapr_paravirt.c37 int depth, void *data) in early_init_dt_scan_epapr() argument
/linux-4.4.14/scripts/
Dunifdef.c202 static int depth; /* current #if nesting */ variable
510 if (depth == 0) in ignoreoff()
512 ignoring[depth] = ignoring[depth-1]; in ignoreoff()
517 ignoring[depth] = true; in ignoreon()
529 if (depth > MAXDEPTH-1) in nest()
531 if (depth == MAXDEPTH-1) in nest()
533 depth += 1; in nest()
534 stifline[depth] = linenum; in nest()
539 if (depth == 0) in unnest()
541 depth -= 1; in unnest()
[all …]
Danalyze_suspend.py185 depth = 0 variable in DeviceNode
189 self.depth = nodedepth
539 def masterTopology(self, name, list, depth): argument
540 node = DeviceNode(name, depth)
543 cnode = self.masterTopology(cname, clist, depth+1)
626 depth = 0 variable in FTraceLine
656 self.depth = self.getDepth(match.group('d'))
688 self.depth, self.name, self.length*1000000))
691 self.depth, self.name, self.length*1000000))
694 self.depth, self.name, self.length*1000000))
[all …]
/linux-4.4.14/drivers/gpu/drm/sti/
Dsti_mixer.c109 int plane_id, depth = plane->zorder; in sti_mixer_set_plane_depth() local
113 if ((depth < 1) || (depth > GAM_MIXER_NB_DEPTH_LEVEL)) in sti_mixer_set_plane_depth()
148 mask |= GAM_DEPTH_MASK_ID << (3 * (depth - 1)); in sti_mixer_set_plane_depth()
149 plane_id = plane_id << (3 * (depth - 1)); in sti_mixer_set_plane_depth()
152 sti_plane_to_str(plane), depth); in sti_mixer_set_plane_depth()
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_image.c105 int depth, unsigned int hash, in qxl_image_init_helper() argument
113 int linesize = width * depth / 8; in qxl_image_init_helper()
200 switch (depth) { in qxl_image_init_helper()
232 int depth, int stride) in qxl_image_init() argument
234 data += y * stride + x * (depth / 8); in qxl_image_init()
236 width, height, depth, 0, stride); in qxl_image_init()
Dqxl_draw.c167 int depth = fb_image->depth; in qxl_draw_opaque_fb() local
174 stride = depth * width / 8; in qxl_draw_opaque_fb()
186 if (depth == 1) { in qxl_draw_opaque_fb()
210 width, height, depth, stride); in qxl_draw_opaque_fb()
217 if (depth == 1) { in qxl_draw_opaque_fb()
288 int depth = qxl_fb->base.bits_per_pixel; in qxl_draw_dirty_fb() local
347 left, top, width, height, depth, stride); in qxl_draw_dirty_fb()
Dqxl_fb.c75 if (image->depth == 1) in qxl_fb_image_init()
122 image->depth = 32; /* TODO: take from somewhere? */ in qxl_fb_dirty_flush()
296 int depth; in qxlfb_create_pinned_object() local
298 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &bpp, &depth); in qxlfb_create_pinned_object()
354 int depth = sizes->surface_depth; in qxlfb_create() local
361 mode_cmd.pixel_format = drm_mode_legacy_fb_format(bpp, depth); in qxlfb_create()
397 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); in qxlfb_create()
432 …DRM_INFO("fb: depth %d, pitch %d, width %d, height %d\n", fb->depth, fb->pitches[0], fb->width, fb… in qxlfb_create()
/linux-4.4.14/drivers/video/fbdev/
Dsunxvr2500.c26 unsigned int depth; member
36 sp->depth = of_getintprop_default(sp->of_node, "depth", 8); in s3d_get_props()
90 if (sp->depth == 32 || sp->depth == 24) in s3d_set_fbinfo()
99 var->bits_per_pixel = sp->depth; in s3d_set_fbinfo()
167 switch (sp->depth) { in s3d_pci_register()
Doffb.c391 int width, int height, int depth, in offb_init_fb() argument
407 width, height, name, address, depth, pitch); in offb_init_fb()
408 if (depth != 8 && depth != 15 && depth != 16 && depth != 32) { in offb_init_fb()
410 depth); in offb_init_fb()
440 if (depth == 8) in offb_init_fb()
446 switch (depth) { in offb_init_fb()
538 int i, width = 640, height = 480, depth = 8, pitch = 640; in offb_init_nodriver() local
558 depth = be32_to_cpup(pp); in offb_init_nodriver()
578 pitch = width * ((depth + 7) / 8); in offb_init_nodriver()
637 width, height, depth, pitch, address, in offb_init_nodriver()
Dsunxvr1000.c22 unsigned int depth; member
32 gp->depth = of_getintprop_default(gp->of_node, "depth", 32); in gfb_get_props()
86 if (gp->depth == 32 || gp->depth == 24) in gfb_set_fbinfo()
95 var->bits_per_pixel = gp->depth; in gfb_set_fbinfo()
Dpm2fb.c397 static void set_aperture(struct pm2fb_par *p, u32 depth) in set_aperture() argument
408 switch (depth) { in set_aperture()
686 u32 depth = (info->var.bits_per_pixel + 7) & ~7; in pm2fb_set_par() local
706 depth = (depth > 32) ? 32 : depth; in pm2fb_set_par()
707 data64 = depth > 8 || par->type == PM2_TYPE_PERMEDIA2V; in pm2fb_set_par()
715 hsstart = to3264(info->var.right_margin, depth, data64); in pm2fb_set_par()
716 hsend = hsstart + to3264(info->var.hsync_len, depth, data64); in pm2fb_set_par()
717 hbend = hsend + to3264(info->var.left_margin, depth, data64); in pm2fb_set_par()
718 htotal = to3264(xres, depth, data64) + hbend - 1; in pm2fb_set_par()
726 stride = to3264(width, depth, 1); in pm2fb_set_par()
[all …]
Dsunxvr500.c44 unsigned int depth; member
58 ep->depth = of_getintprop_default(ep->of_node, "depth", 8); in e3d_get_props()
213 if (ep->depth == 32 || ep->depth == 24) in e3d_set_fbinfo()
222 var->bits_per_pixel = ep->depth; in e3d_set_fbinfo()
331 switch (ep->depth) { in e3d_pci_register()
Duvesafb.c314 int xres, int yres, int depth, unsigned char flags) in uvesafb_vbe_find_mode() argument
321 abs(depth - par->vbe_modes[i].depth); in uvesafb_vbe_find_mode()
330 if (h < d || (h == d && par->vbe_modes[i].depth > depth)) { in uvesafb_vbe_find_mode()
338 par->vbe_modes[match].depth != depth) in uvesafb_vbe_find_mode()
533 mib->depth = mib->red_len + mib->green_len + mib->blue_len; in uvesafb_vbe_getmodes()
539 if (mib->depth == 0 || (mib->depth == 24 && in uvesafb_vbe_getmodes()
541 mib->depth = mib->bits_per_pixel; in uvesafb_vbe_getmodes()
1232 int i, err = 0, depth = info->var.bits_per_pixel; in uvesafb_set_par() local
1234 if (depth > 8 && depth != 32) in uvesafb_set_par()
1235 depth = info->var.red.length + info->var.green.length + in uvesafb_set_par()
[all …]
Dvalkyriefb.h70 struct vpreg depth; member
Dxen-fbfront.c289 var->bits_per_pixel == xenfb_info->page->depth) { in xenfb_check_var()
299 required_mem_len = var->xres * var->yres * xenfb_info->page->depth / 8; in xenfb_check_var()
300 if (var->bits_per_pixel == xenfb_info->page->depth && in xenfb_check_var()
322 xenfb_info->resize.depth = info->var.bits_per_pixel; in xenfb_set_par()
559 info->page->depth = fb_info->var.bits_per_pixel; in xenfb_init_shared_page()
/linux-4.4.14/arch/microblaze/kernel/
Dprom.c49 const char *uname, int depth, void *data) in early_init_dt_scan_chosen_serial() argument
54 pr_debug("%s: depth: %d, uname: %s\n", __func__, depth, uname); in early_init_dt_scan_chosen_serial()
56 if (depth == 1 && (strcmp(uname, "chosen") == 0 || in early_init_dt_scan_chosen_serial()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/device_include/
Dsvga3d_surfacedefs.h192 u8 depth; member
981 size.depth = max_t(u32, base_level.depth >> mip_level, 1); in svga3dsurface_get_mip_size()
994 block_size->depth = DIV_ROUND_UP(pixel_size->depth, in svga3dsurface_get_size_in_blocks()
995 desc->block_size.depth); in svga3dsurface_get_size_in_blocks()
1053 total_size = clamped_umul32(total_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size()
1062 total_size = clamped_umul32(slice_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size()
1102 const u32 bd = desc->block_size.depth; in svga3dsurface_get_pixel_offset()
/linux-4.4.14/drivers/media/platform/exynos-gsc/
Dgsc-core.c37 .depth = { 16 },
44 .depth = { 32 },
51 .depth = { 16 },
61 .depth = { 16 },
71 .depth = { 16 },
81 .depth = { 16 },
91 .depth = { 32 },
100 .depth = { 16 },
109 .depth = { 16 },
118 .depth = { 16 },
[all …]
Dgsc-regs.c170 u32 i, depth = 0; in gsc_hw_set_in_image_format() local
184 depth += frame->fmt->depth[i]; in gsc_hw_set_in_image_format()
199 if (depth == 12) in gsc_hw_set_in_image_format()
209 if (depth == 12) in gsc_hw_set_in_image_format()
290 u32 i, depth = 0; in gsc_hw_set_out_image_format() local
310 depth += frame->fmt->depth[i]; in gsc_hw_set_out_image_format()
325 if (depth == 12) in gsc_hw_set_out_image_format()
/linux-4.4.14/arch/powerpc/include/asm/
Dbtext.h12 int depth, int pitch);
13 extern void btext_setup_display(int width, int height, int depth, int pitch,
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-queue.c53 atomic_set(&q->depth, 0); in cx18_queue_init()
71 atomic_read(&q->depth) >= CX18_MAX_FW_MDLS_PER_STREAM) in _cx18_enqueue()
81 atomic_inc(&q->depth); in _cx18_enqueue()
97 atomic_dec(&q->depth); in cx18_dequeue()
165 if (mdl->skipped >= atomic_read(&s->q_busy.depth)-1) { in cx18_queue_get_mdl()
173 atomic_dec(&s->q_busy.depth); in cx18_queue_get_mdl()
182 atomic_dec(&s->q_busy.depth); in cx18_queue_get_mdl()
229 atomic_inc(&q_dst->depth); in cx18_queue_flush()
Dcx18-streams.c672 if ((atomic_read(&s->q_free.depth) + atomic_read(&s->q_busy.depth)) >= in cx18_stream_rotate_idx_mdls()
677 if (atomic_read(&s->q_full.depth) < 2) in cx18_stream_rotate_idx_mdls()
719 if (atomic_read(&s->q_free.depth) == 0 || in _cx18_stream_load_fw_queue()
720 atomic_read(&s->q_busy.depth) >= CX18_MAX_FW_MDLS_PER_STREAM) in _cx18_stream_load_fw_queue()
729 } while (atomic_read(&s->q_busy.depth) < CX18_MAX_FW_MDLS_PER_STREAM in _cx18_stream_load_fw_queue()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.h29 (((_q)->consumer_index - (_q)->producer_index - 1) & ((_q)->depth - 1))
72 u16 depth; /* FW Q depth is 16 bits */ member
98 u16 depth; /* FW Q depth is 16 bits */ member
Dbfa_msgq.c227 BFA_MSGQ_INDX_ADD(cmdq->producer_index, 1, cmdq->depth); in __cmd_copy()
313 cmdq->depth = BFA_MSGQ_CMDQ_NUM_ENTRY; in bfa_msgq_cmdq_attach()
492 rspq->depth); in bfa_msgq_rspq_pi_update()
501 rspq->depth = BFA_MSGQ_RSPQ_NUM_ENTRY; in bfa_msgq_rspq_attach()
526 msgq_cfg->cmdq.q_depth = htons(msgq->cmdq.depth); in bfa_msgq_init()
528 msgq_cfg->rspq.q_depth = htons(msgq->rspq.depth); in bfa_msgq_init()
664 BFA_MSGQ_INDX_ADD(ci, 1, rspq->depth); in bfa_msgq_rsp_copy()
/linux-4.4.14/drivers/media/pci/tw68/
Dtw68-video.c48 .depth = 16,
53 .depth = 16,
58 .depth = 16,
63 .depth = 16,
68 .depth = 24,
73 .depth = 24,
78 .depth = 32,
83 .depth = 32,
89 .depth = 16,
94 .depth = 16,
[all …]
Dtw68.h99 u32 depth; member
134 int depth; member
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dlpar.c703 unsigned int *depth; in __trace_hcall_entry() local
714 depth = this_cpu_ptr(&hcall_trace_depth); in __trace_hcall_entry()
716 if (*depth) in __trace_hcall_entry()
719 (*depth)++; in __trace_hcall_entry()
722 (*depth)--; in __trace_hcall_entry()
732 unsigned int *depth; in __trace_hcall_exit() local
739 depth = this_cpu_ptr(&hcall_trace_depth); in __trace_hcall_exit()
741 if (*depth) in __trace_hcall_exit()
744 (*depth)++; in __trace_hcall_exit()
747 (*depth)--; in __trace_hcall_exit()
/linux-4.4.14/fs/ufs/
Dinode.c122 static u64 ufs_frag_map(struct inode *inode, unsigned offsets[4], int depth) in ufs_frag_map() argument
138 if (depth == 0) in ufs_frag_map()
151 while (--depth) { in ufs_frag_map()
175 while (--depth) { in ufs_frag_map()
399 int depth = ufs_block_to_path(inode, fragment >> uspi->s_fpbshift, offsets); in ufs_getfrag_block() local
404 phys64 = ufs_frag_map(inode, offsets, depth); in ufs_getfrag_block()
413 if (unlikely(!depth)) { in ufs_getfrag_block()
429 if (depth == 1) { in ufs_getfrag_block()
436 for (i = 1; i < depth - 1; i++) in ufs_getfrag_block()
439 phys64 = ufs_inode_getblock(inode, phys64, offsets[depth - 1], in ufs_getfrag_block()
[all …]
/linux-4.4.14/arch/sparc/kernel/
Dbtext.c44 unsigned int width, height, depth, pitch; in btext_initialize() local
52 if (prom_getproperty(node, "depth", (char *)&depth, 4) < 0) in btext_initialize()
54 pitch = width * ((depth + 7) / 8); in btext_initialize()
78 dispDeviceDepth = depth == 15 ? 16 : depth; in btext_initialize()
/linux-4.4.14/arch/xtensa/include/asm/
Dstacktrace.h36 void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth,
40 void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth,
/linux-4.4.14/tools/testing/fault-injection/
Dfailcmd.sh42 --stacktrace-depth=value, --require-start=value, --require-end=value,
87 LONGOPTS=$LONGOPTS,stacktrace-depth:,require-start:,require-end:
157 --stacktrace-depth)
158 echo $2 > $FAULTATTR/stacktrace-depth
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_dpi.c223 unsigned int depth; in of_graph_get_remote_port_parent() local
228 for (depth = 3; depth && np; depth--) { in of_graph_get_remote_port_parent()
230 if (depth == 2 && of_node_cmp(np->name, "ports")) in of_graph_get_remote_port_parent()
/linux-4.4.14/drivers/video/fbdev/matrox/
Dmatroxfb_base.c1256 static int depth = -1; /* "matroxfb:depth:xxxxx" */ variable
1785 vesafb_defined.red = colors[depth-1].red; in initMatrox2()
1786 vesafb_defined.green = colors[depth-1].green; in initMatrox2()
1787 vesafb_defined.blue = colors[depth-1].blue; in initMatrox2()
1788 vesafb_defined.bits_per_pixel = colors[depth-1].bits_per_pixel; in initMatrox2()
2293 if (depth == -1) in matroxfb_init_params()
2294 depth = RSDepth(RSptr->info); in matroxfb_init_params()
2334 case 0: depth = RSText; break; in matroxfb_setup()
2335 case 4: depth = RS4bpp; break; in matroxfb_setup()
2336 case 8: depth = RS8bpp; break; in matroxfb_setup()
[all …]
/linux-4.4.14/fs/ext2/
Dinode.c232 int depth, in ext2_get_branch() argument
246 while (--depth) { in ext2_get_branch()
630 int depth; in ext2_get_blocks() local
637 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext2_get_blocks()
639 if (depth == 0) in ext2_get_blocks()
642 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
645 first_block = le32_to_cpu(chain[depth - 1].key); in ext2_get_blocks()
652 if (!verify_chain(chain, chain + depth - 1)) { in ext2_get_blocks()
663 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext2_get_blocks()
695 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
[all …]
/linux-4.4.14/drivers/media/platform/
Dsh_veu.c94 unsigned int depth; member
151 [SH_VEU_FMT_NV12] = { .ydepth = 8, .depth = 12, .name = "NV12", .fourcc = V4L2_PIX_FMT_NV12 },
152 [SH_VEU_FMT_NV16] = { .ydepth = 8, .depth = 16, .name = "NV16", .fourcc = V4L2_PIX_FMT_NV16 },
153 [SH_VEU_FMT_NV24] = { .ydepth = 8, .depth = 24, .name = "NV24", .fourcc = V4L2_PIX_FMT_NV24 },
154 [SH_VEU_FMT_RGB332] = { .ydepth = 8, .depth = 8, .name = "RGB332", .fourcc = V4L2_PIX_FMT_RGB332 },
155 …[SH_VEU_FMT_RGB444] = { .ydepth = 16, .depth = 16, .name = "RGB444", .fourcc = V4L2_PIX_FMT_RGB444…
156 …[SH_VEU_FMT_RGB565] = { .ydepth = 16, .depth = 16, .name = "RGB565", .fourcc = V4L2_PIX_FMT_RGB565…
157 …[SH_VEU_FMT_RGB666] = { .ydepth = 32, .depth = 32, .name = "BGR666", .fourcc = V4L2_PIX_FMT_BGR666…
158 [SH_VEU_FMT_RGB24] = { .ydepth = 24, .depth = 24, .name = "RGB24", .fourcc = V4L2_PIX_FMT_RGB24 },
411 vfmt->fmt->depth / vfmt->fmt->ydepth; in sh_veu_g_fmt()
[all …]
Dvim2m.c84 int depth; member
92 .depth = 16,
98 .depth = 16,
214 bytesperline = (q_data->width * q_data->fmt->depth) >> 3; in device_process()
230 tile_w = (width * (q_data[V4L2_M2M_DST].fmt->depth >> 3)) in device_process()
493 f->fmt.pix.bytesperline = (q_data->width * q_data->fmt->depth) >> 3; in vidioc_g_fmt()
527 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in vidioc_try_fmt()
601 * q_data->fmt->depth >> 3; in vidioc_s_fmt()
724 size = q_data->width * q_data->height * q_data->fmt->depth >> 3; in vim2m_queue_setup()
918 (ctx->q_data[V4L2_M2M_SRC].fmt->depth >> 3); in vim2m_open()
/linux-4.4.14/arch/sh/mm/
Dpmb.c64 static void pmb_unmap_entry(struct pmb_entry *, int depth);
489 static void __pmb_unmap_entry(struct pmb_entry *pmbe, int depth) in __pmb_unmap_entry() argument
511 } while (pmbe && --depth); in __pmb_unmap_entry()
514 static void pmb_unmap_entry(struct pmb_entry *pmbe, int depth) in pmb_unmap_entry() argument
522 __pmb_unmap_entry(pmbe, depth); in pmb_unmap_entry()
659 int i = 1, depth = 0; in pmb_merge() local
669 depth = i; in pmb_merge()
683 if (!depth || !pmb_size_valid(newsize)) in pmb_merge()
691 __pmb_unmap_entry(head->link, depth); in pmb_merge()
/linux-4.4.14/drivers/video/fbdev/core/
Dfbmem.c95 int depth = 0; in fb_get_color_depth() local
99 depth = 1; in fb_get_color_depth()
105 depth = var->green.length; in fb_get_color_depth()
107 depth = var->green.length + var->red.length + in fb_get_color_depth()
111 return depth; in fb_get_color_depth()
279 int depth) in fb_set_logo() argument
302 switch (depth) { in fb_set_logo()
355 int depth; member
468 image.depth = 8; in fb_show_logo_line()
489 if (fb_logo.depth <= 4) { in fb_show_logo_line()
[all …]
/linux-4.4.14/arch/mips/ralink/
Dof.c59 const char *uname, int depth, void *data) in early_init_dt_find_memory() argument
61 if (depth == 1 && !strcmp(uname, "memory@0")) in early_init_dt_find_memory()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
Dbase.c63 nvkm_ltc_zbc_depth_get(struct nvkm_ltc *ltc, int index, const u32 depth) in nvkm_ltc_zbc_depth_get() argument
65 ltc->zbc_depth[index] = depth; in nvkm_ltc_zbc_depth_get()
66 ltc->func->zbc_clear_depth(ltc, index, depth); in nvkm_ltc_zbc_depth_get()
Dgm107.c66 gm107_ltc_zbc_clear_depth(struct nvkm_ltc *ltc, int i, const u32 depth) in gm107_ltc_zbc_clear_depth() argument
70 nvkm_wr32(device, 0x17e34c, depth); in gm107_ltc_zbc_clear_depth()
Dgf100.c67 gf100_ltc_zbc_clear_depth(struct nvkm_ltc *ltc, int i, const u32 depth) in gf100_ltc_zbc_clear_depth() argument
71 nvkm_wr32(device, 0x17ea58, depth); in gf100_ltc_zbc_clear_depth()
/linux-4.4.14/include/xen/interface/io/
Dfbif.h63 int32_t depth; /* depth in bits */ member
116 uint8_t depth; /* depth of a pixel (in bits) */ member
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c86 switch (par->set_fb->depth) { in vmw_fb_setcolreg()
94 DRM_ERROR("Bad depth %u, bpp %u.\n", par->set_fb->depth, in vmw_fb_setcolreg()
105 int depth = var->bits_per_pixel; in vmw_fb_check_var() local
111 depth = (var->transp.length > 0) ? 32 : 24; in vmw_fb_check_var()
118 switch (depth) { in vmw_fb_check_var()
140 DRM_ERROR("Bad depth %u.\n", depth); in vmw_fb_check_var()
406 int *depth) in vmw_fb_compute_depth() argument
410 *depth = (var->transp.length > 0) ? 32 : 24; in vmw_fb_compute_depth()
476 ret = vmw_fb_compute_depth(var, &mode_cmd.depth); in vmw_fb_kms_framebuffer()
489 cur_fb->depth == mode_cmd.depth && in vmw_fb_kms_framebuffer()
Dvmwgfx_kms.c545 surface->base_size.depth != 1)) { in vmw_kms_new_framebuffer_surface()
551 switch (mode_cmd->depth) { in vmw_kms_new_framebuffer_surface()
565 DRM_ERROR("Invalid color depth: %d\n", mode_cmd->depth); in vmw_kms_new_framebuffer_surface()
587 vfbs->base.base.depth = mode_cmd->depth; in vmw_kms_new_framebuffer_surface()
769 switch (mode_cmd->depth) { in vmw_create_dmabuf_proxy()
788 DRM_ERROR("Invalid framebuffer format %d\n", mode_cmd->depth); in vmw_create_dmabuf_proxy()
794 content_base_size.depth = 1; in vmw_create_dmabuf_proxy()
848 switch (mode_cmd->depth) { in vmw_kms_new_framebuffer_dmabuf()
856 mode_cmd->depth, mode_cmd->bpp); in vmw_kms_new_framebuffer_dmabuf()
865 mode_cmd->depth, mode_cmd->bpp); in vmw_kms_new_framebuffer_dmabuf()
[all …]
/linux-4.4.14/drivers/scsi/aacraid/
Dlinit.c423 unsigned depth; in aac_slave_configure() local
448 depth = (host->can_queue - num_one) / num_lsu; in aac_slave_configure()
449 if (depth > 256) in aac_slave_configure()
450 depth = 256; in aac_slave_configure()
451 else if (depth < 2) in aac_slave_configure()
452 depth = 2; in aac_slave_configure()
453 scsi_change_queue_depth(sdev, depth); in aac_slave_configure()
469 static int aac_change_queue_depth(struct scsi_device *sdev, int depth) in aac_change_queue_depth() argument
485 if (depth > (host->can_queue - num)) in aac_change_queue_depth()
486 depth = host->can_queue - num; in aac_change_queue_depth()
[all …]
/linux-4.4.14/drivers/media/platform/s5p-jpeg/
Djpeg-core.c51 .depth = 16,
64 .depth = 16,
77 .depth = 16,
90 .depth = 16,
103 .depth = 16,
116 .depth = 16,
129 .depth = 16,
142 .depth = 16,
155 .depth = 16,
168 .depth = 16,
[all …]
/linux-4.4.14/arch/mips/sgi-ip27/
Dip27-memory.c72 static void router_recurse(klrou_t *router_a, klrou_t *router_b, int depth) in router_recurse() argument
81 if (depth >= router_distance) in router_recurse()
97 if (depth < router_distance) in router_recurse()
98 router_distance = depth; in router_recurse()
101 router_recurse(router, router_b, depth + 1); in router_recurse()
/linux-4.4.14/net/tipc/
Dnetlink_compat.c729 u32 depth; in tipc_nl_compat_name_table_dump_header() local
740 depth = ntohl(ntq->depth); in tipc_nl_compat_name_table_dump_header()
742 if (depth > 4) in tipc_nl_compat_name_table_dump_header()
743 depth = 4; in tipc_nl_compat_name_table_dump_header()
744 for (i = 0; i < depth; i++) in tipc_nl_compat_name_table_dump_header()
758 u32 node, depth, type, lowbound, upbound; in tipc_nl_compat_name_table_dump() local
770 depth = ntohl(ntq->depth); in tipc_nl_compat_name_table_dump()
775 if (!(depth & TIPC_NTQ_ALLTYPES) && in tipc_nl_compat_name_table_dump()
786 if (depth == 1) in tipc_nl_compat_name_table_dump()
793 if (depth == 2) in tipc_nl_compat_name_table_dump()
[all …]
/linux-4.4.14/drivers/video/fbdev/aty/
Daty128fb.c427 u32 depth, bpp; member
502 static u32 depth_to_dst(u32 depth);
766 (depth_to_dst(par->crtc.depth) << 8) | in aty128_init_engine()
800 static u32 depth_to_dst(u32 depth) in depth_to_dst() argument
802 if (depth <= 8) in depth_to_dst()
804 else if (depth <= 15) in depth_to_dst()
806 else if (depth == 16) in depth_to_dst()
808 else if (depth <= 24) in depth_to_dst()
810 else if (depth <= 32) in depth_to_dst()
1052 u32 depth, bytpp; in aty128_var_to_crtc() local
[all …]
Dmach64_accel.c293 (image->depth != 1 && info->var.bits_per_pixel != image->depth)) { in atyfb_imageblit()
301 switch (image->depth) { in atyfb_imageblit()
351 if (image->depth == 1) { in atyfb_imageblit()
381 src_bytes = (((image->width * image->depth) + 7) / 8) * image->height; in atyfb_imageblit()
Dradeonfb.h324 int pitch, bpp, depth; member
450 static inline u32 radeon_get_dstbpp(u16 depth) in radeon_get_dstbpp() argument
452 switch (depth) { in radeon_get_dstbpp()
/linux-4.4.14/arch/metag/kernel/
Dtraps.c268 unsigned int depth, txdefr; in head_end() local
284 depth = current->thread.int_depth++; in head_end()
290 current->thread.txdefr_failure &= ~(1 << depth); in head_end()
292 current->thread.txdefr_failure |= (1 << depth); in head_end()
378 unsigned int depth, txdefr; in tail_end_sys() local
390 depth = --current->thread.int_depth; in tail_end_sys()
392 BUG_ON(user_mode(regs) && depth); in tail_end_sys()
399 if (current->thread.txdefr_failure & (1 << depth)) in tail_end_sys()
/linux-4.4.14/kernel/
Dkmod.c443 void __usermodehelper_set_disable_depth(enum umh_disable_depth depth) in __usermodehelper_set_disable_depth() argument
446 usermodehelper_disabled = depth; in __usermodehelper_set_disable_depth()
457 int __usermodehelper_disable(enum umh_disable_depth depth) in __usermodehelper_disable() argument
461 if (!depth) in __usermodehelper_disable()
465 usermodehelper_disabled = depth; in __usermodehelper_disable()
/linux-4.4.14/drivers/scsi/
D53c700.h84 __u8 depth; member
114 NCR_700_set_depth(struct scsi_device *SDp, __u8 depth) in NCR_700_set_depth() argument
118 hostdata->depth = depth; in NCR_700_set_depth()
125 return hostdata->depth; in NCR_700_get_depth()
Dscsi.c617 int scsi_change_queue_depth(struct scsi_device *sdev, int depth) in scsi_change_queue_depth() argument
619 if (depth > 0) { in scsi_change_queue_depth()
620 sdev->queue_depth = depth; in scsi_change_queue_depth()
647 int scsi_track_queue_full(struct scsi_device *sdev, int depth) in scsi_track_queue_full() argument
659 if (sdev->last_queue_full_depth != depth) { in scsi_track_queue_full()
661 sdev->last_queue_full_depth = depth; in scsi_track_queue_full()
669 return scsi_change_queue_depth(sdev, depth); in scsi_track_queue_full()
/linux-4.4.14/drivers/acpi/acpica/
Ddbinput.c470 u32 depth; in acpi_db_get_next_token() local
527 depth = 1; in acpi_db_get_next_token()
548 depth++; /* A nested package declaration */ in acpi_db_get_next_token()
550 depth--; in acpi_db_get_next_token()
551 if (depth == 0) { /* Found final package closing bracket */ in acpi_db_get_next_token()
Dexdump.c608 void acpi_ex_dump_operand(union acpi_operand_object *obj_desc, u32 depth) in acpi_ex_dump_operand() argument
646 if (depth > 0) { in acpi_ex_dump_operand()
648 depth, " ", depth, obj_desc)); in acpi_ex_dump_operand()
752 depth + 1); in acpi_ex_dump_operand()
804 acpi_ex_dump_operand(obj_desc->field.region_obj, depth + 1); in acpi_ex_dump_operand()
826 depth + 1); in acpi_ex_dump_operand()
/linux-4.4.14/arch/arm64/kernel/
Dacpi.c65 const char *uname, int depth, in dt_scan_depth1_nodes() argument
72 if (depth == 1 && (strcmp(uname, "chosen") != 0)) in dt_scan_depth1_nodes()
Dftrace.c131 trace.depth = current->curr_ret_stack + 1; in prepare_ftrace_return()
139 err = ftrace_push_return_trace(old, self_addr, &trace.depth, in prepare_ftrace_return()
Dtopology.c96 static int __init parse_cluster(struct device_node *cluster, int depth) in parse_cluster() argument
117 ret = parse_cluster(c, depth + 1); in parse_cluster()
133 if (depth == 0) { in parse_cluster()
/linux-4.4.14/drivers/media/common/saa7146/
Dsaa7146_video.c25 .depth = 8,
31 .depth = 16,
37 .depth = 24,
43 .depth = 32,
49 .depth = 32,
56 .depth = 8,
62 .depth = 16,
68 .depth = 12,
74 .depth = 12,
80 .depth = 16,
[all …]
/linux-4.4.14/lib/
Dfault-inject.c69 int depth = attr->stacktrace_depth; in fail_stacktrace() local
74 if (depth == 0) in fail_stacktrace()
79 trace.max_entries = depth; in fail_stacktrace()
/linux-4.4.14/Documentation/devicetree/bindings/display/bridge/
Dadi,adv7511.txt14 color depth, color format, clock mode, bit justification and random
19 - adi,input-depth: Number of bits per color component at the input (8, 10 or
64 adi,input-depth = <8>;
/linux-4.4.14/sound/drivers/opl4/
Dopl4_synth.c406 int depth; in snd_opl4_update_vibrato_depth() local
410 depth = (7 - voice->sound->vibrato) in snd_opl4_update_vibrato_depth()
412 depth = (depth >> 7) + voice->sound->vibrato; in snd_opl4_update_vibrato_depth()
414 voice->reg_lfo_vibrato |= depth & OPL4_VIBRATO_DEPTH_MASK; in snd_opl4_update_vibrato_depth()
/linux-4.4.14/drivers/media/platform/s3c-camif/
Dcamif-core.c51 .depth = 16,
60 .depth = 12,
69 .depth = 12,
78 .depth = 16,
87 .depth = 32,
96 .depth = 32,
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-video.c108 .depth = 8,
113 .depth = 16,
118 .depth = 16,
124 .depth = 16,
129 .depth = 16,
135 .depth = 24,
140 .depth = 24,
146 .depth = 32,
151 .depth = 32,
158 .depth = 16,
[all …]
/linux-4.4.14/arch/microblaze/boot/dts/
Dsystem.dts154 xlnx,mch0-accessbuf-depth = <0x10>;
156 xlnx,mch0-rddatabuf-depth = <0x10>;
157 xlnx,mch1-accessbuf-depth = <0x10>;
159 xlnx,mch1-rddatabuf-depth = <0x10>;
160 xlnx,mch2-accessbuf-depth = <0x10>;
162 xlnx,mch2-rddatabuf-depth = <0x10>;
163 xlnx,mch3-accessbuf-depth = <0x10>;
165 xlnx,mch3-rddatabuf-depth = <0x10>;
/linux-4.4.14/arch/powerpc/boot/dts/
Dvirtex440-ml507.dts191 xlnx,mch0-accessbuf-depth = <0x10>;
193 xlnx,mch0-rddatabuf-depth = <0x10>;
194 xlnx,mch1-accessbuf-depth = <0x10>;
196 xlnx,mch1-rddatabuf-depth = <0x10>;
197 xlnx,mch2-accessbuf-depth = <0x10>;
199 xlnx,mch2-rddatabuf-depth = <0x10>;
200 xlnx,mch3-accessbuf-depth = <0x10>;
202 xlnx,mch3-rddatabuf-depth = <0x10>;
Dvirtex440-ml510.dts162 xlnx,mch0-accessbuf-depth = <0x10>;
164 xlnx,mch0-rddatabuf-depth = <0x10>;
165 xlnx,mch1-accessbuf-depth = <0x10>;
167 xlnx,mch1-rddatabuf-depth = <0x10>;
168 xlnx,mch2-accessbuf-depth = <0x10>;
170 xlnx,mch2-rddatabuf-depth = <0x10>;
171 xlnx,mch3-accessbuf-depth = <0x10>;
173 xlnx,mch3-rddatabuf-depth = <0x10>;
/linux-4.4.14/lib/zlib_deflate/
Ddeftree.c361 #define smaller(tree, n, m, depth) \ argument
363 (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m]))
382 smaller(tree, s->heap[j+1], s->heap[j], s->depth)) { in pqdownheap()
386 if (smaller(tree, v, s->heap[j], s->depth)) break; in pqdownheap()
559 s->depth[n] = 0; in build_tree()
573 s->depth[node] = 0; in build_tree()
597 s->depth[node] = (uch) (max(s->depth[n], s->depth[m]) + 1); in build_tree()
/linux-4.4.14/Documentation/scsi/
Daic7xxx.txt257 Definition: Global tag depth for all targets on all busses.
258 This option sets the default tag depth which
265 Definition: Set the per-target tagged queue depth on a
268 the default tag depth.
271 specifies a tag depth of 16 for target 0
272 specifies a tag depth of 64 for target 3
273 specifies a tag depth of 8 for targets 4 and 5
275 specifies a tag depth of 32 for targets 1,2,7-15
276 All other targets retain the default depth.
280 specifies a tag depth of 32 for targets 0 and 2
[all …]
Daic79xx.txt165 high tag depth write loads.
260 Definition: Global tag depth for all targets on all busses.
261 This option sets the default tag depth which
268 Definition: Set the per-target tagged queue depth on a
271 the default tag depth.
274 specifies a tag depth of 16 for target 0
275 specifies a tag depth of 64 for target 3
276 specifies a tag depth of 8 for targets 4 and 5
278 specifies a tag depth of 32 for targets 1,2,7-15
279 All other targets retain the default depth.
[all …]
/linux-4.4.14/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c451 enum edp_color_depth depth; in edp_config_ctrl() local
458 depth = EDP_6BIT; in edp_config_ctrl()
460 depth = EDP_8BIT; in edp_config_ctrl()
462 data |= EDP_CONFIGURATION_CTRL_COLOR(depth); in edp_config_ctrl()
830 enum edp_color_depth depth; in edp_clock_synchrous() local
840 depth = EDP_6BIT; /* Default */ in edp_clock_synchrous()
842 depth = EDP_8BIT; in edp_clock_synchrous()
844 depth = EDP_10BIT; in edp_clock_synchrous()
846 depth = EDP_12BIT; in edp_clock_synchrous()
848 depth = EDP_16BIT; in edp_clock_synchrous()
[all …]
/linux-4.4.14/drivers/media/pci/cx25821/
Dcx25821-video.c55 .depth = 12,
60 .depth = 16,
150 unsigned size = (chan->fmt->depth * chan->width * chan->height) >> 3; in cx25821_queue_setup()
174 buf->bpl = (chan->fmt->depth * chan->width) >> 3; in cx25821_buffer_prepare()
176 buf->bpl = (chan->fmt->depth >> 3) * chan->width; in cx25821_buffer_prepare()
237 chan->fmt->depth, chan->fmt->name, in cx25821_buffer_prepare()
346 f->fmt.pix.bytesperline = (chan->width * chan->fmt->depth) >> 3; in cx25821_vidioc_g_fmt_vid_cap()
384 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in cx25821_vidioc_try_fmt_vid_cap()
571 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in cx25821_vidioc_try_fmt_vid_out()
/linux-4.4.14/Documentation/sound/alsa/
DAudiophile-Usb.txt37 * sample depth of 16 or 24 bits
91 24bit-depth-mode and immediately after wants to switch to a 16bit-depth mode,
109 supported audio format are S16_BE for 16-bit depth modes and S24_3BE for
110 24-bits depth mode.
147 * the sample depth
251 to another mode (possibly with another sample-depth), please use also the following
289 * b3 is the bit depth selection flag
342 - 24-bit depth, 48.1-96kHz sample mode
345 - 24-bit depth, 8-48kHz sample mode
348 - 24-bit depth, 8-48kHz sample mode
[all …]
/linux-4.4.14/kernel/irq/
Dpm.c22 desc->depth++; in irq_pm_check_wakeup()
151 desc->depth++; in resume_irq()
Ddebug.h15 irq, desc, desc->depth, desc->irq_count, desc->irqs_unhandled); in print_irq_desc()
/linux-4.4.14/arch/arm/mach-pxa/
Dvpac270.c485 .depth = 18,
501 .depth = 16,
517 .depth = 16,
533 .depth = 16,
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_fb.c116 u32 bpp, depth; in radeonfb_create_pinned_object() local
118 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp); in radeonfb_create_pinned_object()
246 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); in radeonfb_create()
273 DRM_INFO("fb depth is %d\n", fb->depth); in radeonfb_create()
/linux-4.4.14/drivers/gpu/drm/cirrus/
Dcirrus_fbdev.c143 u32 bpp, depth; in cirrusfb_create_object() local
148 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp); in cirrusfb_create_object()
223 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); in cirrusfb_create()
243 DRM_INFO("fb depth is %d\n", fb->depth); in cirrusfb_create()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fb.c116 u32 bpp, depth; in amdgpufb_create_pinned_object() local
118 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp); in amdgpufb_create_pinned_object()
227 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); in amdgpufb_create()
254 DRM_INFO("fb depth is %d\n", fb->depth); in amdgpufb_create()
/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-video.c84 .depth = 8,
90 .depth = 16,
96 .depth = 16,
102 .depth = 16,
108 .depth = 16,
114 .depth = 24,
120 .depth = 32,
126 .depth = 32,
132 .depth = 16,
138 .depth = 16,
[all …]
/linux-4.4.14/drivers/media/platform/s5p-g2d/
Dg2d.c38 .depth = 32,
44 .depth = 16,
50 .depth = 16,
56 .depth = 16,
62 .depth = 24,
333 f->fmt.pix.bytesperline = (frm->width * frm->fmt->depth) >> 3; in vidioc_g_fmt()
363 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in vidioc_try_fmt()
720 def_frame.stride = (def_frame.width * def_frame.fmt->depth) >> 3; in g2d_probe()
/linux-4.4.14/drivers/md/
Ddm-table.c36 unsigned int depth; member
106 for (; l < t->depth - 1; l++) in high()
237 if (t->depth >= 2) in dm_table_destroy()
238 vfree(t->index[t->depth - 2]); in dm_table_destroy()
988 for (i = t->depth - 2; i >= 0; i--) { in setup_indexes()
998 for (i = t->depth - 2; i >= 0; i--) { in setup_indexes()
1017 t->depth = 1 + int_log(leaf_nodes, CHILDREN_PER_NODE); in dm_table_build_index()
1020 t->counts[t->depth - 1] = leaf_nodes; in dm_table_build_index()
1021 t->index[t->depth - 1] = t->highs; in dm_table_build_index()
1023 if (t->depth >= 2) in dm_table_build_index()
[all …]
/linux-4.4.14/fs/hfs/
Dbtree.h33 unsigned int depth; member
139 __be16 depth; /* (V) The number of levels in this B-tree */ member
Dbtree.c92 tree->depth = be16_to_cpu(head->depth); in hfs_btree_open()
180 head->depth = cpu_to_be16(tree->depth); in hfs_btree_write()
/linux-4.4.14/arch/arm/mach-exynos/
Dmfc.h14 int depth, void *data);
/linux-4.4.14/drivers/xen/xenbus/
Dxenbus_client.c184 enum xenbus_state state, int depth) in __xenbus_switch_state() argument
211 xenbus_switch_fatal(dev, depth, err, "starting transaction"); in __xenbus_switch_state()
221 xenbus_switch_fatal(dev, depth, err, "writing new state"); in __xenbus_switch_state()
231 xenbus_switch_fatal(dev, depth, err, "ending transaction"); in __xenbus_switch_state()
355 static void xenbus_switch_fatal(struct xenbus_device *dev, int depth, int err, in xenbus_switch_fatal() argument
364 if (!depth) in xenbus_switch_fatal()
/linux-4.4.14/arch/arm/boot/dts/
Dexynos5410.dtsi166 fifo-depth = <0x80>;
178 fifo-depth = <0x80>;
190 fifo-depth = <0x80>;
Dzx296702.dtsi114 fifo-depth = <32>;
127 fifo-depth = <32>;
Dzynq-7000.dtsi83 tx-fifo-depth = <0x40>;
84 rx-fifo-depth = <0x40>;
95 tx-fifo-depth = <0x40>;
96 rx-fifo-depth = <0x40>;
Dsocfpga_arria10.dtsi414 tx-fifo-depth = <4096>;
415 rx-fifo-depth = <16384>;
433 tx-fifo-depth = <4096>;
434 rx-fifo-depth = <16384>;
452 tx-fifo-depth = <4096>;
453 rx-fifo-depth = <16384>;
591 fifo-depth = <0x400>;
Dexynos5260.dtsi283 fifo-depth = <64>;
295 fifo-depth = <64>;
307 fifo-depth = <64>;
/linux-4.4.14/drivers/video/fbdev/intelfb/
Dintelfbdrv.c1130 dinfo->depth = intelfb_var_to_depth(var); in update_dinfo()
1390 DBG_MSG("intelfb_setcolreg: regno %d, depth %d\n", regno, dinfo->depth); in intelfb_setcolreg()
1396 if (dinfo->depth == 8) { in intelfb_setcolreg()
1406 switch (dinfo->depth) { in intelfb_setcolreg()
1473 if (!ACCEL(dinfo, info) || dinfo->depth == 4) { in intelfb_fillrect()
1483 if (dinfo->depth != 8) in intelfb_fillrect()
1503 if (!ACCEL(dinfo, info) || dinfo->depth == 4) { in intelfb_copyarea()
1523 if (!ACCEL(dinfo, info) || dinfo->depth == 4 in intelfb_imageblit()
1524 || image->depth != 1) { in intelfb_imageblit()
1529 if (dinfo->depth != 8) { in intelfb_imageblit()
[all …]
/linux-4.4.14/arch/tile/kernel/
Dirq.c76 int depth = __this_cpu_inc_return(irq_depth); in tile_dev_intr() local
132 if (depth == 1) in tile_dev_intr()
/linux-4.4.14/sound/pci/hda/
Dhda_generic.c256 return find_idx_in_nid_list(nid, path->path, path->depth) >= 0; in is_nid_contained()
268 if (path->depth <= 0) in get_nid_path()
271 (!to_nid || path->path[path->depth - 1] == to_nid)) { in get_nid_path()
394 for (i = 0; i < path->depth; i++) in print_nid_path()
399 codec_dbg(codec, "%s path: depth=%d '%s'\n", pfx, path->depth, buf); in print_nid_path()
406 int depth) in __parse_nid_path() argument
431 if (depth >= MAX_NID_PATH_DEPTH) in __parse_nid_path()
440 anchor_nid, path, depth + 1)) in __parse_nid_path()
446 path->path[path->depth] = conn[i]; in __parse_nid_path()
447 path->idx[path->depth + 1] = i; in __parse_nid_path()
[all …]
/linux-4.4.14/Documentation/ABI/testing/
Dconfigfs-usb-gadget-loopback7 qlen - depth of loopback queue
/linux-4.4.14/net/bridge/
Dbr_forward.c52 int depth; in br_dev_queue_push_xmit() local
54 if (!__vlan_get_protocol(skb, skb->protocol, &depth)) in br_dev_queue_push_xmit()
57 skb_set_network_header(skb, depth); in br_dev_queue_push_xmit()
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c578 regp->CRTC[NV_CIO_CRE_PIXEL_INDEX] = (crtc->primary->fb->depth + 1) / 8; in nv_crtc_mode_set_regs()
592 if (crtc->primary->fb->depth == 16) in nv_crtc_mode_set_regs()
813 nv_crtc->lut.depth = 0; in nv_crtc_gamma_set()
854 if (nv_crtc->lut.depth != drm_fb->depth) { in nv04_crtc_do_mode_set_base()
855 nv_crtc->lut.depth = drm_fb->depth; in nv04_crtc_do_mode_set_base()
861 regp->CRTC[NV_CIO_CRE_PIXEL_INDEX] |= (crtc->primary->fb->depth + 1) / 8; in nv04_crtc_do_mode_set_base()
863 if (crtc->primary->fb->depth == 16) in nv04_crtc_do_mode_set_base()
1121 nv_crtc->lut.depth = 0; in nv04_crtc_create()
/linux-4.4.14/drivers/gpu/drm/gma500/
Dframebuffer.c247 u32 bpp, depth; in psb_framebuffer_init() local
250 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp); in psb_framebuffer_init()
349 u32 bpp, depth; in psbfb_create() local
356 depth = sizes->surface_depth; in psbfb_create()
418 mode_cmd.pixel_format = drm_mode_legacy_fb_format(bpp, depth); in psbfb_create()
429 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); in psbfb_create()
/linux-4.4.14/fs/hfsplus/
Dbtree.c176 tree->depth = be16_to_cpu(head->depth); in hfs_btree_open()
303 head->depth = cpu_to_be16(tree->depth); in hfs_btree_write()
/linux-4.4.14/drivers/gpu/drm/rockchip/
Drockchip_drm_fbdev.c100 drm_fb_helper_fill_fix(fbi, fb->pitches[0], fb->depth); in rockchip_drm_fbdev_create()
112 fb->width, fb->height, fb->depth, rk_obj->kvaddr, in rockchip_drm_fbdev_create()
/linux-4.4.14/arch/arm/kernel/
Dftrace.c212 trace.depth = current->curr_ret_stack + 1; in prepare_ftrace_return()
220 err = ftrace_push_return_trace(old, self_addr, &trace.depth, in prepare_ftrace_return()
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dfsl,esai.txt31 - fsl,fifo-depth : The number of elements in the transmit and receive
54 fsl,fifo-depth = <128>;
/linux-4.4.14/arch/arm64/boot/dts/xilinx/
Dzynqmp.dtsi107 tx-fifo-depth = <0x40>;
108 rx-fifo-depth = <0x40>;
119 tx-fifo-depth = <0x40>;
120 rx-fifo-depth = <0x40>;
/linux-4.4.14/include/trace/events/
Dblock.h507 TP_PROTO(struct request_queue *q, unsigned int depth, bool explicit),
509 TP_ARGS(q, depth, explicit),
517 __entry->nr_rq = depth;
535 TP_PROTO(struct request_queue *q, unsigned int depth, bool explicit),
537 TP_ARGS(q, depth, explicit)
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dhtc.h666 int depth = 0; in get_queue_depth() local
669 depth++; in get_queue_depth()
671 return depth; in get_queue_depth()
/linux-4.4.14/arch/arm/mach-s5pv210/
Ds5pv210.c26 int depth, void *data) in s5pv210_fdt_map_sys() argument
/linux-4.4.14/Documentation/devicetree/bindings/display/
Dwm,wm8505-fb.txt7 - bits-per-pixel : bit depth of framebuffer (16 or 32)
Dvia,vt8500-fb.txt8 - bits-per-pixel : bit depth of framebuffer (16 or 32)
/linux-4.4.14/arch/x86/boot/
Dvideo-vesa.c80 mi->depth = 0; /* text */ in vesa_probe()
95 mi->depth = vminfo.bpp; in vesa_probe()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_fb_helper.c1013 if (fb->depth == 16 && regno > 63) in setcolreg()
1015 if (fb->depth == 15 && regno > 31) in setcolreg()
1018 if (fb->depth == 16) { in setcolreg()
1038 if (fb->depth != 16) in setcolreg()
1110 int depth; in drm_fb_helper_check_var() local
1129 depth = (var->green.length == 6) ? 16 : 15; in drm_fb_helper_check_var()
1132 depth = (var->transp.length > 0) ? 32 : 24; in drm_fb_helper_check_var()
1135 depth = var->bits_per_pixel; in drm_fb_helper_check_var()
1139 switch (depth) { in drm_fb_helper_check_var()
1490 uint32_t depth) in drm_fb_helper_fill_fix() argument
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_crtc.h70 int depth; member
/linux-4.4.14/arch/nios2/kernel/
Dprom.c70 const char *uname, int depth, void *data) in early_init_dt_scan_serial() argument
/linux-4.4.14/drivers/staging/sm750fb/
DTODO5 - Implement hardware acceleration for imageblit if image->depth > 1
/linux-4.4.14/Documentation/devicetree/bindings/display/exynos/
Dexynos_dp.txt43 -samsung,color-depth:
94 samsung,color-depth = <1>;
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_fb.c170 u32 bpp, depth; in astfb_create_object() local
175 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp); in astfb_create_object()
244 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); in astfb_create()
/linux-4.4.14/net/ipv4/
Dinet_fragment.c405 int depth = 0; in inet_frag_find() local
420 depth++; in inet_frag_find()
424 if (depth <= INETFRAGS_MAXDEPTH) in inet_frag_find()

1234