Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Damplc_pci230.c728 unsigned short adccon, adcen; in pci230_ai_insn_read() local
763 adcen = 3 << gainshift; in pci230_ai_insn_read()
769 adcen = 1 << gainshift; in pci230_ai_insn_read()
774 adcen = 1 << chan; in pci230_ai_insn_read()
789 outw(adcen, devpriv->daqio + PCI230_ADCEN); in pci230_ai_insn_read()
2081 unsigned short adccon, adcen; in pci230_ai_cmd() local
2128 adcen = 0; in pci230_ai_cmd()
2159 adcen |= 3 << gainshift; in pci230_ai_cmd()
2165 adcen |= 1 << gainshift; in pci230_ai_cmd()
2169 adcen |= 1 << chan; in pci230_ai_cmd()
[all …]