Home
last modified time | relevance | path

Searched refs:b_gen (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/iio/humidity/
H A Dhts221_core.c261 int err, *slope, *b_gen, cal0, cal1; in hts221_parse_temp_caldata() local
292 b_gen = &hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_parse_temp_caldata()
295 *b_gen = (((s32)cal_x1 * cal_y0 - (s32)cal_x0 * cal_y1) * 1000) / in hts221_parse_temp_caldata()
297 *b_gen *= 8; in hts221_parse_temp_caldata()
304 int err, *slope, *b_gen, data; in hts221_parse_rh_caldata() local
331 b_gen = &hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_parse_rh_caldata()
334 *b_gen = (((s32)cal_x1 * cal_y0 - (s32)cal_x0 * cal_y1) * 1000) / in hts221_parse_rh_caldata()
336 *b_gen *= 8; in hts221_parse_rh_caldata()
379 data = hw->sensors[HTS221_SENSOR_H].b_gen; in hts221_get_sensor_offset()
383 data = hw->sensors[HTS221_SENSOR_T].b_gen; in hts221_get_sensor_offset()
H A Dhts221.h25 int slope, b_gen; member
/linux/fs/bcachefs/
H A Dbuckets.c392 u8 b_gen, u8 bucket_data_type, in bch2_bucket_ref_update() argument
403 if (gen_after(ptr->gen, b_gen)) { in bch2_bucket_ref_update()
408 ptr->dev, bucket_nr, b_gen, in bch2_bucket_ref_update()
417 if (gen_cmp(b_gen, ptr->gen) > BUCKET_GC_GEN_MAX) { in bch2_bucket_ref_update()
422 ptr->dev, bucket_nr, b_gen, in bch2_bucket_ref_update()
432 if (b_gen != ptr->gen && ptr->cached) { in bch2_bucket_ref_update()
437 if (b_gen != ptr->gen) { in bch2_bucket_ref_update()
442 ptr->dev, bucket_nr, b_gen, in bch2_bucket_ref_update()
458 ptr->dev, bucket_nr, b_gen, in bch2_bucket_ref_update()
473 ptr->dev, bucket_nr, b_gen, in bch2_bucket_ref_update()