Home
last modified time | relevance | path

Searched +full:depth +full:- (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/Linux-v6.1/drivers/gpu/drm/
Ddrm_fourcc.c34 * drm_mode_legacy_fb_format - compute drm fourcc code from legacy description
36 * @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()
[all …]
/Linux-v6.1/lib/
Dsbitmap.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2013-2014 Jens Axboe
14 unsigned depth = sb->depth; in init_alloc_hint() local
16 sb->alloc_hint = alloc_percpu_gfp(unsigned int, flags); in init_alloc_hint()
17 if (!sb->alloc_hint) in init_alloc_hint()
18 return -ENOMEM; in init_alloc_hint()
20 if (depth && !sb->round_robin) { in init_alloc_hint()
24 *per_cpu_ptr(sb->alloc_hint, i) = prandom_u32_max(depth); in init_alloc_hint()
30 unsigned int depth) in update_alloc_hint_before_get() argument
34 hint = this_cpu_read(*sb->alloc_hint); in update_alloc_hint_before_get()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/net/can/
Dxilinx,can.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
16 - xlnx,zynq-can-1.0
17 - xlnx,axi-can-1.00.a
18 - xlnx,canfd-1.0
19 - xlnx,canfd-2.0
31 clock-names:
34 power-domains:
[all …]
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dpixfmt-inzi.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-INZI:
9 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
22 The first plane - Infrared data - is stored according to
23 :ref:`V4L2_PIX_FMT_Y10 <V4L2-PIX-FMT-Y10>` greyscale format.
24 Each pixel is 16-bit cell, with actual data stored in the 10 LSBs
29 The second plane provides 16-bit per-pixel Depth data arranged in
[all …]
/Linux-v6.1/fs/ext4/
Dextents.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2003-2006, Cluster File Systems, Inc, info@clusterfs.com
15 * - ext4*_error() should be used in some situations
16 * - analyze all BUG()/BUG_ON(), use -EIO where appropriate
17 * - smart tree reduction
53 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_extent_block_csum()
56 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)eh, in ext4_extent_block_csum()
66 if (!ext4_has_metadata_csum(inode->i_sb)) in ext4_extent_block_csum_verify()
70 if (et->et_checksum != ext4_extent_block_csum(inode, eh)) in ext4_extent_block_csum_verify()
80 if (!ext4_has_metadata_csum(inode->i_sb)) in ext4_extent_block_csum_set()
[all …]
/Linux-v6.1/arch/powerpc/platforms/powernv/
Dopal-tracepoints.c1 // SPDX-License-Identifier: GPL-2.0
37 opal_tracepoint_refcount--; in opal_tracepoint_unregfunc()
50 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()
[all …]
/Linux-v6.1/fs/minix/
Ditree_common.c1 // SPDX-License-Identifier: GPL-2.0
14 p->key = *(p->p = v); in add_chain()
15 p->bh = bh; in add_chain()
20 while (from <= to && from->key == *from->p) in verify_chain()
27 return (block_t *)((char*)bh->b_data + bh->b_size); in block_end()
31 int depth, in get_branch() argument
33 Indirect chain[DEPTH], in get_branch() argument
36 struct super_block *sb = inode->i_sb; in get_branch()
43 if (!p->key) in get_branch()
45 while (--depth) { in get_branch()
[all …]
/Linux-v6.1/include/linux/
Dsbitmap.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * Copyright (C) 2013-2014 Jens Axboe
27 * struct sbitmap_word - Word in a &struct sbitmap.
42 * struct sbitmap - Scalable bitmap.
44 * A &struct sbitmap is spread over multiple cachelines to avoid ping-pong. This
49 * @depth: Number of bits used in the whole bitmap.
51 unsigned int depth; member
64 * @round_robin: Allocate bits in strict round-robin order.
76 * This is per-cpu, which allows multiple users to stick to different
86 * struct sbq_wait_state - Wait queue in a &struct sbitmap_queue.
[all …]
/Linux-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcommonring.c1 // SPDX-License-Identifier: ISC
22 commonring->cr_ring_bell = cr_ring_bell; in brcmf_commonring_register_cb()
23 commonring->cr_update_rptr = cr_update_rptr; in brcmf_commonring_register_cb()
24 commonring->cr_update_wptr = cr_update_wptr; in brcmf_commonring_register_cb()
25 commonring->cr_write_rptr = cr_write_rptr; in brcmf_commonring_register_cb()
26 commonring->cr_write_wptr = cr_write_wptr; in brcmf_commonring_register_cb()
27 commonring->cr_ctx = ctx; in brcmf_commonring_register_cb()
31 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument
34 commonring->depth = depth; in brcmf_commonring_config()
35 commonring->item_len = item_len; in brcmf_commonring_config()
[all …]
/Linux-v6.1/drivers/gpu/drm/msm/dp/
Ddp_link.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
87 * 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
[all …]
/Linux-v6.1/drivers/media/platform/ti/vpe/
Dvpdma.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/dma-mapping.h>
26 #define VPDMA_FIRMWARE "vpdma-1b8.bin"
32 .depth = 8,
37 .depth = 8,
42 .depth = 8,
47 .depth = 8,
52 .depth = 8,
57 .depth = 4,
62 .depth = 4,
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/net/
Daltr,tse.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Maxime Chevallier <maxime.chevallier@bootlin.com>
15 - const: altr,tse-1.0
16 - const: ALTR,tse-1.0
18 - const: altr,tse-msgdma-1.0
23 interrupt-names:
25 - const: rx_irq
26 - const: tx_irq
[all …]
/Linux-v6.1/kernel/trace/
Dtrace_functions_graph.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2008-2009 Frederic Weisbecker <fweisbec@gmail.com>
24 int depth; member
45 /* Display overruns? (for self-debug purpose) */
46 { TRACER_OPT(funcgraph-overrun, TRACE_GRAPH_PRINT_OVERRUN) },
48 { TRACER_OPT(funcgraph-cpu, TRACE_GRAPH_PRINT_CPU) },
50 { TRACER_OPT(funcgraph-overhead, TRACE_GRAPH_PRINT_OVERHEAD) },
52 { TRACER_OPT(funcgraph-proc, TRACE_GRAPH_PRINT_PROC) },
54 { TRACER_OPT(funcgraph-duration, TRACE_GRAPH_PRINT_DURATION) },
56 { TRACER_OPT(funcgraph-abstime, TRACE_GRAPH_PRINT_ABS_TIME) },
[all …]
/Linux-v6.1/drivers/iio/adc/
Dmax1027.c1 // SPDX-License-Identifier: GPL-2.0-only
97 #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), \
[all …]
/Linux-v6.1/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-regs.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com>
7 #include <media/v4l2-common.h>
8 #include <media/videobuf2-v4l2.h>
9 #include <media/videobuf2-dma-contig.h>
10 #include "mtk-mdp3-core.h"
11 #include "mtk-mdp3-regs.h"
12 #include "mtk-mdp3-m2m.h"
15 * All 10-bit related formats are not added in the basic format list,
22 .depth = { 8 },
[all …]
/Linux-v6.1/fs/sysv/
Ditree.c1 // SPDX-License-Identifier: GPL-2.0
6 * AV, Sep--Dec 2000
14 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
25 struct super_block *sb = inode->i_sb; in block_to_path()
27 int ptrs_bits = sbi->s_ind_per_block_bits; in block_to_path()
28 unsigned long indirect_blocks = sbi->s_ind_per_block, in block_to_path()
29 double_blocks = sbi->s_ind_per_block_2; in block_to_path()
36 } else if ( (block -= DIRECT) < indirect_blocks) { in block_to_path()
39 } else if ((block -= indirect_blocks) < double_blocks) { in block_to_path()
[all …]
/Linux-v6.1/scripts/dtc/libfdt/
Dfdt.c1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
3 * libfdt - Flat Device Tree manipulation
14 * Minimal sanity check for a read-only tree. fdt_ro_probe_() checks
25 /* The device tree must be at an 8-byte aligned address */ in fdt_ro_probe_()
27 return -FDT_ERR_ALIGNMENT; in fdt_ro_probe_()
33 return -FDT_ERR_BADVERSION; in fdt_ro_probe_()
36 return -FDT_ERR_BADVERSION; in fdt_ro_probe_()
39 /* Unfinished sequential-write blob */ in fdt_ro_probe_()
41 return -FDT_ERR_BADSTATE; in fdt_ro_probe_()
43 return -FDT_ERR_BADMAGIC; in fdt_ro_probe_()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dcs35l35.txt5 - compatible : "cirrus,cs35l35"
7 - reg : the I2C address of the device for I2C
9 - VA-supply, VP-supply : power supplies for the device,
13 - interrupts : IRQ line info CS35L35.
14 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
17 - cirrus,boost-ind-nanohenry: Inductor value for boost converter. The value is
21 - reset-gpios : gpio used to reset the amplifier
23 - cirrus,stereo-config : Boolean to determine if there are 2 AMPs for a
26 - cirrus,audio-channel : Set Location of Audio Signal on Serial Port
30 - cirrus,advisory-channel : Set Location of Advisory Signal on Serial Port
[all …]
/Linux-v6.1/drivers/infiniband/hw/erdma/
Derdma_cmdq.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
5 /* Copyright (c) 2020-2022, Alibaba Group. */
12 u64 db_data = FIELD_PREP(ERDMA_CQDB_CI_MASK, cmdq->cq.ci) | in arm_cmdq_cq()
14 FIELD_PREP(ERDMA_CQDB_CMDSN_MASK, cmdq->cq.cmdsn) | in arm_cmdq_cq()
15 FIELD_PREP(ERDMA_CQDB_IDX_MASK, cmdq->cq.cmdsn); in arm_cmdq_cq()
17 *cmdq->cq.db_record = db_data; in arm_cmdq_cq()
18 writeq(db_data, dev->func_bar + ERDMA_CMDQ_CQDB_REG); in arm_cmdq_cq()
20 atomic64_inc(&cmdq->cq.armed_num); in arm_cmdq_cq()
26 u64 db_data = FIELD_PREP(ERDMA_CMD_HDR_WQEBB_INDEX_MASK, cmdq->sq.pi); in kick_cmdq_db()
28 *cmdq->sq.db_record = db_data; in kick_cmdq_db()
[all …]
/Linux-v6.1/block/
Dblk-rq-qos.c1 // SPDX-License-Identifier: GPL-2.0
3 #include "blk-rq-qos.h"
23 return atomic_inc_below(&rq_wait->inflight, limit); in rq_wait_inc_below()
29 if (rqos->ops->cleanup) in __rq_qos_cleanup()
30 rqos->ops->cleanup(rqos, bio); in __rq_qos_cleanup()
31 rqos = rqos->next; in __rq_qos_cleanup()
38 if (rqos->ops->done) in __rq_qos_done()
39 rqos->ops->done(rqos, rq); in __rq_qos_done()
40 rqos = rqos->next; in __rq_qos_done()
47 if (rqos->ops->issue) in __rq_qos_issue()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/display/
Dxylon,logicvc-display.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/display/xylon,logicvc-display.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Paul Kocialkowski <paul.kocialkowski@bootlin.com>
16 with Xilinx Zynq-7000 SoCs and Xilinx FPGAs.
20 synthesis time. As a result, many of the device-tree bindings are meant to
24 Layers are declared in the "layers" sub-node and have dedicated configuration.
32 - xylon,logicvc-3.02.a-display
33 - xylon,logicvc-4.01.a-display
[all …]
/Linux-v6.1/arch/s390/kernel/
Dtrace.c1 // SPDX-License-Identifier: GPL-2.0
20 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.1/tools/testing/selftests/net/forwarding/
Dtc_flower.sh2 # SPDX-License-Identifier: GPL-2.0
49 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
50 -t ip -q
75 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
76 -t ip -q
101 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
102 -t ip -q
112 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
113 -t ip -q
135 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
[all …]
/Linux-v6.1/sound/isa/gus/
Dgus_volume.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 EXPORT_SYMBOL(snd_gf1_atten_table); /* for snd-gus-synth module */
25 e--; in snd_gf1_lvol_to_gvol_raw()
32 m = vol - (1 << e); in snd_gf1_lvol_to_gvol_raw()
35 m >>= e - 8; in snd_gf1_lvol_to_gvol_raw()
37 m <<= 8 - e; in snd_gf1_lvol_to_gvol_raw()
56 return rvol | (m << (e - 8));
57 return rvol | (m >> (8 - e));
76 us /= end - start;
78 us /= start - end;
[all …]
/Linux-v6.1/tools/perf/ui/stdio/
Dhist.c1 // SPDX-License-Identifier: GPL-2.0
18 #include "../../util/block-info.h"
33 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()
68 ret += fprintf(fp, "--"); in ipchain__fprintf_graph()
70 ret += fprintf(fp, "--"); in ipchain__fprintf_graph()
105 strcpy(rem_sq_bracket->name, "[...]"); in init_rem_hits()
[all …]

12345678910>>...42