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()
934 switch (etd->info.hw_version) { in elantech_process_byte()
1020 switch (etd->info.hw_version) { in elantech_set_absolute_mode()
1080 } else if (etd->info.hw_version == 1 && in elantech_set_absolute_mode()
1189 switch (info->hw_version) { in elantech_set_input_params()
1206 if (info->hw_version == 3) in elantech_set_input_params()
1252 if (info->hw_version > 1) { in elantech_set_input_params()
1302 if (etd->info.hw_version == 1) { in elantech_set_int_attr()
1650 info->hw_version = 1; in elantech_set_properties()
1655 info->hw_version = 2; in elantech_set_properties()
1658 info->hw_version = 3; in elantech_set_properties()
1661 info->hw_version = 4; in elantech_set_properties()
1674 info->send_cmd = info->hw_version >= 3 ? elantech_send_cmd : in elantech_set_properties()
1688 if (info->hw_version > 1) { in elantech_set_properties()
1733 info->hw_version, param[0], param[1], param[2]); in elantech_query_info()
1745 if (info->hw_version != 1) { in elantech_query_info()
1772 if (info->samples[1] == 0x74 && info->hw_version == 0x03) { in elantech_query_info()
1805 if (info->hw_version == 4) { in elantech_query_info()
1816 switch (info->hw_version) { in elantech_query_info()
2054 if (info.hw_version < 4) { in elantech_init_smbus()
2149 psmouse->pktsize = info->hw_version > 1 ? 6 : 4; in elantech_setup_ps2()