Lines Matching refs:bd70528
50 static int bd70528_set_wake(struct rohm_regmap_dev *bd70528, in bd70528_set_wake() argument
56 ret = regmap_read(bd70528->regmap, BD70528_REG_WAKE_EN, &ctrl_reg); in bd70528_set_wake()
75 return regmap_write(bd70528->regmap, BD70528_REG_WAKE_EN, in bd70528_set_wake()
79 static int bd70528_set_elapsed_tmr(struct rohm_regmap_dev *bd70528, in bd70528_set_elapsed_tmr() argument
97 ret = regmap_read(bd70528->regmap, BD70528_REG_ELAPSED_TIMER_EN, in bd70528_set_elapsed_tmr()
117 return regmap_write(bd70528->regmap, BD70528_REG_ELAPSED_TIMER_EN, in bd70528_set_elapsed_tmr()
222 struct rohm_regmap_dev *bd70528 = r->mfd; in bd70528_set_alarm() local
224 ret = regmap_bulk_read(bd70528->regmap, BD70528_REG_RTC_WAKE_START, in bd70528_set_alarm()
231 ret = regmap_bulk_read(bd70528->regmap, BD70528_REG_RTC_ALM_START, in bd70528_set_alarm()
249 ret = regmap_bulk_write(bd70528->regmap, in bd70528_set_alarm()
256 ret = regmap_bulk_write(bd70528->regmap, BD70528_REG_RTC_ALM_START, in bd70528_set_alarm()
269 struct rohm_regmap_dev *bd70528 = r->mfd; in bd70528_read_alarm() local
271 ret = regmap_bulk_read(bd70528->regmap, BD70528_REG_RTC_ALM_START, in bd70528_read_alarm()
293 struct rohm_regmap_dev *bd70528 = r->mfd; in bd70528_set_time_locked() local
299 tmpret = regmap_bulk_read(bd70528->regmap, in bd70528_set_time_locked()
308 tmpret = regmap_bulk_write(bd70528->regmap, in bd70528_set_time_locked()
338 struct rohm_regmap_dev *bd70528 = r->mfd; in bd70528_get_time() local
343 ret = regmap_bulk_read(bd70528->regmap, in bd70528_get_time()