/linux/include/uapi/linux/media/raspberrypi/ |
H A D | pisp_be_config.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 5 * Copyright (C) 2021 - Raspberry Pi Ltd 87 * We use the enable flags to show when blocks are "dirty", but we need some 97 * struct pisp_be_global_config - PiSP global enable bitmaps 98 * @bayer_enables: Bayer input enable flags 99 * @rgb_enables: RGB output enable flags 111 * struct pisp_be_input_buffer_config - PiSP Back End input buffer 120 * struct pisp_be_dpc_config - PiSP Back End DPC config 138 * struct pisp_be_geq_config - PiSP Back End GEQ config 150 #define PISP_BE_GEQ_SLOPE ((1 << 10) - 1) [all …]
|
/linux/drivers/staging/media/ipu3/include/uapi/ |
H A D | intel-ipu3.h | 1 /* 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 */ 17 /* from include/uapi/linux/v4l2-controls.h */ 26 #define IPU3_UAPI_GRID_START_MASK ((1 << 12) - 1) 29 /* controls generation of meta_data (like FF enable/disable) */ 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 108 * struct ipu3_uapi_awb_raw_buffer - AWB raw buffer [all …]
|
/linux/include/uapi/linux/ |
H A D | rkisp1-config.h | 1 /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR MIT) */ 16 /* Sensor De-gamma */ 24 /* Filter */ 44 /* Denoise Pre-Filter */ 46 /* Denoise Pre-Filter Strength */ 129 /* 0-2 for sets 1-3 */ 162 * Denoising pre filter 181 * enum rkisp1_cif_isp_version - ISP variants 221 * enum rkisp1_cif_isp_exp_ctrl_autostop - stop modes 231 * enum rkisp1_cif_isp_exp_meas_mode - Exposure measure mode [all …]
|
H A D | omap3isp.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * TI OMAP3 ISP - User-space API 25 * 02110-1301 USA 41 * VIDIOC_OMAP3ISP_AF_CFG: Set auto-focus module configuration 43 * VIDIOC_OMAP3ISP_STAT_EN: Enable/disable a statistics module 121 * struct omap3isp_h3a_aewb_config - AE AWB configuration reset values 123 * @win_height: Window Height. Range 2 - 256, even values only. 124 * @win_width: Window Width. Range 6 - 256, even values only. 125 * @ver_win_count: Vertical Window Count. Range 1 - 128. 126 * @hor_win_count: Horizontal Window Count. Range 1 - 36. [all …]
|
/linux/include/linux/mfd/ |
H A D | ac100.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2016 Chen-Yu Tsai 7 * Chen-Yu Tsai <wens@csie.org> 84 /* ADC digital audio processing (high pass filter & auto gain control */ 99 #define AC100_ADC_DAP_N_TH 0x8e /* Noise Threshold */ 100 #define AC100_ADC_DAP_L_H_N_A_C 0x8f /* Left High Noise Avg. Coef */ 101 #define AC100_ADC_DAP_L_L_N_A_C 0x90 /* Left Low Noise Avg. Coef */ 102 #define AC100_ADC_DAP_R_H_N_A_C 0x91 /* Right High Noise Avg. Coef */ 103 #define AC100_ADC_DAP_R_L_N_A_C 0x92 /* Right Low Noise Avg. Coef */ 104 #define AC100_ADC_DAP_H_HPF_C 0x93 /* High High-Pass-Filter Coef */ [all …]
|
/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | hycon,hy46xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 Glass: 0.3mm--4.0mm 12 PET/PMMA: 0.2mm--2.0mm 13 HY4613(B)-N048 < 6" 14 HY4614(B)-N068 7" .. 10.1" 15 HY4621-NS32 < 5" 16 HY4623-NS48 5.1" .. 7" 17 Glass: 0.3mm--8.0mm [all …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_util.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 4 * Copyright (c) 2015-2021, The Linux Foundation. All rights reserved. 15 #define REG_MASK(n) ((BIT(n)) - 1) 41 * struct dpu_hw_blk - opaque hardware block object 49 * @enable: detail enhancer enable/disable 50 * @sharpen_level1: sharpening strength for noise 59 * @ adjust_a: A-coefficients for mapping curve 60 * @ adjust_b: B-coefficients for mapping curve 61 * @ adjust_c: C-coefficients for mapping curve [all …]
|
/linux/tools/tracing/rtla/src/ |
H A D | osnoise_top.c | 1 // SPDX-License-Identifier: GPL-2.0 73 * osnoise_free_top - free runtime data 78 free(data->cpu_data); in osnoise_free_top() 83 * osnoise_alloc_histogram - alloc runtime data 93 data->nr_cpus = nr_cpus; in osnoise_alloc_top() 96 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in osnoise_alloc_top() 97 if (!data->cpu_data) in osnoise_alloc_top() 108 * osnoise_top_handler - this is the handler for osnoise tracer events 119 int cpu = record->cpu; in osnoise_top_handler() 123 data = tool->data; in osnoise_top_handler() [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-uniphier.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <dt-bindings/gpio/uniphier-gpio.h> 22 #define UNIPHIER_GPIO_IRQ_EN 0x90 /* irq enable */ 24 #define UNIPHIER_GPIO_IRQ_FLT_EN 0x98 /* noise filter enable */ 25 #define UNIPHIER_GPIO_IRQ_FLT_CYC 0x9c /* noise filter clock cycle */ 44 * offset 0x90-0x9f is used for IRQ. Add 0x10 when crossing the region. in uniphier_gpio_bank_to_reg() 65 spin_lock_irqsave(&priv->lock, flags); in uniphier_gpio_reg_update() 66 tmp = readl(priv->regs + reg); in uniphier_gpio_reg_update() 69 writel(tmp, priv->regs + reg); in uniphier_gpio_reg_update() 70 spin_unlock_irqrestore(&priv->lock, flags); in uniphier_gpio_reg_update() [all …]
|
/linux/drivers/staging/media/atomisp/include/linux/ |
H A D | atomisp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 36 * buffer has a per-frame parameter. 60 /* Configuration used by Bayer noise reduction and YCC noise reduction */ 62 /* [gain] Strength of noise reduction for Bayer NR (Used by Bayer NR) */ 64 /* [gain] Strength of noise reduction for YCC NR (Used by YCC NR) */ 74 /* Temporal noise reduction configuration */ 119 /* [gain] The strength of sharpness in pell-mell area. u5_11 */ 158 u32 enable; member 174 u32 enable; member 266 unsigned int gr; /* unsigned <integer_bits>.<16-integer_bits> */ [all …]
|
/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-phy.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * mxl111sf-phy.c - driver for the MaxLinear MXL111SF 5 * Copyright (C) 2010-2014 Michael Krufky <mkrufky@linuxtv.org> 8 #include "mxl111sf-phy.h" 9 #include "mxl111sf-reg.h" 71 0x00 : /* enable impulse noise filter, in mxl1x1sf_set_device_mode() 73 0x40); /* disable impulse noise filter, in mxl1x1sf_set_device_mode() 78 state->device_mode = mode; in mxl1x1sf_set_device_mode() 119 /* Enable PIN MUX */ in mxl111sf_config_mpeg_in() 144 /* Enable Parallel mode */ in mxl111sf_config_mpeg_in() [all …]
|
/linux/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 91 /* ODR suffixed by LN or LP are Low-Noise or Low-Power mode only */ 110 /* Low-Noise mode sensor data filter (3rd order filter by default) */ 113 /* Low-Power mode sensor data filter (averaging) */ 122 int filter; member 124 #define INV_ICM42600_SENSOR_CONF_INIT {-1, -1, -1, -1} 139 * struct inv_icm42600_state - driver state variables 177 * struct inv_icm42600_sensor_state - sensor state variables 181 * @filter: sensor filter. 188 enum inv_icm42600_filter filter; member [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fwil_types.h | 1 // SPDX-License-Identifier: ISC 79 #define BRCMF_OBSS_COEX_AUTO (-1) 88 /* Wakeup on loss-of-link due to Disassoc/Deauth: */ 98 /* Wakeup after receipt of EAP-Identity Req: */ 104 /* enable wakeup if GTK fails: */ 128 /* Enable detection of radio button changes: */ 246 __le32 enable; member 255 * struct tdls_iovar - common structure for tdls iovars. 275 /* Pattern matching filter. Specifies an offset within received packets to 296 __le32 id; /* Unique filter id, specified by app. */ [all …]
|
/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | rss_ctx.py | 2 # SPDX-License-Identifier: GPL-2.0 26 if 'rss-hash-key' not in data: 28 non_zero = [x for x in data['rss-hash-key'] if x != 0] 29 ksft_eq(bool(non_zero), True, comment=f"RSS key is all zero {data['rss-hash-key']}") 33 return ethtool(f"-x {cfg.ifname} context {context}", json=True)[0] 37 stats = ip("-s -s link show dev " + cfg.ifname, json=True)[0] 50 return int(output.split()[-1]) 54 features = ethtool(f"-k {cfg.ifname}", json=True)[0] 55 if not features["ntuple-filters"]["active"]: 57 # trying to enable it (until some driver actually needs it). [all …]
|
/linux/sound/soc/codecs/ |
H A D | wm8940.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8940.c -- WM8940 ALSA Soc Audio driver 12 * Notch filter control 120 { 0x10, 0x0000 }, /* Notch Filter 1 Control 1 */ 121 { 0x11, 0x0000 }, /* Notch Filter 1 Control 2 */ 122 { 0x12, 0x0000 }, /* Notch Filter 2 Control 1 */ 123 { 0x13, 0x0000 }, /* Notch Filter 2 Control 2 */ 124 { 0x14, 0x0000 }, /* Notch Filter 3 Control 1 */ 125 { 0x15, 0x0000 }, /* Notch Filter 3 Control 2 */ 126 { 0x16, 0x0000 }, /* Notch Filter 4 Control 1 */ [all …]
|
H A D | isabelle.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * isabelle.c - Low power high fidelity audio codec driver 22 #include <sound/soc-dapm.h> 342 static const DECLARE_TLV_DB_SCALE(afm_amp_tlv, -3300, 300, 0); 343 static const DECLARE_TLV_DB_SCALE(dac_tlv, -1200, 200, 0); 344 static const DECLARE_TLV_DB_SCALE(hf_tlv, -5000, 200, 0); 346 /* from -63 to 0 dB in 1 dB steps */ 347 static const DECLARE_TLV_DB_SCALE(dpga_tlv, -6300, 100, 1); 349 /* from -63 to 9 dB in 1 dB steps */ 350 static const DECLARE_TLV_DB_SCALE(rx_tlv, -6300, 100, 1); [all …]
|
H A D | cs53l30.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs53l30.c -- CS53l30 ALSA Soc Audio driver 166 static DECLARE_TLV_DB_SCALE(pga_tlv, -600, 50, 0); 167 static DECLARE_TLV_DB_SCALE(dig_tlv, -9600, 100, 1); 245 * TB - Time base 262 /* The noise gate threshold selected will depend on NG Boost */ 264 "-64dB/-34dB", "-66dB/-36dB", "-70dB/-40dB", "-73dB/-43dB", 265 "-76dB/-46dB", "-82dB/-52dB", "-58dB", "-64dB", 292 SOC_SINGLE("Digital Soft-Ramp Switch", CS53L30_SFT_RAMP, 294 SOC_SINGLE("ADC1 Noise Gate Ganging Switch", CS53L30_ADC1_CTL3, [all …]
|
H A D | da9055.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 58 /* Input - Gain, Select and Filter Registers */ 71 /* Output - Gain, Select and Filter Registers */ 288 0x0, 0x10, TLV_DB_SCALE_ITEM(-5400, 0, 0), 289 /* -54dB to 15dB */ 290 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0) 295 /* -78dB to 12dB */ 296 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 305 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 306 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); [all …]
|
H A D | rt5631.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 266 /* DMIC_ENA: DMIC to ADC Digital filter */ 268 /* DMIC_DIS: ADC mixer to ADC Digital filter */ 530 /* Select ADC Wind Filter Clock type */ 536 /* SelectADC Wind Filter Corner Frequency */ 589 /* De-POP function Control 1(0x54) */ 597 /* Enable left HP mute/unmute depop */ 599 /* Enable right HP mute/unmute depop */ 602 /* De-POP Fnction Control(0x56) */ 612 /* JD trigger enable for HP */ [all …]
|
/linux/drivers/net/wireless/ti/wlcore/ |
H A D | rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 if (wl->quirks & WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN) in wlcore_rx_get_buf_size() 39 if (wl->quirks & WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN) in wlcore_rx_get_align_buf_size() 52 if ((desc->flags & WL1271_RX_DESC_BAND_MASK) == WL1271_RX_DESC_BAND_BG) in wl1271_rx_status() 53 status->band = NL80211_BAND_2GHZ; in wl1271_rx_status() 55 status->band = NL80211_BAND_5GHZ; in wl1271_rx_status() 57 status->rate_idx = wlcore_rate_to_idx(wl, desc->rate, status->band); in wl1271_rx_status() 60 if (desc->rate <= wl->hw_min_ht_rate) in wl1271_rx_status() 61 status->encoding = RX_ENC_HT; in wl1271_rx_status() 69 status->signal = ((desc->rssi & RSSI_LEVEL_BITMASK) | BIT(7)); in wl1271_rx_status() [all …]
|
/linux/drivers/media/platform/ti/omap3isp/ |
H A D | isppreview.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP driver - Preview module 26 { /* RGB-RGB Matrix */ 38 {-38, -75, 112}, 39 {112, -94 , -18} 52 /* Default values in Office Fluorescent Light for Noise Filter*/ 76 * If a filter is disabled, additional cropping is automatically added at the 80 * Median filter 4 pixels 81 * Noise filter, 85 * ------------------------------------------------------------- [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | udpgro_fwd.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 readonly BASE="ns-$(mktemp -u XXXXXX)" 25 local -r jobs="$(jobs -p)" 26 [ -n "${jobs}" ] && kill -1 ${jobs} 2>/dev/null 41 ip -n $ns link set dev lo up 43 # disable route solicitations to decrease 'noise' traffic 44 ip netns exec $ns sysctl -qw net.ipv6.conf.default.router_solicitations=0 45 ip netns exec $ns sysctl -qw net.ipv6.conf.all.router_solicitations=0 52 ip -n $BASE$ns link set dev veth$ns up 53 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V4$ns/24 [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | reg.h | 2 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 3 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 4 * Copyright (c) 2007-2008 Michael Taylor <mike.taylor@apprion.com> 28 * 5210 - http://nova.stanford.edu/~bbaas/ps/isscc2002_slides.pdf 30 * 5211 - http://www.hotchips.org/archives/hc14/3_Tue/16_mcfarland.pdf 33 * Atheros's ART program (Atheros Radio Test), on ath9k, on legacy-hal 42 * AR5210-Specific TXDP registers 46 #define AR5K_NOQCU_TXDP0 0x0000 /* Queue 0 - data */ 47 #define AR5K_NOQCU_TXDP1 0x0004 /* Queue 1 - beacons */ 53 #define AR5K_CR_TXE0 0x00000001 /* TX Enable for queue 0 on 5210 */ [all …]
|
/linux/net/mac80211/ |
H A D | rc80211_minstrel_ht.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 24 * Coefficients for moving average with noise filter (period=16), 27 * a1 = exp(-pi * sqrt(2) / period) 29 * coeff3 = -sqr(a1) 30 * coeff1 = 1 - coeff2 - coeff3 32 #define MINSTREL_AVG_COEFF1 (MINSTREL_FRAC(1, 1) - \ 33 MINSTREL_AVG_COEFF2 - \ 36 #define MINSTREL_AVG_COEFF3 -0x0000092e 88 * enable fixed rate processing per RC 89 * - write static index to debugfs:ieee80211/phyX/rc/fixed_rate_idx [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | or51211.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Support for OR51211 (pcHDTV HD-2000) - VSB 19 #define OR51211_DEFAULT_FIRMWARE "dvb-fe-or51211.fw" 68 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_writebytes() 70 return -EREMOTEIO; in i2c_writebytes() 85 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_readbytes() 87 return -EREMOTEIO; in i2c_readbytes() 96 struct or51211_state* state = fe->demodulator_priv; in or51211_load_firmware() 100 dprintk("Firmware is %zu bytes\n", fw->size); in or51211_load_firmware() 106 return -1; in or51211_load_firmware() [all …]
|