Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mfd/
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-v6.6/drivers/iio/adc/
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()
Dmt6360-adc.c62 struct mutex adc_lock; member
74 mutex_lock(&mad->adc_lock); in mt6360_adc_read_channel()
139 mutex_unlock(&mad->adc_lock); in mt6360_adc_read_channel()
332 mutex_init(&mad->adc_lock); in mt6360_adc_probe()
/Linux-v6.6/drivers/power/supply/
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()
1154 struct mutex *adc_lock = data; in rt9467_chg_destroy_adc_lock() local
1156 mutex_destroy(adc_lock); in rt9467_chg_destroy_adc_lock()
1225 mutex_init(&data->adc_lock); in rt9467_charger_probe()
1227 &data->adc_lock); in rt9467_charger_probe()