Searched refs:bw_bits (Results 1 – 4 of 4) sorted by relevance
123 int bw_bits; member161 return bmg160_samp_freq_table[i].bw_bits; in bmg160_convert_freq_to_bit()171 int bw_bits; in bmg160_set_bw() local173 bw_bits = bmg160_convert_freq_to_bit(val); in bmg160_set_bw()174 if (bw_bits < 0) in bmg160_set_bw()175 return bw_bits; in bmg160_set_bw()177 ret = regmap_write(data->regmap, BMG160_REG_PMU_BW, bw_bits); in bmg160_set_bw()191 unsigned int bw_bits; in bmg160_get_filter() local193 ret = regmap_read(data->regmap, BMG160_REG_PMU_BW, &bw_bits); in bmg160_get_filter()200 bw_bits &= ~BMG160_REG_PMU_BW_RES; in bmg160_get_filter()[all …]
480 unsigned int bw_bits; in fxas21002c_lpf_get() local484 ret = regmap_field_read(data->regmap_fields[F_BW], &bw_bits); in fxas21002c_lpf_get()488 *val2 = fxas21002c_lpf_bw_from_value(data, bw_bits) * 10000; in fxas21002c_lpf_get()500 int bw_bits; in fxas21002c_lpf_set() local504 bw_bits = fxas21002c_lpf_value_from_bw(data, bw); in fxas21002c_lpf_set()505 if (bw_bits < 0) in fxas21002c_lpf_set()506 return bw_bits; in fxas21002c_lpf_set()516 if ((odr == 25 && bw_bits > 0x01) || (odr == 12 && bw_bits > 0)) in fxas21002c_lpf_set()519 return fxas21002c_write(data, F_BW, bw_bits); in fxas21002c_lpf_set()
163 u8 bw_bits; member174 int bw_bits; member258 bmc150_accel_samp_freq_table[i].bw_bits); in bmc150_accel_set_bw()262 data->bw_bits = in bmc150_accel_set_bw()263 bmc150_accel_samp_freq_table[i].bw_bits; in bmc150_accel_set_bw()310 if (bmc150_accel_samp_freq_table[i].bw_bits == data->bw_bits) { in bmc150_accel_get_bw()326 if (bmc150_accel_sample_upd_time[i].bw_bits == data->bw_bits) in bmc150_accel_get_startup_times()
74 u8 bw_bits; member