Lines Matching refs:hw_version
111 switch (etd->info.hw_version) { in elantech_read_reg()
143 else if (etd->info.hw_version != 4) in elantech_read_reg()
166 switch (etd->info.hw_version) { in elantech_write_reg()
836 switch (etd->info.hw_version) { in elantech_process_byte()
922 switch (etd->info.hw_version) { in elantech_set_absolute_mode()
982 } else if (etd->info.hw_version == 1 && in elantech_set_absolute_mode()
1007 switch (info->hw_version) { in elantech_set_range()
1215 switch (info->hw_version) { in elantech_set_input_params()
1232 if (info->hw_version == 3) in elantech_set_input_params()
1278 if (info->hw_version > 1) { in elantech_set_input_params()
1328 if (etd->info.hw_version == 1) { in elantech_set_int_attr()
1623 info->hw_version = 1; in elantech_set_properties()
1628 info->hw_version = 2; in elantech_set_properties()
1631 info->hw_version = 3; in elantech_set_properties()
1634 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()
1699 info->hw_version, param[0], param[1], param[2]); in elantech_query_info()
1711 if (info->hw_version != 1) { in elantech_query_info()
1723 if (info->samples[1] == 0x74 && info->hw_version == 0x03) { in elantech_query_info()
1739 if (info->hw_version == 4) { in elantech_query_info()
1866 if (info.hw_version < 4) { in elantech_init_smbus()
1960 psmouse->pktsize = info->hw_version > 1 ? 6 : 4; in elantech_setup_ps2()