Home
last modified time | relevance | path

Searched +full:close +full:- +full:range (Results 1 – 25 of 645) sorted by relevance

12345678910>>...26

/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dlibv4l-introduction.rst1 .. 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 …]
Dvidioc-expbuf.rst1 .. 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 …]
Dext-ctrls-camera.rst1 .. 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 …]
Dext-ctrls-rf-tuner.rst1 .. 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 …]
Dcolorspaces.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
46 all in the range [0…1].
82 primaries. This is usually chosen to be close to daylight which has been
97 the non-linear component value, which is a closer match to the
98 non-linear performance of both the eye and displays. Linear component
99 values are denoted RGB, non-linear are denoted as R'G'B'. In general
102 provide linear RGB colors or to use the built-in openGL support to apply
106 non-linear R'G'B' to non-linear Y'CbCr. This function is determined by
107 the so-called luma coefficients. There may be multiple possible Y'CbCr
122 The CIE XYZ colorspace where X, Y and Z are in the range [0…1] describes
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/
Ddelta-ipc.h1 /* 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.
Ddelta-ipc.c1 // SPDX-License-Identifier: GPL-2.0
10 #include "delta-ipc.h"
11 #include "delta-mem.h"
38 #define msg_to_ctx(msg) ((struct delta_ipc_ctx *)(msg)->header.host_hdl)
39 #define msg_to_copro_hdl(msg) ((msg)->header.copro_hdl)
43 return (ctx->ipc_buf->paddr + (vaddr - ctx->ipc_buf->vaddr)); in to_paddr()
49 return ((data >= ctx->ipc_buf->vaddr) && in is_valid_data()
50 ((data + size) <= (ctx->ipc_buf->vaddr + ctx->ipc_buf->size))); in is_valid_data()
58 * this IPC shared memory, avoiding de-facto recopies inside delta-ipc.
62 * - struct delta_ipc_open_msg
[all …]
/kernel/linux/linux-5.10/drivers/hv/
Dchannel.c1 // 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-5.10/tools/testing/selftests/tc-testing/
Dtdc_batch.py4 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/
Dclass.c1 // 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/
Dpt.h1 /* 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/
Dintel_scu_watchdog.c1 // 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/
Dtee_drv.h1 /* 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/drivers/mmc/core/
Dregulator.c1 // 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-5.10/tools/testing/selftests/resctrl/
Dcat_test.c1 // 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/tools/testing/selftests/vm/
Duserfaultfd.c1 // 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/
Dmsg_zerocopy.c7 * - 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/
Dblkzoned.h1 /* 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/
Dgntdev.h1 /* 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 …]
/kernel/liteos_a/drivers/char/mem/src/
Dmem.c2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
59 size_t size = region->range.size; in MemMap()
60 PADDR_T paddr = region->pgOff << PAGE_SHIFT; in MemMap()
61 VADDR_T vaddr = region->range.base; in MemMap()
65 return -EINVAL; in MemMap()
69 region->regionFlags |= VM_MAP_REGION_FLAG_STRONGLY_ORDERED; in MemMap()
72 return -EAGAIN; in MemMap()
74 … if (LOS_ArchMmuMap(&space->archMmu, vaddr, paddr, size >> PAGE_SHIFT, region->regionFlags) <= 0) { in MemMap()
75 return -EAGAIN; in MemMap()
[all …]
/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py2 # SPDX-License-Identifier: GPL-2.0-only
3 # -*- coding: utf-8 -*-
7 - If there is Linux trace file with pstate_sample events enabled, then
9 - If user has not specified a trace file as input via command line parameters,
16 gnuplot-py 1.8 or higher
18 gnuplot-py, phython-gnuplot or phython3-gnuplot, gnuplot-nox, ... )
20 HWP (Hardware P-States are disabled)
79 print(' ./intel_pstate_tracer.py [-c cpus] -t <trace_file> -n <test_name>')
81 … print(' ./intel_pstate_tracer.py [--cpu cpus] ---trace_file <trace_file> --name <test_name>')
83 print(' sudo ./intel_pstate_tracer.py [-c cpus] -i <interval> -n <test_name> -m <kbytes>')
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
Ddccp.rst1 .. SPDX-License-Identifier: GPL-2.0
9 - Introduction
10 - Missing features
11 - Socket options
12 - Sysctl variables
13 - IOCTLs
14 - Other tunables
15 - Notes
22 for real-time and multimedia (streaming) traffic.
26 implementation, this is the TCP-like CCID2 (RFC 4341). Additional CCIDs, such as
[all …]
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
80 void (*close)(struct VmMapRegion *region); member
86 LosRbNode rbNode; /**< region red-black tree node */
89 LosVmMapRange range; /**< region address range */ member
113 LosRbTree regionRbTree; /**< region red-black tree root */
114 LosMux regionMux; /**< region red-black tree mutex lock */
146 #define VM_MAP_REGION_FLAG_NS (1<<6) /* NON-SECURE */
181 (vaddr <= ((VADDR_T)KERNEL_ASPACE_BASE + ((VADDR_T)KERNEL_ASPACE_SIZE - 1)))); in LOS_IsKernelAddress()
186 …turn (vaddr + len > vaddr) && LOS_IsKernelAddress(vaddr) && (LOS_IsKernelAddress(vaddr + len - 1)); in LOS_IsKernelAddressRange()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/mincore/
Dmincore_selftest.c1 // SPDX-License-Identifier: GPL-2.0+
40 /* Query a 0 byte sized range */ in TEST()
44 /* Addresses in the specified range are invalid or unmapped */ in TEST()
47 EXPECT_EQ(-1, retval); in TEST()
52 MAP_SHARED | MAP_ANONYMOUS, -1, 0); in TEST()
57 /* <addr> argument is not page-aligned */ in TEST()
60 EXPECT_EQ(-1, retval); in TEST()
65 retval = mincore(addr, -1, vec); in TEST()
66 EXPECT_EQ(-1, retval); in TEST()
72 EXPECT_EQ(-1, retval); in TEST()
[all …]
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/
Dvideobuf2-memops.c2 * videobuf2-memops.c - generic memory handling routines for videobuf2
16 #include <linux/dma-mapping.h>
22 #include <media/videobuf2-v4l2.h>
23 #include <media/videobuf2-memops.h>
26 * vb2_create_framevec() - map virtual addresses to pfns
28 * @length: Length of a range to map
31 * virtual address range passed in arguments. If pfns have corresponding pages,
46 last = (start + length - 1) >> PAGE_SHIFT; in vb2_create_framevec()
47 nr = last - first + 1; in vb2_create_framevec()
50 return ERR_PTR(-ENOMEM); in vb2_create_framevec()
[all …]

12345678910>>...26