Home
last modified time | relevance | path

Searched full:depth (Results 1 – 25 of 1579) sorted by relevance

12345678910>>...64

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_fourcc.c41 * @depth: bit depth per pixel
43 * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
46 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) in drm_mode_legacy_fb_format() argument
52 if (depth == 8) in drm_mode_legacy_fb_format()
57 switch (depth) { in drm_mode_legacy_fb_format()
70 if (depth == 24) in drm_mode_legacy_fb_format()
75 switch (depth) { in drm_mode_legacy_fb_format()
102 * @depth: bit depth per pixel
104 * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
110 uint32_t bpp, uint32_t depth) in drm_driver_legacy_fb_format() argument
[all …]
/kernel/linux/linux-5.10/lib/
Dsbitmap.c44 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node() argument
58 if (depth >= 4) { in sbitmap_init_node()
59 while ((4U << shift) > depth) in sbitmap_init_node()
68 sb->depth = depth; in sbitmap_init_node()
69 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_init_node()
71 if (depth == 0) { in sbitmap_init_node()
81 sb->map[i].depth = min(depth, bits_per_word); in sbitmap_init_node()
82 depth -= sb->map[i].depth; in sbitmap_init_node()
89 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize() argument
97 sb->depth = depth; in sbitmap_resize()
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dpixfmt-inzi.rst9 Infrared 10-bit linked with Depth 16-bit images
15 Proprietary multi-planar format used by Intel SR300 Depth cameras, comprise of
16 Infrared image followed by Depth data. The pixel definition is 32-bpp,
17 with the Depth and Infrared Data split into separate continuous planes of
29 The second plane provides 16-bit per-pixel Depth data arranged in
64 * - Depth\ :sub:`0,0`
65 - Depth\ :sub:`0,1`
66 - Depth\ :sub:`0,2`
71 * - :cspan:`5` Depth Data
76 - Depth\ :sub:`n-1,n-3`
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-tracepoints.c51 unsigned int *depth; in __trace_opal_entry() local
55 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_entry()
57 if (*depth) in __trace_opal_entry()
60 (*depth)++; in __trace_opal_entry()
63 (*depth)--; in __trace_opal_entry()
72 unsigned int *depth; in __trace_opal_exit() local
76 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_exit()
78 if (*depth) in __trace_opal_exit()
81 (*depth)++; in __trace_opal_exit()
84 (*depth)--; in __trace_opal_exit()
/kernel/linux/linux-5.10/fs/ext4/
Dextents.c195 int depth = path->p_depth; in ext4_ext_find_goal() local
215 ex = path[depth].p_ext; in ext4_ext_find_goal()
228 if (path[depth].p_bh) in ext4_ext_find_goal()
229 return path[depth].p_bh->b_blocknr; in ext4_ext_find_goal()
324 ext4_ext_max_entries(struct inode *inode, int depth) in ext4_ext_max_entries() argument
328 if (depth == ext_depth(inode)) { in ext4_ext_max_entries()
329 if (depth == 0) in ext4_ext_max_entries()
334 if (depth == 0) in ext4_ext_max_entries()
370 int depth) in ext4_valid_extent_entries() argument
381 if (depth == 0) { in ext4_valid_extent_entries()
[all …]
/kernel/linux/linux-5.10/fs/minix/
Ditree_common.c31 int depth, in get_branch() argument
33 Indirect chain[DEPTH], in get_branch() argument
45 while (--depth) { in get_branch()
116 Indirect chain[DEPTH], in splice_branch() argument
156 int offsets[DEPTH]; in get_block()
157 Indirect chain[DEPTH]; in get_block()
160 int depth = block_to_path(inode, block, offsets); in get_block() local
162 if (depth == 0) in get_block()
166 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
171 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dsbitmap.h22 * @depth: Number of bits being used in @word/@cleared
24 unsigned long depth; member
50 * @depth: Number of bits used in the whole bitmap.
52 unsigned int depth; member
138 * @min_shallow_depth: The minimum shallow depth which may be passed to
147 * @depth: Number of bits to allocate.
155 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift,
171 * @depth: New number of bits to resize to.
174 * depth doesn't exceed the depth that the sb was initialized with.
176 void sbitmap_resize(struct sbitmap *sb, unsigned int depth);
[all …]
/kernel/linux/linux-5.10/arch/sh/oprofile/
Dbacktrace.c24 unsigned int *depth = data; in backtrace_address() local
26 if ((*depth)--) in backtrace_address()
60 void sh_backtrace(struct pt_regs * const regs, unsigned int depth) in sh_backtrace() argument
65 * Paranoia - clip max depth as we could get lost in the weeds. in sh_backtrace()
67 if (depth > backtrace_limit) in sh_backtrace()
68 depth = backtrace_limit; in sh_backtrace()
72 if (depth) in sh_backtrace()
74 &backtrace_ops, &depth); in sh_backtrace()
78 while (depth-- && (stackaddr != NULL)) in sh_backtrace()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcommonring.c31 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument
34 commonring->depth = depth; in brcmf_commonring_config()
75 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_write_available()
83 if (available > commonring->depth / 8) { in brcmf_commonring_write_available()
116 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write()
125 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write()
152 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write_multiple()
161 if (*alloced + commonring->w_ptr > commonring->depth) in brcmf_commonring_reserve_for_write_multiple()
162 *alloced = commonring->depth - commonring->w_ptr; in brcmf_commonring_reserve_for_write_multiple()
164 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write_multiple()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_link.h87 * mdss_dp_test_bit_depth_to_bpp() - convert test bit depth to bpp
88 * @tbd: test bit depth
91 * git bit depth value. This function assumes that bit depth has
98 * 1. Bit depth is per color component in dp_link_bit_depth_to_bpp()
99 * 2. If bit depth is unknown return 0 in dp_link_bit_depth_to_bpp()
116 * dp_test_bit_depth_to_bpc() - convert test bit depth to bpc
117 * @tbd: test bit depth
120 * bit depth value. This function assumes that bit depth has
/kernel/linux/linux-5.10/drivers/iio/adc/
Dmax1027.c94 #define MAX1027_V_CHAN(index, depth) \ argument
104 .realbits = depth, \
106 .shift = (depth == 10) ? 2 : 0, \
126 #define MAX1X27_CHANNELS(depth) \ argument
128 MAX1027_V_CHAN(0, depth), \
129 MAX1027_V_CHAN(1, depth), \
130 MAX1027_V_CHAN(2, depth), \
131 MAX1027_V_CHAN(3, depth), \
132 MAX1027_V_CHAN(4, depth), \
133 MAX1027_V_CHAN(5, depth), \
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/can/
Dxilinx_can.txt19 - tx-fifo-depth : Can Tx fifo depth (Zynq, Axi CAN).
20 - rx-fifo-depth : Can Rx fifo depth (Zynq, Axi CAN, CAN FD in
37 tx-fifo-depth = <0x40>;
38 rx-fifo-depth = <0x40>;
48 tx-fifo-depth = <0x40>;
49 rx-fifo-depth = <0x40>;
60 rx-fifo-depth = <0x20>;
/kernel/linux/linux-5.10/arch/x86/oprofile/
Dbacktrace.c47 x86_backtrace_32(struct pt_regs * const regs, unsigned int depth) in x86_backtrace_32() argument
56 while (depth-- && head) in x86_backtrace_32()
64 x86_backtrace_32(struct pt_regs * const regs, unsigned int depth) in x86_backtrace_32() argument
91 x86_backtrace(struct pt_regs * const regs, unsigned int depth) in x86_backtrace() argument
99 if (!depth) in x86_backtrace()
104 if (!--depth) in x86_backtrace()
115 if (!--depth) in x86_backtrace()
122 if (x86_backtrace_32(regs, depth)) in x86_backtrace()
125 while (depth-- && head) in x86_backtrace()
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/
Dvpdma.c32 .depth = 8,
37 .depth = 8,
42 .depth = 8,
47 .depth = 8,
52 .depth = 8,
57 .depth = 4,
62 .depth = 4,
67 .depth = 16,
72 .depth = 24,
77 .depth = 16,
[all …]
/kernel/linux/linux-5.10/scripts/dtc/libfdt/
Dfdt.c235 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument
254 if (depth) in fdt_next_node()
255 (*depth)++; in fdt_next_node()
259 if (depth && ((--(*depth)) < 0)) in fdt_next_node()
265 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
277 int depth = 0; in fdt_first_subnode() local
279 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode()
280 if (offset < 0 || depth != 1) in fdt_first_subnode()
288 int depth = 1; in fdt_next_subnode() local
291 * With respect to the parent, the depth of the next subnode will be in fdt_next_subnode()
[all …]
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_functions_graph.c24 int depth; member
196 .depth = 0, in __trace_graph_function()
200 .depth = 0, in __trace_graph_function()
649 * Comments display at + 1 to depth. Since in print_graph_entry_leaf()
651 * equal to this depth. in print_graph_entry_leaf()
653 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf()
655 /* No need to keep this function around for this depth */ in print_graph_entry_leaf()
656 if (call->depth < FTRACE_RETFUNC_DEPTH && in print_graph_entry_leaf()
657 !WARN_ON_ONCE(call->depth < 0)) in print_graph_entry_leaf()
658 cpu_data->enter_funcs[call->depth] = 0; in print_graph_entry_leaf()
[all …]
/kernel/linux/linux-5.10/fs/sysv/
Ditree.c14 enum {DIRECT = 10, DEPTH = 4}; /* Have triple indirect */ enumerator
23 static int block_to_path(struct inode *inode, long block, int offsets[DEPTH]) in block_to_path() argument
89 int depth, in get_branch() argument
102 while (--depth) { in get_branch()
206 int offsets[DEPTH]; in get_block()
207 Indirect chain[DEPTH]; in get_block()
211 int depth = block_to_path(inode, iblock, offsets); in get_block() local
213 if (depth == 0) in get_block()
218 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
225 chain[depth-1].key)); in get_block()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dcs35l35.txt87 - cirrus,classh-mem-depth
108 for adjusting the Depth, Location and Frame of the Monitoring Signals
115 for depth, location, and frame.
119 Sections 7.44 - 7.53 lists values for the depth, location, and frame
122 - cirrus,imon : 4 8 bit values to set the depth, location, frame and ADC
125 - cirrus,vmon : 3 8 bit values to set the depth, location, and frame
128 - cirrus,vpmon : 3 8 bit values to set the depth, location, and frame
131 - cirrus,vbstmon : 3 8 bit values to set the depth, location, and frame
134 - cirrus,vpbrstat : 3 8 bit values to set the depth, location, and frame
137 - cirrus,zerofill : 3 8 bit values to set the depth, location, and frame\
[all …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Dtrace.c20 unsigned int *depth; in trace_s390_diagnose_norecursion() local
26 depth = this_cpu_ptr(&diagnose_trace_depth); in trace_s390_diagnose_norecursion()
27 if (*depth == 0) { in trace_s390_diagnose_norecursion()
28 (*depth)++; in trace_s390_diagnose_norecursion()
30 (*depth)--; in trace_s390_diagnose_norecursion()
/kernel/linux/linux-5.10/block/
Dblk-rq-qos.c114 * Return true, if we can't increase the depth further by scaling
118 unsigned int depth; in rq_depth_calc_max_depth() local
123 * to have one request ready when one completes, so force a depth of in rq_depth_calc_max_depth()
124 * 2 for those devices. On the backend, it'll be a depth of 1 anyway, in rq_depth_calc_max_depth()
140 * writes, and we allow a temporarily higher depth to in rq_depth_calc_max_depth()
143 depth = min_t(unsigned int, rqd->default_depth, in rq_depth_calc_max_depth()
146 depth = 1 + ((depth - 1) >> min(31, rqd->scale_step)); in rq_depth_calc_max_depth()
150 depth = 1 + ((depth - 1) << -rqd->scale_step); in rq_depth_calc_max_depth()
151 if (depth > maxd) { in rq_depth_calc_max_depth()
152 depth = maxd; in rq_depth_calc_max_depth()
[all …]
/kernel/linux/linux-5.10/sound/isa/gus/
Dgus_volume.c123 long depth;
137 /* value to produce the appropriate depth for the hardware. The depth */
139 depth = (((int) (*(vi2 + 1) - *vi1) * (pcents - *vi1) / (*vi2 - *vi1)) + v1) * fc_register >> 14;
140 if (depth)
141 depth++;
142 if (depth > 255)
143 depth = 255;
144 return cents < 0 ? -(short) depth : (short) depth;
/kernel/linux/linux-5.10/arch/sh/kernel/
Dreturn_address.c14 void *return_address(unsigned int depth) in return_address() argument
20 for (i = 0, frame = NULL, ra = 0; i <= depth; i++) { in return_address()
38 /* Failed to unwind the stack to the specified depth. */ in return_address()
39 WARN_ON(i != depth + 1); in return_address()
49 void *return_address(unsigned int depth) in return_address() argument
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_trans_resv.c62 * num trees * ((2 blocks/level * max depth) - 1)
64 * Keep in mind that max depth is calculated separately for each type of tree.
128 * the inode btree: max depth * blocksize
129 * the allocation btrees: 2 trees * (max depth - 1) * block size
168 * the allocation btrees: 2 trees * (max depth - 1) * block size
241 * the inode's bmap btree: max depth * block size
244 * the allocation btrees: 2 exts * 2 trees * (2 * max depth - 1) * block size
247 * the inode's bmap btree: max depth * block size
252 * the allocation btrees: 2 trees * (2 * max depth - 1) * block size
257 * the allocation btrees: 2 exts * 2 trees * (2 * max depth - 1) * block size
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dti,dp83867.yaml49 tx-fifo-depth:
52 Transmitt FIFO depth see dt-bindings/net/ti-dp83867.h for values
54 rx-fifo-depth:
57 Receive FIFO depth see dt-bindings/net/ti-dp83867.h for values
102 ti,fifo-depth:
106 Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h for applicable
122 tx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
123 rx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
Daltera_tse.txt22 - rx-fifo-depth: MAC receive FIFO buffer depth in bytes
23 - tx-fifo-depth: MAC transmit FIFO buffer depth in bytes
66 rx-fifo-depth = <2048>;
67 tx-fifo-depth = <2048>;
104 rx-fifo-depth = <2048>;
105 tx-fifo-depth = <2048>;

12345678910>>...64