Home
last modified time | relevance | path

Searched +full:2 +full:- +full:dimensional (Results 1 – 25 of 31) sorted by relevance

12

/linux/tools/include/linux/
H A Doverflow.h1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
13 * #define type_min(T) (T)(is_signed_type(T) ? (T)1 << (8*sizeof(T)-1) : 0)
14 * #define type_max(T) (T)(is_signed_type(T) ? ((T)1 << (8*sizeof(T)-1)) - 1 : ~(T)0)
18 * the type_max expression (but not if -fsanitize=undefined is in
24 * a-feature-not-a-bug, since people shouldn't be doing arithmetic on
29 * https://mail-index.netbsd.org/tech-misc/2007/02/05/0000.html -
32 #define is_signed_type(type) (((type)(-1)) < (type)1)
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)))
35 #define type_min(T) ((T)((T)-type_max(T)-(T)1))
[all …]
/linux/Documentation/devicetree/bindings/media/
H A Dmediatek,mdp3-tdshp.yaml1 # 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 …]
/linux/Documentation/devicetree/bindings/iio/
H A Dmount-matrix.txt2 * 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 Dbtf_dump_test_case_multidim.c1 // 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 Dcore_reloc_types.h31 /* 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/sound/
H A Dmadera-pdata.h1 /* 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 Dqcom_l2_pmu.rst2 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/include/linux/
H A Doverflow.h1 /* 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))
42 * both the type-agnostic benefits of the macros while also being able to
[all …]
H A Dedac.h6 * 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/arch/mips/include/asm/mach-au1x00/
H A Dau1xxx_dbdma.h12 * 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 Ddma-buf-alloc-exchange.rst1 .. 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 Dcpufreq-stats.rst1 .. 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 Dreset-prcc.c1 // 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 Dvmxfeatures.h1 /* 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/sound/cards/
H A Dhdspm.rst2 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 Dcpupri.c1 // 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 Dmedia-types.rst1 .. 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 Ddevice_link.rst57 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 …]
H A Dpin-control.rst9 - Enumerating and naming controllable pins
11 - Multiplexing of pins, pads, fingers (etc) see below for details
13 - Configuration of pins, pads, fingers (etc), such as software-controlled
14 biasing and driving mode specific pins, such as pull-up, pull-down, open drain,
17 Top-level interface
22 - A PIN CONTROLLER is a piece of hardware, usually a set of registers, that
26 - PINS are equal to pads, fingers, balls or whatever packaging input or
30 be sparse - i.e. there may be gaps in the space with numbers where no
53 2 o o o o o o o o
60 .. code-block:: c
[all …]
/linux/sound/pci/echoaudio/
H A Dechoaudio.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004
11 Translation from C++ and adaptation for use in ALSA-Driver
19 +-----------+
20 record | |<-------------------- Inputs
21 <-------| | |
24 ------->| | +-------+
25 play | |--->|monitor|-------> Outputs
26 +-----------+ | mixer |
27 +-------+
[all …]
/linux/arch/sparc/kernel/
H A Dvisemul.c1 // SPDX-License-Identifier: GPL-2.0
19 /* 000111011 - four 16-bit packs */
22 /* 000111010 - two 32-bit packs */
25 /* 000111101 - four 16-bit packs */
28 /* 001001101 - four 16-bit expands */
31 /* 001001011 - two 32-bit merges */
34 /* 000110001 - 8-by-16-bit partitioned product */
37 /* 000110011 - 8-by-16-bit upper alpha partitioned product */
40 /* 000110101 - 8-by-16-bit lower alpha partitioned product */
43 /* 000110110 - upper 8-by-16-bit partitioned product */
[all …]
/linux/drivers/perf/
H A Dqcom_l2_pmu.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2015-2017 The Linux Foundation. All rights reserved.
26 #include <soc/qcom/kryo-l2-accessors.h>
125 * Events can be envisioned as a 2-dimensional array. Each column represents
129 * Events are specified as 0xCCG, where CC is 2 hex digits specifying
166 return *per_cpu_ptr(l2cache_pmu->pmu_cluster, cpu); in get_cluster_pmu()
254 spin_lock_irqsave(&cluster->pmu_lock, flags); in cluster_pmu_set_resr()
262 spin_unlock_irqrestore(&cluster->pmu_lock, flags); in cluster_pmu_set_resr()
299 struct hw_perf_event *hwc = &event->hw; in l2_cache_event_update()
301 u32 idx = hwc->idx; in l2_cache_event_update()
[all …]
/linux/Documentation/devicetree/bindings/input/
H A Dazoteq,iqs7222.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
29 irq-gpios:
32 Specifies the GPIO connected to the device's active-low RDY output.
[all …]
/linux/drivers/hwmon/
H A Dapplesmc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/hwmon/applesmc.c - driver for Apple's SMC (accelerometer, temperature
4 * sensors, fan control, keyboard backlight control) used in Intel-based Apple
29 #include <linux/hwmon-sysfs.h>
43 #define APPLESMC_NR_PORTS 32 /* 0x300-0x31f */
50 #define SMC_STATUS_BUSY BIT(2) /* Command in progress */
60 #define KEY_COUNT_KEY "#KEY" /* r-o ui32 */
62 #define LIGHT_SENSOR_LEFT_KEY "ALV0" /* r-o {alv (6-10 bytes) */
63 #define LIGHT_SENSOR_RIGHT_KEY "ALV1" /* r-o {alv (6-10 bytes) */
64 #define BACKLIGHT_KEY "LKSB" /* w-o {lkb (2 bytes) */
[all …]
/linux/drivers/dma/xilinx/
H A Dxilinx_dma.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2010-2014 Xilinx, Inc. All rights reserved.
11 * core that provides high-bandwidth direct memory access between memory
12 * and AXI4-Stream type video target peripherals. The core provides efficient
13 * two dimensional DMA operations with independent asynchronous read (S2MM)
18 * registers are accessed through an AXI4-Lite slave interface.
21 * provides high-bandwidth one dimensional direct memory access between memory
22 * and AXI4-Stream target peripherals. It supports one receive and one
25 * The AXI CDMA, is a soft IP, which provides high-bandwidth Direct Memory
26 * Access (DMA) between a memory-mapped source address and a memory-mapped
[all …]

12