Home
last modified time | relevance | path

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

/src/sys/dev/atkbdc/
H A Dpsm.c343 int hwversion; member
407 #define ELANTECH_PKT_IS_DEBOUNCE(pb, hwversion) ((hwversion) == 4 ? 0 : \ argument
408 (pb)->ipacket[0] == ((hwversion) == 2 ? 0x84 : 0xc4) && \
4393 if (ELANTECH_PKT_IS_DEBOUNCE(pb, sc->elanhw.hwversion))
4398 switch (sc->elanhw.hwversion) {
7101 elantech_read_1(KBDC kbdc, int hwversion, int reg, int *val) argument
7106 readcmd = hwversion == 2 ? ELANTECH_REG_READ : ELANTECH_REG_RDWR;
7107 retidx = hwversion == 4 ? 1 : 0;
7122 elantech_write_1(KBDC kbdc, int hwversion, int reg, int val) argument
7126 writecmd = hwversion == 2 ? ELANTECH_REG_WRITE : ELANTECH_REG_RDWR;
[all …]
/src/sys/dev/malo/
H A Dif_malohal.h62 uint8_t hwversion; /* version of the HW */ member
H A Dif_malohal.c565 hw->hwversion = cmd->version; in malo_hal_gethwspecs()
H A Dif_malo.c208 sc->malo_hwspecs.hwversion, in malo_attach()
1832 sc->malo_hwspecs.hwversion, in malo_announce()