Lines Matching refs:max597x
428 struct max5970_data *max597x; in max597x_regulator_probe() local
441 max597x = devm_kzalloc(&i2c->dev, sizeof(struct max5970_data), GFP_KERNEL); in max597x_regulator_probe()
442 if (!max597x) in max597x_regulator_probe()
445 i2c_set_clientdata(i2c, max597x); in max597x_regulator_probe()
448 max597x->num_switches = MAX5978_NUM_SWITCHES; in max597x_regulator_probe()
450 max597x->num_switches = MAX5970_NUM_SWITCHES; in max597x_regulator_probe()
454 i2c_set_clientdata(i2c, max597x); in max597x_regulator_probe()
455 num_switches = max597x->num_switches; in max597x_regulator_probe()
467 ret = max597x_adc_range(regmap, i, &max597x->irng[i], &max597x->mon_rng[i]); in max597x_regulator_probe()
471 data->irng = max597x->irng[i]; in max597x_regulator_probe()
472 data->mon_rng = max597x->mon_rng[i]; in max597x_regulator_probe()
485 max597x->shunt_micro_ohms[i] = data->shunt_micro_ohms; in max597x_regulator_probe()