| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | crop.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 6 Image Cropping, Insertion and Scaling -- the CROP API 12 <selection-api>`. The new API should be preferred in most cases, 15 equivalent in the SELECTION API. See :ref:`selection-vs-crop` for a 20 abilities cropping and scaling. Some video output devices can scale an 21 image up or down and insert it at an arbitrary scan line and horizontal 33 Scaling requires a source and a target. On a video capture or overlay 48 support scaling or the :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>` and 62 .. _crop-scale: 64 .. kernel-figure:: crop.svg [all …]
|
| D | selection-api-configuration.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 11 Video hardware can have various cropping, composing and scaling 12 limitations. It may only scale up or down, support only discrete scaling 13 factors, or have different scaling abilities in the horizontal and 14 vertical directions. Also it may not support scaling at all. At the same 20 :ref:`constraint flags <v4l2-selection-flags>`. 26 See figure :ref:`sel-targets-capture` for examples of the selection 63 :ref:`constraint flags <v4l2-selection-flags>`. 123 However, such a padded area is driver-dependent feature not covered by 130 Scaling control [all …]
|
| D | selection-api-intro.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 part of an input image, scale it up or down and insert it at an 12 these abilities cropping, scaling and composing. 28 scaling then the cropping and composing rectangles have the same size.
|
| D | dev-subdev.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 6 Sub-device Interface 13 components as software blocks called sub-devices. 15 V4L2 sub-devices are usually kernel-only objects. If the V4L2 driver 17 media entities. Applications will be able to enumerate the sub-devices 21 In addition to make sub-devices discoverable, drivers can also choose to 23 sub-device driver and the V4L2 device driver support this, sub-devices 26 - query, read and write sub-devices controls 28 - subscribe and unsubscribe to events and retrieve them 30 - negotiate image formats on individual pads [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
| D | vsp1_uds.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * vsp1_uds.c -- R-Car VSP1 Up and Down Scaler 5 * Copyright (C) 2013-2014 Renesas Electronics Corporation 13 #include <media/v4l2-subdev.h> 26 /* ----------------------------------------------------------------------------- 33 vsp1_dl_body_write(dlb, reg + uds->entity.index * VI6_UDS_OFFSET, data); in vsp1_uds_write() 36 /* ----------------------------------------------------------------------------- 37 * Scaling Computation 43 struct vsp1_uds *uds = to_uds(&entity->subdev); in vsp1_uds_set_alpha() 50 * uds_output_size - Return the output size for an input size and scaling ratio [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/pm/ |
| D | cpufreq.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 CPU Performance Scaling 15 The Concept of CPU Performance Scaling 20 Operating Performance Points or P-states (in ACPI terminology). As a rule, 24 time (or the more power is drawn) by the CPU in the given P-state. Therefore 29 as possible and then there is no reason to use any P-states different from the 30 highest one (i.e. the highest-performance frequency/voltage configuration 38 put into different P-states. 41 capacity, so as to decide which P-states to put the CPUs into. Of course, since 44 to as CPU performance scaling or CPU frequency scaling (because it involves [all …]
|
| /kernel/linux/linux-5.10/block/ |
| D | blk-rq-qos.c | 1 // SPDX-License-Identifier: GPL-2.0 3 #include "blk-rq-qos.h" 29 return atomic_inc_below(&rq_wait->inflight, limit); in rq_wait_inc_below() 35 if (rqos->ops->cleanup) in __rq_qos_cleanup() 36 rqos->ops->cleanup(rqos, bio); in __rq_qos_cleanup() 37 rqos = rqos->next; in __rq_qos_cleanup() 44 if (rqos->ops->done) in __rq_qos_done() 45 rqos->ops->done(rqos, rq); in __rq_qos_done() 46 rqos = rqos->next; in __rq_qos_done() 53 if (rqos->ops->issue) in __rq_qos_issue() [all …]
|
| D | blk-wbt.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - Monitor latencies in a defined window of time. 7 * - If the minimum latency in the above window exceeds some target, increment 8 * scaling step and scale down queue depth by a factor of 2x. The monitoring 9 * window is then shrunk to 100 / sqrt(scaling step + 1). 10 * - For any window where we don't have solid data on what the latencies 12 * - If latencies look good, decrement scaling step. 13 * - If we're only doing writes, allow the scaling step to go negative. This 15 * scaling step of 0 if reads show up or the heavy writers finish. Unlike 16 * positive scaling steps where we shrink the monitoring window, a negative [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_rect.c | 2 * Copyright (C) 2011-2013 Intel Corporation 33 * drm_rect_intersect - intersect two rectangles 46 r1->x1 = max(r1->x1, r2->x1); in drm_rect_intersect() 47 r1->y1 = max(r1->y1, r2->y1); in drm_rect_intersect() 48 r1->x2 = min(r1->x2, r2->x2); in drm_rect_intersect() 49 r1->y2 = min(r1->y2, r2->y2); in drm_rect_intersect() 65 tmp = mul_u32_u32(src, dst - *clip); in clip_scaled() 78 * drm_rect_clip_scaled - perform a scaled clip operation 84 * the corresponding amounts, retaining the vertical and horizontal scaling 97 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled() [all …]
|
| /kernel/linux/linux-5.10/drivers/cpufreq/ |
| D | omap-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * CPU frequency scaling for OMAP using OPP information 8 * Based on cpu-sa1110.c, Copyright (C) 2001 Russell King 10 * Copyright (C) 2007-2011 Texas Instruments, Inc. 11 * - OMAP3/4 support by Rajendra Nayak, Santosh Shilimkar 49 old_freq = policy->cur; in omap_target() 53 ret = clk_round_rate(policy->clk, freq); in omap_target() 67 return -EINVAL; in omap_target() 75 dev_dbg(mpu_dev, "cpufreq-omap: %u MHz, %ld mV --> %u MHz, %ld mV\n", in omap_target() 76 old_freq / 1000, volt_old ? volt_old / 1000 : -1, in omap_target() [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/qcom/ |
| D | cpr.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 27 #include <linux/nvmem-consumer.h> 29 /* Register Offsets for RB-CPR and Bit Definitions */ 125 #define FUSE_REVISION_UNKNOWN (-1) 129 DOWN, enumerator 254 return !drv->loop_disabled; in cpr_is_allowed() 259 writel_relaxed(value, drv->base + offset); in cpr_write() 264 return readl_relaxed(drv->base + offset); in cpr_read() 272 val = readl_relaxed(drv->base + offset); in cpr_masked_write() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
| D | binary.c | 1 // SPDX-License-Identifier: GPL-2.0 55 if (info->enable.dvs_envelope) { in ia_css_binary_dvs_env() 57 binary_dvs_env->width = max(dvs_env->width, SH_CSS_MIN_DVS_ENVELOPE); in ia_css_binary_dvs_env() 58 binary_dvs_env->height = max(dvs_env->height, SH_CSS_MIN_DVS_ENVELOPE); in ia_css_binary_dvs_env() 72 bool binary_supports_yuv_ds = info->enable.ds & 2; in ia_css_binary_internal_res() 81 isp_tmp_internal_width = in_info->res.width in ia_css_binary_internal_res() 82 + info->pipeline.left_cropping + binary_dvs_env.width; in ia_css_binary_internal_res() 83 isp_tmp_internal_height = in_info->res.height in ia_css_binary_internal_res() 84 + info->pipeline.top_cropping + binary_dvs_env.height; in ia_css_binary_internal_res() 89 (bds_out_info->res.width >= out_info->res.width)) { in ia_css_binary_internal_res() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
| D | ia_css_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 152 * Before the shading correction is applied, NxN-filter and/or scaling 155 * - Bad pixels on left/top sides generated by NxN-filter 158 * - Down-scaling/Up-scaling factor 164 * - Origin coordinate of bayer (real sensor data) 167 * ------------------------ISP 2401----------------------- 180 * In some isp binaries, the bayer scaling is applied before the shading correction is applied. 181 * Then, this scaling factor should be considered in generating the shading table. 182 * The scaling factor is expressed by these parameters. 189 * This is the size BEFORE the bayer scaling is applied. [all …]
|
| /kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4/ |
| D | clock-sh4-202.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * arch/sh/kernel/cpu/sh4/clock-sh4-202.c 5 * Additional SH4-202 support for the clock framework 25 return clk->parent->rate / frqcr3_divisors[idx]; in emi_clk_recalc() 30 int divisor = clk->parent->rate / rate; in frqcr3_lookup() 53 return clk->parent->rate / frqcr3_divisors[idx]; in femi_clk_recalc() 72 * range for instance). We deal with this by scaling it back down in shoc_clk_init() 75 * Start scaling from the high end down until we find something in shoc_clk_init() 81 if (clk->ops->set_rate(clk, clk->parent->rate / divisor) == 0) in shoc_clk_init() 91 return clk->parent->rate / frqcr3_divisors[idx]; in shoc_clk_recalc() [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
| D | ipu3.rst | 1 .. SPDX-License-Identifier: GPL-2.0 24 ImgU). The CIO2 driver is available as drivers/media/pci/intel/ipu3/ipu3-cio2* 36 Both of the drivers implement V4L2, Media Controller and V4L2 sub-device 38 MIPI CSI-2 interfaces through V4L2 sub-device sensor drivers. 44 interface to the user space. There is a video node for each CSI-2 receiver, 47 The CIO2 contains four independent capture channel, each with its own MIPI CSI-2 48 receiver and DMA engine. Each channel is modelled as a V4L2 sub-device exposed 49 to userspace as a V4L2 sub-device node and has two pads: 53 .. flat-table:: 55 * - pad [all …]
|
| D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present 29 - Support for various pixel aspect ratios and video aspect ratios [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/ |
| D | mdp4_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 if (fb->modifier == DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) in mdp4_get_frame_format() 38 if (fb->format->format == DRM_FORMAT_NV12 && is_tile) in mdp4_get_frame_format() 55 struct msm_drm_private *priv = plane->dev->dev_private; in get_kms() 56 return to_mdp4_kms(to_mdp_kms(priv->kms)); in get_kms() 79 return -EINVAL; in mdp4_plane_set_property() 97 struct msm_kms *kms = &mdp4_kms->base.base; in mdp4_plane_cleanup_fb() 98 struct drm_framebuffer *fb = old_state->fb; in mdp4_plane_cleanup_fb() 103 DBG("%s: cleanup: FB[%u]", mdp4_plane->name, fb->base.id); in mdp4_plane_cleanup_fb() 104 msm_framebuffer_cleanup(fb, kms->aspace); in mdp4_plane_cleanup_fb() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/uds/uds_1.0/ |
| D | ia_css_uds_param.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 /* uds (Up and Down scaling) */
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/i2c/ |
| D | ov772x.txt | 4 such as VGA, QVGA, and any size scaling down from CIF to 40x30. It also can 8 - compatible: shall be one of 11 - clocks: reference to the xclk input clock. 14 - reset-gpios: reference to the GPIO connected to the RSTB pin which is 16 - powerdown-gpios: reference to the GPIO connected to the PWDN pin which is 22 video-interfaces.txt. 30 reset-gpios = <&axi_gpio_0 0 GPIO_ACTIVE_LOW>; 31 powerdown-gpios = <&axi_gpio_0 1 GPIO_ACTIVE_LOW>; 36 remote-endpoint = <&vcap1_in0>;
|
| /kernel/linux/linux-5.10/drivers/leds/ |
| D | leds-pca963x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Peter Meerwald <p.meerwald@bct-electronic.com> 9 * Based on leds-pca955x.c 11 * LED driver for the PCA9633 I2C LED driver (7-bit slave address 0x62) 12 * LED driver for the PCA9634/5 I2C LED driver (7-bit slave address set by hw.) 22 * or by adding the 'nxp,hw-blink' property to the DTS. 42 #define PCA963X_MODE2_OUTDRV 0x04 /* Open-drain or totem pole */ 61 unsigned int scaling; member 119 struct i2c_client *client = led->chip->client; in pca963x_brightness() 120 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | cs35l33.txt | 5 - compatible : "cirrus,cs35l33" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : gpio used to reset the amplifier 17 - interrupts : IRQ line info CS35L33. 18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is 26 - cirrus,ramp-rate : On power up, it affects the time from when the power 27 up sequence begins to the time the audio reaches a full-scale output. 28 On power down, it affects the time from when the power-down sequence [all …]
|
| /kernel/linux/linux-5.10/Documentation/filesystems/ |
| D | ceph.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 * Seamless scaling from 1 to many thousands of nodes 15 * N-way replication of data across storage nodes 32 re-replicated in a distributed fashion by the storage nodes themselves 37 in-memory cache above the file namespace that is extremely scalable, 39 and can tolerate arbitrary (well, non-Byzantine) node failures. The 48 The system offers automatic data rebalancing/migration when scaling 61 files and bytes. That is, a 'getfattr -d foo' on any directory in the 72 setfattr -n ceph.quota.max_bytes -v 100000000 /some/dir 73 getfattr -n ceph.quota.max_bytes /some/dir [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | qcom,spmi-vadc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 15 voltage. The VADC is a 15-bit sigma-delta ADC. 17 voltage. The VADC is a 16-bit sigma-delta ADC. 22 - items: 23 - const: qcom,pms405-adc [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/ |
| D | ti,vpe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Benoit Parrot <bparrot@ti.com> 12 description: |- 15 path which can perform chroma up/down sampling, deinterlacing, 16 scaling and color space conversion. 20 const: ti,dra7-vpe 24 - description: The VPE main register region 25 - description: Scaler (SC) register region [all …]
|