Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/atkbdc/
Dpsm.c329 int hwversion; member
391 #define ELANTECH_PKT_IS_DEBOUNCE(pb, hwversion) ((hwversion) == 4 ? 0 : \ argument
392 (pb)->ipacket[0] == ((hwversion) == 2 ? 0x84 : 0xc4) && \
4397 if (ELANTECH_PKT_IS_DEBOUNCE(pb, sc->elanhw.hwversion))
4402 switch (sc->elanhw.hwversion) {
7003 elantech_read_1(KBDC kbdc, int hwversion, int reg, int *val) argument
7008 readcmd = hwversion == 2 ? ELANTECH_REG_READ : ELANTECH_REG_RDWR;
7009 retidx = hwversion == 4 ? 1 : 0;
7024 elantech_write_1(KBDC kbdc, int hwversion, int reg, int val) argument
7028 writecmd = hwversion == 2 ? ELANTECH_REG_WRITE : ELANTECH_REG_RDWR;
[all …]
/freebsd-12-stable/sys/dev/malo/
Dif_malohal.h64 uint8_t hwversion; /* version of the HW */ member
Dif_malohal.c572 hw->hwversion = cmd->version; in malo_hal_gethwspecs()
Dif_malo.c217 sc->malo_hwspecs.hwversion, in malo_attach()
1845 sc->malo_hwspecs.hwversion, in malo_announce()