Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/comedi/
H A Dcomedi_8254.h46 #define I8254_CTRL_SEL_CTR(x) ((x) << 6) macro
47 #define I8254_CTRL_READBACK(x) (I8254_CTRL_SEL_CTR(3) | BIT(x))
/openbmc/linux/drivers/comedi/drivers/
H A Dcomedi_8254.c211 __i8254_write(i8254, I8254_CTRL_SEL_CTR(counter) | I8254_CTRL_LATCH, in comedi_8254_read()
262 byte = I8254_CTRL_SEL_CTR(counter) | /* select counter */ in comedi_8254_set_mode()