Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Dni_660x.c86 #define NI660X_IO_CFG(x) (NI660X_IO_CFG_0_1 + ((x) / 2)) macro
587 bits = ni_660x_read(dev, idle_chip, NI660X_IO_CFG(chan)); in ni_660x_select_pfi_output()
590 ni_660x_write(dev, idle_chip, bits, NI660X_IO_CFG(chan)); in ni_660x_select_pfi_output()
594 bits = ni_660x_read(dev, active_chip, NI660X_IO_CFG(chan)); in ni_660x_select_pfi_output()
597 ni_660x_write(dev, active_chip, bits, NI660X_IO_CFG(chan)); in ni_660x_select_pfi_output()
687 val = ni_660x_read(dev, 0, NI660X_IO_CFG(chan)); in ni_660x_set_pfi_filter()
690 ni_660x_write(dev, 0, val, NI660X_IO_CFG(chan)); in ni_660x_set_pfi_filter()
992 ni_660x_write(dev, chip, 0, NI660X_IO_CFG(chan)); in ni_660x_init_tio_chips()