Searched refs:f_reg (Results 1 – 2 of 2) sorted by relevance
172 u8 f_reg; member807 v = bdi->f_reg; in bq24190_charger_get_health()1280 chrg_fault = bdi->f_reg; in bq24190_battery_get_status()1332 v = bdi->f_reg; in bq24190_battery_get_health()1547 u8 ss_reg = 0, f_reg = 0; in bq24190_check_status() local1558 ret = bq24190_read(bdi, BQ24190_REG_F, &f_reg); in bq24190_check_status()1563 } while (f_reg && ++i < 2); in bq24190_check_status()1566 if (f_reg == (1 << BQ24190_REG_F_CHRG_FAULT_SHIFT) && in bq24190_check_status()1568 f_reg = 0; in bq24190_check_status()1570 if (f_reg != bdi->f_reg) { in bq24190_check_status()[all …]
256 u64 f_reg; in rf69_set_deviation() local273 f_reg = deviation * factor; in rf69_set_deviation()274 do_div(f_reg, f_step); in rf69_set_deviation()276 msb = (f_reg & 0xff00) >> 8; in rf69_set_deviation()277 lsb = (f_reg & 0xff); in rf69_set_deviation()300 u64 f_reg; in rf69_set_frequency() local319 f_reg = frequency * factor; in rf69_set_frequency()320 do_div(f_reg, f_step); in rf69_set_frequency()322 msb = (f_reg & 0xff0000) >> 16; in rf69_set_frequency()323 mid = (f_reg & 0xff00) >> 8; in rf69_set_frequency()[all …]