Lines Matching refs:hw_version
149 switch (etd->info.hw_version) { in elantech_read_reg()
181 else if (etd->info.hw_version != 4) in elantech_read_reg()
204 switch (etd->info.hw_version) { in elantech_write_reg()
933 switch (etd->info.hw_version) { in elantech_process_byte()
1019 switch (etd->info.hw_version) { in elantech_set_absolute_mode()
1079 } else if (etd->info.hw_version == 1 && in elantech_set_absolute_mode()
1188 switch (info->hw_version) { in elantech_set_input_params()
1205 if (info->hw_version == 3) in elantech_set_input_params()
1251 if (info->hw_version > 1) { in elantech_set_input_params()
1301 if (etd->info.hw_version == 1) { in elantech_set_int_attr()
1618 info->hw_version = 1; in elantech_set_properties()
1623 info->hw_version = 2; in elantech_set_properties()
1626 info->hw_version = 3; in elantech_set_properties()
1629 info->hw_version = 4; in elantech_set_properties()
1642 info->send_cmd = info->hw_version >= 3 ? elantech_send_cmd : in elantech_set_properties()
1656 if (info->hw_version > 1) { in elantech_set_properties()
1701 info->hw_version, param[0], param[1], param[2]); in elantech_query_info()
1713 if (info->hw_version != 1) { in elantech_query_info()
1740 if (info->samples[1] == 0x74 && info->hw_version == 0x03) { in elantech_query_info()
1773 if (info->hw_version == 4) { in elantech_query_info()
1784 switch (info->hw_version) { in elantech_query_info()
2022 if (info.hw_version < 4) { in elantech_init_smbus()
2116 psmouse->pktsize = info->hw_version > 1 ? 6 : 4; in elantech_setup_ps2()