Lines Matching refs:ato
119 const struct cpcap_adc_ato *ato; member
537 const struct cpcap_adc_ato *ato = ddata->ato; in cpcap_adc_setup_bank() local
542 if (!ato) in cpcap_adc_setup_bank()
567 value1 |= ato->ato_in; in cpcap_adc_setup_bank()
568 value1 |= ato->atox_in; in cpcap_adc_setup_bank()
569 value2 |= ato->adc_ps_factor_in; in cpcap_adc_setup_bank()
570 value2 |= ato->atox_ps_factor_in; in cpcap_adc_setup_bank()
573 value1 |= ato->ato_out; in cpcap_adc_setup_bank()
574 value1 |= ato->atox_out; in cpcap_adc_setup_bank()
575 value2 |= ato->adc_ps_factor_out; in cpcap_adc_setup_bank()
576 value2 |= ato->atox_ps_factor_out; in cpcap_adc_setup_bank()
970 ddata->ato = device_get_match_data(&pdev->dev); in cpcap_adc_probe()
971 if (!ddata->ato) in cpcap_adc_probe()