Home
last modified time | relevance | path

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

12345678910>>...41

/linux/drivers/gpu/drm/
H A 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/lib/
H A 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) = get_random_u32_below(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/fs/quota/
H A Dquota_tree.c1 // SPDX-License-Identifier: GPL-2.0-only
25 * Maximum quota tree depth we support. Only to limit recursion when working
32 static int __get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth) in __get_index() argument
34 unsigned int epb = info->dqi_usable_bs >> 2; in __get_index()
36 depth = info->dqi_qtree_depth - depth - 1; in __get_index()
37 while (depth--) in __get_index()
42 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index() argument
46 return __get_index(info, id, depth); in get_index()
52 return (info->dqi_usable_bs - sizeof(struct qt_disk_dqdbheader)) in qtree_dqstr_in_blk()
53 / info->dqi_entry_size; in qtree_dqstr_in_blk()
[all …]
/linux/Documentation/devicetree/bindings/net/can/
H A 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/Documentation/userspace-api/media/v4l/
H A 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/fs/minix/
H A 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/arch/powerpc/platforms/powernv/
H A 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/include/linux/
H A 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.
41 * @swap_lock: serializes simultaneous updates of ->word and ->cleared
47 * struct sbitmap - Scalable bitmap.
49 * A &struct sbitmap is spread over multiple cachelines to avoid ping-pong. This
54 * @depth: Number of bits used in the whole bitmap.
56 unsigned int depth; member
69 * @round_robin: Allocate bits in strict round-robin order.
81 * This is per-cpu, which allows multiple users to stick to different
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A 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/drivers/media/platform/mediatek/mdp3/
H A Dmdp_cfg_data.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com>
7 #include "mtk-img-ipi.h"
8 #include "mtk-mdp3-cfg.h"
9 #include "mtk-mdp3-core.h"
10 #include "mtk-mdp3-comp.h"
11 #include "mtk-mdp3-regs.h"
168 [MDP_INFRA_MMSYS] = { .compatible = "mediatek,mt8183-mmsys" },
169 [MDP_INFRA_MUTEX] = { .compatible = "mediatek,mt8183-disp-mutex" },
170 [MDP_INFRA_SCP] = { .compatible = "mediatek,mt8183-scp" }
[all …]
/linux/drivers/media/platform/ti/vpe/
H A 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/drivers/video/fbdev/core/
H A Dfb_logo.c1 // SPDX-License-Identifier: GPL-2.0
9 int fb_logo_count __read_mostly = -1;
13 return n < 0 ? d >> -n : d << n; in safe_shift()
24 const unsigned char *clut = logo->clut; in fb_set_logocmap()
33 for (i = 0; i < logo->clutsize; i += n) { in fb_set_logocmap()
34 n = logo->clutsize - i; in fb_set_logocmap()
60 const unsigned char *clut = logo->clut; in fb_set_logo_truepalette()
67 redmask = mask[info->var.red.length < 8 ? info->var.red.length : 8]; in fb_set_logo_truepalette()
68 greenmask = mask[info->var.green.length < 8 ? info->var.green.length : 8]; in fb_set_logo_truepalette()
69 bluemask = mask[info->var.blue.length < 8 ? info->var.blue.length : 8]; in fb_set_logo_truepalette()
[all …]
/linux/Documentation/devicetree/bindings/net/
H A 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/Documentation/devicetree/bindings/spi/
H A Dspi-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/spi/spi-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Mark Brown <broonie@kernel.org>
20 pattern: "^spi(@.*|-([0-9]|[1-9][0-9]+))?$"
22 "#address-cells":
25 "#size-cells":
28 cs-gpios:
32 increased automatically with max(cs-gpios, hardware chip selects).
[all …]
/linux/fs/sysv/
H A Ditree.c1 // SPDX-License-Identifier: GPL-2.0
6 * AV, Sep--Dec 2000
15 enum {DIRECT = 10, DEPTH = 4}; /* Have triple indirect */ enumerator
24 static int block_to_path(struct inode *inode, long block, int offsets[DEPTH]) in block_to_path() argument
26 struct super_block *sb = inode->i_sb; in block_to_path()
28 int ptrs_bits = sbi->s_ind_per_block_bits; in block_to_path()
29 unsigned long indirect_blocks = sbi->s_ind_per_block, in block_to_path()
30 double_blocks = sbi->s_ind_per_block_2; in block_to_path()
37 } else if ( (block -= DIRECT) < indirect_blocks) { in block_to_path()
40 } else if ((block -= indirect_blocks) < double_blocks) { in block_to_path()
[all …]
/linux/scripts/dtc/libfdt/
H A 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/Documentation/devicetree/bindings/sound/
H A 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/kernel/trace/
H A 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-pro
860 check_irq_entry(struct trace_iterator * iter,u32 flags,unsigned long addr,int depth) check_irq_entry() argument
906 check_irq_return(struct trace_iterator * iter,u32 flags,int depth) check_irq_return() argument
1071 int depth = 0; print_graph_comment() local
1316 int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth); graph_trace_open() local
[all...]
/linux/tools/testing/selftests/net/forwarding/
H A 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/Documentation/devicetree/bindings/display/
H A 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/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_transform.c2 * Copyright 2012-16 Advanced Micro Devices, Inc.
33 (xfm_dce->regs->reg)
37 xfm_dce->xfm_shift->field_name, xfm_dce->xfm_mask->field_name
40 xfm_dce->base.ctx
42 xfm_dce->base.ctx->logger
86 /* 00 - BITS2:0 Bypass */
88 /* 01 - hard coded coefficient TV RGB */
90 /* 04 - programmable OUTPUT CSC coefficient */
122 if (data->taps.h_taps + data->taps.v_taps <= 2) { in setup_scaling_configuration()
124 if (xfm_dce->xfm_mask->SCL_PSCL_EN != 0) in setup_scaling_configuration()
[all …]
/linux/tools/perf/ui/stdio/
H A 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 - in ipchain__fprintf_graph()
110 __callchain__fprintf_graph(FILE * fp,struct rb_root * root,u64 total_samples,int depth,int depth_mask,int left_margin) __callchain__fprintf_graph() argument
637 int depth; hists__fprintf_hierarchy_headers() local
878 int depth = hists->nr_hpp_node + h->depth + 1; hists__fprintf() local
[all...]
/linux/drivers/infiniband/hw/efa/
H A Defa_com.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 * Copyright 2018-2024 Amazon.com, Inc. or its affiliates. All rights reserved.
74 struct efa_com_mmio_read *mmio_read = &edev->mmio_read; in efa_com_reg_read32()
80 read_resp = mmio_read->read_resp; in efa_com_reg_read32()
82 spin_lock(&mmio_read->lock); in efa_com_reg_read32()
83 mmio_read->seq_num++; in efa_com_reg_read32()
86 read_resp->req_id = mmio_read->seq_num + 0x9aL; in efa_com_reg_read32()
89 mmio_read->seq_num); in efa_com_reg_read32()
91 writel(mmio_read_reg, edev->reg_bar + EFA_REGS_MMIO_REG_READ_OFF); in efa_com_reg_read32()
93 exp_time = jiffies + usecs_to_jiffies(mmio_read->mmio_read_timeout); in efa_com_reg_read32()
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
H A Dsfq.json17 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum.*depth 127 divisor 1024",
38 "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 8p",
59 "matchPattern": "depth 127 divisor 1024 perturb 10sec",
80 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 9000b depth 127 divisor 1024",
101 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 divisor 512",
130 "name": "Create SFQ with depth setting",
140 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq depth 64",
143 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 64 divisor 1024",
164 …"matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 headdrop divis…
185 …"matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 headdrop divis…
/linux/sound/isa/gus/
H A 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 - ( in snd_gf1_lvol_to_gvol_raw()
[all...]

12345678910>>...41