Lines Matching refs:init_data
103 struct bq25890_init_data init_data; member
453 val->intval = bq25890_find_val(bq->init_data.iterm, TBL_ITERM); in bq25890_power_supply_get_property()
597 } init_data[] = { in bq25890_hw_init() local
598 {F_ICHG, bq->init_data.ichg}, in bq25890_hw_init()
599 {F_VREG, bq->init_data.vreg}, in bq25890_hw_init()
600 {F_ITERM, bq->init_data.iterm}, in bq25890_hw_init()
601 {F_IPRECHG, bq->init_data.iprechg}, in bq25890_hw_init()
602 {F_SYSVMIN, bq->init_data.sysvmin}, in bq25890_hw_init()
603 {F_BOOSTV, bq->init_data.boostv}, in bq25890_hw_init()
604 {F_BOOSTI, bq->init_data.boosti}, in bq25890_hw_init()
605 {F_BOOSTF, bq->init_data.boostf}, in bq25890_hw_init()
606 {F_EN_ILIM, bq->init_data.ilim_en}, in bq25890_hw_init()
607 {F_TREG, bq->init_data.treg} in bq25890_hw_init()
620 for (i = 0; i < ARRAY_SIZE(init_data); i++) { in bq25890_hw_init()
621 ret = bq25890_field_write(bq, init_data[i].id, in bq25890_hw_init()
622 init_data[i].value); in bq25890_hw_init()
740 struct bq25890_init_data *init = &bq->init_data; in bq25890_fw_read_u32_props()
783 struct bq25890_init_data *init = &bq->init_data; in bq25890_fw_probe()