Home
last modified time | relevance | path

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

123

/Linux-v6.1/include/linux/dma/
Dti-cppi5.h1 /* 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-v6.1/tools/include/linux/
Doverflow.h1 /* 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-v6.1/include/linux/
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)))
35 #define type_min(T) ((T)((T)-type_max(T)-(T)1))
38 * Avoids triggering -Wtype-limits compilation warning,
[all …]
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-v6.1/Documentation/devicetree/bindings/iio/
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-v6.1/tools/testing/selftests/bpf/progs/
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 ------ */
Dcore_reloc_types.h31 /* we have test_progs[-flavor], so cut flavor part */
363 char b[2][3][4];
365 struct core_reloc_arrays_substruct d[1][2];
366 struct core_reloc_arrays_substruct f[][2];
374 struct core_reloc_arrays_substruct d[2][3];
381 char b[2][3][4];
391 } d[1][2];
396 } f[][2];
401 char b[2][3][4];
403 struct core_reloc_arrays_substruct d[1][2];
[all …]
/Linux-v6.1/include/media/i2c/
Dupd64083.h1 /* 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-v6.1/Documentation/userspace-api/media/v4l/
Dvidioc-queryctrl.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i…
42 of a struct :ref:`v4l2_queryctrl <v4l2-queryctrl>` and call the
60 driver returns the next supported non-compound control, or ``EINVAL`` if
72 :ref:`v4l2_queryctrl <v4l2-queryctrl>` since that structure is full.
80 fields of struct :ref:`v4l2_querymenu <v4l2-querymenu>` and call the
85 :ref:`v4l2_queryctrl <v4l2-queryctrl>` ``minimum`` to ``maximum``,
99 .. _v4l2-queryctrl:
103 .. flat-table:: struct v4l2_queryctrl
104 :header-rows: 0
[all …]
Dvidioc-g-ext-ctrls.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_G_EXT_CTRLS - VIDIOC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the value of several co…
44 :ref:`ctrl-class`) and all controls in the control array must belong
61 relevant for pointer-type controls like strings), then the driver will
63 should re-allocate the memory to this new size and try again. For the
70 N-dimensional arrays are set and retrieved row-by-row. You cannot set a
97 If ``request_fd`` is set to a not-yet-queued :ref:`request <media-request-api>`
118 were set/get. Only low-level errors (e. g. a failed i2c command) can
131 .. flat-table:: struct v4l2_ext_control
132 :header-rows: 0
[all …]
Dext-ctrls-codec.rst1 .. 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-v6.1/include/sound/
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-v6.1/Documentation/admin-guide/perf/
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-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/
Dia_css_sdis_common.host.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * version 2, as published by the Free Software Foundation.
56 (((b)->info->sp.pipeline.isp_pipe_version == 2) ? \
63 /* Array cannot be 2-dimensional, since driver ddr allocation does not know stride */
/Linux-v6.1/Documentation/devicetree/bindings/thermal/
Dthermal-generic-adc.txt6 temperature using voltage-temperature lookup table.
10 - compatible: Must be "generic-adc-thermal".
11 - #thermal-sensor-cells: Should be 1. See Documentation/devicetree/bindings/thermal/thermal-sen…
15 - temperature-lookup-table: Two dimensional array of Integer; lookup table
29 #include <dt-bindings/thermal/thermal.h>
35 sampling-frequency = <3300>;
36 #io-channel-cells = <1>;
40 tboard_thermistor: thermal-sensor {
41 compatible = "generic-adc-thermal";
42 #thermal-sensor-cells = <0>;
[all …]
/Linux-v6.1/arch/mips/include/asm/mach-au1x00/
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-v6.1/Documentation/cpu-freq/
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-v6.1/Documentation/devicetree/bindings/media/
Dvideo-interface-devices.yaml1 # 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-v6.1/drivers/clk/ux500/
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-v6.1/arch/x86/include/asm/
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 */
29 /* Aggregated APIC features 24-27 */
33 /* VM-Functions, shifted to bits 28-31 */
36 /* Primary Processor-Based VM-Execution Controls, word 1 */
37 #define VMX_FEATURE_INTR_WINDOW_EXITING ( 1*32+ 2) /* "" VM-Exit if INTRs are unblocked in guest */
[all …]
/Linux-v6.1/Documentation/mm/
Dmemory-model.rst1 .. SPDX-License-Identifier: GPL-2.0
25 Regardless of the selected memory model, there exists one-to-one
37 non-NUMA systems with contiguous, or mostly contiguous, physical
56 straightforward: `PFN - ARCH_PFN_OFFSET` is an index to the
67 as hot-plug and hot-remove of the physical memory, alternative memory
68 maps for non-volatile memory devices and deferred initialization of
87 NR\_MEM\_SECTIONS = 2 ^ {(MAX\_PHYSMEM\_BITS - SECTION\_SIZE\_BITS)}
89 The `mem_section` objects are arranged in a two-dimensional array
106 corresponding `struct page` - a "classic sparse" and "sparse
110 The classic sparse encodes the section number of a page in page->flags
[all …]
/Linux-v6.1/Documentation/virt/kvm/x86/
Dmmu.rst1 .. 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-v6.1/drivers/media/i2c/
Dupd64083.c1 // 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-v6.1/Documentation/sound/cards/
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-v6.1/kernel/sched/
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
27 * p->rt_priority p->prio newpri cpupri
29 * -1 -1 (CPUPRI_INVALID)
48 cpupri = CPUPRI_INVALID; /* -1 */ in convert_prio()
52 cpupri = MAX_RT_PRIO-1 - prio; /* 1 ... 99 */ in convert_prio()
55 case MAX_RT_PRIO-1: in convert_prio()
70 struct cpupri_vec *vec = &cp->pri_to_cpu[idx]; in __cpupri_find()
73 if (!atomic_read(&(vec)->count)) in __cpupri_find()
[all …]

123