/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/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/tools/tracing/rtla/src/ |
H A D | osnoise_top.c | 1 // SPDX-License-Identifier: GPL-2.0 38 * osnoise_free_top - free runtime data 43 free(data->cpu_data); in osnoise_free_top() 48 * osnoise_alloc_histogram - alloc runtime data 58 data->nr_cpus = nr_cpus; in osnoise_alloc_top() 61 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in osnoise_alloc_top() 62 if (!data->cpu_data) in osnoise_alloc_top() 73 * osnoise_top_handler - this is the handler for osnoise tracer events 84 int cpu = record->cpu; in osnoise_top_handler() 88 data = tool->data; in osnoise_top_handler() [all …]
|
H A D | osnoise_hist.c | 1 // SPDX-License-Identifier: GPL-2.0 37 * osnoise_free_histogram - free runtime data 45 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in osnoise_free_histogram() 46 if (data->hist[cpu].samples) in osnoise_free_histogram() 47 free(data->hist[cpu].samples); in osnoise_free_histogram() 51 if (data->hist) in osnoise_free_histogram() 52 free(data->hist); in osnoise_free_histogram() 58 * osnoise_alloc_histogram - alloc runtime data 70 data->entries = entries; in osnoise_alloc_histogram() 71 data->bucket_size = bucket_size; in osnoise_alloc_histogram() [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/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/include/uapi/linux/ |
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/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/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} 142 bool enable; member 147 * struct inv_icm42600_state - driver state variables 154 * @irq: chip irq, required to enable/disable and set wakeup 189 * struct inv_icm42600_sensor_state - sensor state variables [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/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 27 if 'rss-hash-key' not in data: 29 non_zero = [x for x in data['rss-hash-key'] if x != 0] 30 ksft_eq(bool(non_zero), True, comment=f"RSS key is all zero {data['rss-hash-key']}") 34 return ethtool(f"-x {cfg.ifname} context {context}", json=True)[0] 38 stats = ip("-s -s link show dev " + cfg.ifname, json=True)[0] 51 return int(output.split()[-1]) 55 features = ethtool(f"-k {cfg.ifname}", json=True)[0] 56 if not features["ntuple-filters"]["active"]: 58 # trying to enable it (until some driver actually needs it). [all …]
|
/linux/sound/soc/codecs/ |
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 | 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 …]
|
H A D | ml26124.c | 1 // SPDX-License-Identifier: GPL-2.0-only 53 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7150, 50, 0); 55 static const DECLARE_TLV_DB_SCALE(alclvl, -2250, 150, 0); 56 static const DECLARE_TLV_DB_SCALE(mingain, -1200, 600, 0); 57 static const DECLARE_TLV_DB_SCALE(maxgain, -675, 600, 0); 58 static const DECLARE_TLV_DB_SCALE(boost_vol, -1200, 75, 0); 60 static const char * const ml26124_companding[] = {"16bit PCM", "u-law", 61 "A-law"}; 98 SOC_SINGLE("DC High Pass Filter Switch", ML26124_FILTER_EN, 0, 1, 0), 99 SOC_SINGLE("Noise High Pass Filter Switch", ML26124_FILTER_EN, 1, 1, 0), [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/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/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 …]
|
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/fddi/skfp/h/ |
H A D | supern_2.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 48 #define FS_SSRCRTG (1<<12) /* if SA has set MSB (source-routing)*/ 54 #define FS_SFRMTY2 (1<<6) /* frame-class bit */ 55 #define FS_SFRMTY1 (1<<5) /* frame-type bit (impementor) */ 56 #define FS_SFRMTY0 (1<<4) /* frame-type bit (LLC) */ 58 #define FS_ERFBB0 (1<<0) /* - " - */ 95 unsigned int rx_sadrrg :1 ; /* DA == MA or broad-/multicast */ 97 unsigned int rx_seac0 :1 ; /* frame-copied C-indicator */ 98 unsigned int rx_seac1 :1 ; /* address-match A-indicator */ 99 unsigned int rx_seac2 :1 ; /* frame-error E-indicator */ [all …]
|
/linux/Documentation/hwmon/ |
H A D | asc7621.rst | 20 Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as 21 Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has 23 Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in 28 have used registers below 20h for vendor-specific functions in addition 29 to those in the Intel-specified vendor range. 32 The fan speed control uses this finer value to produce a "step-less" fan 33 PWM output. These two bytes are "read-locked" to guarantee that once a 34 high or low byte is read, the other byte is locked-in until after the 37 sheet says 10-bits of resolution, although you may find the lower bits 47 We offer GPIO features on the former VID pins. These are open-drain [all …]
|