Searched refs:bw_bits (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/iio/gyro/
H A Dbmg160_core.c106 u8 bw_bits; member in struct:bmg160_data
123 int bw_bits; member in struct:__anon5146
158 return bmg160_samp_freq_table[i].bw_bits; bmg160_convert_freq_to_bit()
167 int bw_bits; bmg160_set_bw() local
169 bw_bits = bmg160_convert_freq_to_bit(val); bmg160_set_bw()
170 if (bw_bits < 0) bmg160_set_bw()
171 return bw_bits; bmg160_set_bw()
173 ret = regmap_write(data->regmap, BMG160_REG_PMU_BW, bw_bits); bmg160_set_bw()
179 data->bw_bits = bw_bits; bmg160_set_bw()
393 if (bmg160_samp_freq_table[i].bw_bits == data->bw_bits) { bmg160_get_bw()
/linux-4.4.14/drivers/iio/accel/
H A Dbmc150-accel-core.c199 u8 bw_bits; member in struct:bmc150_accel_data
211 u8 bw_bits; member in struct:__anon5108
222 int bw_bits; member in struct:__anon5109
304 bmc150_accel_samp_freq_table[i].bw_bits); bmc150_accel_set_bw()
308 data->bw_bits = bmc150_accel_set_bw()
309 bmc150_accel_samp_freq_table[i].bw_bits; bmc150_accel_set_bw()
356 if (bmc150_accel_samp_freq_table[i].bw_bits == data->bw_bits) { bmc150_accel_get_bw()
372 if (bmc150_accel_sample_upd_time[i].bw_bits == data->bw_bits) bmc150_accel_get_startup_times()

Completed in 82 milliseconds