Home
last modified time | relevance | path

Searched refs:adc_lock (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/mfd/
H A Dezx-pcap.c51 spinlock_t adc_lock; member
219 spin_lock_irqsave(&pcap->adc_lock, flags); in pcap_set_ts_bits()
224 spin_unlock_irqrestore(&pcap->adc_lock, flags); in pcap_set_ts_bits()
243 spin_lock_irqsave(&pcap->adc_lock, flags); in pcap_adc_trigger()
248 spin_unlock_irqrestore(&pcap->adc_lock, flags); in pcap_adc_trigger()
260 spin_unlock_irqrestore(&pcap->adc_lock, flags); in pcap_adc_trigger()
271 spin_lock(&pcap->adc_lock); in pcap_adc_irq()
275 spin_unlock(&pcap->adc_lock); in pcap_adc_irq()
291 spin_unlock(&pcap->adc_lock); in pcap_adc_irq()
321 spin_lock_irqsave(&pcap->adc_lock, irq_flags); in pcap_adc_async()
[all …]
/linux/drivers/iio/adc/
H A Dmt6370-adc.c63 struct mutex adc_lock; member
74 mutex_lock(&priv->adc_lock); in mt6370_adc_read_channel()
103 mutex_unlock(&priv->adc_lock); in mt6370_adc_read_channel()
318 mutex_init(&priv->adc_lock); in mt6370_adc_probe()
/linux/drivers/power/supply/
H A Drt9467-charger.c273 struct mutex adc_lock; member
419 mutex_lock(&data->adc_lock); in rt9467_get_adc_raw_data()
456 mutex_unlock(&data->adc_lock); in rt9467_get_adc_raw_data()
1146 struct mutex *adc_lock = data; in rt9467_chg_destroy_adc_lock() local
1148 mutex_destroy(adc_lock); in rt9467_chg_destroy_adc_lock()
1217 mutex_init(&data->adc_lock); in rt9467_charger_probe()
1219 &data->adc_lock); in rt9467_charger_probe()