Home
last modified time | relevance | path

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

12345678910>>...117

/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-4.19/lib/
Dsbitmap.c23 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node() argument
37 if (depth >= 4) { in sbitmap_init_node()
38 while ((4U << shift) > depth) in sbitmap_init_node()
47 sb->depth = depth; in sbitmap_init_node()
48 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_init_node()
50 if (depth == 0) { in sbitmap_init_node()
60 sb->map[i].depth = min(depth, bits_per_word); in sbitmap_init_node()
61 depth -= sb->map[i].depth; in sbitmap_init_node()
67 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize() argument
72 sb->depth = depth; in sbitmap_resize()
[all …]
/kernel/linux/linux-4.19/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
55 if (depth == 15) in drm_mode_legacy_fb_format()
64 if (depth == 24) in drm_mode_legacy_fb_format()
66 else if (depth == 30) in drm_mode_legacy_fb_format()
108 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info()
109 …{ .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info()
110 …{ .format = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info()
111 …{ .format = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
[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-4.19/Documentation/media/uapi/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-4.19/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/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-4.19/fs/ext4/
Dextents.c175 int depth = path->p_depth; in ext4_ext_find_goal() local
195 ex = path[depth].p_ext; in ext4_ext_find_goal()
208 if (path[depth].p_bh) in ext4_ext_find_goal()
209 return path[depth].p_bh->b_blocknr; in ext4_ext_find_goal()
348 ext4_ext_max_entries(struct inode *inode, int depth) in ext4_ext_max_entries() argument
352 if (depth == ext_depth(inode)) { in ext4_ext_max_entries()
353 if (depth == 0) in ext4_ext_max_entries()
358 if (depth == 0) in ext4_ext_max_entries()
393 int depth) in ext4_valid_extent_entries() argument
401 if (depth == 0) { in ext4_valid_extent_entries()
[all …]
/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-4.19/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-4.19/include/linux/
Dsbitmap.h38 * @depth: Number of bits being used in @word.
40 unsigned long depth; member
51 * @depth: Number of bits used in the whole bitmap.
53 unsigned int depth; member
134 * @min_shallow_depth: The minimum shallow depth which may be passed to
143 * @depth: Number of bits to allocate.
151 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift,
167 * @depth: New number of bits to resize to.
170 * depth doesn't exceed the depth that the sb was initialized with.
172 void sbitmap_resize(struct sbitmap *sb, unsigned int depth);
[all …]
/kernel/linux/linux-4.19/block/
Dblk-tag.c90 init_tag_map(struct request_queue *q, struct blk_queue_tag *tags, int depth) in init_tag_map() argument
96 if (q && depth > q->nr_requests * 2) { in init_tag_map()
97 depth = q->nr_requests * 2; in init_tag_map()
98 printk(KERN_ERR "%s: adjusted depth to %d\n", in init_tag_map()
99 __func__, depth); in init_tag_map()
102 tag_index = kcalloc(depth, sizeof(struct request *), GFP_ATOMIC); in init_tag_map()
106 nr_ulongs = ALIGN(depth, BITS_PER_LONG) / BITS_PER_LONG; in init_tag_map()
111 tags->real_max_depth = depth; in init_tag_map()
112 tags->max_depth = depth; in init_tag_map()
123 int depth, int alloc_policy) in __blk_queue_init_tags() argument
[all …]
Dblk-rq-qos.c102 * Return true, if we can't increase the depth further by scaling
106 unsigned int depth; in rq_depth_calc_max_depth() local
111 * to have one request ready when one completes, so force a depth of in rq_depth_calc_max_depth()
112 * 2 for those devices. On the backend, it'll be a depth of 1 anyway, in rq_depth_calc_max_depth()
128 * writes, and we allow a temporarily higher depth to in rq_depth_calc_max_depth()
131 depth = min_t(unsigned int, rqd->default_depth, in rq_depth_calc_max_depth()
134 depth = 1 + ((depth - 1) >> min(31, rqd->scale_step)); in rq_depth_calc_max_depth()
138 depth = 1 + ((depth - 1) << -rqd->scale_step); in rq_depth_calc_max_depth()
139 if (depth > maxd) { in rq_depth_calc_max_depth()
140 depth = maxd; in rq_depth_calc_max_depth()
[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-4.19/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
76 * Paranoia - clip max depth as we could get lost in the weeds. in sh_backtrace()
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()
/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-4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcommonring.c41 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument
44 commonring->depth = depth; in brcmf_commonring_config()
85 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_write_available()
93 if (available > commonring->depth / 8) { in brcmf_commonring_write_available()
126 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write()
135 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write()
162 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write_multiple()
171 if (*alloced + commonring->w_ptr > commonring->depth) in brcmf_commonring_reserve_for_write_multiple()
172 *alloced = commonring->depth - commonring->w_ptr; in brcmf_commonring_reserve_for_write_multiple()
174 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write_multiple()
[all …]
/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-4.19/Documentation/devicetree/bindings/net/can/
Dxilinx_can.txt18 - tx-fifo-depth : Can Tx fifo depth (Zynq, Axi CAN).
19 - rx-fifo-depth : Can Rx fifo depth (Zynq, Axi CAN, CAN FD in
36 tx-fifo-depth = <0x40>;
37 rx-fifo-depth = <0x40>;
47 tx-fifo-depth = <0x40>;
48 rx-fifo-depth = <0x40>;
59 rx-fifo-depth = <0x20>;
/kernel/linux/linux-4.19/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>>...117