Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Damplc_pci230.c727 unsigned int gainshift; in pci230_ai_insn_read() local
757 gainshift = chan * 2; in pci230_ai_insn_read()
763 adcen = 3 << gainshift; in pci230_ai_insn_read()
769 adcen = 1 << gainshift; in pci230_ai_insn_read()
775 gainshift = chan & ~1; in pci230_ai_insn_read()
779 (pci230_ai_gain[range] << gainshift); in pci230_ai_insn_read()
2148 unsigned int gainshift; in pci230_ai_cmd() local
2153 gainshift = 2 * chan; in pci230_ai_cmd()
2159 adcen |= 3 << gainshift; in pci230_ai_cmd()
2165 adcen |= 1 << gainshift; in pci230_ai_cmd()
[all …]