| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | ani.c | 4 * Permission to use, copy, modify, and/or distribute this software for any 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 27 * Adaptive Noise Immunity (ANI) controls five noise immunity parameters 33 * - "noise immunity" 35 * - "spur immunity" 37 * - "firstep level" 39 * - "OFDM weak signal detection" 41 * - "CCK weak signal detection" 61 * ath5k_ani_set_noise_immunity_level() - Set noise immunity level 69 * ANI documents suggest the following five levels to use, but the HAL in ath5k_ani_set_noise_immunity_level() [all …]
|
| H A D | ani.h | 4 * Permission to use, copy, modify, and/or distribute this software for any 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 23 /* these thresholds are relative to the ATH5K_ANI_LISTEN_PERIOD */ 40 * enum ath5k_ani_mode - mode for ANI / noise sensitivity 42 * @ATH5K_ANI_MODE_OFF: Turn ANI off. This can be useful to just stop the ANI 44 * @ATH5K_ANI_MODE_MANUAL_LOW: Manually set all immunity parameters to low, 46 * @ATH5K_ANI_MODE_MANUAL_HIGH: Manually set all immunity parameters to high, 60 * struct ath5k_ani_state - ANI state and associated counters 62 * @noise_imm_level: Noise immunity level 65 * @ofdm_weak_sig: OFDM weak signal detection state (on/off) [all …]
|
| /linux/Documentation/sound/soc/ |
| H A D | pops-clicks.rst | 8 powered up and causes a popping noise on the speakers). 23 shutdown and follows some basic rules:- 26 Startup Order :- DAC --> Mixers --> Output PGA --> Digital Unmute 28 Shutdown Order :- Digital Mute --> Output PGA --> Mixers --> DAC 31 a PGA (programmable gain amplifier) before being output to the speakers. 37 Capture artifacts are somewhat easier to get rid as we can delay activating the 38 ADC until all the pops have occurred. This follows similar power rules to 43 Startup Order - Input PGA --> Mixers --> ADC 45 Shutdown Order - ADC --> Mixers --> Input PGA 48 Zipper Noise [all …]
|
| /linux/Documentation/userspace-api/media/dvb/ |
| H A D | fe-read-snr.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 31 The signal-to-noise ratio is stored into \*snr. 36 This ioctl call returns the signal-to-noise ratio for the signal 37 currently received by the front-end. For this command, read-only access 38 to the device is sufficient. 45 On error -1 is returned, and the ``errno`` variable is set 49 :ref:`Generic Error Codes <gen-errors>` chapter.
|
| H A D | frontend-stat-properties.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _frontend-stat-properties: 18 standards, up to 3 groups of statistics can be provided, and 19 ``dtv_property.stat.len`` is updated to reflect the "global" metrics, 22 So, in order to be consistent with other delivery systems, the first 24 to the global metric. The other elements of the array represent each 32 - ``svalue`` or ``uvalue``, where ``svalue`` is for signed values of 36 - ``scale`` - Scale for the value. It can be: 38 - ``FE_SCALE_NOT_AVAILABLE`` - The parameter is supported by the 39 frontend, but it was not possible to collect it (could be a [all …]
|
| /linux/drivers/media/pci/cx88/ |
| H A D | cx88-dsp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include "cx88-reg.h" 37 * to play a bit with the registers of the chip to select the proper signal 38 * for the input of the audio rds fifo, and measure it's sampling rate to 56 /* The spectrum of the signal should be empty between these frequencies. */ 77 return -int_cos(x - INT_PI); in int_cos() 80 return -int_cos(INT_PI / 2 - (x % (INT_PI / 2))); in int_cos() 83 * To calculate cos(x) we use it's Taylor polinom. in int_cos() 89 ret = 32768 - t2 + t4 - t6 + t8; in int_cos() 96 * We use the Goertzel algorithm to determine the power of the in int_goertzel() [all …]
|
| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A D | adi,ad4080.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Analog Devices AD4080 20-Bit, 40 MSPS, Differential SAR ADC 11 - Antoniu Miclaus <antoniu.miclaus@analog.com> 14 The AD4080 is a high speed, low noise, low distortion, 20-bit, Easy Drive, 15 successive approximation register (SAR) analog-to-digital converter (ADC). 16 Maintaining high performance (signal-to-noise and distortion (SINAD) ratio 17 > 90 dBFS) at signal frequencies in excess of 1 MHz enables the AD4080 to 21 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4080.pdf [all …]
|
| /linux/Documentation/sound/hd-audio/ |
| H A D | realtek-pc-beep.rst | 8 as I can tell, these hidden routes are designed to allow flexible PC Beep output 10 to hide a mixer behind an undocumented vendor register than to just expose it 20 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 24 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 35 by h and S bits. Does not affect the level of 1Ah exposed to other widgets. 39 by h and S bits. Does not affect the level of 1Ah exposed to other widgets. 41 Loopback 1Ah to 21h [active low] (h): 1 bit 43 into 21h (headphone jack on my machine). Mixed signal respects the mute 46 Loopback 1Ah to 14h (S): 1 bit 48 into 14h (internal speaker on my machine). Mixed signal **ignores** the mute [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | lgdt330x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Support for LGDT3302 and LGDT3303 - VSB/QAM 12 * DViCO FusionHDTV 3 Gold-Q 13 * DViCO FusionHDTV 3 Gold-T 44 dev_printk(KERN_DEBUG, &state->client->dev, fmt, ##arg);\ 66 const u8 *buf, /* data bytes to send */ in i2c_write_demod_bytes() 67 int len /* number of bytes to send */) in i2c_write_demod_bytes() 72 for (i = 0; i < len - 1; i += 2) { in i2c_write_demod_bytes() 73 err = i2c_master_send(state->client, buf, 2); in i2c_write_demod_bytes() 75 dev_warn(&state->client->dev, in i2c_write_demod_bytes() [all …]
|
| H A D | dib3000mb_priv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 17 { pr_err("while sending 0x%04x to 0x%04x.", val, reg); return -EREMOTEIO; } 139 /* impulse noise parameter */ 159 * Dual Automatic-Gain-Control 160 * - gains RF in tuner (AGC1) 161 * - gains IF after filtering (AGC2) 164 /* also from 16 to 18 */ 173 /* phase noise */ 174 /* 36 is set when setting the impulse noise */ 255 /* phase noise compensation inhibition */ [all …]
|
| H A D | or51132.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Support for OR51132 (pcHDTV HD-3000) - VSB/QAM 15 * "dvb-fe-or51132-vsb.fw" and "dvb-fe-or51132-qam.fw" to 19 #define OR51132_VSB_FIRMWARE "dvb-fe-or51132-vsb.fw" 20 #define OR51132_QAM_FIRMWARE "dvb-fe-or51132-qam.fw" 59 /* Write buffer to demod */ 63 struct i2c_msg msg = { .addr = state->config->demod_address, in or51132_writebuf() 66 /* msleep(20); */ /* doesn't appear to be necessary */ in or51132_writebuf() 67 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) { in or51132_writebuf() 70 return -EREMOTEIO; in or51132_writebuf() [all …]
|
| H A D | lgdt3305.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Support for LG Electronics LGDT3304 and LGDT3305 - VSB/QAM 18 MODULE_PARM_DESC(debug, "set debug level (info=1, reg=2 (or-able))"); 54 /* ------------------------------------------------------------------------ */ 106 .addr = state->cfg->i2c_addr, .flags = 0, in lgdt3305_write_reg() 112 ret = i2c_transfer(state->i2c_adap, &msg, 1); in lgdt3305_write_reg() 115 lg_err("error (addr %02x %02x <- %02x, err = %i)\n", in lgdt3305_write_reg() 120 return -EREMOTEIO; in lgdt3305_write_reg() 130 { .addr = state->cfg->i2c_addr, in lgdt3305_read_reg() 132 { .addr = state->cfg->i2c_addr, in lgdt3305_read_reg() [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | mt792x_mac.c | 1 // SPDX-License-Identifier: ISC 16 phy = mphy->priv; in mt792x_mac_work() 18 mt792x_mutex_acquire(phy->dev); in mt792x_mac_work() 21 if (++mphy->mac_work_count == 2) { in mt792x_mac_work() 22 mphy->mac_work_count = 0; in mt792x_mac_work() 27 mt792x_mutex_release(phy->dev); in mt792x_mac_work() 29 mt76_tx_status_check(mphy->dev, false); in mt792x_mac_work() 30 ieee80211_queue_delayed_work(phy->mt76->hw, &mphy->mac_work, in mt792x_mac_work() 37 s16 coverage_class = phy->coverage_class; in mt792x_mac_set_timeing() 38 struct mt792x_dev *dev = phy->dev; in mt792x_mac_set_timeing() [all …]
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 4965-calib.c | 8 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * along with this program; if not, write to the Free Software 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 47 * contributors may be used to endorse or promote products derived 52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 56 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 86 /* "false alarms" are signals that our DSP tries to lock onto, 87 * but then determines that they are either noise, or transmissions 88 * from a distant wireless network (also "noise", really) that get [all …]
|
| /linux/drivers/media/test-drivers/vidtv/ |
| H A D | vidtv_demod.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 19 * struct vidtv_demod_cnr_to_qual_s - Map CNR values to a given combination of 23 * @cnr_ok: S/N threshold to consider the signal as OK. Below that, there's 25 * @cnr_good: S/N threshold to consider the signal strong. 28 * of modulation and fec_inner in use. We might simulate some noise if the 29 * signal quality is not too good. 41 * struct vidtv_demod_config - Configuration used to init the demod 42 * @drop_tslock_prob_on_low_snr: probability of losing the lock due to low snr 43 * @recover_tslock_prob_on_good_snr: probability of recovering when the signal 46 * The configuration used to init the demodulator module, usually filled [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | calib.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2005-2014 Intel Corporation 8 #include "iwl-trans.h" 41 list_for_each_entry(res, &priv->calib_results, list) { in iwl_send_calib_results() 44 hcmd.len[0] = res->cmd_len; in iwl_send_calib_results() 45 hcmd.data[0] = &res->cmd; in iwl_send_calib_results() 50 ret, res->cmd.hdr.op_code); in iwl_send_calib_results() 64 return -ENOMEM; in iwl_calib_set() 68 return -ENOMEM; in iwl_calib_set() 69 res->cmd = *cmd; in iwl_calib_set() [all …]
|
| /linux/Documentation/driver-api/media/drivers/ |
| H A D | vidtv.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 ---------- 12 Vidtv is a virtual DVB driver that aims to serve as a reference for driver 18 - A fake tuner driver, which will report a bad signal quality if the chosen 22 - A fake demod driver, which will constantly poll the fake signal quality 24 on the signal depending on the CNR levels. 26 - A fake bridge driver, which is the module responsible for modprobing the 31 - Code responsible for encoding a valid MPEG Transport Stream, which is then 32 passed to the bridge driver. This fake stream contains some hardcoded content. 33 For now, we have a single, audio-only channel containing a single MPEG [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-rf-tuner.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _rf-tuner-controls: 14 converts that received signal to lower intermediate frequency (IF) or 16 called Zero-IF tuners. Older tuners were typically simple PLL tuners 28 .. _rf-tuner-control-id: 43 Filter(s) on tuner signal path are used to filter signal according 44 to receiving party needs. Driver configures filters to fulfill 47 range and step are driver-specific. 59 The RF amplifier is the very first amplifier on the receiver signal 64 range and step are driver-specific. [all …]
|
| /linux/Documentation/driver-api/media/ |
| H A D | dtv-frontend.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------------------ 9 The Digital TV Frontend kABI defines a driver-internal interface for 10 registering low-level, hardware specific driver to a hardware independent 20 tells what type of digital TV standards are supported, and points to a 21 series of functions that allow the DVB core to command the hardware via 29 .name = "foo DVB-T/T2/C driver", 64 A typical example of such struct in a driver ``bar`` meant to be used on 70 .name = "Bar DVB-S/S2 demodulator", 91 /* Satellite-specific */ [all …]
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | ani.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 4 * Permission to use, copy, modify, and/or distribute this software for any 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 20 #include "hw-ops.h" 28 /* values here are relative to the INI */ 35 * WS: OFDM / CCK Weak Signal detection 36 * MRC-CCK: Maximal Ratio Combining for CCK 55 (ATH9K_ANI_OFDM_NUM_LEVEL-1) 57 3 /* default level - matches the INI settings */ 60 * MRC (Maximal Ratio Combining) has always been used with multi-antenna ofdm. [all …]
|
| /linux/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
| H A D | rtl8187.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 46 u8 noise; member 47 u8 signal; member 106 * Any attempt to set channels concurrently locks the device. 135 u8 signal; member 136 u8 noise; member 146 } b_tx_status; /* This queue is used by both -b and non-b devices */
|
| /linux/sound/soc/codecs/ |
| H A D | cs47l24.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs47l24.h -- ALSA SoC Audio driver for Cirrus Logic CS47L24 33 #define DRV_NAME "cs47l24-codec" 62 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs47l24_adsp_power_ev() 63 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in cs47l24_adsp_power_ev() 67 ret = regmap_read(arizona->regmap, ARIZONA_SYSTEM_CLOCK_1, &v); in cs47l24_adsp_power_ev() 69 dev_err(component->dev, "Failed to read SYSCLK state: %d\n", ret); in cs47l24_adsp_power_ev() 80 static DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0); 81 static DECLARE_TLV_DB_SCALE(digital_tlv, -6400, 50, 0); 82 static DECLARE_TLV_DB_SCALE(noise_tlv, -13200, 600, 0); [all …]
|
| /linux/Documentation/userspace-api/media/drivers/ |
| H A D | imx-uapi.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 --------- 18 - V4L2_EVENT_IMX_FRAME_INTERVAL_ERROR 20 The user application can subscribe to this event from the ipuX_csiY 30 ----------------------------------- 33 NTSC/PAL signal re-sync (too little or too many video lines). When 34 this happens, the IPU triggers a mechanism to re-establish vertical 36 from image to image, and can last a long time before a stable image is 48 time every frame, not a fixed value), we can use it to detect the 54 to correct the rolling/split image. [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | richtek,rt5190a-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rt5190a-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 23 - richtek,rt5190a 31 vin2-supply: 32 description: phandle to buck2 input voltage. 34 vin3-supply: 35 description: phandle to buck3 input voltage. [all …]
|
| /linux/Documentation/driver-api/thermal/ |
| H A D | intel_dptf.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 ------------ 18 a coordinated approach for different policies to effect the hardware 23 ACPI and PCI devices to expose various features for monitoring and 25 to user space. This allows user space thermal solutions like 26 "Linux Thermal Daemon" to read platform specific thermal and power 27 tables to deliver adequate performance while keeping the system under 31 ---------------------------- 38 which should be notified to the firmware when the 43 "42A441D6-AE6A-462b-A84B-4A8CE79027D3" : Passive 1 [all …]
|