Home
last modified time | relevance | path

Searched +full:120 +full:- +full:db (Results 1 – 25 of 84) sorted by relevance

1234

/linux/Documentation/devicetree/bindings/sound/
H A Dti,pcm6240.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2022 - 2024 Texas Instruments Incorporated
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Shenghao Ding <shenghao-ding@ti.com>
24 https://www.ti.com/lit/gpn/pcm3120-q1
25 https://www.ti.com/lit/gpn/pcm3140-q1
26 https://www.ti.com/lit/gpn/pcm5120-q1
27 https://www.ti.com/lit/gpn/pcm6120-q1
28 https://www.ti.com/lit/gpn/pcm6260-q1
[all …]
/linux/drivers/video/fbdev/core/
H A Dmodedb.c2 * linux/drivers/video/modedb.c -- Standard video mode database management
6 * 2001 - Documented with DocBook
7 * - Brad Douglas <brad@neruo.com>
63 { NULL, 75, 640, 480, 31746, 120, 16, 16, 1, 64, 3, 0,
79 { NULL, 72, 800, 600, 20000, 64, 56, 23, 37, 120, 6,
112 { NULL, 76, 1024, 768, 11764, 208, 8, 36, 16, 120, 3, 0,
128 { NULL, 75, 1400, 1050, 7190, 120, 56, 23, 10, 112, 13,
276 { NULL, 60, 1366, 768, 13806, 120, 10, 14, 3, 32, 5, 0,
298 /* 0 640x350-85 VESA */
301 /* 1 640x400-85 VESA */
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_edid.c3 * Copyright (c) 2007-2008 Intel Corporation
24 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
83 /* Force reduced-blanking timings for detailed modes */
141 /* BOE model on HP Pavilion 15-n233sl reports 8 bpc, but is a 6 bpc panel */
147 /* SDC panel of Lenovo B50-80 reports 8 bpc, but is a 6 bpc panel */
157 /* Envision Peripherals, Inc. EN-7100e */
175 /* LG Philips LCD LP154W01-A5 */
181 /* Samsung SyncMaster 22[5-6]BW */
185 /* Sony PVM-2541A does up to 12 bpc, but only reports max 8 bpc */
197 /* Panel in Samsung NP700G7A-S01PL notebook reports 6bpc */
[all …]
/linux/sound/aoa/codecs/
H A Dtas-basstreble.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 150, /* -18 dB */
47 120,
53 114, /* 0 dB */
89 1, /* +18 dB */
100 * +/- 1
103 2, /* 7 dB, offset 50 */
125 1, /* 18 dB */
133 result += tas3004_bass_diff_to_treble[idx-50]; in tas3004_bass()
/linux/drivers/media/dvb-frontends/
H A Dix2505v.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Driver for Sharp IX2505V (marked B0017) DVB-S silicon tuner
15 * struct ix2505v_config - ix2505 attachment configuration
18 * @tuner_gain: Baseband AMP gain control 0/1=0dB(default) 2=-2bB 3=-4dB
19 * @tuner_chargepump: Charge pump output +/- 0=120 1=260 2=555 3=1200(default)
34 * ix2505v_attach - Attach a ix2505v tuner to the supplied frontend structure.
H A Dstv0910.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for the ST STV0910 DVB-S/S2 demodulator.
5 * Copyright (C) 2014-2015 Ralph Metzler <rjkm@metzlerbros.de>
129 struct i2c_adapter *adap = state->base->i2c; in write_reg()
131 struct i2c_msg msg = {.addr = state->base->adr, .flags = 0, in write_reg()
135 dev_warn(&adap->dev, "i2c write error ([%02x] %04x: %02x)\n", in write_reg()
136 state->base->adr, reg, val); in write_reg()
137 return -EIO; in write_reg()
152 dev_warn(&adapter->dev, "i2c read error ([%02x] %04x)\n", in i2c_read_regs16()
154 return -EIO; in i2c_read_regs16()
[all …]
H A Dstv0900_init.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
17 /* DVBS2 C/N Look-Up table */
21 { -30, 13348 }, /*C/N=-3dB*/
22 { -20, 12640 }, /*C/N=-2dB*/
23 { -10, 11883 }, /*C/N=-1dB*/
24 { 0, 11101 }, /*C/N=-0dB*/
25 { 5, 10718 }, /*C/N=0.5dB*/
26 { 10, 10339 }, /*C/N=1.0dB*/
27 { 15, 9947 }, /*C/N=1.5dB*/
28 { 20, 9552 }, /*C/N=2.0dB*/
[all …]
H A Dstv090x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
52 ((temp_dev->internal->i2c_adap != i2c_adap) || in find_dev()
53 (temp_dev->internal->i2c_addr != i2c_addr))) { in find_dev()
55 temp_dev = temp_dev->next_dev; in find_dev()
65 struct stv090x_dev *del_dev = find_dev(internal->i2c_adap, in remove_dev()
66 internal->i2c_addr); in remove_dev()
70 stv090x_first_dev = del_dev->next_dev; in remove_dev()
72 while (prev_dev->next_dev != del_dev) in remove_dev()
73 prev_dev = prev_dev->next_dev; in remove_dev()
75 prev_dev->next_dev = del_dev->next_dev; in remove_dev()
[all …]
/linux/drivers/gpu/drm/panel/
H A Dpanel-samsung-db7430.c1 // SPDX-License-Identifier: GPL-2.0
5 * Found in the Samsung Galaxy Beam GT-I8350 mobile phone.
16 #include <linux/media-bus-format.h>
49 * struct db7430 - state container for a panel controlled by the DB7430
89 static int db7430_power_on(struct db7430 *db) in db7430_power_on() argument
91 struct mipi_dbi *dbi = &db->dbi; in db7430_power_on()
95 ret = regulator_bulk_enable(ARRAY_SIZE(db->regulators), in db7430_power_on()
96 db->regulators); in db7430_power_on()
98 dev_err(db->dev, "failed to enable regulators: %d\n", ret); in db7430_power_on()
104 gpiod_set_value_cansleep(db->reset, 1); in db7430_power_on()
[all …]
/linux/sound/pci/mixart/
H A Dmixart_mixer.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 0xc2c00000, /* [000] -96.0 dB */
25 0xc2bf0000, /* [001] -95.5 dB */
26 0xc2be0000, /* [002] -95.0 dB */
27 0xc2bd0000, /* [003] -94.5 dB */
28 0xc2bc0000, /* [004] -94.0 dB */
29 0xc2bb0000, /* [005] -93.5 dB */
30 0xc2ba0000, /* [006] -93.0 dB */
31 0xc2b90000, /* [007] -92.5 dB */
32 0xc2b80000, /* [008] -92.0 dB */
[all …]
/linux/sound/soc/codecs/
H A Des8311.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * es8311.c -- es8311 ALSA SoC audio driver
38 static const DECLARE_TLV_DB_SCALE(es8311_adc_vol_tlv, -9550, 50, 0);
43 "0.25db/4LRCK", \
44 "0.25db/8LRCK", \
45 "0.25db/16LRCK", \
46 "0.25db/32LRCK", \
47 "0.25db/64LRCK", \
48 "0.25db/128LRCK", \
49 "0.25db/256LRCK", \
[all …]
H A Dcs53l30.c1 // 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
264 "-64dB/-34dB", "-66dB/-36dB", "-70dB/-40dB", "-73dB/-43dB",
265 "-76dB/-46dB", "-82dB/-52dB", "-58dB", "-64dB",
280 "1.86Hz", "120Hz", "235Hz", "466Hz",
292 SOC_SINGLE("Digital Soft-Ramp Switch", CS53L30_SFT_RAMP,
529 return -EINVAL; in cs53l30_get_mclkx_coeff()
[all …]
H A Dmt6351.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt6351.c -- mt6351 ALSA SoC audio codec driver
8 #include <linux/dma-mapping.h>
202 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero()
204 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero()
225 dev_warn(cmpnt->dev, "%s(), error rate %d, return 3", in get_cap_reg_val()
256 dev_warn(cmpnt->dev, "%s(), error rate %d, return 8", in get_play_reg_val()
266 struct snd_soc_component *cmpnt = dai->component; in mt6351_codec_dai_hw_params()
270 dev_dbg(priv->dev, "%s(), substream->stream %d, rate %d\n", in mt6351_codec_dai_hw_params()
271 __func__, substream->stream, rate); in mt6351_codec_dai_hw_params()
[all …]
H A Dmt6357.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/dma-mapping.h>
19 regmap_write(priv->regmap, MT6357_GPIO_MODE2_CLR, MT6357_GPIO_MODE2_CLEAR_ALL); in set_playback_gpio()
22 regmap_write(priv->regmap, MT6357_GPIO_MODE2_SET, in set_playback_gpio()
32 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_playback_gpio()
46 regmap_write(priv->regmap, MT6357_GPIO_MODE3_CLR, MT6357_GPIO_MODE3_CLEAR_ALL); in set_capture_gpio()
49 regmap_write(priv->regmap, MT6357_GPIO_MODE3_SET, in set_capture_gpio()
61 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_capture_gpio()
79 stage = up ? i : MT6357_HPLOUT_STG_CTRL_VAUDP15_MAX - i; in hp_main_output_ramp()
80 regmap_update_bits(priv->regmap, MT6357_AUDDEC_ANA_CON1, in hp_main_output_ramp()
[all …]
H A Des8326.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // es8326.c -- es8326 ALSA SoC audio driver
6 // Authors: David Yang <yangxiaohua@everest-semi.com>
17 #include <sound/soc-dapm.h>
56 regmap_read(es8326->regmap, ES8326_DAC_RAMPRATE, &crosstalk_h); in es8326_crosstalk1_get()
57 regmap_read(es8326->regmap, ES8326_DAC_CROSSTALK, &crosstalk_l); in es8326_crosstalk1_get()
61 ucontrol->value.integer.value[0] = crosstalk; in es8326_crosstalk1_get()
74 crosstalk = ucontrol->value.integer.value[0]; in es8326_crosstalk1_set()
75 regmap_read(es8326->regmap, ES8326_DAC_CROSSTALK, &crosstalk_l); in es8326_crosstalk1_set()
79 regmap_update_bits(es8326->regmap, ES8326_DAC_RAMPRATE, in es8326_crosstalk1_set()
[all …]
H A Dsta32x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Codec driver for ST STA32x 2.1-channel high-efficiency digital audio system
34 #include <sound/soc-dapm.h>
54 /* Power-up register defaults */
132 "Vcc" /* power amp spply, 10V - 36V */
153 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12700, 50, 1);
154 static const DECLARE_TLV_DB_SCALE(chvol_tlv, -7950, 50, 1);
155 static const DECLARE_TLV_DB_SCALE(tone_tlv, -120, 200, 0);
158 "Anti-Clipping", "Dynamic Range Compression" };
165 "User", "80Hz", "100Hz", "120Hz", "140Hz", "160Hz", "180Hz", "200Hz",
[all …]
H A Dtpa6130a2.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include <sound/tpa6130a2-plat.h>
45 ret = regulator_enable(data->supply); in tpa6130a2_power()
47 dev_err(data->dev, in tpa6130a2_power()
52 if (data->power_gpio >= 0) in tpa6130a2_power()
53 gpio_set_value(data->power_gpio, 1); in tpa6130a2_power()
56 regcache_cache_only(data->regmap, false); in tpa6130a2_power()
57 ret = regcache_sync(data->regmap); in tpa6130a2_power()
59 dev_err(data->dev, in tpa6130a2_power()
61 regcache_cache_only(data->regmap, true); in tpa6130a2_power()
[all …]
H A Dmt6358.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt6358.c -- mt6358 ALSA SoC audio codec driver
107 priv->mtkaif_protocol = mtkaif_protocol; in mt6358_set_mtkaif_protocol()
115 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_set()
117 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_SET, in playback_gpio_set()
119 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_set()
130 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_reset()
132 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_reset()
134 regmap_update_bits(priv->regmap, MT6358_GPIO_DIR0, in playback_gpio_reset()
141 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE3_CLR, in capture_gpio_set()
[all …]
/linux/sound/pci/vx222/
H A Dvx222_ops.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * VX222-specific low-level routines
77 return chip->port[vx2_reg_index[reg]] + vx2_reg_offset[reg]; in vx2_reg_addr()
81 * vx2_inb - read a byte from the register
91 * vx2_outb - write a byte on the register
100 dev_dbg(chip->card->dev, "outb: %x -> %x\n", val, vx2_reg_addr(chip, offset)); in vx2_outb()
105 * vx2_inl - read a 32bit word from the register
115 * vx2_outl - write a 32bit word on the register
123 dev_dbg(chip->card->dev, "outl: %x -> %x\n", val, vx2_reg_addr(chip, offset)); in vx2_outl()
142 * vx_reset_dsp - reset the DSP
[all …]
/linux/drivers/gpu/drm/bridge/analogix/
H A Danalogix_dp_reg.c1 // SPDX-License-Identifier: GPL-2.0-or-later
31 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute()
33 writel(reg, dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute()
35 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute()
37 writel(reg, dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute()
45 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_stop_video()
47 writel(reg, dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_stop_video()
61 writel(reg, dp->reg_base + ANALOGIX_DP_LANE_MAP); in analogix_dp_lane_swap()
69 writel(reg, dp->reg_base + ANALOGIX_DP_ANALOG_CTL_1); in analogix_dp_init_analog_param()
72 writel(reg, dp->reg_base + ANALOGIX_DP_ANALOG_CTL_2); in analogix_dp_init_analog_param()
[all …]
/linux/drivers/video/fbdev/
H A Dmacmodes.c2 * linux/drivers/video/macmodes.c -- Standard MacOS video modes
6 * 2000 - Removal of OpenFirmware dependencies by:
7 * - Ani Joshi
8 * - Brad Douglas <brad@neruo.com>
10 * 2001 - Documented with DocBook
11 * - Brad Douglas <brad@neruo.com>
36 /* 512x384, 60Hz, Non-Interlaced (15.67 MHz dot clock) */
40 /* 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) */
44 /* 640x480, 67Hz, Non-Interlaced (30.0 MHz dotclock) */
48 /* 640x870, 75Hz (portrait), Non-Interlaced (57.28 MHz dot clock) */
[all …]
/linux/drivers/staging/fbtft/
H A Dfb_agm1264k-fl.c1 // SPDX-License-Identifier: GPL-2.0+
3 * FB driver for Two KS0108 LCD controllers in AGM1264K-FL display
23 #define DRVNAME "fb_agm1264k-fl"
35 /* diffusing error (Floyd-Steinberg) */
41 {-1, 3},
55 103, 105, 106, 107, 109, 110, 111, 113, 114, 116, 117, 119, 120, 121,
68 par->fbtftops.reset(par); in init_display()
85 dev_dbg(par->info->device, in verify_gpios()
88 if (!par->EPIN) { in verify_gpios()
89 dev_err(par->info->device, in verify_gpios()
[all …]
/linux/drivers/net/wireless/intel/iwlegacy/
H A D3945.c1 // 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
16 #include <linux/dma-mapping.h>
94 * il3945_disable_events - Disable selected events in uCode event log
99 * Use for only special debugging. This function is just a placeholder as-is,
107 u32 disable_ptr; /* SRAM address of event-disable bitmap array */ in il3945_disable_events()
110 0x00000000, /* 31 - 0 Event id numbers */ in il3945_disable_events()
111 0x00000000, /* 63 - 32 */ in il3945_disable_events()
112 0x00000000, /* 95 - 64 */ in il3945_disable_events()
[all …]
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
132 __u8 present, dpl, db, s, l, g, avl; member
373 __u64 db[4]; member
428 * double-fetch types of vulnerabilities.
463 /* vendor-independent attributes for system fd (group 0) */
467 /* vendor-specific groups and attributes for system fd */
510 __u8 pad[120];
514 * Define data region as 0 bytes to preserve backwards-compatability
581 #define KVM_XEN_INVALID_GFN ((__u64)-1)
632 #define KVM_XEN_INVALID_GPA ((__u64)-1)
[all …]
/linux/drivers/infiniband/hw/irdma/
H A Dctrl.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
2 /* Copyright (c) 2015 - 2021 Intel Corporation */
13 * irdma_get_qp_from_list - get next qp from a list
27 entry = head->next; in irdma_get_qp_from_list()
29 lastentry = &qp->list; in irdma_get_qp_from_list()
30 entry = lastentry->next; in irdma_get_qp_from_list()
39 * irdma_sc_suspend_resume_qps - suspend/resume all qp's on VSI
49 mutex_lock(&vsi->qos[i].qos_mutex); in irdma_sc_suspend_resume_qps()
50 qp = irdma_get_qp_from_list(&vsi->qos[i].qplist, qp); in irdma_sc_suspend_resume_qps()
53 if (!qp->dev->ws_add(vsi, i)) { in irdma_sc_suspend_resume_qps()
[all …]

1234