Home
last modified time | relevance | path

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

/freebsd/sys/dev/hid/
H A Dhmt.c182 int32_t cont_count_max; member
302 uint32_t cont_count_max; in hmt_attach() local
326 cont_count_max = hid_get_udata(fbuf + 1, in hmt_attach()
332 if (cont_count_max > 0) in hmt_attach()
333 sc->cont_count_max = cont_count_max; in hmt_attach()
337 if (sc->cont_count_max == 0) in hmt_attach()
338 sc->cont_count_max = sc->type == HMT_TYPE_TOUCHSCREEN ? 10 : 5; in hmt_attach()
370 if (sc->cont_count_max > MAX_MT_SLOTS) { in hmt_attach()
372 "supported\n", sc->cont_count_max, MAX_MT_SLOTS); in hmt_attach()
373 sc->cont_count_max = MAX_MT_SLOTS; in hmt_attach()
[all …]
/freebsd/sys/dev/usb/input/
H A Dwmt.c203 int32_t cont_count_max; member
327 uint32_t cont_count_max; in wmt_attach() local
341 cont_count_max = hid_get_udata(sc->buf + 1, in wmt_attach()
347 if (cont_count_max > 0) in wmt_attach()
348 sc->cont_count_max = cont_count_max; in wmt_attach()
387 if (sc->cont_count_max > MAX_MT_SLOTS) { in wmt_attach()
389 "supported\n", (int)sc->cont_count_max, MAX_MT_SLOTS); in wmt_attach()
390 sc->cont_count_max = MAX_MT_SLOTS; in wmt_attach()
444 ABS_MT_SLOT, 0, sc->cont_count_max - 1, 0, 0, 0); in wmt_attach()
462 (int)sc->cont_count_max, in wmt_attach()
[all …]