Home
last modified time | relevance | path

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

12345678910>>...42

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_fourcc.c39 * drm_mode_legacy_fb_format - compute drm fourcc code from legacy description
41 * @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()
99 * drm_driver_legacy_fb_format - compute drm fourcc code from legacy description
102 * @depth: bit depth per pixel
[all …]
/kernel/linux/linux-5.10/lib/
Dsbitmap.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2013-2014 Jens Axboe
21 spin_lock_irqsave(&sb->map[index].swap_lock, flags); in sbitmap_deferred_clear()
23 if (!sb->map[index].cleared) in sbitmap_deferred_clear()
29 mask = xchg(&sb->map[index].cleared, 0); in sbitmap_deferred_clear()
35 val = sb->map[index].word; in sbitmap_deferred_clear()
36 } while (cmpxchg(&sb->map[index].word, val, val & ~mask) != val); in sbitmap_deferred_clear()
40 spin_unlock_irqrestore(&sb->map[index].swap_lock, flags); in sbitmap_deferred_clear()
44 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()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-tracepoints.c1 // SPDX-License-Identifier: GPL-2.0
5 #include <asm/asm-prototypes.h>
38 opal_tracepoint_refcount--; in opal_tracepoint_unregfunc()
51 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()
[all …]
/kernel/linux/linux-5.10/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
30 #include <linux/backing-dev.h>
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()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/include/linux/
Dsbitmap.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * Copyright (C) 2013-2014 Jens Axboe
18 * struct sbitmap_word - Word in a &struct sbitmap.
22 * @depth: Number of bits being used in @word/@cleared
24 unsigned long depth; member
37 * @swap_lock: Held while swapping word <-> cleared
43 * struct sbitmap - Scalable bitmap.
45 * A &struct sbitmap is spread over multiple cachelines to avoid ping-pong. This
50 * @depth: Number of bits used in the whole bitmap.
52 unsigned int depth; member
[all …]
/kernel/linux/linux-5.10/arch/sh/oprofile/
Dbacktrace.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Author: Dave Peverley <dpeverley@mpc-data.co.uk>
24 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()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dmax1027.c1 // SPDX-License-Identifier: GPL-2.0-only
94 #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), \
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/can/
Dxilinx_can.txt2 ---------------------------------------------------------
5 - compatible : Should be:
6 - "xlnx,zynq-can-1.0" for Zynq CAN controllers
7 - "xlnx,axi-can-1.00.a" for Axi CAN controllers
8 - "xlnx,canfd-1.0" for CAN FD controllers
9 - "xlnx,canfd-2.0" for CAN FD 2.0 controllers
10 - reg : Physical base address and size of the controller
12 - interrupts : Property with a value describing the interrupt
14 - clock-names : List of input clock names
15 - "can_clk", "pclk" (For CANPS),
[all …]
/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
55 head = (struct stack_frame_ia32 *) regs->bp; in x86_backtrace_32()
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()
102 oprofile_add_trace(regs->ip); 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()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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
29 return -FDT_ERR_BADVERSION; in fdt_ro_probe_()
32 return -FDT_ERR_BADVERSION; in fdt_ro_probe_()
35 /* Unfinished sequential-write blob */ in fdt_ro_probe_()
37 return -FDT_ERR_BADSTATE; in fdt_ro_probe_()
39 return -FDT_ERR_BADMAGIC; in fdt_ro_probe_()
45 return -FDT_ERR_TRUNCATED; in fdt_ro_probe_()
90 return -FDT_ERR_BADMAGIC; in fdt_check_header()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/block/
Dblk-rq-qos.c1 // SPDX-License-Identifier: GPL-2.0
3 #include "blk-rq-qos.h"
29 return atomic_inc_below(&rq_wait->inflight, limit); in rq_wait_inc_below()
35 if (rqos->ops->cleanup) in __rq_qos_cleanup()
36 rqos->ops->cleanup(rqos, bio); in __rq_qos_cleanup()
37 rqos = rqos->next; in __rq_qos_cleanup()
44 if (rqos->ops->done) in __rq_qos_done()
45 rqos->ops->done(rqos, rq); in __rq_qos_done()
46 rqos = rqos->next; in __rq_qos_done()
53 if (rqos->ops->issue) in __rq_qos_issue()
[all …]
/kernel/linux/linux-5.10/fs/quota/
Dquota_tree.c1 // SPDX-License-Identifier: GPL-2.0-only
26 static int __get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth) in __get_index() argument
28 unsigned int epb = info->dqi_usable_bs >> 2; in __get_index()
30 depth = info->dqi_qtree_depth - depth - 1; in __get_index()
31 while (depth--) in __get_index()
36 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index() argument
40 return __get_index(info, id, depth); in get_index()
46 return (info->dqi_usable_bs - sizeof(struct qt_disk_dqdbheader)) in qtree_dqstr_in_blk()
47 / info->dqi_entry_size; in qtree_dqstr_in_blk()
61 struct super_block *sb = info->dqi_sb; in read_blk()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_trans_resv.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
56 * Per-extent log reservation for the btree changes involved in freeing or
62 * num trees * ((2 blocks/level * max depth) - 1)
64 * Keep in mind that max depth is calculated separately for each type of tree.
73 blocks = num_ops * 2 * (2 * mp->m_ag_maxlevels - 1); in xfs_allocfree_log_count()
74 if (xfs_sb_version_hasrmapbt(&mp->m_sb)) in xfs_allocfree_log_count()
75 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_log_count()
76 if (xfs_sb_version_hasreflink(&mp->m_sb)) in xfs_allocfree_log_count()
77 blocks += num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_allocfree_log_count()
[all …]
/kernel/linux/linux-5.10/arch/sh/kernel/
Dreturn_address.c1 // SPDX-License-Identifier: GPL-2.0
14 void *return_address(unsigned int depth) in return_address() argument
20 for (i = 0, frame = NULL, ra = 0; i <= depth; i++) { in return_address()
32 if (!frame || !frame->return_addr) in return_address()
35 ra = frame->return_addr; 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/Documentation/devicetree/bindings/net/
Daltera_tse.txt1 * Altera Triple-Speed Ethernet MAC driver (TSE)
4 - compatible: Should be "altr,tse-1.0" for legacy SGDMA based TSE, and should
5 be "altr,tse-msgdma-1.0" for the preferred MSGDMA based TSE.
8 - reg: Address and length of the register set for the device. It contains
9 the information of registers in the same order as described by reg-names
10 - reg-names: Should contain the reg names
18 - interrupts: Should contain the TSE interrupts and it's mode.
19 - interrupt-names: Should contain the interrupt names
22 - rx-fifo-depth: MAC receive FIFO buffer depth in bytes
23 - tx-fifo-depth: MAC transmit FIFO buffer depth in bytes
[all …]

12345678910>>...42