Searched +full:adc +full:- +full:1 +full:bit +full:- +full:rpt (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/iio/adc/ |
| H A D | mt6360-adc.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #define MT6360_ADCEN_MASK BIT(15) 61 /* Due to only one set of ADC control, this lock is used to prevent the race condition */ 69 u8 rpt[3]; in mt6360_adc_read_channel() local 74 mutex_lock(&mad->adc_lock); in mt6360_adc_read_channel() 76 /* Select the preferred ADC channel */ in mt6360_adc_read_channel() 77 ret = regmap_update_bits(mad->regmap, MT6360_REG_PMUADCRPT1, MT6360_PREFERCH_MASK, in mt6360_adc_read_channel() 82 adc_enable = cpu_to_be16(MT6360_ADCEN_MASK | BIT(channel)); in mt6360_adc_read_channel() 83 ret = regmap_raw_write(mad->regmap, MT6360_REG_PMUADCCFG, &adc_enable, sizeof(adc_enable)); in mt6360_adc_read_channel() 87 predict_end_t = ktime_add_ms(mad->last_off_timestamps[channel], 2 * ADC_WAIT_TIME_MS); in mt6360_adc_read_channel() [all …]
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | rtw8814a.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 34 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8814a_read_rfe_type() 36 if (!(efuse->rfe_option & BIT(7))) in rtw8814a_read_rfe_type() 40 efuse->rfe_option = 0; in rtw8814a_read_rfe_type() 42 efuse->rfe_option = 1; in rtw8814a_read_rfe_type() 47 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8814a_read_amplifier_type() 49 switch (efuse->rfe_option) { in rtw8814a_read_amplifier_type() 50 case 1: in rtw8814a_read_amplifier_type() 52 efuse->pa_type_2g = 0; in rtw8814a_read_amplifier_type() 53 efuse->lna_type_2g = 0; in rtw8814a_read_amplifier_type() [all …]
|
| H A D | rtw88xxa.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 34 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8812a_read_amplifier_type() 36 efuse->ext_pa_2g = (efuse->pa_type_2g & BIT(5)) && in rtw8812a_read_amplifier_type() 37 (efuse->pa_type_2g & BIT(4)); in rtw8812a_read_amplifier_type() 38 efuse->ext_lna_2g = (efuse->lna_type_2g & BIT(7)) && in rtw8812a_read_amplifier_type() 39 (efuse->lna_type_2g & BIT(3)); in rtw8812a_read_amplifier_type() 41 efuse->ext_pa_5g = (efuse->pa_type_5g & BIT(1)) && in rtw8812a_read_amplifier_type() 42 (efuse->pa_type_5g & BIT(0)); in rtw8812a_read_amplifier_type() 43 efuse->ext_lna_5g = (efuse->lna_type_5g & BIT(7)) && in rtw8812a_read_amplifier_type() 44 (efuse->lna_type_5g & BIT(3)); in rtw8812a_read_amplifier_type() [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | dialog,da7219.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Rau <David.Rau.opensource@dm.renesas.com> 13 The DA7219 is an ultra low-power audio codec with 14 in-built advanced accessory detection (AAD) for mobile 16 sample rates up to 96 kHz at 24-bit resolution. 23 maxItems: 1 26 maxItems: 1 28 VDD-supply: [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | da7219-aad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219-aad.c - Dialog DA7219 ALSA SoC AAD Driver 24 #include "da7219-aad.h" 35 da7219->aad->jack = jack; in da7219_aad_jack_det() 36 da7219->aad->jack_inserted = false; in da7219_aad_jack_det() 55 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work() 83 dev_warn(component->dev, "Mic bias status check timed out"); in da7219_aad_btn_det_work() 85 da7219->micbias_on_event = true; in da7219_aad_btn_det_work() 91 if (da7219_aad->micbias_pulse_lvl && da7219_aad->micbias_pulse_time) { in da7219_aad_btn_det_work() 96 da7219_aad->micbias_pulse_lvl); in da7219_aad_btn_det_work() [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 9 #include "rk3399-op1.dtsi" 18 stdout-path = "serial2:115200n8"; 27 * - Rails that only connect to the EC (or devices that the EC talks to) 29 * - Rails _are_ included if the rails go to the AP even if the AP 38 * - The EC controls the enable and the EC always enables a rail as 40 * - The rails are actually connected to each other by a jumper and 45 ppvar_sys: regulator-ppvar-sys { [all …]
|