• Home
  • Raw
  • Download

Lines Matching refs:chip_info

158 	const struct adis16480_chip_info *chip_info;  member
339 if (t > st->chip_info->max_dec_rate) in adis16480_set_freq()
340 t = st->chip_info->max_dec_rate; in adis16480_set_freq()
546 *freq = st->chip_info->filter_freqs[(val >> offset) & 0x3]; in adis16480_get_filter_freq()
576 best_diff = st->chip_info->filter_freqs[0]; in adis16480_set_filter_freq()
578 if (st->chip_info->filter_freqs[i] >= freq) { in adis16480_set_filter_freq()
579 diff = st->chip_info->filter_freqs[i] - freq; in adis16480_set_filter_freq()
611 *val = st->chip_info->gyro_max_scale; in adis16480_read_raw()
612 *val2 = st->chip_info->gyro_max_val; in adis16480_read_raw()
615 *val = st->chip_info->accel_max_scale; in adis16480_read_raw()
616 *val2 = st->chip_info->accel_max_val; in adis16480_read_raw()
628 *val = st->chip_info->temp_scale / 1000; in adis16480_read_raw()
629 *val2 = (st->chip_info->temp_scale % 1000) * 1000; in adis16480_read_raw()
645 *val = DIV_ROUND_CLOSEST_ULL(temp, st->chip_info->temp_scale); in adis16480_read_raw()
1170 if (st->chip_info->has_pps_clk_mode) { in adis16480_ext_clk_config()
1199 if (st->chip_info->has_pps_clk_mode) { in adis16480_get_ext_clocks()
1241 st->chip_info = &adis16480_chip_info[id->driver_data]; in adis16480_probe()
1243 indio_dev->channels = st->chip_info->channels; in adis16480_probe()
1244 indio_dev->num_channels = st->chip_info->num_channels; in adis16480_probe()
1248 adis16480_data = &st->chip_info->adis_data; in adis16480_probe()
1282 st->clk_freq = st->chip_info->int_clk; in adis16480_probe()