Home
last modified time | relevance | path

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

12345678910>>...118

/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_fourcc.c36 * @depth: bit depth per pixel
38 * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
41 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) in drm_mode_legacy_fb_format() argument
47 if (depth == 1) in drm_mode_legacy_fb_format()
52 if (depth == 2) in drm_mode_legacy_fb_format()
57 if (depth == 4) in drm_mode_legacy_fb_format()
62 if (depth == 8) in drm_mode_legacy_fb_format()
67 switch (depth) { in drm_mode_legacy_fb_format()
80 if (depth == 24) in drm_mode_legacy_fb_format()
85 switch (depth) { in drm_mode_legacy_fb_format()
[all …]
/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-6.6/lib/
Dsbitmap.c14 unsigned depth = sb->depth; in init_alloc_hint() local
20 if (depth && !sb->round_robin) { in init_alloc_hint()
24 *per_cpu_ptr(sb->alloc_hint, i) = get_random_u32_below(depth); in init_alloc_hint()
30 unsigned int depth) in update_alloc_hint_before_get() argument
35 if (unlikely(hint >= depth)) { in update_alloc_hint_before_get()
36 hint = depth ? get_random_u32_below(depth) : 0; in update_alloc_hint_before_get()
44 unsigned int depth, in update_alloc_hint_after_get() argument
54 if (hint >= depth - 1) in update_alloc_hint_after_get()
64 unsigned int depth, unsigned int alloc_hint, bool wrap) in sbitmap_deferred_clear() argument
71 if (depth == 0) in sbitmap_deferred_clear()
[all …]
/kernel/linux/linux-6.6/fs/quota/
Dquota_tree.c25 * Maximum quota tree depth we support. Only to limit recursion when working
32 static int __get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth) in __get_index() argument
36 depth = info->dqi_qtree_depth - depth - 1; in __get_index()
37 while (depth--) in __get_index()
42 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index() argument
46 return __get_index(info, id, depth); in get_index()
336 uint *blks, int depth) in do_insert_tree() argument
346 if (!blks[depth]) { in do_insert_tree()
350 for (i = 0; i < depth; i++) in do_insert_tree()
358 blks[depth] = ret; in do_insert_tree()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/can/
Dxilinx,can.yaml37 tx-fifo-depth:
39 description: CAN Tx fifo depth (Zynq, Axi CAN).
41 rx-fifo-depth:
43 description: CAN Rx fifo depth (Zynq, Axi CAN, CAN FD in sequential Rx mode)
77 - tx-fifo-depth
78 - rx-fifo-depth
94 - tx-fifo-depth
95 - rx-fifo-depth
113 - rx-fifo-depth
126 tx-fifo-depth = <0x40>;
[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-6.6/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-6.6/arch/powerpc/platforms/powernv/
Dopal-tracepoints.c50 unsigned int *depth; in __trace_opal_entry() local
54 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_entry()
56 if (*depth) in __trace_opal_entry()
59 (*depth)++; in __trace_opal_entry()
62 (*depth)--; in __trace_opal_entry()
71 unsigned int *depth; in __trace_opal_exit() local
75 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_exit()
77 if (*depth) in __trace_opal_exit()
80 (*depth)++; in __trace_opal_exit()
83 (*depth)--; in __trace_opal_exit()
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/
Dmdp_cfg_data.c168 .depth = { 8 },
175 .depth = { 16 },
182 .depth = { 16 },
189 .depth = { 24 },
196 .depth = { 24 },
203 .depth = { 32 },
210 .depth = { 32 },
217 .depth = { 16 },
225 .depth = { 16 },
233 .depth = { 16 },
[all …]
/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/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-6.6/fs/ext4/
Dextents.c111 int depth, i; in ext4_ext_drop_refs() local
115 depth = path->p_depth; in ext4_ext_drop_refs()
116 for (i = 0; i <= depth; i++, path++) { in ext4_ext_drop_refs()
215 int depth = path->p_depth; in ext4_ext_find_goal() local
235 ex = path[depth].p_ext; in ext4_ext_find_goal()
248 if (path[depth].p_bh) in ext4_ext_find_goal()
249 return path[depth].p_bh->b_blocknr; in ext4_ext_find_goal()
344 ext4_ext_max_entries(struct inode *inode, int depth) in ext4_ext_max_entries() argument
348 if (depth == ext_depth(inode)) { in ext4_ext_max_entries()
349 if (depth == 0) in ext4_ext_max_entries()
[all …]
/kernel/linux/linux-6.6/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/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-6.6/include/linux/
Dsbitmap.h54 * @depth: Number of bits used in the whole bitmap.
56 unsigned int depth; member
137 * @min_shallow_depth: The minimum shallow depth which may be passed to
157 * @depth: Number of bits to allocate.
170 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift,
177 return sb->depth - (index << sb->shift); in __map_depth()
195 * @depth: New number of bits to resize to.
198 * depth doesn't exceed the depth that the sb was initialized with.
200 void sbitmap_resize(struct sbitmap *sb, unsigned int depth);
214 * limiting the depth used from each word.
[all …]
/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-6.6/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-6.6/drivers/gpu/drm/msm/dp/
Ddp_link.h75 * mdss_dp_test_bit_depth_to_bpp() - convert test bit depth to bpp
76 * @tbd: test bit depth
79 * git bit depth value. This function assumes that bit depth has
86 * 1. Bit depth is per color component in dp_link_bit_depth_to_bpp()
87 * 2. If bit depth is unknown return 0 in dp_link_bit_depth_to_bpp()
104 * dp_test_bit_depth_to_bpc() - convert test bit depth to bpc
105 * @tbd: test bit depth
108 * bit depth value. This function assumes that bit depth has
/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()

12345678910>>...118