| /linux/include/sound/ |
| H A D | memalloc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 #include <linux/dma-direction.h> 33 #define SNDRV_DMA_TYPE_CONTINUOUS 1 /* continuous no-DMA memory */ 34 #define SNDRV_DMA_TYPE_DEV 2 /* generic device continuous */ 35 #define SNDRV_DMA_TYPE_DEV_WC 5 /* continuous write-combined */ 37 #define SNDRV_DMA_TYPE_DEV_IRAM 4 /* generic device iram-buffer */ 42 #define SNDRV_DMA_TYPE_NONCONTIG 8 /* non-coherent SG buffer */ 43 #define SNDRV_DMA_TYPE_NONCOHERENT 9 /* non-coherent buffer */ 46 #define SNDRV_DMA_TYPE_DEV_WC_SG 6 /* SG write-combined */ 48 #define SNDRV_DMA_TYPE_DEV_SG SNDRV_DMA_TYPE_DEV /* no SG-buf support */ [all …]
|
| /linux/include/sound/sof/ |
| H A D | stream.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 36 /* continuous and non-standard rates for flexibility */ 38 #define SOF_RATE_KNOT (1 << 31) /**< non-continuous */ 88 uint8_t cont_update_posn; /**< 1 means continuous update stream position */ 92 uint16_t chmap[SOF_IPC_MAX_CHANNELS]; /**< channel map - SOF_CHMAP_ */ 96 /* PCM params info - SOF_IPC_STREAM_PCM_PARAMS */ 100 uint32_t flags; /**< generic PCM flags - SOF_PCM_FLAG_ */ 105 /* PCM params info reply - SOF_IPC_STREAM_PCM_PARAMS_REPLY */ 112 /* free stream - SOF_IPC_STREAM_PCM_PARAMS */
|
| /linux/drivers/gpu/drm/gma500/ |
| H A D | oaktrail.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2007-2011, Intel Corporation. 78 /* Bit 0, Frequency, 15 bits,0 - 32767Hz */ 84 /* 0: Type-1, */ 85 /* 1: Type-2, */ 86 /* 2: Type-3, */ 87 /* 3: Type-4 */ 94 /* Bit 8, Minimum Supported Frame Rate, 6 bits, 0 - 63Hz */ 107 /*Bit 0, Frequency, 16 bits, 0 - 32767Hz*/ 108 u8 Panel_Initial_Brightness;/* [7:0] 0 - 100% */ [all …]
|
| /linux/include/uapi/drm/ |
| H A D | exynos_drm.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 8 * Seung-Woo Kim <sw0312.kim@samsung.com> 26 * User-desired buffer creation information structure. 28 * @size: user-desired memory allocation size. 29 * - this size value would be page-aligned internally. 32 * - this handle will be set by gem module of kernel side. 41 * A structure for getting a fake-offset that can be used with mmap. 44 * @reserved: just padding to be 64-bit aligned. 45 * @offset: a fake-offset of gem object. 84 /* Physically Continuous memory and used as default. */ [all …]
|
| /linux/arch/arm/boot/dts/amlogic/ |
| H A D | meson8b-ec100.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 22 stdout-path = "serial0:115200n8"; 30 emmc_pwrseq: emmc-pwrseq { 31 compatible = "mmc-pwrseq-emmc"; 32 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; 35 gpio-keys { 36 compatible = "gpio-keys-polled"; [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | qcom-spmi-rradc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016-2017, 2019, The Linux Foundation. All rights reserved. 28 #include <soc/qcom/qcom-spmi-pmic.h> 30 #define DRIVER_NAME "qcom-spmi-rradc" 219 * struct rradc_channel - rradc channel data 263 dev_err(chip->dev, in rradc_read() 266 return -EINVAL; in rradc_read() 270 ret = regmap_bulk_read(chip->regmap, chip->base + addr, buf, in rradc_read() 273 dev_err(chip->dev, "rr_adc reg 0x%x failed :%d\n", addr, in rradc_read() 278 ret = regmap_bulk_read(chip->regmap, chip->base + addr, in rradc_read() [all …]
|
| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A D | aspeed,ast2600-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/aspeed,ast2600-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Billy Tsai <billy_tsai@aspeedtech.com> 13 • 10-bits resolution for 16 voltage channels. 16 • Channel scanning can be non-continuous. 21 • Built-in a compensating method. 22 • Built-in a register to trim internal reference voltage. 30 - aspeed,ast2600-adc0 [all …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | microchip,qt1050.txt | 1 Microchip AT42QT1050 Five-channel Touch Sensor IC 11 - compatible: Must be "microchip,qt1050" 12 - reg: The I2C address of the device 13 - interrupts: The sink for the touchpad's IRQ output, 14 see ../interrupt-controller/interrupts.txt 17 - wakeup-source: touch keys can be used as a wakeup source 19 Each button (key) is represented as a sub-node: 25 - linux,code: Keycode to emit. 26 - reg: The key number. Valid values: 0, 1, 2, 3, 4. 28 Optional subnode-properties: [all …]
|
| /linux/Documentation/core-api/ |
| H A D | librs.rst | 2 Reed-Solomon Library Programming Interface 10 The generic Reed-Solomon Library provides encoding, decoding and error 13 Reed-Solomon codes are used in communication and storage applications to 30 ------------ 54 -------- 56 The encoder calculates the Reed-Solomon code over the given data length 60 The expanded data can be inverted on the fly by providing a non-zero 63 Reed-Solomon code for all 0x00 is all 0x00. The code is inverted before 68 no support for encoding continuous bitstreams with a symbol size != 8 at 83 -------- [all …]
|
| H A D | printk-index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 19 Finding these changes in the sources would require non-trivial parsers. 36 named according to the binaries where the printk formats are built-in. There 44 might appear in "vmlinux" when the module is built-in. 48 $> head -1 /sys/kernel/debug/printk/index/vmlinux; shuf -n 5 vmlinux 50 <5> block/blk-settings.c:661 disk_stack_limits "%s: Warning: Device %s is misaligned\n" 54 <6> drivers/acpi/osl.c:1410 acpi_no_auto_serialize_setup "ACPI: auto-serialization disabled\n" 58 - :level: log level value: 0-7 for particular severity, -1 as default, 59 'c' as continuous line without an explicit log level 60 - :flags: optional flags: currently only 'c' for KERN_CONT [all …]
|
| /linux/sound/core/ |
| H A D | memalloc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/dma-mapping.h> 12 #include <linux/dma-map-ops.h> 34 __GFP_RETRY_MAYFAIL | /* don't trigger OOM-killer */ \ 35 __GFP_NOWARN) /* no stack trace print - this call is non-critical */ 43 if (WARN_ON_ONCE(!ops || !ops->alloc)) in __snd_dma_alloc_pages() 45 return ops->alloc(dmab, size); in __snd_dma_alloc_pages() 49 * snd_dma_alloc_dir_pages - allocate the buffer area according to the given 57 * Calls the memory-allocator function for the corresponding 68 return -ENXIO; in snd_dma_alloc_dir_pages() [all …]
|
| /linux/tools/testing/selftests/mqueue/ |
| H A D | mq_perf_tests.c | 47 " %s [-c #[,#..] -f] path\n" 49 " -c # Skip most tests and go straight to a high queue depth test\n" 59 " -f Only usable with continuous mode. Pin ourself to the CPUs\n" 99 mqd_t queue = -1; 105 .longName = "continuous", 110 .descrip = "Run continuous tests at a high queue depth in " 120 "re-run the tests using fake mode in order to check " 132 "continuous mode, but don't actually do any mq stuff, " 136 "the no-mqueue work and mqueue work tests", 192 if (queue != -1) in shutdown() [all …]
|
| /linux/include/soc/fsl/qe/ |
| H A D | ucc_slow.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 28 #define T_A 0x04000000 /* Address - the data transmitted as address 31 #define T_CM 0x02000000 /* continuous mode */ 33 #define T_P 0x01000000 /* Preamble - send Preamble sequence before 54 #define R_CM 0x02000000 /* continuous mode */ 62 #define R_NO 0x00100000 /* Rx Non Octet Aligned Packet */ 89 /* 16-bit CCITT CRC (HDLC). (X16 + X12 + X5 + 1) */ 93 /* 32-bit CCITT CRC (Ethernet and HDLC) */ 219 * us_info - (In) pointer to the slow UCC info structure. 220 * uccs_ret - (Out) pointer to the slow UCC structure. [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_pvinfo.h | 2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. 70 * Each VM can only have one portion of continuous area for now. 84 } nonmappable_gmadr; /* non aperture */ 89 u32 rsv3[0x200 - 24]; /* pad to half page */ 112 u32 rsv7[0x200 - 24]; /* pad to one page */
|
| /linux/arch/powerpc/platforms/52xx/ |
| H A D | mpc52xx_gpt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 * -EBUSY). Thus, the safety wdt function always has precedence over the gpt 21 * this means that gpt0 is locked in wdt mode until the next reboot - this 27 * gpio-controller; 28 * #gpio-cells = < 2 >; 29 * This driver will register the GPIO pin if it finds the gpio-controller 34 * interrupt-controller; 35 * #interrupt-cells = < 1 >; 77 * struct mpc52xx_gpt - Private data structure for MPC52xx GPT driver 133 /* --------------------------------------------------------------------- [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | func-read.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _func-read: 13 v4l2-read - Read from a V4L2 device 18 .. code-block:: c 85 continuous capturing when the application can empty the buffers fast 101 :c:func:`read()` was interrupted by a signal. On error, -1 is 107 Non-blocking I/O has been selected using O_NONBLOCK and no data was
|
| /linux/lib/ |
| H A D | textsearch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * both linear and non-linear data. Individual search algorithms are 21 * .. code-block:: none 24 * +----------------+ 25 * | finish()|<--------------(6)-----------------+ 26 * |get_next_block()|<--------------(5)---------------+ | 28 * | | +------------------------------+ 30 * | | +------------------------------+ 32 * | | +---------------+ (2) (4) (8) 33 * | (1)|----->| prepare() |---+ | | [all …]
|
| /linux/Documentation/driver-api/iio/ |
| H A D | buffers.rst | 11 The Industrial I/O core offers a way for continuous data capture based on a 35 is non *zero*, then a triggered capture will contain data samples for this 52 For example, a driver for a 3-axis accelerometer with 12 bit resolution where 53 data is stored in two 8-bits registers as follows:: 56 +---+---+---+---+---+---+---+---+ 58 +---+---+---+---+---+---+---+---+ 61 +---+---+---+---+---+---+---+---+ 63 +---+---+---+---+---+---+---+---+ 118 Setting **scan_index** to -1 can be used to indicate that the specific channel 124 .. kernel-doc:: include/linux/iio/buffer.h [all …]
|
| /linux/sound/pci/echoaudio/ |
| H A D | echoaudio_dsp.h | 3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, 22 MA 02111-1307, USA. 26 Translation from C++ and adaptation for use in ALSA-Driver 41 /**** Echo24: Gina24, Layla24, Mona, Mia, Mia-midi ****/ 81 * These are the offsets for the memory-mapped DSP registers; the DSP base 133 #define MIDI_IN_SKIP_DATA (-1) 136 /*---------------------------------------------------------------------------- 145 the future), Layla24 also has "continuous sample rate mode". In this mode, 149 To use continuous mode: [all …]
|
| /linux/Documentation/admin-guide/blockdev/ |
| H A D | floppy.rst | 19 Example: If your kernel is called linux-2.6.9, type the following line 22 linux-2.6.9 floppy=thinkpad 25 of linux-2.6.9:: 31 linux-2.6.9 floppy=daring floppy=two_fdc 95 Indeed, dma memory needs to be continuous in physical memory, 96 and is thus harder to find, whereas non-dma buffers may be 104 If you have a FIFO-able FDC, the floppy driver automatically 105 falls back on non DMA mode if no DMA-able memory can be found. 130 using 'floppycontrol --messages'. Then access a floppy 131 disk. If you get a huge amount of "Over/Underrun - retrying" [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | cx24123.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Conexant cx24123/cx24109 - DVB QPSK Satellite demod/tuner driver 7 * Support for KWorld DVB-S 100 by Vadim Catana <skystar@moldova.cc> 9 * Support for CX24123/CX24113-NIM by Patrick Boettcher <pb@linuxtv.org> 26 "(1-9, default:off)."); 197 {0x0d, 0x7f}, /* Force driver to shift until the maximum (+-10 MHz) */ 198 {0x0e, 0x03}, /* Default non-inverted, FEC 3/4 (default) */ 210 {0x2c, 0x00}, /* DiSEqC Message (0x2c - 0x31) */ 217 {0x33, 0x00}, /* Interrupts off (0x33 - 0x34) */ 229 {0x67, 0x83}, /* Non-DCII symbol clock */ [all …]
|
| /linux/drivers/input/keyboard/ |
| H A D | tegra-kbc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2009-2011, NVIDIA Corporation. 156 val = readl(kbc->mmio + KBC_KP_ENT0_0 + i); in tegra_kbc_report_keys() 165 keycodes[num_down] = kbc->keycode[scancode]; in tegra_kbc_report_keys() 167 if ((keycodes[num_down] == KEY_FN) && kbc->use_fn_map) in tegra_kbc_report_keys() 178 * Ghosting occurs if there are 3 keys such that - in tegra_kbc_report_keys() 182 if (kbc->use_ghost_filter && num_down >= 3) { in tegra_kbc_report_keys() 190 * and the other is in the same column as the i-th key. in tegra_kbc_report_keys() 210 scancodes[i] += kbc->max_keys; in tegra_kbc_report_keys() 211 keycodes[i] = kbc->keycode[scancodes[i]]; in tegra_kbc_report_keys() [all …]
|
| /linux/drivers/s390/cio/ |
| H A D | itcw.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * struct itcw - incremental tcw helper data type 24 * tcw and associated tccb, tsb, data tidaw-list plus an optional interrogate 29 * - reset unused fields to zero 30 * - fill in required pointers 31 * - ensure required alignment for data structures 32 * - prevent data structures to cross 4k-byte boundary where required 33 * - calculate tccb-related length fields 34 * - optionally provide ready-made interrogate tcw and associated structures 37 * - tida only supported for data address, not for tccb [all …]
|
| /linux/net/ceph/ |
| H A D | mon_client.c | 1 // SPDX-License-Identifier: GPL-2.0 24 * of cmon daemons use a modified version of the Paxos part-time parliament 62 return -EINVAL; in decode_mon_info() 122 ret = -ENOMEM; in ceph_monmap_decode() 125 monmap->fsid = fsid; in ceph_monmap_decode() 126 monmap->epoch = epoch; in ceph_monmap_decode() 127 monmap->num_mon = num_mon; in ceph_monmap_decode() 131 struct ceph_entity_inst *inst = &monmap->mon_ins in ceph_monmap_decode() 421 __ceph_monc_want_map(struct ceph_mon_client * monc,int sub,u32 epoch,bool continuous) __ceph_monc_want_map() argument 442 ceph_monc_want_map(struct ceph_mon_client * monc,int sub,u32 epoch,bool continuous) ceph_monc_want_map() argument [all...] |
| /linux/Documentation/process/ |
| H A D | stable-api-nonsense.rst | 8 Greg Kroah-Hartman <greg@kroah.com> 27 ----------------- 38 ----- 41 to worry about the in-kernel interfaces changing. For the majority of 59 ----------------------- 64 - Depending on the version of the C compiler you use, different kernel 71 - Depending on what kernel build options you select, a wide range of 74 - different structures can contain different fields 75 - Some functions may not be implemented at all, (i.e. some locks 76 compile away to nothing for non-SMP builds.) [all …]
|