Searched refs:NI660X_IO_CFG (Results 1 – 1 of 1) sorted by relevance
/drivers/staging/comedi/drivers/ |
D | ni_660x.c | 95 #define NI660X_IO_CFG(x) (NI660X_IO_CFG_0_1 + ((x) / 2)) macro 583 bits = ni_660x_read(dev, idle_chip, NI660X_IO_CFG(chan)); in ni_660x_select_pfi_output() 586 ni_660x_write(dev, idle_chip, bits, NI660X_IO_CFG(chan)); in ni_660x_select_pfi_output() 590 bits = ni_660x_read(dev, active_chip, NI660X_IO_CFG(chan)); in ni_660x_select_pfi_output() 593 ni_660x_write(dev, active_chip, bits, NI660X_IO_CFG(chan)); in ni_660x_select_pfi_output() 657 val = ni_660x_read(dev, 0, NI660X_IO_CFG(chan)); in ni_660x_dio_insn_config() 660 ni_660x_write(dev, 0, val, NI660X_IO_CFG(chan)); in ni_660x_dio_insn_config() 693 ni_660x_write(dev, chip, 0, NI660X_IO_CFG(chan)); in ni_660x_init_tio_chips()
|