max1586 58 drivers/regulator/max1586.c struct max1586_data *max1586 = rdev_get_drvdata(rdev); max1586 60 drivers/regulator/max1586.c return max1586->v3_curr_sel; max1586 66 drivers/regulator/max1586.c struct max1586_data *max1586 = rdev_get_drvdata(rdev); max1586 67 drivers/regulator/max1586.c struct i2c_client *client = max1586->client; max1586 79 drivers/regulator/max1586.c max1586->v3_curr_sel = selector; max1586 86 drivers/regulator/max1586.c struct max1586_data *max1586 = rdev_get_drvdata(rdev); max1586 88 drivers/regulator/max1586.c return max1586->v6_curr_sel; max1586 94 drivers/regulator/max1586.c struct max1586_data *max1586 = rdev_get_drvdata(rdev); max1586 95 drivers/regulator/max1586.c struct i2c_client *client = max1586->client; max1586 107 drivers/regulator/max1586.c max1586->v6_curr_sel = selector; max1586 215 drivers/regulator/max1586.c struct max1586_data *max1586; max1586 233 drivers/regulator/max1586.c max1586 = devm_kzalloc(&client->dev, sizeof(struct max1586_data), max1586 235 drivers/regulator/max1586.c if (!max1586) max1586 238 drivers/regulator/max1586.c max1586->client = client; max1586 243 drivers/regulator/max1586.c max1586->min_uV = MAX1586_V3_MIN_UV / 1000 * pdata->v3_gain / 1000; max1586 244 drivers/regulator/max1586.c max1586->max_uV = MAX1586_V3_MAX_UV / 1000 * pdata->v3_gain / 1000; max1586 247 drivers/regulator/max1586.c max1586->v3_curr_sel = 24; /* 1.3V */ max1586 248 drivers/regulator/max1586.c max1586->v6_curr_sel = 0; max1586 262 drivers/regulator/max1586.c max1586_reg[id].min_uV = max1586->min_uV; max1586 264 drivers/regulator/max1586.c (max1586->max_uV - max1586->min_uV) / max1586 270 drivers/regulator/max1586.c config.driver_data = max1586; max1586 281 drivers/regulator/max1586.c i2c_set_clientdata(client, max1586);