| /kernel/linux/linux-4.19/Documentation/media/uapi/v4l/ |
| D | libv4l-introduction.rst | 1 .. -*- coding: utf-8; mode: rst -*- 3 .. _libv4l-introduction: 16 :ref:`v4l2grab <v4l2grab-example>`. 28 :ref:`V4L2_PIX_FMT_BGR24 <V4L2-PIX-FMT-BGR24>`, 29 :ref:`V4L2_PIX_FMT_HM12 <V4L2-PIX-FMT-HM12>`, 30 :ref:`V4L2_PIX_FMT_JPEG <V4L2-PIX-FMT-JPEG>`, 31 :ref:`V4L2_PIX_FMT_MJPEG <V4L2-PIX-FMT-MJPEG>`, 32 :ref:`V4L2_PIX_FMT_MR97310A <V4L2-PIX-FMT-MR97310A>`, 33 :ref:`V4L2_PIX_FMT_OV511 <V4L2-PIX-FMT-OV511>`, 34 :ref:`V4L2_PIX_FMT_OV518 <V4L2-PIX-FMT-OV518>`, [all …]
|
| D | vidioc-expbuf.rst | 1 .. -*- coding: utf-8; mode: rst -*- 12 VIDIOC_EXPBUF - Export a buffer as a DMABUF file descriptor. 26 File descriptor returned by :ref:`open() <func-open>`. 46 range from zero to the number of buffers allocated with 49 one. For the multi-planar API, applications set the ``plane`` field to 50 the index of the plane to be exported. Valid planes range from zero to 52 the single-planar API, applications must set ``plane`` to zero. 56 case of multi-planar API, every plane is exported separately using 61 other DMABUF-aware devices. Refer to :ref:`DMABUF importing <dmabuf>` 63 recommended to close a DMABUF file when it is no longer used to allow [all …]
|
| /kernel/linux/linux-4.19/drivers/hv/ |
| D | channel.c | 15 * Place - Suite 330, Boston, MA 02111-1307 USA. 37 ((PAGE_ALIGN(addr + len) >> PAGE_SHIFT) - (addr >> PAGE_SHIFT)) 53 * vmbus_setevent- Trigger an event notification on the specified 66 if (channel->offermsg.monitor_allocated && !channel->low_latency) { in vmbus_setevent() 67 vmbus_send_interrupt(channel->offermsg.child_relid); in vmbus_setevent() 72 sync_set_bit(channel->monitor_bit, in vmbus_setevent() 73 (unsigned long *)&monitorpage->trigger_group in vmbus_setevent() 74 [channel->monitor_grp].pending); in vmbus_setevent() 83 * vmbus_open - Open the specified channel. 98 return -EINVAL; in vmbus_open() [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | libv4l-introduction.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _libv4l-introduction: 17 :ref:`v4l2grab <v4l2grab-example>`. 28 :ref:`V4L2_PIX_FMT_BGR24 <V4L2-PIX-FMT-BGR24>`, 29 :ref:`V4L2_PIX_FMT_HM12 <V4L2-PIX-FMT-HM12>`, 30 :ref:`V4L2_PIX_FMT_JPEG <V4L2-PIX-FMT-JPEG>`, 31 :ref:`V4L2_PIX_FMT_MJPEG <V4L2-PIX-FMT-MJPEG>`, 32 :ref:`V4L2_PIX_FMT_MR97310A <V4L2-PIX-FMT-MR97310A>`, 33 :ref:`V4L2_PIX_FMT_OV511 <V4L2-PIX-FMT-OV511>`, 34 :ref:`V4L2_PIX_FMT_OV518 <V4L2-PIX-FMT-OV518>`, [all …]
|
| D | vidioc-expbuf.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_EXPBUF - Export a buffer as a DMABUF file descriptor. 45 range from zero to the number of buffers allocated with 48 one. For the multi-planar API, applications set the ``plane`` field to 49 the index of the plane to be exported. Valid planes range from zero to 51 the single-planar API, applications must set ``plane`` to zero. 55 case of multi-planar API, every plane is exported separately using 60 other DMABUF-aware devices. Refer to :ref:`DMABUF importing <dmabuf>` 62 recommended to close a DMABUF file when it is no longer used to allow 68 .. code-block:: c [all …]
|
| D | ext-ctrls-camera.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _camera-controls: 13 .. _camera-control-id: 23 .. _v4l2-exposure-auto-type: 28 enum v4l2_exposure_auto_type - 36 .. flat-table:: 37 :header-rows: 0 38 :stub-columns: 0 40 * - ``V4L2_EXPOSURE_AUTO`` 41 - Automatic exposure time, automatic iris aperture. [all …]
|
| D | ext-ctrls-rf-tuner.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _rf-tuner-controls: 16 called Zero-IF tuners. Older tuners were typically simple PLL tuners 28 .. _rf-tuner-control-id: 47 range and step are driver-specific. 64 range and step are driver-specific. 68 signal path. It is located very close to tuner antenna input. Used 71 differs from the each others. The range and step are 72 driver-specific. 76 located inside mixer block, where RF signal is down-converted by the [all …]
|
| /kernel/linux/linux-4.19/drivers/media/platform/sti/delta/ |
| D | delta-ipc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 * delta_ipc_open - open a decoding instance on firmware side 43 * delta_ipc_set_stream - set information about stream to decoder 48 * within IPC shared buffer range 53 * delta_ipc_decode - frame decoding synchronous request, returns only 59 * within IPC shared buffer range 63 * within IPC shared buffer range. 71 * delta_ipc_close - close decoding instance 72 * @hdl: (in) handle of decoding instance to close.
|
| /kernel/linux/linux-5.10/drivers/media/platform/sti/delta/ |
| D | delta-ipc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 * delta_ipc_open - open a decoding instance on firmware side 43 * delta_ipc_set_stream - set information about stream to decoder 48 * within IPC shared buffer range 53 * delta_ipc_decode - frame decoding synchronous request, returns only 59 * within IPC shared buffer range 63 * within IPC shared buffer range. 71 * delta_ipc_close - close decoding instance 72 * @hdl: (in) handle of decoding instance to close.
|
| /kernel/linux/linux-5.10/drivers/hv/ |
| D | channel.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 * hv_gpadl_size - Return the real size of a gpadl, the size that Hyper-V uses 28 * For BUFFER gpadl, Hyper-V uses the exact same size as the guest does. 33 * (PAGE_SIZE - HV_HYP_PAGE_SIZE) gap. And since there are two rings in a 34 * ringbuffer, the total size for a RING gpadl that Hyper-V uses is the 43 /* The size of a ringbuffer must be page-aligned */ in hv_gpadl_size() 49 * the first guest-size page of each of the two ring buffers. in hv_gpadl_size() 50 * So we effectively subtract out two guest-size pages, and add in hv_gpadl_size() 51 * back two Hyper-V size pages. in hv_gpadl_size() 53 return size - 2 * (PAGE_SIZE - HV_HYP_PAGE_SIZE); in hv_gpadl_size() [all …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/tc-testing/ |
| D | tdc_batch.py | 4 tdc_batch.py - a script to generate TC batch file 14 parser.add_argument("-n", "--number", type=int, 16 parser.add_argument("-o", "--skip_sw", 19 parser.add_argument("-s", "--share_action", 22 parser.add_argument("-p", "--prio", 49 for i in range(0x100): 50 for j in range(0x100): 51 for k in range(0x100): 61 file.close()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/ |
| D | tdc_batch.py | 4 tdc_batch.py - a script to generate TC batch file 14 parser.add_argument("-n", "--number", type=int, 17 "-a", 18 "--handle_start", 21 help="start handle range from (default: 1)") 22 parser.add_argument("-o", "--skip_sw", 25 parser.add_argument("-s", "--share_action", 28 parser.add_argument("-p", "--prio", 32 "-e", 33 "--operation", [all …]
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | class.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include "rtc-core.h" 30 ida_simple_remove(&rtc_ida, rtc->id); in rtc_device_release() 36 int rtc_hctosys_ret = -ENODEV; 39 * whether it stores the most close value or the value with partial 44 * of >32bits is not possible. So storing the most close value would 59 dev_err(rtc->dev.parent, in rtc_hctosys() 68 err = -ERANGE; in rtc_hctosys() 75 dev_info(rtc->dev.parent, "setting system clock to %ptR UTC (%lld)\n", in rtc_hctosys() 101 if (strcmp(dev_name(&rtc->dev), CONFIG_RTC_HCTOSYS_DEVICE) != 0) in rtc_suspend() [all …]
|
| /kernel/linux/linux-5.10/arch/x86/events/intel/ |
| D | pt.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (c) 2013-2014, Intel Corporation. 8 * http://software.intel.com/en-us/intel-isa-extensions 15 * Single-entry ToPA: when this close to region boundary, switch 54 * struct pt_buffer - buffer configuration; one buffer per task_struct or 67 * @single: use Single Range Output instead of ToPA 93 * struct pt_filter - IP range filter configuration 94 * @msr_a: range start, goes to RTIT_ADDRn_A 95 * @msr_b: range end, goes to RTIT_ADDRn_B 96 * @config: 4-bit field in RTIT_CTL [all …]
|
| /kernel/linux/linux-5.10/drivers/watchdog/ |
| D | intel_scu_watchdog.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * - AF82MP20 PCH 7 * Copyright (C) 2009-2010 Intel Corporation. All rights reserved. 35 #include <asm/intel-mid.h> 50 "The range is from 1 to 160" 58 "The range is from 1 to 170" 62 * force_boot == 0, then force boot on next watchdog interrupt after close, 99 (new_margin > MAX_TIME - timer_set)) { in check_timer_margin() 100 pr_debug("value of new_margin %d is out of the range %d to %d\n", in check_timer_margin() 101 new_margin, MIN_TIME_CYCLE, MAX_TIME - timer_set); in check_timer_margin() [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | tee_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2015-2016, Linaro Limited 24 #define TEE_SHM_DMA_BUF BIT(1) /* Memory with dma-buf handle */ 25 #define TEE_SHM_EXT_DMA_BUF BIT(2) /* Memory with dma-buf handle */ 38 * struct tee_context - driver specific context on file pointer data 47 * wait for tee-supplicant daemon to be started if not present 50 * non-blocking in nature. 84 * struct tee_driver_ops - driver operations vtable 89 * @close_session: close a session 121 * struct tee_desc - Describes the TEE driver to the subsystem [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/resctrl/ |
| D | cat_test.c | 1 // SPDX-License-Identifier: GPL-2.0 42 if (p->num_of_runs >= NUM_OF_RUNS) in cat_setup() 43 return -1; in cat_setup() 45 if (p->num_of_runs == 0) { in cat_setup() 46 sprintf(schemata, "%lx", p->mask); in cat_setup() 47 ret = write_schemata(p->ctrlgrp, schemata, p->cpu_no, in cat_setup() 48 p->resctrl_val); in cat_setup() 50 p->num_of_runs++; in cat_setup() 62 avg_llc_perf_miss = sum_llc_perf_miss / (NUM_OF_RUNS - 1); in show_cache_info() 63 diff_percent = ((float)allocated_cache_lines - avg_llc_perf_miss) / in show_cache_info() [all …]
|
| /kernel/linux/linux-5.10/drivers/mmc/core/ |
| D | regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 19 * mmc_ocrbitnum_to_vdd - Convert a OCR bit number to its voltage 24 * This function returns the voltage range according to the provided OCR 32 return -EINVAL; in mmc_ocrbitnum_to_vdd() 38 * a 0.1V range goof (it's a small error percentage). in mmc_ocrbitnum_to_vdd() 40 tmp = vdd_bit - ilog2(MMC_VDD_165_195); in mmc_ocrbitnum_to_vdd() 53 * mmc_regulator_get_ocrmask - return mask of supported voltages 95 * mmc_regulator_set_ocr - set regulator to match host->ios voltage 98 * @vdd_bit: zero for power off, else a bit number (host->ios.vdd) 117 if (result == 0 && !mmc->regulator_enabled) { in mmc_regulator_set_ocr() [all …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/vm/ |
| D | userfaultfd.c | 7 * the COPYING file in the top-level directory. 15 * 1) one per-CPU thread takes a per-page pthread_mutex in a random 17 * area_src), and increments a per-page counter in the same page, 20 * 2) another per-CPU thread handles the userfaults generated by 24 * 3) one last per-CPU thread transfers the memory in the background 34 * per-CPU threads 1 by triggering userfaults inside 47 * # 10MiB-~6GiB 999 bounces, continue forever unless an error triggers 108 * to avoid non alignment faults on non-x86 archs. 114 sizeof(unsigned long long) - 1) & \ 116 - 1))) [all …]
|
| /kernel/linux/linux-4.19/drivers/watchdog/ |
| D | intel_scu_watchdog.c | 4 * - AF82MP20 PCH 6 * Copyright (C) 2009-2010 Intel Corporation. All rights reserved. 18 * Software Foundation, Inc., 59 Temple Place - Suite 330, 19 * Boston, MA 02111-1307, USA. 51 #include <asm/intel-mid.h> 66 "The range is from 1 to 160" 74 "The range is from 1 to 170" 78 * force_boot == 0, then force boot on next watchdog interrupt after close, 115 (new_margin > MAX_TIME - timer_set)) { in check_timer_margin() 116 pr_debug("value of new_margin %d is out of the range %d to %d\n", in check_timer_margin() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
| D | userfaultfd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 * 1) one per-CPU thread takes a per-page pthread_mutex in a random 15 * area_src), and increments a per-page counter in the same page, 18 * 2) another per-CPU thread handles the userfaults generated by 22 * 3) one last per-CPU thread transfers the memory in the background 32 * per-CPU threads 1 by triggering userfaults inside 80 /* Whether to test uffd write-protection */ 104 * to avoid non alignment faults on non-x86 archs. 110 sizeof(unsigned long long) - 1) & \ 112 - 1))) [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| D | msg_zerocopy.c | 7 * - SOCK_STREAM 8 * - SOCK_DGRAM 9 * - SOCK_DGRAM with UDP_CORK 10 * - SOCK_RAW 11 * - SOCK_RAW with IP_HDRINCL 14 * - SOCK_DGRAM 15 * - SOCK_RAW 18 * - SOCK_SEQPACKET 21 * the other with option '-r' to put it in receiver mode. 23 * If zerocopy mode ('-z') is enabled, the sender will verify that [all …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/net/ |
| D | msg_zerocopy.c | 7 * - SOCK_STREAM 8 * - SOCK_DGRAM 9 * - SOCK_DGRAM with UDP_CORK 10 * - SOCK_RAW 11 * - SOCK_RAW with IP_HDRINCL 14 * - SOCK_DGRAM 15 * - SOCK_RAW 18 * - SOCK_SEQPACKET 21 * the other with option '-r' to put it in receiver mode. 23 * If zerocopy mode ('-z') is enabled, the sender will verify that [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | blkzoned.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 23 * enum blk_zone_type - Types of zones allowed in a zoned device. 28 * @BLK_ZONE_TYPE_SEQWRITE_PREF: The zone can be written non-sequentially 39 * enum blk_zone_cond - Condition [state] of a zone in a zoned device. 49 * @BLK_ZONE_COND_READONLY: The zone is read-only. 54 * - ZC1: Empty | BLK_ZONE_EMPTY 55 * - ZC2: Implicit Open | BLK_ZONE_COND_IMP_OPEN 56 * - ZC3: Explicit Open | BLK_ZONE_COND_EXP_OPEN 57 * - ZC4: Closed | BLK_ZONE_CLOSED 58 * - ZC5: Full | BLK_ZONE_FULL [all …]
|
| /kernel/linux/linux-5.10/include/uapi/xen/ |
| D | gntdev.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR MIT) */ 90 * N.B. Where more than one page has been mapped into a contiguous range, the 91 * supplied @vaddr must correspond to the start of the range; otherwise 93 * contiguously-allocated range at once, and not any subrange thereof. 99 /* The virtual address of the first mapped page in a range. */ 125 * cleanup if this side crashes. Required to implement cross-domain robust 126 * mutexes or close notification on communication channels. 174 * The local buffer may cross a Xen page boundary -- the driver will 185 * If -1 is returned, the status of all segments is undefined. 220 * Create a dma-buf [1] from grant references @refs of count @count provided [all …]
|