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()
920 switch (etd->info.hw_version) { in elantech_process_byte()
1006 switch (etd->info.hw_version) { in elantech_set_absolute_mode()
1066 } else if (etd->info.hw_version == 1 && in elantech_set_absolute_mode()
1175 switch (info->hw_version) { in elantech_set_input_params()
1192 if (info->hw_version == 3) in elantech_set_input_params()
1238 if (info->hw_version > 1) { in elantech_set_input_params()
1288 if (etd->info.hw_version == 1) { in elantech_set_int_attr()
1599 info->hw_version = 1; in elantech_set_properties()
1604 info->hw_version = 2; in elantech_set_properties()
1607 info->hw_version = 3; in elantech_set_properties()
1610 info->hw_version = 4; in elantech_set_properties()
1623 info->send_cmd = info->hw_version >= 3 ? elantech_send_cmd : in elantech_set_properties()
1637 if (info->hw_version > 1) { in elantech_set_properties()
1682 info->hw_version, param[0], param[1], param[2]); in elantech_query_info()
1694 if (info->hw_version != 1) { in elantech_query_info()
1721 if (info->samples[1] == 0x74 && info->hw_version == 0x03) { in elantech_query_info()
1754 if (info->hw_version == 4) { in elantech_query_info()
1765 switch (info->hw_version) { in elantech_query_info()
2003 if (info.hw_version < 4) { in elantech_init_smbus()
2097 psmouse->pktsize = info->hw_version > 1 ? 6 : 4; in elantech_setup_ps2()