| /linux/drivers/gpu/drm/ |
| H A D | drm_fourcc.c | 34 * 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. 40 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) in drm_mode_legacy_fb_format() argument 46 if (depth == 1) in drm_mode_legacy_fb_format() 51 if (depth == 2) in drm_mode_legacy_fb_format() 56 if (depth == 4) in drm_mode_legacy_fb_format() 61 if (depth == 8) in drm_mode_legacy_fb_format() 66 switch (depth) { in drm_mode_legacy_fb_format() 79 if (depth == 24) in drm_mode_legacy_fb_format() [all …]
|
| /linux/lib/ |
| H A D | sbitmap.c | 1 // 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 D | quota_tree.c | 1 // 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 D | xilinx,can.yaml | 1 # 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 D | pixfmt-inzi.rst | 1 .. 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 D | itree_common.c | 1 // 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 D | opal-tracepoints.c | 1 // 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 D | sbitmap.h | 1 /* 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/kernel/irq/ |
| H A D | irq_test.c | 1 // SPDX-License-Identifier: LGPL-2.1+ 49 virq = irq_domain_alloc_descs(-1, 1, 0, NUMA_NO_NODE, affd); in irq_test_setup_fake_irq() 76 KUNIT_EXPECT_EQ(test, desc->depth, 0); in irq_disable_depth_test() 79 KUNIT_EXPECT_EQ(test, desc->depth, 1); in irq_disable_depth_test() 82 KUNIT_EXPECT_EQ(test, desc->depth, 0); in irq_disable_depth_test() 100 KUNIT_EXPECT_EQ(test, desc->depth, 0); in irq_free_disabled_test() 103 KUNIT_EXPECT_EQ(test, desc->depth, 1); in irq_free_disabled_test() 106 KUNIT_EXPECT_GE(test, desc->depth, 1); in irq_free_disabled_test() 110 KUNIT_EXPECT_EQ(test, desc->depth, 0); in irq_free_disabled_test() 143 KUNIT_EXPECT_EQ(test, desc->depth, 0); in irq_shutdown_depth_test() [all …]
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | commonring.c | 1 // 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 D | mdp_cfg_data.c | 1 // 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/video/fbdev/core/ |
| H A D | fb_logo.c | 1 // 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 D | altr,tse.yaml | 1 # 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/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
| H A D | sfq.json | 17 … "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… [all …]
|
| /linux/scripts/dtc/libfdt/ |
| H A D | fdt.c | 1 // 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-byt in fdt_ro_probe_() 247 fdt_next_node(const void * fdt,int offset,int * depth) fdt_next_node() argument 289 int depth = 0; fdt_first_subnode() local 300 int depth = 1; fdt_next_subnode() local [all...] |
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | cs35l35.txt | 5 - 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 D | trace_functions_graph.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2008-2009 Frederic Weisbecker <fweisbec@gmail.com> 24 int depth; member 55 /* Display overruns? (for self-debug purpose) */ 56 { TRACER_OPT(funcgraph-overrun, TRACE_GRAPH_PRINT_OVERRUN) }, 58 { TRACER_OPT(funcgraph-cpu, TRACE_GRAPH_PRINT_CPU) }, 60 { TRACER_OPT(funcgraph-overhead, TRACE_GRAPH_PRINT_OVERHEAD) }, 62 { TRACER_OPT(funcgraph-proc, TRACE_GRAPH_PRINT_PROC) }, 64 { TRACER_OPT(funcgraph-duration, TRACE_GRAPH_PRINT_DURATION) }, 66 { TRACER_OPT(funcgraph-abstime, TRACE_GRAPH_PRINT_ABS_TIME) }, [all …]
|
| /linux/Documentation/devicetree/bindings/display/ |
| H A D | xylon,logicvc-display.yaml | 1 # 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 D | dce_transform.c | 2 * 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 D | hist.c | 1 // SPDX-License-Identifier: GPL-2.0 19 #include "../../util/block-info.h" 37 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line() argument 43 for (i = 0; i < depth; i++) in ipchain__fprintf_graph_line() 56 int depth, int depth_mask, int period, in ipchain__fprintf_graph() argument 66 for (i = 0; i < depth; i++) { in ipchain__fprintf_graph() 71 if (!period && i == depth - 1) { in ipchain__fprintf_graph() 72 ret += fprintf(fp, "--"); in ipchain__fprintf_graph() 74 ret += fprintf(fp, "--"); in ipchain__fprintf_graph() 109 strcpy(rem_sq_bracket->name, "[...]"); in init_rem_hits() [all …]
|
| /linux/sound/isa/gus/ |
| H A D | gus_volume.c | 1 // 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/arch/s390/kernel/ |
| H A D | trace.c | 1 // 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/tools/testing/selftests/net/forwarding/ |
| H A D | tc_flower.sh | 2 # 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/drivers/video/fbdev/sis/ |
| H A D | init.c | 10 * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria 27 * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA 55 * Formerly based on non-functional code-fragements for 300 series by SiS, Inc. 81 SiS_Pr->SiS_SModeIDTable = SiS_SModeIDTable; in InitCommonPointer() 82 SiS_Pr->SiS_StResInfo = SiS_StResInfo; in InitCommonPointer() 83 SiS_Pr->SiS_ModeResInfo = SiS_ModeResInfo; in InitCommonPointer() 84 SiS_Pr->SiS_StandTable = SiS_StandTable; in InitCommonPointer() 86 SiS_Pr->SiS_NTSCTiming = SiS_NTSCTiming; in InitCommonPointer() 87 SiS_Pr->SiS_PALTiming = SiS_PALTiming; in InitCommonPointer() 88 SiS_Pr->SiS_HiTVSt1Timing = SiS_HiTVSt1Timing; in InitCommonPointer() [all …]
|
| /linux/arch/sh/kernel/ |
| H A D | return_address.c | 1 // SPDX-License-Identifier: GPL-2.0 16 void *return_address(unsigned int depth) in return_address() argument 22 for (i = 0, frame = NULL, ra = 0; i <= depth; i++) { in return_address() 34 if (!frame || !frame->return_addr) in return_address() 37 ra = frame->return_addr; in return_address() 40 /* Failed to unwind the stack to the specified depth. */ in return_address() 41 WARN_ON(i != depth + 1); in return_address() 51 void *return_address(unsigned int depth) in return_address() argument
|