Lines Matching refs:adc_dev
77 static struct adc_device *adc_dev; variable
148 struct adc_device *adc = adc_dev; in s3c_adc_start()
254 spin_lock_irqsave(&adc_dev->lock, flags); in s3c_adc_release()
257 if (adc_dev->cur == client) in s3c_adc_release()
258 adc_dev->cur = NULL; in s3c_adc_release()
259 if (adc_dev->ts_pend == client) in s3c_adc_release()
260 adc_dev->ts_pend = NULL; in s3c_adc_release()
272 if (adc_dev->cur == NULL) in s3c_adc_release()
273 s3c_adc_try(adc_dev); in s3c_adc_release()
275 spin_unlock_irqrestore(&adc_dev->lock, flags); in s3c_adc_release()
395 adc_dev = adc; in s3c_adc_probe()