Home
last modified time | relevance | path

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

12345678910>>...43

/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-4.19/lib/
Dsbitmap.c3 * Copyright (C) 2013-2014 Jens Axboe
23 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()
39 shift--; in sbitmap_init_node()
44 return -EINVAL; in sbitmap_init_node()
46 sb->shift = shift; 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()
[all …]
/kernel/linux/linux-4.19/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
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()
82 * drm_get_format_name - fill a string with a drm fourcc format's name
84 * @buf: caller-supplied buffer
88 snprintf(buf->str, sizeof(buf->str), in drm_get_format_name()
[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-4.19/Documentation/media/uapi/v4l/
Dpixfmt-inzi.rst1 .. -*- coding: utf-8; mode: rst -*-
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-4.19/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>
52 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_extent_block_csum()
55 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)eh, in ext4_extent_block_csum()
65 if (!ext4_has_metadata_csum(inode->i_sb)) in ext4_extent_block_csum_verify()
69 if (et->et_checksum != ext4_extent_block_csum(inode, eh)) in ext4_extent_block_csum_verify()
[all …]
/kernel/linux/linux-4.19/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/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-4.19/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-4.19/include/linux/
Dsbitmap.h5 * Copyright (C) 2013-2014 Jens Axboe
29 * struct sbitmap_word - Word in a &struct sbitmap.
38 * @depth: Number of bits being used in @word.
40 unsigned long depth; member
44 * struct sbitmap - Scalable bitmap.
46 * A &struct sbitmap is spread over multiple cachelines to avoid ping-pong. This
51 * @depth: Number of bits used in the whole bitmap.
53 unsigned int depth; member
75 * struct sbq_wait_state - Wait queue in a &struct sbitmap_queue.
90 * struct sbitmap_queue - Scalable bitmap with the added ability to wait on free
[all …]
/kernel/linux/linux-4.19/block/
Dblk-tag.c1 // SPDX-License-Identifier: GPL-2.0
14 * blk_queue_find_tag - find a request by its tag and queue
26 return blk_map_queue_find_tag(q->queue_tags, tag); in blk_queue_find_tag()
31 * blk_free_tags - release a given set of tag maintenance info
39 if (atomic_dec_and_test(&bqt->refcnt)) { in blk_free_tags()
40 BUG_ON(find_first_bit(bqt->tag_map, bqt->max_depth) < in blk_free_tags()
41 bqt->max_depth); in blk_free_tags()
43 kfree(bqt->tag_index); in blk_free_tags()
44 bqt->tag_index = NULL; in blk_free_tags()
46 kfree(bqt->tag_map); in blk_free_tags()
[all …]
Dblk-rq-qos.c1 #include "blk-rq-qos.h"
27 return atomic_inc_below(&rq_wait->inflight, limit); in rq_wait_inc_below()
34 for (rqos = q->rq_qos; rqos; rqos = rqos->next) { in rq_qos_cleanup()
35 if (rqos->ops->cleanup) in rq_qos_cleanup()
36 rqos->ops->cleanup(rqos, bio); in rq_qos_cleanup()
44 for (rqos = q->rq_qos; rqos; rqos = rqos->next) { in rq_qos_done()
45 if (rqos->ops->done) in rq_qos_done()
46 rqos->ops->done(rqos, rq); in rq_qos_done()
54 for(rqos = q->rq_qos; rqos; rqos = rqos->next) { in rq_qos_issue()
55 if (rqos->ops->issue) in rq_qos_issue()
[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-4.19/arch/sh/oprofile/
Dbacktrace.c6 * Author: Dave Peverley <dpeverley@mpc-data.co.uk>
34 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.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-4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcommonring.c32 commonring->cr_ring_bell = cr_ring_bell; in brcmf_commonring_register_cb()
33 commonring->cr_update_rptr = cr_update_rptr; in brcmf_commonring_register_cb()
34 commonring->cr_update_wptr = cr_update_wptr; in brcmf_commonring_register_cb()
35 commonring->cr_write_rptr = cr_write_rptr; in brcmf_commonring_register_cb()
36 commonring->cr_write_wptr = cr_write_wptr; in brcmf_commonring_register_cb()
37 commonring->cr_ctx = ctx; in brcmf_commonring_register_cb()
41 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument
44 commonring->depth = depth; in brcmf_commonring_config()
45 commonring->item_len = item_len; in brcmf_commonring_config()
46 commonring->buf_addr = buf_addr; in brcmf_commonring_config()
[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-4.19/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 - reg : Physical base address and size of the controller
11 - interrupts : Property with a value describing the interrupt
13 - clock-names : List of input clock names
14 - "can_clk", "pclk" (For CANPS),
15 - "can_clk", "s_axi_aclk" (For AXI CAN and CAN FD).
[all …]
/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
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 …]

12345678910>>...43