Lines Matching refs:icnt
237 int ret, icnt, buck_num; in lp8755_init_data() local
247 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) { in lp8755_init_data()
248 buck_num = mphase_buck[pchip->mphase].buck_num[icnt]; in lp8755_init_data()
285 int ret, icnt, buck_num; in lp8755_regulator_init() local
293 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) { in lp8755_regulator_init()
294 buck_num = mphase_buck[pchip->mphase].buck_num[icnt]; in lp8755_regulator_init()
314 int ret, icnt; in lp8755_irq_handler() local
328 for (icnt = 0; icnt < LP8755_BUCK_MAX; icnt++) in lp8755_irq_handler()
329 if ((flag0 & (0x4 << icnt)) in lp8755_irq_handler()
330 && (pchip->irqmask & (0x04 << icnt)) in lp8755_irq_handler()
331 && (pchip->rdev[icnt] != NULL)) { in lp8755_irq_handler()
332 regulator_notifier_call_chain(pchip->rdev[icnt], in lp8755_irq_handler()
348 for (icnt = 0; icnt < LP8755_BUCK_MAX; icnt++) in lp8755_irq_handler()
349 if (pchip->rdev[icnt] != NULL) { in lp8755_irq_handler()
350 regulator_notifier_call_chain(pchip->rdev[icnt], in lp8755_irq_handler()
357 for (icnt = 0; icnt < LP8755_BUCK_MAX; icnt++) in lp8755_irq_handler()
358 if (pchip->rdev[icnt] != NULL) { in lp8755_irq_handler()
359 regulator_notifier_call_chain(pchip->rdev[icnt], in lp8755_irq_handler()
402 int ret, icnt; in lp8755_probe() local
458 for (icnt = 0; icnt < LP8755_BUCK_MAX; icnt++) in lp8755_probe()
459 regmap_write(pchip->regmap, icnt, 0x00); in lp8755_probe()
466 int icnt; in lp8755_remove() local
469 for (icnt = 0; icnt < LP8755_BUCK_MAX; icnt++) in lp8755_remove()
470 regmap_write(pchip->regmap, icnt, 0x00); in lp8755_remove()