Lines Matching refs:regs
358 if (data->regs != &bq27427_regs) { in bq274xx_ensure_chemistry()
394 const struct bq274xx_regs *regs; in bq274xx_gauge_configure() local
401 if (data->regs == NULL) { in bq274xx_gauge_configure()
411 data->regs = &bq27421_regs; in bq274xx_gauge_configure()
413 data->regs = &bq27427_regs; in bq274xx_gauge_configure()
419 regs = data->regs; in bq274xx_gauge_configure()
453 regs->dm_design_capacity, config->design_capacity, in bq274xx_gauge_configure()
456 regs->dm_design_energy, designenergy_mwh, in bq274xx_gauge_configure()
459 regs->dm_terminate_voltage, config->terminate_voltage, in bq274xx_gauge_configure()
462 regs->dm_taper_rate, taperrate, in bq274xx_gauge_configure()
473 if (data->regs == &bq27427_regs) { in bq274xx_gauge_configure()