Home
last modified time | relevance | path

Searched refs:led_pdata (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/leds/
H A Dleds-mlxreg.c63 struct mlxreg_core_platform_data *led_pdata = priv->pdata; in mlxreg_led_store_hw() local
81 ret = regmap_read(led_pdata->regmap, data->reg, &regval); in mlxreg_led_store_hw()
89 ret = regmap_write(led_pdata->regmap, data->reg, regval); in mlxreg_led_store_hw()
116 err = regmap_read(led_pdata->regmap, data->reg, &regval); in mlxreg_led_get_hw()
187 struct mlxreg_core_data *data = led_pdata->data; in mlxreg_led_config()
195 for (i = 0; i < led_pdata->counter; i++, data++) { in mlxreg_led_config()
202 err = regmap_read(led_pdata->regmap, data->capability, in mlxreg_led_config()
258 struct mlxreg_core_platform_data *led_pdata; in mlxreg_led_probe() local
261 led_pdata = dev_get_platdata(&pdev->dev); in mlxreg_led_probe()
262 if (!led_pdata) { in mlxreg_led_probe()
[all …]
H A Dleds-lp8788.c123 struct lp8788_led_platform_data *led_pdata; in lp8788_led_probe() local
136 led_pdata = lp->pdata ? lp->pdata->led_pdata : NULL; in lp8788_led_probe()
138 if (!led_pdata || !led_pdata->name) in lp8788_led_probe()
141 led->led_dev.name = led_pdata->name; in lp8788_led_probe()
145 ret = lp8788_led_init_device(led, led_pdata); in lp8788_led_probe()
H A Dleds-max8997.c256 if (pdata && pdata->led_pdata) { in max8997_led_probe()
259 mode = pdata->led_pdata->mode[led->id]; in max8997_led_probe()
260 brightness = pdata->led_pdata->brightness[led->id]; in max8997_led_probe()
/openbmc/linux/include/linux/mfd/
H A Dmax8997.h204 struct max8997_led_platform_data *led_pdata; member
H A Dlp8788.h301 struct lp8788_led_platform_data *led_pdata; member