Searched refs:GI_CNT_MODE (Results 1 – 2 of 2) sorted by relevance
85 #define GI_CNT_MODE(x) (((x) & 0x7) << 0) macro86 #define GI_CNT_MODE_NORMAL GI_CNT_MODE(0)87 #define GI_CNT_MODE_QUADX1 GI_CNT_MODE(1)88 #define GI_CNT_MODE_QUADX2 GI_CNT_MODE(2)89 #define GI_CNT_MODE_QUADX4 GI_CNT_MODE(3)90 #define GI_CNT_MODE_TWO_PULSE GI_CNT_MODE(4)91 #define GI_CNT_MODE_SYNC_SRC GI_CNT_MODE(6)92 #define GI_CNT_MODE_MASK GI_CNT_MODE(7)
534 bits |= GI_CNT_MODE(mode >> NI_GPCT_COUNTING_MODE_SHIFT); in ni_tio_set_counter_mode()