ni_tio_has_gate2_registers
if (!ni_tio_has_gate2_registers(counter_dev))
if (ni_tio_has_gate2_registers(counter_dev)) {