Home
last modified time | relevance | path

Searched +full:gain +full:- +full:scaling +full:- +full:p (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.12.1/Documentation/devicetree/bindings/iio/dac/
Dadi,ad3552r.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Nuno Sá <nuno.sa@analog.com>
16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3541r.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3542r.pdf
18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3551r.pdf
19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3552r.pdf
24 - adi,ad3541r
25 - adi,ad3542r
[all …]
/linux-6.12.1/drivers/iio/dac/
Dad3552r.c1 // SPDX-License-Identifier: GPL-2.0-only
103 #define AD3552R_REG_ADDR_CH_DAC_16B(ch) (0x2C - (1 - ch) * 2)
108 #define AD3552R_REG_ADDR_CH_INPUT_16B(ch) (0x36 - (1 - ch) * 2)
112 #define AD3552R_REG_ADDR_CH_DAC_24B(ch) (0x3D - (1 - ch) * 3)
117 #define AD3552R_REG_ADDR_CH_INPUT_24B(ch) (0x4B - (1 - ch) * 3)
156 /* Range from -5 V to 5 V. Requires Rfb2x connection */
158 /* Range from -10 V to 10 V. Requires Rfb4x connection */
166 [AD3552R_CH_OUTPUT_RANGE_NEG_5__5V] = {-5000, 5000},
167 [AD3552R_CH_OUTPUT_RANGE_NEG_10__10V] = {-10000, 10000}
179 /* Range from -2.5 V to 7.5 V. Requires Rfb2x connection */
[all …]
/linux-6.12.1/drivers/media/i2c/
Dsaa711x_regs.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * saa711x - Philips SAA711x video decoder register specifications
10 /* Video Decoder - Frontend part */
16 /* Video Decoder - Decoder part */
112 /* Horizontal phase scaling */
120 /* Vertical scaling */
159 /* Horizontal phase scaling */
166 /* Vertical scaling */
196 /* SAA7113 bit-masks */
230 /* Video Decoder - Frontend part: R_01_INC_DELAY to R_05_INPUT_CNTL_4 */
[all …]
Dsaa7115.c1 // SPDX-License-Identifier: GPL-2.0+
2 // saa711x - Philips SAA711x video decoder driver
23 // Copyright (c) 2005-2006 Mauro Carvalho Chehab <mchehab@kernel.org>
33 #include <media/v4l2-device.h>
34 #include <media/v4l2-ctrls.h>
35 #include <media/v4l2-mc.h>
49 MODULE_PARM_DESC(debug, "Debug level (0-1)");
76 /* chroma gain control cluster */
78 struct v4l2_ctrl *gain; member
104 return &container_of(ctrl->handler, struct saa711x_state, hdl)->sd; in to_sd()
[all …]
Dsaa717x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * saa717x - Philips SAA717xHL video decoder driver
8 * - Apply to SAA717x,NEC uPD64031,uPD64083. (1/31/2004)
10 * Changes by T.Adachi (tadachi@tadachi-net.com)
11 * - support audio, video scaler etc, and checked the initialize sequence.
27 #include <media/v4l2-device.h>
28 #include <media/v4l2-ctrls.h>
36 MODULE_PARM_DESC(debug, "Debug level (0-1)");
70 return &container_of(ctrl->handler, struct saa717x_state, hdl)->sd; in to_sd()
73 /* ----------------------------------------------------------------------- */
[all …]
Ds5k5baf.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #include <media/media-entity.h>
25 #include <media/v4l2-ctrls.h>
26 #include <media/v4l2-device.h>
27 #include <media/v4l2-subdev.h>
28 #include <media/v4l2-mediabus.h>
29 #include <media/v4l2-fwnode.h>
38 #define S5K5BAF_FW_FILENAME "s5k5baf-cfg.bin"
50 /* Default number of MIPI CSI-2 data lanes used */
199 /* Auto-algorithms enable mask */
[all …]
Dmt9m114.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2020-2023 Laurent Pinchart <laurent.pinchart@ideasonboard.com>
26 #include <media/v4l2-async.h>
27 #include <media/v4l2-cci.h>
28 #include <media/v4l2-ctrls.h>
29 #include <media/v4l2-device.h>
30 #include <media/v4l2-fwnode.h>
31 #include <media/v4l2-mediabus.h>
32 #include <media/v4l2-subdev.h>
75 /* Auto-Exposure Track registers */
[all …]
/linux-6.12.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``,
97 .. tabularcolumns:: |p{1.2cm}|p{3.6cm}|p{12.5cm}|
99 .. _v4l2-queryctrl:
103 .. flat-table:: struct v4l2_queryctrl
[all …]
/linux-6.12.1/Documentation/admin-guide/media/
Dipu3.rst1 .. 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:
51 .. tabularcolumns:: |p{0.8cm}|p{4.0cm}|p{4.0cm}|
53 .. flat-table::
[all …]
/linux-6.12.1/drivers/misc/echo/
Decho.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * SpanDSP - a series of DSP components for telephony
5 * echo.c - A line echo canceller. This code is being developed
30 especially for double talk - there were always cases where my DTD
50 on 4 real-world samples.
54 on the real-world samples. I have no idea why, perhaps a scaling
59 dot product) compared to the current sample-by-sample update.
66 Path Models", IEEE Transactions on communications, COM-25,
78 Part 1: http://www.rowetel.com/blog/?p=18
87 Thanks to Steve Underwood, Jean-Marc Valin, and Ramakrishnan
[all …]
/linux-6.12.1/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * vivid-kthread-cap.h - video/vbi capture thread support functions.
20 #include <linux/v4l2-dv-timings.h>
23 #include <media/videobuf2-vmalloc.h>
24 #include <media/v4l2-dv-timings.h>
25 #include <media/v4l2-ioctl.h>
26 #include <media/v4l2-fh.h>
27 #include <media/v4l2-event.h>
28 #include <media/v4l2-rect.h>
30 #include "vivid-core.h"
[all …]
/linux-6.12.1/drivers/media/v4l2-core/
Dv4l2-ctrls-defs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2010-2021 Hans Verkuil <hverkuil-cisco@xs4all.nl>
9 #include <media/v4l2-ctrls.h>
26 "MPEG-1/2 Layer I", in v4l2_ctrl_get_menu()
27 "MPEG-1/2 Layer II", in v4l2_ctrl_get_menu()
28 "MPEG-1/2 Layer III", in v4l2_ctrl_get_menu()
29 "MPEG-2/4 AAC", in v4l2_ctrl_get_menu()
30 "AC-3", in v4l2_ctrl_get_menu()
128 "16-bit CRC", in v4l2_ctrl_get_menu()
141 "MPEG-1", in v4l2_ctrl_get_menu()
[all …]
/linux-6.12.1/Documentation/driver-api/media/drivers/ccs/
Dccs-regs.asc1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause
2 # Copyright (C) 2019--2020 Intel Corporation
5 # - f field LSB MSB rflags
6 # - e enum value # after a field
7 # - e enum value [LSB MSB]
8 # - b bool bit
9 # - l arg name min max elsize [discontig...]
23 - e GRBG 0
24 - e RGGB 1
25 - e BGGR 2
[all …]
/linux-6.12.1/drivers/media/common/saa7146/
Dsaa7146_hlp.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <media/drv-intf/saa7146_vv.h>
26 hyo = vv->standard->v_offset; in calculate_hxo_and_hyo()
27 hxo = vv->standard->h_offset; in calculate_hxo_and_hyo()
36 /* helper functions for the calculation of the horizontal- and vertical
37 scaling registers, clip-format-register etc ...
38 these functions take pointers to the (most-likely read-out
39 original-values) and manipulate them according to the requested
43 /* hps_coeff used for CXY and CXUV; scale 1/1 -> scale 1/64 */
63 /* table of attenuation values for horizontal scaling */
[all …]
/linux-6.12.1/drivers/iio/light/
Dtsl2583.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (c) 2016-2017 Brian Masney <masneyb@onstation.org>
61 /* Per-device data */
113 /* Index = (0 - 3) Used to validate the gain selection index */
131 chip->als_settings.als_time = 100; in tsl2583_defaults()
137 chip->als_settings.als_gain = 0; in tsl2583_defaults()
139 /* Default gain trim to account for aperture effects */ in tsl2583_defaults()
140 chip->als_settings.als_gain_trim = 1000; in tsl2583_defaults()
143 chip->als_settings.als_cal_target = 130; in tsl2583_defaults()
146 memcpy(chip->als_settings.als_device_lux, tsl2583_default_lux, in tsl2583_defaults()
[all …]
Dmax44000.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * 7-bit I2C slave address 0x4a
88 /* Scale can be multiplied by up to 128x via ALSPGA for measurement gain */
95 * This scaling factor is hidden from userspace and instead accounted for when
165 .scan_index = -1,
174 ret = regmap_read(data->regmap, MAX44000_REG_CFG_RX, &val); in max44000_read_alstim()
182 return regmap_write_bits(data->regmap, MAX44000_REG_CFG_RX, in max44000_write_alstim()
192 ret = regmap_read(data->regmap, MAX44000_REG_CFG_RX, &val); in max44000_read_alspga()
200 return regmap_write_bits(data->regmap, MAX44000_REG_CFG_RX, in max44000_write_alspga()
211 ret = regmap_bulk_read(data->regmap, MAX44000_REG_ALS_DATA_HI, in max44000_read_alsval()
[all …]
/linux-6.12.1/Documentation/scheduler/
Dschedutil.rst15 individual tasks to task-group slices to CPU runqueues. As the basis for this
31 Note that blocked tasks still contribute to the aggregates (task-group slices
51 Dynamic Voltage and Frequency Scaling (DVFS) ratio and one microarch ratio.
57 r_dvfs := -----
61 hardware counters (Intel APERF/MPERF, ARMv8.4-AMU) to provide us this ratio.
65 f_cur := ----- * P0
68 4C-turbo; if available and turbo enabled
69 f_max := { 1C-turbo; if turbo enabled
73 r_dvfs := min( 1, ----- )
88 - kernel/sched/pelt.h:update_rq_clock_pelt()
[all …]
/linux-6.12.1/net/ipv4/
Dtcp_bbr.c21 * +---> STARTUP ----+
24 * | DRAIN ----+
27 * +---> PROBE_BW ----+
30 * | +----+ |
32 * +---- PROBE_RTT <--+
37 * A long-lived BBR flow spends the vast majority of its time remaining
42 * it briefly enters PROBE_RTT to cut inflight to a minimum value to re-probe
43 * the path's two-way propagation delay (min_rtt). When exiting PROBE_RTT, if
48 * "BBR: Congestion-Based Congestion Control",
50 * Van Jacobson. ACM Queue, Vol. 14 No. 5, September-October 2016.
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlegacy/
Dcommon.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
31 #define IL_ERR(f, a...) dev_err(&il->pci_dev->dev, f, ## a)
32 #define IL_WARN(f, a...) dev_warn(&il->pci_dev->dev, f, ## a)
33 #define IL_WARN_ONCE(f, a...) dev_warn_once(&il->pci_dev->dev, f, ## a)
34 #define IL_INFO(f, a...) dev_info(&il->pci_dev->dev, f, ## a)
46 #define U32_PAD(n) ((4-(n))&0x3)
48 /* CT-KILL constants */
56 * Use default noise value of -127 ... this is below the range of measurable
[all …]
/linux-6.12.1/drivers/iio/magnetometer/
Dhmc5843_core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Device driver for the HMC5843 multi-chip module designed
11 * Split to multiple files by Josef Gajdusek <atx@atx.name> - 2014
26 * Range gain settings in (+-)Ga
28 * ranges; default corresponds to +-1.0 Ga and +-1.3 Ga, respectively
64 * 0 - Normal measurement configuration (default): In normal measurement
68 * 1 - Positive bias configuration: In positive bias configuration, a
72 * 2 - Negative bias configuration. In negative bias configuration, a
76 * 3 - Only available on HMC5983. Magnetic sensor is disabled.
86 /* Scaling factors: 10000000/Gain */
[all …]
/linux-6.12.1/drivers/gpu/drm/sti/
Dsti_hqvdp.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/dma-mapping.h>
31 #define HQVDP_FMW_NAME "hqvdp-stih407.bin"
258 /* Default Contrast & Brightness gain = 256 */
260 /* Default Saturation gain = 256 */
376 * -1 in error cases
381 u32 cmd = hqvdp->hqvdp_cmd_paddr; in sti_hqvdp_get_free_cmd()
384 curr_cmd = readl(hqvdp->regs + HQVDP_MBX_CURRENT_CMD); in sti_hqvdp_get_free_cmd()
385 next_cmd = readl(hqvdp->regs + HQVDP_MBX_NEXT_CMD); in sti_hqvdp_get_free_cmd()
393 return -1; in sti_hqvdp_get_free_cmd()
[all …]
/linux-6.12.1/sound/soc/sof/
Dipc4-topology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
13 #include <sound/intel-nhlt.h>
14 #include "sof-priv.h"
15 #include "sof-audio.h"
16 #include "ipc4-priv.h"
17 #include "ipc4-topology.h"
24 * message and it is used for clock scaling.
26 * deactivating the clock scaling.
31 "Ignore CPC values. This option will disable clock scaling in firmware.");
166 [SOF_GAIN_TOKENS] = {"Gain tokens", gain_tokens, ARRAY_SIZE(gain_tokens)},
[all …]
/linux-6.12.1/drivers/staging/media/ipu3/include/uapi/
Dintel-ipu3.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (C) 2017 - 2018 Intel Corporation */
11 /* Vendor specific - used for IPU3 camera sub-system */
13 #define V4L2_META_FMT_IPU3_PARAMS v4l2_fourcc('i', 'p', '3', 'p')
15 #define V4L2_META_FMT_IPU3_STAT_3A v4l2_fourcc('i', 'p', '3', 's')
17 /* from include/uapi/linux/v4l2-controls.h */
26 #define IPU3_UAPI_GRID_START_MASK ((1 << 12) - 1)
34 * struct ipu3_uapi_grid_config - Grid plane config
56 * create a grid-based output, and the data is then divided into "slices".
71 * struct ipu3_uapi_awb_set_item - Memory layout for each cell in AWB
[all …]
/linux-6.12.1/include/linux/
Dsched.h1 /* SPDX-License-Identifier: GPL-2.0 */
41 #include <linux/posix-timers_types.h>
91 * We have two separate sets of flags: task->__state
92 * is about runnability, while task->exit_state are
98 /* Used in tsk->__state: */
104 /* Used in tsk->exit_state: */
108 /* Used in tsk->__state again: */
121 #define TASK_ANY (TASK_STATE_MAX-1)
144 #define task_is_running(task) (READ_ONCE((task)->__state) == TASK_RUNNING)
146 #define task_is_traced(task) ((READ_ONCE(task->jobctl) & JOBCTL_TRACED) != 0)
[all …]
/linux-6.12.1/include/uapi/linux/
Dsoundcard.h2 * Copyright by Hannu Savolainen 1993-1997
228 #define WAVE_UNSIGNED 0x02 /* bit 1 = Signed - Unsigned data. */
229 #define WAVE_LOOPING 0x04 /* bit 2 = looping enabled-1. */
233 #define WAVE_ENVELOPES 0x40 /* bit 6 = Enable envelopes - 1 */
239 #define WAVE_SCALE 0x00040000 /* The scaling info is valid */
269 int panning; /* -128=left, 127=right */
378 /* undefined 0x14 - 0x1f */
395 /* undefined 0x46 - 0x4f */
401 /* undefined 0x54 - 0x5a */
414 /* undefined 0x66 - 0x78 */
[all …]

12