Lines Matching refs:buck_num
37 int buck_num[LP8755_BUCK_MAX]; member
194 int ret, icnt, buck_num; in lp8755_init_data() local
205 buck_num = mphase_buck[pchip->mphase].buck_num[icnt]; in lp8755_init_data()
206 pdata->buck_data[buck_num] = &lp8755_reg_default[buck_num]; in lp8755_init_data()
246 int ret, icnt, buck_num; in lp8755_regulator_init() local
255 buck_num = mphase_buck[pchip->mphase].buck_num[icnt]; in lp8755_regulator_init()
256 rconfig.init_data = pdata->buck_data[buck_num]; in lp8755_regulator_init()
258 pchip->rdev[buck_num] = in lp8755_regulator_init()
260 &lp8755_regulators[buck_num], &rconfig); in lp8755_regulator_init()
261 if (IS_ERR(pchip->rdev[buck_num])) { in lp8755_regulator_init()
262 ret = PTR_ERR(pchip->rdev[buck_num]); in lp8755_regulator_init()
263 pchip->rdev[buck_num] = NULL; in lp8755_regulator_init()
265 buck_num); in lp8755_regulator_init()