Searched refs:bw_bits (Results 1 – 3 of 3) sorted by relevance
118 int bw_bits; member156 return bmg160_samp_freq_table[i].bw_bits; in bmg160_convert_freq_to_bit()166 int bw_bits; in bmg160_set_bw() local168 bw_bits = bmg160_convert_freq_to_bit(val); in bmg160_set_bw()169 if (bw_bits < 0) in bmg160_set_bw()170 return bw_bits; in bmg160_set_bw()172 ret = regmap_write(data->regmap, BMG160_REG_PMU_BW, bw_bits); in bmg160_set_bw()186 unsigned int bw_bits; in bmg160_get_filter() local188 ret = regmap_read(data->regmap, BMG160_REG_PMU_BW, &bw_bits); in bmg160_get_filter()195 bw_bits &= ~BMG160_REG_PMU_BW_RES; in bmg160_get_filter()[all …]
485 unsigned int bw_bits; in fxas21002c_lpf_get() local489 ret = regmap_field_read(data->regmap_fields[F_BW], &bw_bits); in fxas21002c_lpf_get()493 *val2 = fxas21002c_lpf_bw_from_value(data, bw_bits) * 10000; in fxas21002c_lpf_get()505 int bw_bits; in fxas21002c_lpf_set() local509 bw_bits = fxas21002c_lpf_value_from_bw(data, bw); in fxas21002c_lpf_set()510 if (bw_bits < 0) in fxas21002c_lpf_set()511 return bw_bits; in fxas21002c_lpf_set()521 if ((odr == 25 && bw_bits > 0x01) || (odr == 12 && bw_bits > 0)) in fxas21002c_lpf_set()524 return fxas21002c_write(data, F_BW, bw_bits); in fxas21002c_lpf_set()
200 u8 bw_bits; member213 u8 bw_bits; member224 int bw_bits; member308 bmc150_accel_samp_freq_table[i].bw_bits); in bmc150_accel_set_bw()312 data->bw_bits = in bmc150_accel_set_bw()313 bmc150_accel_samp_freq_table[i].bw_bits; in bmc150_accel_set_bw()360 if (bmc150_accel_samp_freq_table[i].bw_bits == data->bw_bits) { in bmc150_accel_get_bw()376 if (bmc150_accel_sample_upd_time[i].bw_bits == data->bw_bits) in bmc150_accel_get_startup_times()