/linux/include/linux/dma/ |
H A D | ti-cppi5.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com 16 * struct cppi5_desc_hdr_t - Descriptor header, present in all types of 20 * @pkt_info0: Packet info word 2 (n/a in Buffer desc) 31 * struct cppi5_host_desc_t - Host-mode packet and buffer descriptor definition 39 * Protocol Specific Data (optional, 0-128 bytes in 41 * Other Software Data (0-N bytes, optional) 61 #define CPPI5_INFO0_DESC_TYPE_VAL_MONO (2U) 66 * 0 - located in the descriptor, 87 /* Return Policy: 0 - Entire packet 1 - Each buffer */ [all …]
|
/linux/tools/include/linux/ |
H A D | overflow.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 12 * #define type_min(T) (T)(is_signed_type(T) ? (T)1 << (8*sizeof(T)-1) : 0) 13 * #define type_max(T) (T)(is_signed_type(T) ? ((T)1 << (8*sizeof(T)-1)) - 1 : ~(T)0) 17 * the type_max expression (but not if -fsanitize=undefined is in 23 * a-feature-not-a-bug, since people shouldn't be doing arithmetic on 28 * https://mail-index.netbsd.org/tech-misc/2007/02/05/0000.html - 31 #define is_signed_type(type) (((type)(-1)) < (type)1) 32 #define __type_half_max(type) ((type)1 << (8*sizeof(type) - 1 - is_signed_type(type))) 33 #define type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) 34 #define type_min(T) ((T)((T)-type_max(T)-(T)1)) [all …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | mediatek,mdp3-tdshp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/mediatek,mdp3-tdshp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek Media Data Path 3 Two-Dimensional Sharpness 10 - Matthias Brugger <matthias.bgg@gmail.com> 11 - Moudy Ho <moudy.ho@mediatek.com> 14 Two-Dimensional Sharpness (TDSHP) is a Media Profile Path 3 (MDP3) component 20 - enum: 21 - mediatek,mt8195-mdp3-tdshp [all …]
|
H A D | video-interface-devices.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/video-interface-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo@jmondi.org> 11 - Sakari Ailus <sakari.ailus@linux.intel.com> 14 flash-leds: 15 $ref: /schemas/types.yaml#/definitions/phandle-array 17 An array of phandles, each referring to a flash LED, a sub-node of the LED 20 lens-focus: [all …]
|
/linux/Documentation/devicetree/bindings/iio/ |
H A D | mount-matrix.txt | 2 * is the definition of +/- values practical or counterintuitive? 13 that produce three-dimensional data in relation to the world where it is 37 reference. This means that the sensor may be flipped upside-down, left-right, 47 Device-to-world examples for some three-dimensional sensor types: 49 - Accelerometers have their world frame of reference toward the center of 55 9.81 m/s^2 upwards along the (z) axis, i.e. out of the screen when the device 57 as the gravity vector is projected 1:1 onto the sensors (z)-axis. 67 +--------+ +--------+ 69 +--------+ +--------+ 80 (---------) [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | btf_dump_test_case_multidim.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 4 * BTF-to-C dumper test for multi-dimensional array output. 8 /* ----- START-EXPECTED-OUTPUT ----- */ 9 typedef int arr_t[2]; 30 /* ------ END-EXPECTED-OUTPUT ------ */
|
H A D | core_reloc_types.h | 31 /* we have test_progs[-flavor], so cut flavor part */ 364 char b[2][3][4]; 366 struct core_reloc_arrays_substruct d[1][2]; 367 struct core_reloc_arrays_substruct f[][2]; 375 struct core_reloc_arrays_substruct d[2][3]; 382 char b[2][3][4]; 392 } d[1][2]; 397 } f[][2]; 402 char b[2][3][4]; 404 struct core_reloc_arrays_substruct d[1][2]; [all...] |
/linux/include/linux/ |
H A D | overflow.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 14 * #define type_min(T) (T)(is_signed_type(T) ? (T)1 << (8*sizeof(T)-1) : 0) 15 * #define type_max(T) (T)(is_signed_type(T) ? ((T)1 << (8*sizeof(T)-1)) - 1 : ~(T)0) 19 * the type_max expression (but not if -fsanitize=undefined is in 25 * a-feature-not-a-bug, since people shouldn't be doing arithmetic on 30 * https://mail-index.netbsd.org/tech-misc/2007/02/05/0000.html - 33 #define __type_half_max(type) ((type)1 << (8*sizeof(type) - 1 - is_signed_type(type))) 34 #define __type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) 36 #define __type_min(T) ((T)((T)-type_max(T)-(T)1)) 40 * Avoids triggering -Wtype-limits compilation warning, [all …]
|
H A D | edac.h | 6 * 2006-2008 (c) MontaVista Software, Inc. This file is licensed under 7 * the terms of the GNU General Public License version 2. This program 26 #define EDAC_OPSTATE_INVAL -1 29 #define EDAC_OPSTATE_INT 2 60 * enum dev_type - describe the type of memory DRAM chips used at the stick 63 * @DEV_X2: 2 bits for data 93 * enum hw_event_mc_err_type - type of the detected error 95 * @HW_EVENT_ERR_CORRECTED: Corrected Error - Indicates that an ECC 97 * @HW_EVENT_ERR_UNCORRECTED: Uncorrected Error - Indicates an error that 101 * it for example, by re-trying the operation). [all …]
|
/linux/include/media/i2c/ |
H A D | upd64083.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * upd6408x - NEC Electronics 3-Dimensional Y/C separation input defines 19 YCNR mode is used for S-Video inputs. 21 The external Y-ADC is selected when the composite input comes from a 23 the input is a S-Video signal, then the internal Y-ADC input should 30 /* YCS+ mode: 2D Y/C separation and YCNR (burst locked clocking) */ 34 external Y-ADC. */ 36 #define UPD64083_MNNR_MODE 2 40 /* Select external Y-ADC: this should be set if this device is used in 42 Otherwise leave at 0 (use internal Y-ADC). */ [all …]
|
/linux/include/sound/ |
H A D | madera-pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2016-2019 Cirrus Logic, Inc. and 18 #define MADERA_MAX_PDM_SPK 2 35 * values. Two-dimensional array 38 * [n][0]=INnAL [n][1]=INnAR [n][2]=INnBL [n][3]=INnBR
|
/linux/Documentation/admin-guide/perf/ |
H A D | qcom_l2_pmu.rst | 2 Qualcomm Technologies Level-2 Cache Performance Monitoring Unit (PMU) 17 Events can be envisioned as a 2-dimensional array. Each column represents 22 Events are specified as 0xCCG, where CC is 2 hex digits specifying 23 the code (array row) and G specifies the group (column) 0-7. 34 perf stat -e l2cache_0/config=0x001/,l2cache_0/config=0x042/ -a sleep 1 36 perf stat -e l2cache_0/config=0xfe/ -C 2 sleep 1 39 not work. Per-task perf sessions are not supported.
|
/linux/arch/mips/include/asm/mach-au1x00/ |
H A D | au1xxx_dbdma.h | 12 * Free Software Foundation; either version 2 of the License, or (at your 32 * Specifics for the Au1xxx Descriptor-Based DMA Controller, 48 #define DDMA_CONFIG_AF (1 << 2) 57 u32 ddma_desptr; /* 32-byte aligned pointer to descriptor */ 72 #define DDMA_CFG_DFN (1 << 3) /* Descriptor fetch non-coherent */ 73 #define DDMA_CFG_SBE (1 << 2) /* Source big endian */ 84 #define DDMA_STAT_DB (1 << 2) /* Doorbell pushed */ 90 * Must be 32-byte aligned. 103 * Let's have some SW data following -- make sure it's 32 bytes. 111 #define DSCR_CMD0_MEM (1 << 30) /* mem-mem transfer */ [all …]
|
/linux/Documentation/userspace-api/ |
H A D | dma-buf-alloc-exchange.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. Copyright 2021-2023 Collabora Ltd. 9 support for sharing pixel-buffer allocations between processes, devices, and 12 approach this sharing for two-dimensional image data. 25 Conceptually a two-dimensional array of pixels. The pixels may be stored 30 A span along a single y-axis value, e.g. from co-ordinates (0,100) to 37 A span along a single x-axis value, e.g. from co-ordinates (100,0) to 46 A two-dimensional array of some or all of an image's color and alpha 80 A value that denotes the relationship between pixel-location co-ordinates 81 and byte-offset values. Typically used as the byte offset between two [all …]
|
/linux/Documentation/cpu-freq/ |
H A D | cpufreq-stats.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 2. Statistics Provided (with example) 16 3. Configuring cpufreq-stats 22 cpufreq-stats is a driver that provides CPU frequency statistics for each CPU. 32 2. Statistics Provided (with example) 37 - time_in_state 38 - total_trans 39 - trans_table 48 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # ls -l 50 drwxr-xr-x 2 root root 0 May 14 16:06 . [all …]
|
/linux/drivers/clk/ux500/ |
H A D | reset-prcc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/reset-controller.h> 17 #include "reset-prcc.h" 21 /* This macro flattens the 2-dimensional PRCC numberspace */ 26 * Reset registers in each PRCC - the reset lines are active low 41 case 2: in prcc_num_to_index() 50 return -EINVAL; in prcc_num_to_index() 61 if (index >= ARRAY_SIZE(ur->base)) in u8500_prcc_reset_base() 64 return ur->base[index]; in u8500_prcc_reset_base() 141 if (reset_spec->args_count != 2) in u8500_prcc_reset_xlate() [all …]
|
/linux/arch/x86/include/asm/ |
H A D | vmxfeatures.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #define NVMXINTS 5 /* N 32-bit words worth of info */ 16 /* Pin-Based VM-Execution Controls, EPT/VPID, APIC and VM-Functions, word 0 */ 17 #define VMX_FEATURE_INTR_EXITING ( 0*32+ 0) /* VM-Exit on vectored interrupts */ 18 #define VMX_FEATURE_NMI_EXITING ( 0*32+ 3) /* VM-Exit on NMIs */ 23 /* EPT/VPID features, scattered to bits 16-23 */ 28 #define VMX_FEATURE_EPT_5LEVEL ( 0*32+ 20) /* "ept_5level" 5-level EPT paging */ 30 /* Aggregated APIC features 24-27 */ 34 /* VM-Functions, shifted to bits 28-31 */ 37 /* Primary Processor-Based VM-Execution Controls, word 1 */ [all …]
|
/linux/Documentation/mm/ |
H A D | memory-model.rst | 1 .. SPDX-License-Identifier: GPL-2.0 23 Regardless of the selected memory model, there exists one-to-one 35 non-NUMA systems with contiguous, or mostly contiguous, physical 54 straightforward: `PFN - ARCH_PFN_OFFSET` is an index to the 65 as hot-plug and hot-remove of the physical memory, alternative memory 66 maps for non-volatile memory devices and deferred initialization of 85 NR\_MEM\_SECTIONS = 2 ^ {(MAX\_PHYSMEM\_BITS - SECTION\_SIZE\_BITS)} 87 The `mem_section` objects are arranged in a two-dimensional array 104 corresponding `struct page` - a "classic sparse" and "sparse 108 The classic sparse encodes the section number of a page in page->flags [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-codec.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _codec-controls: 24 .. _mpeg-control-id: 27 ----------------- 35 .. _v4l2-mpeg-stream-type: 40 enum v4l2_mpeg_stream_type - 41 The MPEG-1, -2 or -4 output stream type. One cannot assume anything 48 .. flat-table:: 49 :header-rows: 0 50 :stub-columns: 0 [all …]
|
/linux/drivers/media/i2c/ |
H A D | upd64083.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * upd6408x - NEC Electronics 3-Dimensional Y/C separation driver 5 * 2003 by T.Adachi (tadachi@tadachi-net.com) 15 #include <media/v4l2-device.h> 25 MODULE_PARM_DESC(debug, "Debug level (0-1)"); 59 /* ------------------------------------------------------------------------ */ 64 u8 buf[2]; in upd64083_write() 69 if (i2c_master_send(client, buf, 2) != 2) in upd64083_write() 73 /* ------------------------------------------------------------------------ */ 88 /* ------------------------------------------------------------------------ */ [all …]
|
/linux/Documentation/virt/kvm/x86/ |
H A D | mmu.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 - correctness: 18 - security: 21 - performance: 23 - scaling: 25 - hardware: 27 - integration: 31 - dirty tracking: 33 and framebuffer-based displays 34 - footprint: [all …]
|
/linux/Documentation/sound/cards/ |
H A D | hdspm.rst | 2 Software Interface ALSA-DSP MADI Driver 5 (translated from German, so no good English ;-), 7 2004 - winfried ritsch 11 the Controls and startup-options are ALSA-Standard and only the 19 ------------------ 21 * number of channels -- depends on transmission mode 29 * Single Speed -- 1..64 channels 37 * Double Speed -- 1..32 channels 40 Note: Choosing the 56-channel mode for 41 transmission/receive-mode , only 28 are transmitted/received [all …]
|
/linux/kernel/sched/ |
H A D | cpupri.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2007-2008 Novell 18 * a 2 dimensional bitmap (the first for priority class, the second for CPUs 28 * p->rt_priority p->prio newpri cpupri 30 * -1 -1 (CPUPRI_INVALID) 49 cpupri = CPUPRI_INVALID; /* -1 */ in convert_prio() 53 cpupri = MAX_RT_PRIO-1 - prio; /* 1 ... 99 */ in convert_prio() 56 case MAX_RT_PRIO-1: in convert_prio() 71 struct cpupri_vec *vec = &cp->pri_to_cpu[idx]; in __cpupri_find() 74 if (!atomic_read(&(vec)->count)) in __cpupri_find() [all …]
|
/linux/Documentation/userspace-api/media/mediactl/ |
H A D | media-types.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _media-controller-types: 10 .. _media-entity-functions: 11 .. _MEDIA-ENT-F-UNKNOWN: 12 .. _MEDIA-ENT-F-V4L2-SUBDEV-UNKNOWN: 13 .. _MEDIA-ENT-F-IO-V4L: 14 .. _MEDIA-ENT-F-IO-VBI: 15 .. _MEDIA-ENT-F-IO-SWRADIO: 16 .. _MEDIA-ENT-F-IO-DTV: 17 .. _MEDIA-ENT-F-DTV-DEMOD: [all …]
|
/linux/Documentation/driver-api/ |
H A D | device_link.rst | 57 device ``->probe`` callback or a boot-time PCI quirk. 61 ``->probe`` callback while the supplier hasn't started to probe yet: Had the 65 non-presence. [Note that it is valid to create a link from the consumer's 66 ``->probe`` callback while the supplier is still probing, but the consumer must 72 is added in the ``->probe`` callback of the supplier or consumer driver, it is 73 typically deleted in its ``->remove`` callback for symmetry. That way, if the 87 link is added from the consumer's ``->probe`` callback: ``DL_FLAG_RPM_ACTIVE`` 93 Similarly, when the device link is added from supplier's ``->probe`` callback, 125 :c:func:`device_link_add()` may cause the PM-runtime usage counter of the 129 called twice in a row for the same consumer-supplier pair without removing the [all …]
|