• Home
  • Raw
  • Download

Lines Matching refs:queries

139 	u8 queries[RMI_F01_BASIC_QUERY_LEN];  in rmi_f01_read_properties()  local
151 queries, RMI_F01_BASIC_QUERY_LEN); in rmi_f01_read_properties()
162 props->manufacturer_id = queries[0]; in rmi_f01_read_properties()
164 props->has_lts = queries[1] & RMI_F01_QRY1_HAS_LTS; in rmi_f01_read_properties()
166 queries[1] & RMI_F01_QRY1_HAS_ADJ_DOZE; in rmi_f01_read_properties()
168 queries[1] & RMI_F01_QRY1_HAS_ADJ_DOZE_HOFF; in rmi_f01_read_properties()
169 has_query42 = queries[1] & RMI_F01_QRY1_HAS_QUERY42; in rmi_f01_read_properties()
170 has_sensor_id = queries[1] & RMI_F01_QRY1_HAS_SENSOR_ID; in rmi_f01_read_properties()
173 queries[5] & RMI_F01_QRY5_YEAR_MASK, in rmi_f01_read_properties()
174 queries[6] & RMI_F01_QRY6_MONTH_MASK, in rmi_f01_read_properties()
175 queries[7] & RMI_F01_QRY7_DAY_MASK); in rmi_f01_read_properties()
177 memcpy(props->product_id, &queries[11], in rmi_f01_read_properties()
182 ((queries[2] & RMI_F01_QRY2_PRODINFO_MASK) << 7) | in rmi_f01_read_properties()
183 (queries[3] & RMI_F01_QRY2_PRODINFO_MASK); in rmi_f01_read_properties()
189 ret = rmi_read(rmi_dev, query_offset, queries); in rmi_f01_read_properties()
196 has_ds4_queries = !!(queries[0] & BIT(0)); in rmi_f01_read_properties()
210 ret = rmi_read(rmi_dev, query_offset, queries); in rmi_f01_read_properties()
218 has_package_id_query = !!(queries[0] & BIT(0)); in rmi_f01_read_properties()
219 has_build_id_query = !!(queries[0] & BIT(1)); in rmi_f01_read_properties()
224 queries, sizeof(__le64)); in rmi_f01_read_properties()
232 props->package_id = get_unaligned_le64(queries); in rmi_f01_read_properties()
237 ret = rmi_read_block(rmi_dev, prod_info_addr, queries, in rmi_f01_read_properties()
246 props->firmware_id = queries[1] << 8 | queries[0]; in rmi_f01_read_properties()
247 props->firmware_id += queries[2] * 65536; in rmi_f01_read_properties()