Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Dni_65xx.c113 #define NI_65XX_PORT_TO_CHAN(x) ((x) * 8) macro
297 if (base_chan >= NI_65XX_PORT_TO_CHAN(num_ports)) in ni_65xx_update_edge_detection()
301 int bitshift = (int)(NI_65XX_PORT_TO_CHAN(port) - base_chan); in ni_65xx_update_edge_detection()
427 int base_port_channel = NI_65XX_PORT_TO_CHAN(port_offset); in ni_65xx_dio_insn_bits()
678 s->n_chan = NI_65XX_PORT_TO_CHAN(board->num_di_ports); in ni_65xx_auto_attach()
694 s->n_chan = NI_65XX_PORT_TO_CHAN(board->num_do_ports); in ni_65xx_auto_attach()
724 s->n_chan = NI_65XX_PORT_TO_CHAN(board->num_dio_ports); in ni_65xx_auto_attach()