Home
last modified time | relevance | path

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

123

/linux-4.1.27/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()
/linux-4.1.27/fs/ext4/
Dextents.c181 int depth = path->p_depth; in ext4_ext_find_goal() local
201 ex = path[depth].p_ext; in ext4_ext_find_goal()
214 if (path[depth].p_bh) in ext4_ext_find_goal()
215 return path[depth].p_bh->b_blocknr; in ext4_ext_find_goal()
354 ext4_ext_max_entries(struct inode *inode, int depth) in ext4_ext_max_entries() argument
358 if (depth == ext_depth(inode)) { in ext4_ext_max_entries()
359 if (depth == 0) in ext4_ext_max_entries()
364 if (depth == 0) in ext4_ext_max_entries()
395 int depth) in ext4_valid_extent_entries() argument
403 if (depth == 0) { in ext4_valid_extent_entries()
[all …]
Dindirect.c142 static Indirect *ext4_get_branch(struct inode *inode, int depth, in ext4_get_branch() argument
156 while (--depth) { in ext4_get_branch()
524 int depth; in ext4_ind_map_blocks() local
531 depth = ext4_block_to_path(inode, map->m_lblk, offsets, in ext4_ind_map_blocks()
534 if (depth == 0) in ext4_ind_map_blocks()
537 partial = ext4_get_branch(inode, depth, offsets, chain, &err); in ext4_ind_map_blocks()
541 first_block = le32_to_cpu(chain[depth - 1].key); in ext4_ind_map_blocks()
547 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext4_ind_map_blocks()
583 indirect_blks = (chain + depth) - partial - 1; in ext4_ind_map_blocks()
616 map->m_pblk = le32_to_cpu(chain[depth-1].key); in ext4_ind_map_blocks()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/xtensa/oprofile/
Dbacktrace.c29 static void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth) in xtensa_backtrace_user() argument
61 for (index = WSBITS - 1; (index > 0) && depth; depth--, index--) in xtensa_backtrace_user()
82 if (depth > 0) { in xtensa_backtrace_user()
85 while (a0 != 0 && depth--) { in xtensa_backtrace_user()
114 static void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth) in xtensa_backtrace_kernel() argument
131 while (a1 > sp_start && a1 < sp_end && depth--) { in xtensa_backtrace_kernel()
144 return xtensa_backtrace_user(regs, depth); in xtensa_backtrace_kernel()
163 void xtensa_backtrace(struct pt_regs * const regs, unsigned int depth) in xtensa_backtrace() argument
166 xtensa_backtrace_user(regs, depth); in xtensa_backtrace()
168 xtensa_backtrace_kernel(regs, depth); in xtensa_backtrace()
Dinit.c15 extern void xtensa_backtrace(struct pt_regs *const regs, unsigned int depth);
/linux-4.1.27/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()
119 unsigned int depth, users; in hctx_may_queue() local
129 if (bt->depth == 1) in hctx_may_queue()
139 depth = max((bt->depth + users - 1) / users, 4U); in hctx_may_queue()
140 return atomic_read(&hctx->nr_active) < depth; in hctx_may_queue()
149 tag = find_next_zero_bit(&bm->word, bm->depth, last_tag); in __bt_get_word()
150 if (unlikely(tag >= bm->depth)) { in __bt_get_word()
167 if (last_tag >= bm->depth - 1) in __bt_get_word()
230 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
58 extern int blk_mq_tag_update_depth(struct blk_mq_tags *tags, unsigned int depth);
Dblk-mq.c746 bit = find_next_bit(&bm->word, bm->depth, bit); in flush_busy_ctxs()
747 if (bit >= bm->depth) in flush_busy_ctxs()
1059 int depth, in blk_mq_insert_requests() argument
1066 trace_block_unplug(q, depth, !from_schedule); in blk_mq_insert_requests()
1110 unsigned int depth; in blk_mq_flush_plug_list() local
1118 depth = 0; in blk_mq_flush_plug_list()
1127 &ctx_list, depth, in blk_mq_flush_plug_list()
1133 depth = 0; in blk_mq_flush_plug_list()
1136 depth++; in blk_mq_flush_plug_list()
1145 blk_mq_insert_requests(this_q, this_ctx, &ctx_list, depth, in blk_mq_flush_plug_list()
[all …]
/linux-4.1.27/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.1.27/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.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dcommonring.c52 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument
55 commonring->depth = depth; in brcmf_commonring_config()
96 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_write_available()
104 if (available > commonring->depth / 8) { in brcmf_commonring_write_available()
137 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write()
146 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write()
173 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write_multiple()
182 if (*alloced + commonring->w_ptr > commonring->depth) in brcmf_commonring_reserve_for_write_multiple()
183 *alloced = commonring->depth - commonring->w_ptr; in brcmf_commonring_reserve_for_write_multiple()
185 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,
67 #define brcmf_commonring_n_items(commonring) (commonring->depth)
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/scripts/dtc/libfdt/
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()
360 int offset, depth, namelen; in fdt_get_path() local
368 for (offset = 0, depth = 0; in fdt_get_path()
370 offset = fdt_next_node(fdt, offset, &depth)) { in fdt_get_path()
371 while (pdepth > depth) { in fdt_get_path()
[all …]
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()
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.1.27/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 …]
Dsuper.c251 int depth; in finish_unfinished() local
309 depth = reiserfs_write_unlock_nested(inode->i_sb); in finish_unfinished()
311 reiserfs_write_lock_nested(inode->i_sb, depth); in finish_unfinished()
2221 int depth; in reiserfs_write_dquot() local
2229 depth = reiserfs_write_unlock_nested(dquot->dq_sb); in reiserfs_write_dquot()
2231 reiserfs_write_lock_nested(dquot->dq_sb, depth); in reiserfs_write_dquot()
2244 int depth; in reiserfs_acquire_dquot() local
2252 depth = reiserfs_write_unlock_nested(dquot->dq_sb); in reiserfs_acquire_dquot()
2254 reiserfs_write_lock_nested(dquot->dq_sb, depth); in reiserfs_acquire_dquot()
2303 int depth; in reiserfs_write_info() local
[all …]
/linux-4.1.27/kernel/trace/
Dtrace_functions_graph.c49 int depth; member
115 ftrace_push_return_trace(unsigned long ret, unsigned long func, int *depth, in ftrace_push_return_trace() argument
169 *depth = current->curr_ret_stack; in ftrace_push_return_trace()
233 trace->depth = index; in ftrace_pop_return_trace()
323 if ((!(trace->depth || ftrace_graph_addr(trace->func)) || in trace_graph_entry()
324 ftrace_graph_ignore_irqs()) || (trace->depth < 0) || in trace_graph_entry()
325 (max_depth && trace->depth >= max_depth)) in trace_graph_entry()
370 .depth = 0, in __trace_graph_function()
374 .depth = 0, in __trace_graph_function()
787 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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/net/sunrpc/xprtrdma/
Dfrwr_ops.c22 unsigned int depth) in __frwr_init() argument
27 f->fr_mr = ib_alloc_fast_reg_mr(pd, depth); in __frwr_init()
30 f->fr_pgl = ib_alloc_fast_reg_page_list(device, depth); in __frwr_init()
66 int depth, delta; in frwr_op_open() local
83 depth = 7; in frwr_op_open()
91 depth += 2; /* FRMR reg + invalidate */ in frwr_op_open()
96 ep->rep_attr.cap.max_send_wr *= depth; in frwr_op_open()
98 cdata->max_requests = devattr->max_qp_wr / depth; in frwr_op_open()
102 depth; in frwr_op_open()
141 unsigned int depth = r_xprt->rx_ia.ri_max_frmr_depth; in frwr_op_init() local
[all …]
/linux-4.1.27/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.1.27/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.1.27/drivers/of/
Dfdt.c184 static int depth = 0; in unflatten_dt_node() local
337 old_depth = depth; in unflatten_dt_node()
338 *poffset = fdt_next_node(blob, *poffset, &depth); in unflatten_dt_node()
339 if (depth < 0) in unflatten_dt_node()
340 depth = 0; in unflatten_dt_node()
341 while (*poffset > 0 && depth > old_depth) in unflatten_dt_node()
533 int depth, void *data) in __fdt_scan_reserved_mem() argument
539 if (!found && depth == 1 && strcmp(uname, "reserved-memory") == 0) { in __fdt_scan_reserved_mem()
551 } else if (found && depth < 2) { in __fdt_scan_reserved_mem()
610 const char *uname, int depth, in of_scan_flat_dt() argument
[all …]
/linux-4.1.27/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.1.27/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.1.27/drivers/hwtracing/coresight/
Dcoresight-etb10.c96 u32 depth = 0; in etb_get_buffer_depth() local
103 depth = readl_relaxed(drvdata->base + ETB_RAM_DEPTH_REG); in etb_get_buffer_depth()
106 return depth; in etb_get_buffer_depth()
112 u32 depth; in etb_enable_hw() local
116 depth = drvdata->buffer_depth; in etb_enable_hw()
120 for (i = 0; i < depth; i++) in etb_enable_hw()
192 u32 read_data, depth; in etb_dump_hw() local
218 depth = drvdata->buffer_depth; in etb_dump_hw()
220 for (i = 0; i < depth; i++) { in etb_dump_hw()
299 u32 depth; in etb_read() local
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/include/linux/
Dof_fdt.h53 int depth, void *data),
63 int depth, void *data);
65 int depth, void *data);
75 int depth, void *data);
Dkmod.h90 extern int __usermodehelper_disable(enum umh_disable_depth depth);
91 extern void __usermodehelper_set_disable_depth(enum umh_disable_depth 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()
Dlinux_logo.h51 extern const struct linux_logo *fb_find_logo(int depth);
/linux-4.1.27/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.1.27/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.1.27/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 },
388 unsigned int size = (wh * fmt->depth[i]) / 8; in queue_setup()
701 plane_fmt->bytesperline = (frame->f_width * fmt->depth[0]) / 8; in fimc_lite_g_fmt_mplane()
743 if ((bpl == 0 || ((bpl * 8) / fmt->depth[0]) < pixm->width)) in fimc_lite_try_fmt()
[all …]
/linux-4.1.27/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>;
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.1.27/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.1.27/drivers/gpu/drm/vmwgfx/
Dsvga3d_surfacedefs.h196 type depth; \
747 size.depth = max_t(u32, base_level.depth >> mip_level, 1); in svga3dsurface_get_mip_size()
760 block_size->depth = DIV_ROUND_UP(pixel_size->depth, in svga3dsurface_get_size_in_blocks()
761 desc->block_size.depth); in svga3dsurface_get_size_in_blocks()
819 total_size = clamped_umul32(total_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size()
828 total_size = clamped_umul32(slice_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size()
871 const u32 bd = desc->block_size.depth; in svga3dsurface_get_pixel_offset()
Dvmwgfx_fb.c48 unsigned depth; member
80 switch (par->depth) { in vmw_fb_setcolreg()
88 DRM_ERROR("Bad depth %u, bpp %u.\n", par->depth, par->bpp); in vmw_fb_setcolreg()
98 int depth = var->bits_per_pixel; in vmw_fb_check_var() local
104 depth = (var->transp.length > 0) ? 32 : 24; in vmw_fb_check_var()
111 switch (depth) { in vmw_fb_check_var()
133 DRM_ERROR("Bad depth %u.\n", depth); in vmw_fb_check_var()
169 par->bpp, par->depth); in vmw_fb_set_par()
448 par->depth = fb_depth; in vmw_fb_init()
Dvmwgfx_kms.c676 surface->base_size.depth != 1)) { in vmw_kms_new_framebuffer_surface()
682 switch (mode_cmd->depth) { in vmw_kms_new_framebuffer_surface()
699 DRM_ERROR("Invalid color depth: %d\n", mode_cmd->depth); in vmw_kms_new_framebuffer_surface()
723 vfbs->base.base.depth = mode_cmd->depth; in vmw_kms_new_framebuffer_surface()
813 int depth = framebuffer->base.depth; in do_dmabuf_define_gmrfb() local
826 if (depth == 32) in do_dmabuf_define_gmrfb()
827 depth = 24; in do_dmabuf_define_gmrfb()
839 cmd->body.format.colorDepth = depth; in do_dmabuf_define_gmrfb()
1061 switch (mode_cmd->depth) { in vmw_kms_new_framebuffer_dmabuf()
1069 mode_cmd->depth, mode_cmd->bpp); in vmw_kms_new_framebuffer_dmabuf()
[all …]
/linux-4.1.27/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.1.27/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.c303 const char *uname, int depth, in early_init_dt_scan_cpus() argument
400 int depth, void *data) in early_init_dt_scan_chosen_ppc() argument
405 if (early_init_dt_scan_chosen(node, uname, depth, data) == 0) in early_init_dt_scan_chosen_ppc()
526 int depth, void *data) in early_init_dt_scan_memory_ppc() argument
528 if (depth == 1 && in early_init_dt_scan_memory_ppc()
532 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.1.27/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.1.27/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.c404 static void set_aperture(struct pm2fb_par *p, u32 depth) in set_aperture() argument
415 switch (depth) { in set_aperture()
693 u32 depth = (info->var.bits_per_pixel + 7) & ~7; in pm2fb_set_par() local
713 depth = (depth > 32) ? 32 : depth; in pm2fb_set_par()
714 data64 = depth > 8 || par->type == PM2_TYPE_PERMEDIA2V; in pm2fb_set_par()
722 hsstart = to3264(info->var.right_margin, depth, data64); in pm2fb_set_par()
723 hsend = hsstart + to3264(info->var.hsync_len, depth, data64); in pm2fb_set_par()
724 hbend = hsend + to3264(info->var.left_margin, depth, data64); in pm2fb_set_par()
725 htotal = to3264(xres, depth, data64) + hbend - 1; in pm2fb_set_par()
733 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()
Datafb.c2628 if (image->depth == 1) { in atafb_imageblit()
2814 int xres, xres_virtual, yres, depth, planes; in atafb_setup_ext() local
2845 depth = simple_strtoul(p, NULL, 10); in atafb_setup_ext()
2846 if (depth != 1 && depth != 2 && depth != 4 && depth != 8 && in atafb_setup_ext()
2847 depth != 16 && depth != 24) in atafb_setup_ext()
2871 len = xres * yres * depth / 8; in atafb_setup_ext()
2901 if (xres_virtual * yres * depth / 8 > len) in atafb_setup_ext()
2902 len = xres_virtual * yres * depth / 8; in atafb_setup_ext()
2908 external_depth = depth; in atafb_setup_ext()
3007 int xres, yres, depth, temp; in atafb_setup_user() local
[all …]
/linux-4.1.27/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.c91 if (image->depth == 1) in qxl_fb_image_init()
128 image->depth = 32; /* TODO: take from somewhere? */ in qxl_fb_dirty_flush()
227 …uint32_t size = fb_image->width * fb_image->height * (fb_image->depth >= 8 ? fb_image->depth / 8 :… in qxl_fb_delayed_imageblit()
455 int depth; in qxlfb_create_pinned_object() local
457 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &bpp, &depth); in qxlfb_create_pinned_object()
514 int depth = sizes->surface_depth; in qxlfb_create() local
521 mode_cmd.pixel_format = drm_mode_legacy_fb_format(bpp, depth); in qxlfb_create()
557 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); in qxlfb_create()
603 …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.1.27/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.1.27/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.1.27/drivers/gpu/drm/sti/
Dsti_mixer.c106 int layer_id = 0, depth = layer->zorder; in sti_mixer_set_layer_depth() local
109 if (depth >= GAM_MIXER_NB_DEPTH_LEVEL) in sti_mixer_set_layer_depth()
139 mask = GAM_DEPTH_MASK_ID << (3 * depth); in sti_mixer_set_layer_depth()
140 layer_id = layer_id << (3 * depth); in sti_mixer_set_layer_depth()
143 sti_layer_to_str(layer), depth); in sti_mixer_set_layer_depth()
/linux-4.1.27/arch/powerpc/include/asm/
Dbtext.h12 int depth, int pitch);
13 extern void btext_setup_display(int width, int height, int depth, int pitch,
Doprofile_impl.h136 extern void op_powerpc_backtrace(struct pt_regs * const regs, unsigned int depth);
/linux-4.1.27/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.1.27/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.c226 BFA_MSGQ_INDX_ADD(cmdq->producer_index, 1, cmdq->depth); in __cmd_copy()
312 cmdq->depth = BFA_MSGQ_CMDQ_NUM_ENTRY; in bfa_msgq_cmdq_attach()
491 rspq->depth); in bfa_msgq_rspq_pi_update()
500 rspq->depth = BFA_MSGQ_RSPQ_NUM_ENTRY; in bfa_msgq_rspq_attach()
525 msgq_cfg->cmdq.q_depth = htons(msgq->cmdq.depth); in bfa_msgq_init()
527 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.1.27/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.h114 u32 depth; member
149 int depth; member
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_dpi.c222 unsigned int depth; in of_graph_get_remote_port_parent() local
227 for (depth = 3; depth && np; depth--) { in of_graph_get_remote_port_parent()
229 if (depth == 2 && of_node_cmp(np->name, "ports")) in of_graph_get_remote_port_parent()
/linux-4.1.27/drivers/video/fbdev/matrox/
Dmatroxfb_base.c1265 static int depth = -1; /* "matroxfb:depth:xxxxx" */ variable
1795 vesafb_defined.red = colors[depth-1].red; in initMatrox2()
1796 vesafb_defined.green = colors[depth-1].green; in initMatrox2()
1797 vesafb_defined.blue = colors[depth-1].blue; in initMatrox2()
1798 vesafb_defined.bits_per_pixel = colors[depth-1].bits_per_pixel; in initMatrox2()
2303 if (depth == -1) in matroxfb_init_params()
2304 depth = RSDepth(RSptr->info); in matroxfb_init_params()
2344 case 0: depth = RSText; break; in matroxfb_setup()
2345 case 4: depth = RS4bpp; break; in matroxfb_setup()
2346 case 8: depth = RS8bpp; break; in matroxfb_setup()
[all …]
/linux-4.1.27/fs/ext2/
Dinode.c231 int depth, in ext2_get_branch() argument
245 while (--depth) { in ext2_get_branch()
629 int depth; in ext2_get_blocks() local
636 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext2_get_blocks()
638 if (depth == 0) in ext2_get_blocks()
641 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
644 first_block = le32_to_cpu(chain[depth - 1].key); in ext2_get_blocks()
651 if (!verify_chain(chain, chain + depth - 1)) { in ext2_get_blocks()
662 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext2_get_blocks()
694 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
[all …]
/linux-4.1.27/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.c85 int depth; member
94 .depth = 16,
101 .depth = 16,
217 bytesperline = (q_data->width * q_data->fmt->depth) >> 3; in device_process()
232 tile_w = (width * (q_data[V4L2_M2M_DST].fmt->depth >> 3)) in device_process()
497 f->fmt.pix.bytesperline = (q_data->width * q_data->fmt->depth) >> 3; in vidioc_g_fmt()
531 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in vidioc_try_fmt()
605 * q_data->fmt->depth >> 3; in vidioc_s_fmt()
725 size = q_data->width * q_data->height * q_data->fmt->depth >> 3; in vim2m_queue_setup()
911 (ctx->q_data[V4L2_M2M_SRC].fmt->depth >> 3); in vim2m_open()
Dfsl-viu.c101 int depth; member
109 .depth = 16,
114 .depth = 32,
407 *size = fh->width * fh->height * fh->fmt->depth >> 3; in buffer_setup()
449 bpp = buf->fmt->depth >> 3; in buffer_activate()
498 buf->vb.size = (fh->width * fh->height * fh->fmt->depth) >> 3; in buffer_prepare()
638 (f->fmt.pix.width * fh->fmt->depth) >> 3; in vidioc_g_fmt_cap()
680 (f->fmt.pix.width * fmt->depth) >> 3; in vidioc_try_fmt_cap()
777 bpp = dev->ovfmt->depth / 8; in viu_setup_preview()
884 dev->ovbuf.fmt.width * fmt->depth / 8; in vidioc_s_fbuf()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
Dbase.c70 nvkm_ltc_zbc_depth_get(struct nvkm_ltc *ltc, int index, const u32 depth) in nvkm_ltc_zbc_depth_get() argument
74 priv->zbc_depth[index] = depth; in nvkm_ltc_zbc_depth_get()
75 impl->zbc_clear_depth(priv, index, depth); in nvkm_ltc_zbc_depth_get()
Dgm107.c58 gm107_ltc_zbc_clear_depth(struct nvkm_ltc_priv *priv, int i, const u32 depth) in gm107_ltc_zbc_clear_depth() argument
61 nv_wr32(priv, 0x17e34c, depth); in gm107_ltc_zbc_clear_depth()
Dgf100.c59 gf100_ltc_zbc_clear_depth(struct nvkm_ltc_priv *priv, int i, const u32 depth) in gf100_ltc_zbc_clear_depth() argument
62 nv_wr32(priv, 0x17ea58, depth); in gf100_ltc_zbc_clear_depth()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/include/scsi/
Dscsi_tcq.h55 static inline int scsi_init_shared_tag_map(struct Scsi_Host *shost, int depth) in scsi_init_shared_tag_map() argument
69 shost->bqt = blk_init_tags(depth, in scsi_init_shared_tag_map()
/linux-4.1.27/net/tipc/
Dnetlink_compat.c639 u32 depth; in tipc_nl_compat_name_table_dump_header() local
650 depth = ntohl(ntq->depth); in tipc_nl_compat_name_table_dump_header()
652 if (depth > 4) in tipc_nl_compat_name_table_dump_header()
653 depth = 4; in tipc_nl_compat_name_table_dump_header()
654 for (i = 0; i < depth; i++) in tipc_nl_compat_name_table_dump_header()
668 u32 node, depth, type, lowbound, upbound; in tipc_nl_compat_name_table_dump() local
680 depth = ntohl(ntq->depth); in tipc_nl_compat_name_table_dump()
685 if (!(depth & TIPC_NTQ_ALLTYPES) && in tipc_nl_compat_name_table_dump()
696 if (depth == 1) in tipc_nl_compat_name_table_dump()
703 if (depth == 2) in tipc_nl_compat_name_table_dump()
[all …]
/linux-4.1.27/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.1.27/drivers/video/fbdev/aty/
Daty128fb.c434 u32 depth, bpp; member
511 static u32 depth_to_dst(u32 depth);
775 (depth_to_dst(par->crtc.depth) << 8) | in aty128_init_engine()
809 static u32 depth_to_dst(u32 depth) in depth_to_dst() argument
811 if (depth <= 8) in depth_to_dst()
813 else if (depth <= 15) in depth_to_dst()
815 else if (depth == 16) in depth_to_dst()
817 else if (depth <= 24) in depth_to_dst()
819 else if (depth <= 32) in depth_to_dst()
1061 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()
/linux-4.1.27/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.1.27/kernel/
Dkmod.c425 void __usermodehelper_set_disable_depth(enum umh_disable_depth depth) in __usermodehelper_set_disable_depth() argument
428 usermodehelper_disabled = depth; in __usermodehelper_set_disable_depth()
439 int __usermodehelper_disable(enum umh_disable_depth depth) in __usermodehelper_disable() argument
443 if (!depth) in __usermodehelper_disable()
447 usermodehelper_disabled = depth; in __usermodehelper_disable()
/linux-4.1.27/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.c663 int scsi_change_queue_depth(struct scsi_device *sdev, int depth) in scsi_change_queue_depth() argument
667 if (depth <= 0) in scsi_change_queue_depth()
683 blk_queue_resize_tags(sdev->request_queue, depth) != 0) in scsi_change_queue_depth()
687 sdev->queue_depth = depth; in scsi_change_queue_depth()
714 int scsi_track_queue_full(struct scsi_device *sdev, int depth) in scsi_track_queue_full() argument
726 if (sdev->last_queue_full_depth != depth) { in scsi_track_queue_full()
728 sdev->last_queue_full_depth = depth; in scsi_track_queue_full()
736 return scsi_change_queue_depth(sdev, depth); in scsi_track_queue_full()
/linux-4.1.27/arch/arm64/kernel/
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()
Dacpi.c66 const char *uname, int depth, in dt_scan_depth1_nodes() argument
73 if (depth == 1 && (strcmp(uname, "chosen") != 0)) in dt_scan_depth1_nodes()
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/video/
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>;
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)
Dexynos_dp.txt43 -samsung,color-depth:
94 samsung,color-depth = <1>;
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/media/pci/saa7134/
Dsaa7134-video.c106 .depth = 8,
111 .depth = 16,
116 .depth = 16,
122 .depth = 16,
127 .depth = 16,
133 .depth = 24,
138 .depth = 24,
144 .depth = 32,
149 .depth = 32,
156 .depth = 16,
[all …]
/linux-4.1.27/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.1.27/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.1.27/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c464 enum edp_color_depth depth; in edp_config_ctrl() local
471 depth = EDP_6BIT; in edp_config_ctrl()
473 depth = EDP_8BIT; in edp_config_ctrl()
475 data |= EDP_CONFIGURATION_CTRL_COLOR(depth); in edp_config_ctrl()
843 enum edp_color_depth depth; in edp_clock_synchrous() local
853 depth = EDP_6BIT; /* Default */ in edp_clock_synchrous()
855 depth = EDP_8BIT; in edp_clock_synchrous()
857 depth = EDP_10BIT; in edp_clock_synchrous()
859 depth = EDP_12BIT; in edp_clock_synchrous()
861 depth = EDP_16BIT; in edp_clock_synchrous()
[all …]
/linux-4.1.27/drivers/media/pci/cx25821/
Dcx25821-video.c55 .depth = 12,
60 .depth = 16,
149 unsigned size = (chan->fmt->depth * chan->width * chan->height) >> 3; in cx25821_queue_setup()
172 buf->bpl = (chan->fmt->depth * chan->width) >> 3; in cx25821_buffer_prepare()
174 buf->bpl = (chan->fmt->depth >> 3) * chan->width; in cx25821_buffer_prepare()
235 chan->fmt->depth, chan->fmt->name, in cx25821_buffer_prepare()
342 f->fmt.pix.bytesperline = (chan->width * chan->fmt->depth) >> 3; in cx25821_vidioc_g_fmt_vid_cap()
380 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in cx25821_vidioc_try_fmt_vid_cap()
567 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in cx25821_vidioc_try_fmt_vid_out()
/linux-4.1.27/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.1.27/arch/s390/kernel/
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.1.27/kernel/irq/
Dpm.c22 desc->depth++; in irq_pm_check_wakeup()
148 desc->depth++; in resume_irq()
Ddebug.h15 irq, desc, desc->depth, desc->irq_count, desc->irqs_unhandled); in print_irq_desc()
/linux-4.1.27/arch/arm/mach-pxa/
Dvpac270.c485 .depth = 18,
501 .depth = 16,
517 .depth = 16,
533 .depth = 16,
/linux-4.1.27/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()
227 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); in cirrusfb_create()
259 DRM_INFO("fb depth is %d\n", fb->depth); in cirrusfb_create()
/linux-4.1.27/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.1.27/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()
984 for (i = t->depth - 2; i >= 0; i--) { in setup_indexes()
994 for (i = t->depth - 2; i >= 0; i--) { in setup_indexes()
1013 t->depth = 1 + int_log(leaf_nodes, CHILDREN_PER_NODE); in dm_table_build_index()
1016 t->counts[t->depth - 1] = leaf_nodes; in dm_table_build_index()
1017 t->index[t->depth - 1] = t->highs; in dm_table_build_index()
1019 if (t->depth >= 2) in dm_table_build_index()
[all …]
/linux-4.1.27/arch/arm/mach-exynos/
Dmfc.h14 int depth, void *data);
/linux-4.1.27/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.1.27/drivers/xen/xenbus/
Dxenbus_client.c179 enum xenbus_state state, int depth) in __xenbus_switch_state() argument
206 xenbus_switch_fatal(dev, depth, err, "starting transaction"); in __xenbus_switch_state()
216 xenbus_switch_fatal(dev, depth, err, "writing new state"); in __xenbus_switch_state()
226 xenbus_switch_fatal(dev, depth, err, "ending transaction"); in __xenbus_switch_state()
350 static void xenbus_switch_fatal(struct xenbus_device *dev, int depth, int err, in xenbus_switch_fatal() argument
359 if (!depth) in xenbus_switch_fatal()
/linux-4.1.27/arch/arm/boot/dts/
Dexynos5410.dtsi166 fifo-depth = <0x80>;
178 fifo-depth = <0x80>;
190 fifo-depth = <0x80>;
Dzynq-7000.dtsi83 tx-fifo-depth = <0x40>;
84 rx-fifo-depth = <0x40>;
95 tx-fifo-depth = <0x40>;
96 rx-fifo-depth = <0x40>;
Dexynos5260.dtsi283 fifo-depth = <64>;
295 fifo-depth = <64>;
307 fifo-depth = <64>;
/linux-4.1.27/drivers/video/fbdev/intelfb/
Dintelfbdrv.c1160 dinfo->depth = intelfb_var_to_depth(var); in update_dinfo()
1420 DBG_MSG("intelfb_setcolreg: regno %d, depth %d\n", regno, dinfo->depth); in intelfb_setcolreg()
1426 if (dinfo->depth == 8) { in intelfb_setcolreg()
1436 switch (dinfo->depth) { in intelfb_setcolreg()
1503 if (!ACCEL(dinfo, info) || dinfo->depth == 4) { in intelfb_fillrect()
1513 if (dinfo->depth != 8) in intelfb_fillrect()
1533 if (!ACCEL(dinfo, info) || dinfo->depth == 4) { in intelfb_copyarea()
1553 if (!ACCEL(dinfo, info) || dinfo->depth == 4 in intelfb_imageblit()
1554 || image->depth != 1) { in intelfb_imageblit()
1559 if (dinfo->depth != 8) { in intelfb_imageblit()
[all …]
/linux-4.1.27/drivers/acpi/acpica/
Dexdump.c606 void acpi_ex_dump_operand(union acpi_operand_object *obj_desc, u32 depth) in acpi_ex_dump_operand() argument
644 if (depth > 0) { in acpi_ex_dump_operand()
646 depth, " ", depth, obj_desc)); in acpi_ex_dump_operand()
750 depth + 1); in acpi_ex_dump_operand()
802 acpi_ex_dump_operand(obj_desc->field.region_obj, depth + 1); in acpi_ex_dump_operand()
824 depth + 1); in acpi_ex_dump_operand()
/linux-4.1.27/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.1.27/drivers/gpu/drm/radeon/
Dradeon_fb.c146 u32 bpp, depth; in radeonfb_create_pinned_object() local
148 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp); in radeonfb_create_pinned_object()
277 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); in radeonfb_create()
315 DRM_INFO("fb depth is %d\n", fb->depth); in radeonfb_create()
/linux-4.1.27/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.1.27/Documentation/ABI/testing/
Dconfigfs-usb-gadget-loopback7 qlen - depth of loopback queue
/linux-4.1.27/drivers/media/platform/s5p-g2d/
Dg2d.c38 .depth = 32,
44 .depth = 16,
50 .depth = 16,
56 .depth = 16,
62 .depth = 24,
332 f->fmt.pix.bytesperline = (frm->width * frm->fmt->depth) >> 3; in vidioc_g_fmt()
362 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in vidioc_try_fmt()
719 def_frame.stride = (def_frame.width * def_frame.fmt->depth) >> 3; in g2d_probe()
/linux-4.1.27/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.1.27/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()
350 u32 bpp, depth; in psbfb_create() local
357 depth = sizes->surface_depth; in psbfb_create()
419 mode_cmd.pixel_format = drm_mode_legacy_fb_format(bpp, depth); in psbfb_create()
431 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); in psbfb_create()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/fs/ext3/
Dinode.c410 static Indirect *ext3_get_branch(struct inode *inode, int depth, int *offsets, in ext3_get_branch() argument
422 while (--depth) { in ext3_get_branch()
869 int depth; in ext3_get_blocks_handle() local
877 depth = ext3_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext3_get_blocks_handle()
879 if (depth == 0) in ext3_get_blocks_handle()
882 partial = ext3_get_branch(inode, depth, offsets, chain, &err); in ext3_get_blocks_handle()
886 first_block = le32_to_cpu(chain[depth - 1].key); in ext3_get_blocks_handle()
893 if (!verify_chain(chain, chain + depth - 1)) { in ext3_get_blocks_handle()
905 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext3_get_blocks_handle()
942 partial = ext3_get_branch(inode, depth, offsets, chain, &err); in ext3_get_blocks_handle()
[all …]
/linux-4.1.27/arch/arc/kernel/
Dperf_event.c30 int depth; member
40 if (ctrl->depth++ < 3) in callchain_trace()
50 .depth = 0, in perf_callchain_kernel()
/linux-4.1.27/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.1.27/drivers/gpu/drm/
Ddrm_fb_helper.c729 if (fb->depth == 16 && regno > 63) in setcolreg()
731 if (fb->depth == 15 && regno > 31) in setcolreg()
734 if (fb->depth == 16) { in setcolreg()
754 if (fb->depth != 16) in setcolreg()
825 int depth; in drm_fb_helper_check_var() local
844 depth = (var->green.length == 6) ? 16 : 15; in drm_fb_helper_check_var()
847 depth = (var->transp.length > 0) ? 32 : 24; in drm_fb_helper_check_var()
850 depth = var->bits_per_pixel; in drm_fb_helper_check_var()
854 switch (depth) { in drm_fb_helper_check_var()
1140 uint32_t depth) in drm_fb_helper_fill_fix() argument
[all …]
/linux-4.1.27/arch/arm/mach-s5pv210/
Ds5pv210.c26 int depth, void *data) in s5pv210_fdt_map_sys() argument
/linux-4.1.27/arch/xtensa/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.1.27/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.1.27/drivers/gpu/drm/rockchip/
Drockchip_drm_fbdev.c108 drm_fb_helper_fill_fix(fbi, fb->pitches[0], fb->depth); in rockchip_drm_fbdev_create()
120 fb->width, fb->height, fb->depth, rk_obj->kvaddr, in rockchip_drm_fbdev_create()
/linux-4.1.27/arch/x86/boot/
Dvideo-vesa.c80 mi->depth = 0; /* text */ in vesa_probe()
95 mi->depth = vminfo.bpp; in vesa_probe()
Dvideo.h69 u16 depth; /* Bits per pixel, 0 for text mode */ member
Dvideo.c172 if (mi->depth) in display_menu()
173 sprintf(resbuf, "%dx%d", mi->y, mi->depth); in display_menu()
/linux-4.1.27/drivers/net/ethernet/sfc/
Def10.c2379 unsigned int depth = 1; in efx_ef10_filter_insert() local
2385 i = (hash + depth) & (HUNT_FILTER_TBL_ROWS - 1); in efx_ef10_filter_insert()
2418 __set_bit(depth, mc_rem_map); in efx_ef10_filter_insert()
2426 if (depth == EFX_EF10_FILTER_SEARCH_LIMIT) { in efx_ef10_filter_insert()
2434 ++depth; in efx_ef10_filter_insert()
2476 unsigned int depth, i; in efx_ef10_filter_insert() local
2478 for (depth = 0; depth < EFX_EF10_FILTER_SEARCH_LIMIT; depth++) { in efx_ef10_filter_insert()
2479 i = (hash + depth) & (HUNT_FILTER_TBL_ROWS - 1); in efx_ef10_filter_insert()
2480 if (test_bit(depth, mc_rem_map)) in efx_ef10_filter_insert()
2516 unsigned int depth, i; in efx_ef10_filter_insert() local
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_crtc.h70 int depth; member
/linux-4.1.27/arch/nios2/kernel/
Dprom.c70 const char *uname, int depth, void *data) in early_init_dt_scan_serial() argument
/linux-4.1.27/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()
257 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); in astfb_create()
/linux-4.1.27/net/ipv4/
Dinet_fragment.c421 int depth = 0; in inet_frag_find() local
436 depth++; in inet_frag_find()
440 if (depth <= INETFRAGS_MAXDEPTH) in inet_frag_find()
/linux-4.1.27/fs/gfs2/
Dglops.c321 u16 height, depth; in gfs2_dinode_in() local
362 depth = be16_to_cpu(str->di_depth); in gfs2_dinode_in()
363 if (unlikely(depth > GFS2_DIR_MAX_DEPTH)) in gfs2_dinode_in()
365 ip->i_depth = (u8)depth; in gfs2_dinode_in()
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbttv-driver.c522 .depth = 8,
528 .depth = 8,
534 .depth = 16,
541 .depth = 16,
547 .depth = 16,
554 .depth = 16,
560 .depth = 24,
566 .depth = 32,
573 .depth = 32,
579 .depth = 16,
[all …]
/linux-4.1.27/fs/ocfs2/
Docfs2_trace.h423 TP_PROTO(unsigned long long owner, int depth),
424 TP_ARGS(owner, depth),
427 __field(int, depth)
431 __entry->depth = depth;
433 TP_printk("%llu %d", __entry->owner, __entry->depth)
438 int depth),
439 TP_ARGS(subtree_root, blkno, depth),
443 __field(int, depth)
448 __entry->depth = depth;
451 __entry->blkno, __entry->depth)
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/mmc/
Dimg-dw-mshc.txt25 fifo-depth = <0x20>;
/linux-4.1.27/arch/nios2/boot/dts/
D3c120_devboard.dts119 rx-fifo-depth = <8192>;
120 tx-fifo-depth = <8192>;

123