Searched refs:max_button (Results 1 – 2 of 2) sorted by relevance
203 uint32_t max_button; member353 sc->is_clickpad = sc->max_button == 0 && sc->has_int_button; in hmt_attach()418 if (sc->max_button != 0 || sc->has_int_button) { in hmt_attach()422 for (btn = 0; btn < sc->max_button; ++btn) { in hmt_attach()643 for (btn = 1; btn < sc->max_button; ++btn) { in hmt_intr()758 if (btn >= sc->max_button) in hmt_hid_parse()759 sc->max_button = btn + 1; in hmt_hid_parse()826 if (type == HMT_TYPE_TOUCHPAD && !sc->max_button && !has_int_button) in hmt_hid_parse()
228 uint32_t max_button; member432 if (sc->max_button != 0 || sc->has_int_button) { in wmt_attach()436 for (btn = 0; btn < sc->max_button; ++btn) { in wmt_attach()619 for (btn = 1; btn < sc->max_button; ++btn) { in wmt_process_report()848 if (btn >= sc->max_button) in wmt_hid_parse()849 sc->max_button = btn + 1; in wmt_hid_parse()917 if (type == WMT_TYPE_TOUCHPAD && !sc->max_button && !has_int_button) in wmt_hid_parse()