Home
last modified time | relevance | path

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

123

/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 …]
H A Dau8522_dig.c1 // SPDX-License-Identifier: GPL-2.0-or-later
62 { 56, 120 },
218 int i, ret = -EINVAL; in au8522_mse2snr_lookup()
234 struct au8522_state *state = fe->demodulator_priv; in au8522_set_if()
259 return -EINVAL; in au8522_set_if()
544 struct au8522_state *state = fe->demodulator_priv; in au8522_enable_modulation()
556 au8522_set_if(fe, state->config.vsb_if); in au8522_enable_modulation()
564 au8522_set_if(fe, state->config.qam_if); in au8522_enable_modulation()
573 au8522_set_if(fe, state->config.qam_if); in au8522_enable_modulation()
582 au8522_set_if(fe, state->config.qam_if); in au8522_enable_modulation()
[all …]
H A Dstb0899_drv.c1 // SPDX-License-Identifier: GPL-2.0-or-later
30 /* C/N in dB/10, NIRM/NIRL */
40 { 120, 4360 },
54 /* DVB-S AGCIQ_VALUE vs. signal level in dBm/10.
56 * -8.0 to -50.0 dBm directly connected,
57 * -52.0 to -74.8 with extra attenuation.
58 * Cut-off to AGCIQ_VALUE = 0x80 below -74.8dBm.
59 * Crude linear extrapolation below -84.8dBm and above -8.0dBm.
62 { -750, -128 },
63 { -748, -94 },
[all …]
H A Ds5h1409.c1 // SPDX-License-Identifier: GPL-2.0-or-later
146 { 474, 120, },
306 struct i2c_msg msg = { .addr = state->config->demod_address, in s5h1409_writereg()
309 ret = i2c_transfer(state->i2c, &msg, 1); in s5h1409_writereg()
315 return (ret != 1) ? -1 : 0; in s5h1409_writereg()
325 { .addr = state->config->demod_address, .flags = 0, in s5h1409_readreg()
327 { .addr = state->config->demod_address, .flags = I2C_M_RD, in s5h1409_readreg()
330 ret = i2c_transfer(state->i2c, msg, 2); in s5h1409_readreg()
339 struct s5h1409_state *state = fe->demodulator_priv; in s5h1409_softreset()
345 state->is_qam_locked = 0; in s5h1409_softreset()
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dfsl,imx8mq-usb-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/phy/fsl,imx8mq-usb-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Li Jun <jun.li@nxp.com>
15 - enum:
16 - fsl,imx8mq-usb-phy
17 - fsl,imx8mp-usb-phy
18 - items:
19 - const: fsl,imx95-usb-phy
[all …]
/linux/arch/arm/boot/dts/renesas/
H A Dr9a06g032-rzn1d400-db.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the RZN1D-DB Board
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/net/pcs-rzn1-miic.h>
15 #include <dt-bindings/pinctrl/rzn1-pinctrl.h>
20 model = "RZN1D-DB Board";
21 compatible = "renesas,rzn1d400-db", "renesas,r9a06g032";
[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/1
[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->regma in set_capture_gpio()
[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->regma in es8326_crosstalk1_get()
[all...]
H A Dtpa6130a2.c1 // SPDX-License-Identifier: GPL-2.0-only
43 ret = regulator_enable(data->supply); in tpa6130a2_power()
45 dev_err(data->dev, in tpa6130a2_power()
50 gpiod_set_value(data->power_gpio, 1); in tpa6130a2_power()
53 regcache_cache_only(data->regmap, false); in tpa6130a2_power()
54 ret = regcache_sync(data->regmap); in tpa6130a2_power()
56 dev_err(data->dev, in tpa6130a2_power()
58 regcache_cache_only(data->regmap, true); in tpa6130a2_power()
59 gpiod_set_value(data->power_gpio, 0); in tpa6130a2_power()
60 ret2 = regulator_disable(data->supply); in tpa6130a2_power()
[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 - 3
[all...]
H A Dtlv320adc3xxx.c1 // SPDX-License-Identifier: GPL-2.0-only
8 // Copyright (C) 2014-2018, Ambarella, Inc.
15 #include <dt-bindings/sound/tlv320adc3xxx.h>
33 #include <sound/soc-dapm.h>
59 * Setting the clock source using simple-card (clocks or
60 * system-clock-frequenc
[all...]
/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8703b.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
39 /* rssi in percentage % (dbm = % - 100) */
52 {0, 10, false, 7}, /* for WL-CPT */
61 {0, 10, false, 7}, /* for WL-CPT */
69 0x0b40002d, /* 0, -15.0dB */
70 0x0c000030, /* 1, -14.5dB */
71 0x0cc00033, /* 2, -14.0dB */
72 0x0d800036, /* 3, -13.5dB */
73 0x0e400039, /* 4, -13.0dB */
74 0x0f00003c, /* 5, -12.5dB */
[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/drivers/phy/freescale/
H A Dphy-fsl-imx8mq-usb.c1 // SPDX-License-Identifier: GPL-2.0+
135 struct tca_blk *tca = imx_phy->tca; in tca_blk_typec_switch_set()
138 if (tca->orientation == orientation) in tca_blk_typec_switch_set()
141 ret = clk_prepare_enable(imx_phy->clk); in tca_blk_typec_switch_set()
146 clk_disable_unprepare(imx_phy->clk); in tca_blk_typec_switch_set()
154 struct device *dev = &pdev->dev; in tca_blk_get_typec_switch()
159 sw_desc.fwnode = dev->fwnode; in tca_blk_get_typec_switch()
195 mutex_lock(&tca->mutex); in tca_blk_orientation_set()
203 writel(val, tca->base + TCA_GCFG); in tca_blk_orientation_set()
206 writel(val, tca->base + TCA_TCPC); in tca_blk_orientation_set()
[all …]
/linux/arch/x86/include/uapi/asm/
H A Dkvm.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
137 __u8 present, dpl, db, s, l, g, avl; member
378 __u64 db[4]; member
445 /* KVM-defined registers starting from 0 */
462 * double-fetch types of vulnerabilities.
498 /* vendor-independent attributes for system fd (group 0) */
502 /* vendor-specific groups and attributes for system fd */
546 __u8 pad[120];
550 * Define data region as 0 bytes to preserve backwards-compatability
620 #define KVM_XEN_INVALID_GFN ((__u64)-1)
[all …]
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
137 __u8 present, dpl, db, s, l, g, avl; member
378 __u64 db[4]; member
445 /* KVM-defined registers starting from 0 */
462 * double-fetch types of vulnerabilities.
498 /* vendor-independent attributes for system fd (group 0) */
502 /* vendor-specific groups and attributes for system fd */
545 __u8 pad[120];
549 * Define data region as 0 bytes to preserve backwards-compatability
619 #define KVM_XEN_INVALID_GFN ((__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 …]
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2800.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com>
92 #define DEFAULT_RSSI_OFFSET 120
283 * AUX_CTRL: Aux/PCI-E related configuration
573 * HOST-MCU shared memory
773 * 0: 1-BSSID mode (BSS index = 0)
774 * 1: 2-BSSID mode (BSS index: Byte5, bit 0)
775 * 2: 4-BSSID mode (BSS index: byte5, bit 0 - 1)
776 * 3: 8-BSSID mode (BSS index: byte5, bit 0 - 2)
874 * AMPDU_MAX_LEN_20M1S: Per MCS max A-MPDU length, 20 MHz, MCS 0-7
[all …]

123