Searched refs:pci1760_cmd (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/comedi/drivers/ |
H A D | adv_pci1760.c | 120 static int pci1760_cmd(struct comedi_device *dev, in pci1760_cmd() function 166 ret = pci1760_cmd(dev, PCI1760_CMD_SET_DO, s->state); in pci1760_do_insn_bits() 207 ret = pci1760_cmd(dev, PCI1760_CMD_GET_STATUS, PCI1760_CMD_ENA_PWM); in pci1760_pwm_enable() 216 return pci1760_cmd(dev, PCI1760_CMD_ENA_PWM, ret); in pci1760_pwm_enable() 237 ret = pci1760_cmd(dev, PCI1760_CMD_SET_PWM_CNT(chan), data[1]); in pci1760_pwm_insn_config() 265 ret = pci1760_cmd(dev, PCI1760_CMD_SET_PWM_HI(chan), hi_div); in pci1760_pwm_insn_config() 268 ret = pci1760_cmd(dev, PCI1760_CMD_SET_PWM_LO(chan), lo_div); in pci1760_pwm_insn_config() 273 hi_div = pci1760_cmd(dev, PCI1760_CMD_GET_STATUS, in pci1760_pwm_insn_config() 275 lo_div = pci1760_cmd(dev, PCI1760_CMD_GET_STATUS, in pci1760_pwm_insn_config() 284 ret = pci1760_cmd(dev, PCI1760_CMD_GET_STATUS, in pci1760_pwm_insn_config() [all …]
|