isink 529 arch/arm/mach-s3c64xx/mach-smdk6410.c .isink = 1, isink 95 drivers/leds/leds-wm8350.c ret = regulator_enable(led->isink); isink 104 drivers/leds/leds-wm8350.c regulator_disable(led->isink); isink 126 drivers/leds/leds-wm8350.c ret = regulator_disable(led->isink); isink 167 drivers/leds/leds-wm8350.c ret = regulator_set_current_limit(led->isink, isink_cur[uA], isink 188 drivers/leds/leds-wm8350.c struct regulator *isink, *dcdc; isink 204 drivers/leds/leds-wm8350.c isink = devm_regulator_get(&pdev->dev, "led_isink"); isink 205 drivers/leds/leds-wm8350.c if (IS_ERR(isink)) { isink 207 drivers/leds/leds-wm8350.c return PTR_ERR(isink); isink 224 drivers/leds/leds-wm8350.c led->enabled = regulator_is_enabled(isink); isink 225 drivers/leds/leds-wm8350.c led->isink = isink; isink 35 drivers/regulator/wm831x-isink.c struct wm831x_isink *isink = rdev_get_drvdata(rdev); isink 36 drivers/regulator/wm831x-isink.c struct wm831x *wm831x = isink->wm831x; isink 40 drivers/regulator/wm831x-isink.c ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, isink 46 drivers/regulator/wm831x-isink.c ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_DRIVE, isink 49 drivers/regulator/wm831x-isink.c wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, 0); isink 57 drivers/regulator/wm831x-isink.c struct wm831x_isink *isink = rdev_get_drvdata(rdev); isink 58 drivers/regulator/wm831x-isink.c struct wm831x *wm831x = isink->wm831x; isink 61 drivers/regulator/wm831x-isink.c ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_DRIVE, 0); isink 65 drivers/regulator/wm831x-isink.c ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, 0); isink 75 drivers/regulator/wm831x-isink.c struct wm831x_isink *isink = rdev_get_drvdata(rdev); isink 76 drivers/regulator/wm831x-isink.c struct wm831x *wm831x = isink->wm831x; isink 79 drivers/regulator/wm831x-isink.c ret = wm831x_reg_read(wm831x, isink->reg); isink 100 drivers/regulator/wm831x-isink.c struct wm831x_isink *isink = data; isink 102 drivers/regulator/wm831x-isink.c regulator_lock(isink->regulator); isink 103 drivers/regulator/wm831x-isink.c regulator_notifier_call_chain(isink->regulator, isink 106 drivers/regulator/wm831x-isink.c regulator_unlock(isink->regulator); isink 116 drivers/regulator/wm831x-isink.c struct wm831x_isink *isink; isink 117 drivers/regulator/wm831x-isink.c int id = pdev->id % ARRAY_SIZE(pdata->isink); isink 124 drivers/regulator/wm831x-isink.c if (pdata == NULL || pdata->isink[id] == NULL) isink 127 drivers/regulator/wm831x-isink.c isink = devm_kzalloc(&pdev->dev, sizeof(struct wm831x_isink), isink 129 drivers/regulator/wm831x-isink.c if (!isink) isink 132 drivers/regulator/wm831x-isink.c isink->wm831x = wm831x; isink 140 drivers/regulator/wm831x-isink.c isink->reg = res->start; isink 145 drivers/regulator/wm831x-isink.c snprintf(isink->name, sizeof(isink->name), "ISINK%d", id + 1); isink 146 drivers/regulator/wm831x-isink.c isink->desc.name = isink->name; isink 147 drivers/regulator/wm831x-isink.c isink->desc.id = id; isink 148 drivers/regulator/wm831x-isink.c isink->desc.ops = &wm831x_isink_ops; isink 149 drivers/regulator/wm831x-isink.c isink->desc.type = REGULATOR_CURRENT; isink 150 drivers/regulator/wm831x-isink.c isink->desc.owner = THIS_MODULE; isink 151 drivers/regulator/wm831x-isink.c isink->desc.curr_table = wm831x_isinkv_values, isink 152 drivers/regulator/wm831x-isink.c isink->desc.n_current_limits = ARRAY_SIZE(wm831x_isinkv_values), isink 153 drivers/regulator/wm831x-isink.c isink->desc.csel_reg = isink->reg, isink 154 drivers/regulator/wm831x-isink.c isink->desc.csel_mask = WM831X_CS1_ISEL_MASK, isink 157 drivers/regulator/wm831x-isink.c config.init_data = pdata->isink[id]; isink 158 drivers/regulator/wm831x-isink.c config.driver_data = isink; isink 161 drivers/regulator/wm831x-isink.c isink->regulator = devm_regulator_register(&pdev->dev, &isink->desc, isink 163 drivers/regulator/wm831x-isink.c if (IS_ERR(isink->regulator)) { isink 164 drivers/regulator/wm831x-isink.c ret = PTR_ERR(isink->regulator); isink 174 drivers/regulator/wm831x-isink.c isink->name, isink 175 drivers/regulator/wm831x-isink.c isink); isink 182 drivers/regulator/wm831x-isink.c platform_set_drvdata(pdev, isink); isink 97 drivers/regulator/wm8350-regulator.c int isink = rdev_get_id(rdev); isink 99 drivers/regulator/wm8350-regulator.c switch (isink) { isink 141 drivers/regulator/wm8350-regulator.c int isink = rdev_get_id(rdev); isink 143 drivers/regulator/wm8350-regulator.c switch (isink) { isink 181 drivers/regulator/wm8350-regulator.c int isink = rdev_get_id(rdev); isink 183 drivers/regulator/wm8350-regulator.c switch (isink) { isink 197 drivers/regulator/wm8350-regulator.c int isink = rdev_get_id(rdev); isink 200 drivers/regulator/wm8350-regulator.c switch (isink) { isink 239 drivers/regulator/wm8350-regulator.c int wm8350_isink_set_flash(struct wm8350 *wm8350, int isink, u16 mode, isink 243 drivers/regulator/wm8350-regulator.c switch (isink) { isink 1232 drivers/regulator/wm8350-regulator.c int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink, isink 1266 drivers/regulator/wm8350-regulator.c ret = wm8350_register_regulator(wm8350, isink, &led->isink_init); isink 1284 drivers/regulator/wm8350-regulator.c switch (isink) { isink 159 drivers/video/backlight/wm831x_bl.c switch (pdata->isink) { isink 169 drivers/video/backlight/wm831x_bl.c dev_err(&pdev->dev, "Invalid ISINK %d\n", pdata->isink); isink 17 include/linux/mfd/wm831x/pdata.h int isink; /** ISINK to use, 1 or 2 */ isink 141 include/linux/mfd/wm831x/pdata.h struct regulator_init_data *isink[WM831X_MAX_ISINK]; isink 720 include/linux/mfd/wm8350/pmic.h struct regulator *isink; isink 752 include/linux/mfd/wm8350/pmic.h int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink, isink 771 include/linux/mfd/wm8350/pmic.h int wm8350_isink_set_flash(struct wm8350 *wm8350, int isink, u16 mode,