Home
last modified time | relevance | path

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

/freebsd/sys/dev/atkbdc/
H A Dpsm.c342 int hwversion; member
404 #define ELANTECH_PKT_IS_DEBOUNCE(pb, hwversion) ((hwversion) == 4 ? 0 : \ argument
405 (pb)->ipacket[0] == ((hwversion) == 2 ? 0x84 : 0xc4) && \
4382 if (ELANTECH_PKT_IS_DEBOUNCE(pb, sc->elanhw.hwversion))
4387 switch (sc->elanhw.hwversion) {
7039 elantech_read_1(KBDC kbdc, int hwversion, int reg, int *val) argument
7044 readcmd = hwversion == 2 ? ELANTECH_REG_READ : ELANTECH_REG_RDWR;
7045 retidx = hwversion == 4 ? 1 : 0;
7060 elantech_write_1(KBDC kbdc, int hwversion, int reg, int val) argument
7064 writecmd = hwversion == 2 ? ELANTECH_REG_WRITE : ELANTECH_REG_RDWR;
[all …]
/freebsd/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()
1828 sc->malo_hwspecs.hwversion, in malo_announce()