Home
last modified time | relevance | path

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

12345678910>>...69

/Linux-v6.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 …]
/Linux-v6.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()
83 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node() argument
90 shift = sbitmap_calculate_shift(depth); in sbitmap_init_node()
[all …]
/Linux-v6.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 …]
/Linux-v6.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 …]
/Linux-v6.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 …]
/Linux-v6.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 …]
/Linux-v6.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()
/Linux-v6.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 …]
/Linux-v6.6/include/linux/
Dsbitmap.h49 * @depth: Number of bits used in the whole bitmap.
51 unsigned int depth; member
132 * @min_shallow_depth: The minimum shallow depth which may be passed to
152 * @depth: Number of bits to allocate.
165 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift,
172 return sb->depth - (index << sb->shift); in __map_depth()
190 * @depth: New number of bits to resize to.
193 * depth doesn't exceed the depth that the sb was initialized with.
195 void sbitmap_resize(struct sbitmap *sb, unsigned int depth);
209 * limiting the depth used from each word.
[all …]
/Linux-v6.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 …]
/Linux-v6.6/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
/Linux-v6.6/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 …]
/Linux-v6.6/Documentation/devicetree/bindings/net/
Daltr,tse.yaml28 rx-fifo-depth:
31 Depth in bytes of the RX FIFO
33 tx-fifo-depth:
36 Depth in bytes of the TX FIFO
65 - rx-fifo-depth
66 - tx-fifo-depth
127 rx-fifo-depth = <2048>;
128 tx-fifo-depth = <2048>;
150 rx-fifo-depth = <2048>;
151 tx-fifo-depth = <2048>;
/Linux-v6.6/drivers/iio/adc/
Dmax1027.c97 #define MAX1027_V_CHAN(index, depth) \ argument
107 .realbits = depth, \
109 .shift = (depth == 10) ? 2 : 0, \
129 #define MAX1X27_CHANNELS(depth) \ argument
131 MAX1027_V_CHAN(0, depth), \
132 MAX1027_V_CHAN(1, depth), \
133 MAX1027_V_CHAN(2, depth), \
134 MAX1027_V_CHAN(3, depth), \
135 MAX1027_V_CHAN(4, depth), \
136 MAX1027_V_CHAN(5, depth), \
[all …]
/Linux-v6.6/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()
210 int offsets[DEPTH]; in get_block()
211 Indirect chain[DEPTH]; in get_block()
215 int depth = block_to_path(inode, iblock, offsets); in get_block() local
217 if (depth == 0) in get_block()
222 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
229 chain[depth-1].key)); in get_block()
[all …]
/Linux-v6.6/drivers/infiniband/hw/erdma/
Derdma_cmdq.c95 sq->depth = cmdq->max_outstandings * sq->wqebb_cnt; in erdma_cmdq_sq_init()
97 buf_size = sq->depth << SQEBB_SHIFT; in erdma_cmdq_sq_init()
113 erdma_reg_write32(dev, ERDMA_REGS_CMDQ_DEPTH_REG, sq->depth); in erdma_cmdq_sq_init()
126 cq->depth = cmdq->sq.depth; in erdma_cmdq_cq_init()
127 buf_size = cq->depth << CQE_SHIFT; in erdma_cmdq_cq_init()
157 eq->depth = cmdq->max_outstandings; in erdma_cmdq_eq_init()
158 buf_size = eq->depth << EQE_SHIFT; in erdma_cmdq_eq_init()
176 erdma_reg_write32(dev, ERDMA_REGS_CMDQ_EQ_DEPTH_REG, eq->depth); in erdma_cmdq_eq_init()
215 (cmdq->cq.depth << CQE_SHIFT) + in erdma_cmdq_init()
221 (cmdq->sq.depth << SQEBB_SHIFT) + in erdma_cmdq_init()
[all …]
/Linux-v6.6/kernel/trace/
Dtrace_functions_graph.c24 int depth; member
201 .depth = 0, in __trace_graph_function()
205 .depth = 0, in __trace_graph_function()
703 * Comments display at + 1 to depth. Since in print_graph_entry_leaf()
705 * equal to this depth. in print_graph_entry_leaf()
707 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf()
709 /* No need to keep this function around for this depth */ in print_graph_entry_leaf()
710 if (call->depth < FTRACE_RETFUNC_DEPTH && in print_graph_entry_leaf()
711 !WARN_ON_ONCE(call->depth < 0)) in print_graph_entry_leaf()
712 cpu_data->enter_funcs[call->depth] = 0; in print_graph_entry_leaf()
[all …]
/Linux-v6.6/scripts/dtc/libfdt/
Dfdt.c247 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument
266 if (depth) in fdt_next_node()
267 (*depth)++; in fdt_next_node()
271 if (depth && ((--(*depth)) < 0)) in fdt_next_node()
277 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
289 int depth = 0; in fdt_first_subnode() local
291 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode()
292 if (offset < 0 || depth != 1) in fdt_first_subnode()
300 int depth = 1; in fdt_next_subnode() local
303 * With respect to the parent, the depth of the next subnode will be in fdt_next_subnode()
[all …]
/Linux-v6.6/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 …]
/Linux-v6.6/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()
/Linux-v6.6/Documentation/devicetree/bindings/display/
Dxylon,logicvc-display.yaml91 xylon,display-depth:
93 description: Display output depth (C_PIXEL_DATA_WIDTH).
133 xylon,layer-depth:
135 description: Layer depth (C_LAYER_X_DATA_WIDTH).
175 - xylon,layer-depth
205 - xylon,display-depth
235 xylon,display-depth = <16>;
246 xylon,layer-depth = <16>;
256 xylon,layer-depth = <16>;
265 xylon,layer-depth = <16>;
[all …]
/Linux-v6.6/tools/testing/selftests/net/forwarding/
Dtc_flower.sh556 flower $tcflags mpls lse depth 1 label 0 action continue
558 flower $tcflags mpls lse depth 1 tc 0 action continue
560 flower $tcflags mpls lse depth 1 bos 0 action continue
562 flower $tcflags mpls lse depth 1 ttl 0 action continue
566 flower $tcflags mpls lse depth 2 label 1048575 action continue
568 flower $tcflags mpls lse depth 2 tc 7 action continue
570 flower $tcflags mpls lse depth 2 bos 1 action continue
572 flower $tcflags mpls lse depth 2 ttl 255 action continue
574 # Match on LSE depth
576 flower $tcflags mpls lse depth 1 action continue
[all …]
/Linux-v6.6/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;
/Linux-v6.6/tools/perf/ui/stdio/
Dhist.c33 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line() argument
39 for (i = 0; i < depth; i++) in ipchain__fprintf_graph_line()
52 int depth, int depth_mask, int period, in ipchain__fprintf_graph() argument
62 for (i = 0; i < depth; i++) { in ipchain__fprintf_graph()
67 if (!period && i == depth - 1) { in ipchain__fprintf_graph()
110 u64 total_samples, int depth, in __callchain__fprintf_graph() argument
136 * The depth mask manages the output of pipes that show in __callchain__fprintf_graph()
137 * the depth. We don't want to keep the pipes of the current in __callchain__fprintf_graph()
138 * level for the last child of this depth. in __callchain__fprintf_graph()
144 new_depth_mask &= ~(1 << (depth - 1)); in __callchain__fprintf_graph()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c575 * @param depth : bit depth to set the clamp to (should match denorm)
578 * Programs clamp according to panel bit depth.
583 enum dc_color_depth depth) in set_clamp() argument
592 switch (depth) { in set_clamp()
611 BREAK_TO_DEBUGGER(); /* Invalid clamp bit depth */ in set_clamp()
633 * @param [in] depth :bit depth to round/truncate to
661 enum dcp_out_trunc_round_depth depth) in set_round() argument
666 /* set up bit depth */ in set_round()
667 switch (depth) { in set_round()
719 * @param [in] dither_depth : bit depth to dither to
[all …]

12345678910>>...69