Home | History | Annotate | Download | only in linux

Lines Matching refs:names

97  *  @names:	Names of sysfs files.
102 int inv_read_raw(const struct inv_sysfs_names_s *names, long *data,
108 count = inv_sysfs_read((char*)names->raw_data, sizeof(str), str);
123 * @names: Names of sysfs files.
128 int inv_read_temperature_raw(const struct inv_sysfs_names_s *names, short *data,
134 count = inv_sysfs_read((char*)names->temperature, sizeof(str), str);
145 * @names: Names of sysfs files.
149 int inv_read_fifo_rate(const struct inv_sysfs_names_s *names, short *data)
154 count = inv_sysfs_read((char*)names->fifo_rate, sizeof(str), str);
165 * @names: Names of sysfs files.
169 int inv_read_power_state(const struct inv_sysfs_names_s *names, char *data)
174 count = inv_sysfs_read((char*)names->power_state, sizeof(str), str);
185 * @names: Names of sysfs files.
189 int inv_read_scale(const struct inv_sysfs_names_s *names, float *data)
194 count = inv_sysfs_read((char*)names->scale, sizeof(str), str);
205 * @names: Names of sysfs files.
209 int inv_read_temp_scale(const struct inv_sysfs_names_s *names, short *data)
214 count = inv_sysfs_read((char*)names->temp_scale, sizeof(str), str);
225 * @names: Names of sysfs files.
229 int inv_read_temp_offset(const struct inv_sysfs_names_s *names, short *data)
234 count = inv_sysfs_read((char*)names->temp_offset, sizeof(str), str);
245 * @names: Names of sysfs files.
250 int inv_read_q16(const struct inv_sysfs_names_s *names, long *data,
256 count = inv_read_raw(names, (long*)raw, timestamp);
257 count += inv_read_scale(names, &scale);
266 * @names: Names of sysfs files.
271 int inv_read_temp_q16(const struct inv_sysfs_names_s *names, long *data,
280 count += inv_read_temp_scale(names, &scale);
281 count += inv_read_temp_offset(names, &offset);
284 count += inv_read_temperature_raw(names, &raw, timestamp);
292 * @names: Names of sysfs files.
296 int inv_write_fifo_rate(const struct inv_sysfs_names_s *names, short data)
298 return inv_sysfs_write((char*)names->fifo_rate, (long)data);
303 * @names: Names of sysfs files.
307 int inv_write_buffer_enable(const struct inv_sysfs_names_s *names, char data)
309 return inv_sysfs_write((char*)names->enable, (long)data);
314 * @names: Names of sysfs files.
318 int inv_write_power_state(const struct inv_sysfs_names_s *names, char data)
320 return inv_sysfs_write((char*)names->power_state, (long)data);