| /Linux-v5.15/drivers/gpu/drm/ |
| 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. 41 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) in drm_mode_legacy_fb_format() argument 47 if (depth == 8) in drm_mode_legacy_fb_format() 52 switch (depth) { in drm_mode_legacy_fb_format() 65 if (depth == 24) in drm_mode_legacy_fb_format() 70 switch (depth) { in drm_mode_legacy_fb_format() 94 * drm_driver_legacy_fb_format - compute drm fourcc code from legacy description 97 * @depth: bit depth per pixel [all …]
|
| /Linux-v5.15/lib/ |
| 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) = prandom_u32() % 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-v5.15/Documentation/userspace-api/media/v4l/ |
| 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-v5.15/fs/ext4/ |
| D | extents.c | 1 // 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 …]
|
| /Linux-v5.15/arch/powerpc/platforms/powernv/ |
| D | opal-tracepoints.c | 1 // 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 …]
|
| /Linux-v5.15/include/linux/ |
| D | sbitmap.h | 1 /* 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 38 * struct sbitmap - Scalable bitmap. 40 * A &struct sbitmap is spread over multiple cachelines to avoid ping-pong. This 45 * @depth: Number of bits used in the whole bitmap. 47 unsigned int depth; member 60 * @round_robin: Allocate bits in strict round-robin order. [all …]
|
| /Linux-v5.15/fs/minix/ |
| 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-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| 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-v5.15/drivers/gpu/drm/msm/dp/ |
| D | dp_link.h | 1 /* 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-v5.15/drivers/iio/adc/ |
| D | max1027.c | 1 // 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 …]
|
| /Linux-v5.15/Documentation/devicetree/bindings/net/can/ |
| D | xilinx_can.txt | 2 --------------------------------------------------------- 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 …]
|
| /Linux-v5.15/drivers/media/platform/ti-vpe/ |
| D | vpdma.c | 1 // 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-v5.15/kernel/trace/ |
| 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 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-v5.15/fs/sysv/ |
| D | itree.c | 1 // 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-v5.15/Documentation/devicetree/bindings/sound/ |
| 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-v5.15/scripts/dtc/libfdt/ |
| 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-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-v5.15/block/ |
| D | blk-rq-qos.c | 1 // 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 …]
|
| /Linux-v5.15/arch/s390/kernel/ |
| 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-v5.15/fs/quota/ |
| D | quota_tree.c | 1 // 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() 52 struct super_block *sb = info->dqi_sb; in read_blk() [all …]
|
| /Linux-v5.15/sound/isa/gus/ |
| 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-v5.15/fs/xfs/libxfs/ |
| D | xfs_trans_resv.c | 1 // 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() 75 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_log_count() 77 blocks += num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_allocfree_log_count() 87 * Case in point - btree format forks in memory format use more space than the 88 * on-disk format. In memory, the buffer contains a normal btree block header so [all …]
|
| /Linux-v5.15/tools/testing/selftests/net/forwarding/ |
| 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-v5.15/tools/perf/ui/stdio/ |
| D | hist.c | 1 // 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 …]
|
| /Linux-v5.15/Documentation/devicetree/bindings/net/ |
| D | altera_tse.txt | 1 * 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 …]
|
| /Linux-v5.15/arch/sh/kernel/ |
| D | return_address.c | 1 // 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
|