Lines Matching refs:hw_version
108 switch (etd->info.hw_version) { in elantech_read_reg()
140 else if (etd->info.hw_version != 4) in elantech_read_reg()
163 switch (etd->info.hw_version) { in elantech_write_reg()
879 switch (etd->info.hw_version) { in elantech_process_byte()
965 switch (etd->info.hw_version) { in elantech_set_absolute_mode()
1025 } else if (etd->info.hw_version == 1 && in elantech_set_absolute_mode()
1134 switch (info->hw_version) { in elantech_set_input_params()
1151 if (info->hw_version == 3) in elantech_set_input_params()
1197 if (info->hw_version > 1) { in elantech_set_input_params()
1247 if (etd->info.hw_version == 1) { in elantech_set_int_attr()
1542 info->hw_version = 1; in elantech_set_properties()
1547 info->hw_version = 2; in elantech_set_properties()
1550 info->hw_version = 3; in elantech_set_properties()
1553 info->hw_version = 4; in elantech_set_properties()
1561 info->send_cmd = info->hw_version >= 3 ? elantech_send_cmd : in elantech_set_properties()
1575 if (info->hw_version > 1) { in elantech_set_properties()
1619 info->hw_version, param[0], param[1], param[2]); in elantech_query_info()
1631 if (info->hw_version != 1) { in elantech_query_info()
1643 if (info->samples[1] == 0x74 && info->hw_version == 0x03) { in elantech_query_info()
1659 if (info->hw_version == 4) { in elantech_query_info()
1670 switch (info->hw_version) { in elantech_query_info()
1908 if (info.hw_version < 4) { in elantech_init_smbus()
2002 psmouse->pktsize = info->hw_version > 1 ? 6 : 4; in elantech_setup_ps2()