Searched refs:max_button (Results 1 – 2 of 2) sorted by relevance
205 uint32_t max_button; member355 sc->is_clickpad = sc->max_button == 0 && sc->has_int_button; in hmt_attach()420 if (sc->max_button != 0 || sc->has_int_button) { in hmt_attach()424 for (btn = 0; btn < sc->max_button; ++btn) { in hmt_attach()645 for (btn = 1; btn < sc->max_button; ++btn) { in hmt_intr()761 if (btn >= sc->max_button) in hmt_hid_parse()762 sc->max_button = btn + 1; in hmt_hid_parse()829 if (type == HMT_TYPE_TOUCHPAD && !sc->max_button && !has_int_button) in hmt_hid_parse()
231 uint32_t max_button; member445 if (sc->max_button != 0 || sc->has_int_button) { in wmt_attach()449 for (btn = 0; btn < sc->max_button; ++btn) { in wmt_attach()632 for (btn = 1; btn < sc->max_button; ++btn) { in wmt_process_report()863 if (btn >= sc->max_button) in wmt_hid_parse()864 sc->max_button = btn + 1; in wmt_hid_parse()932 if (type == WMT_TYPE_TOUCHPAD && !sc->max_button && !has_int_button) in wmt_hid_parse()