Searched refs:led_pdata (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/leds/ |
D | leds-mlxreg.c | 64 struct mlxreg_core_platform_data *led_pdata = priv->pdata; in mlxreg_led_store_hw() local 82 ret = regmap_read(led_pdata->regmap, data->reg, ®val); in mlxreg_led_store_hw() 90 ret = regmap_write(led_pdata->regmap, data->reg, regval); in mlxreg_led_store_hw() 102 struct mlxreg_core_platform_data *led_pdata = priv->pdata; in mlxreg_led_get_hw() local 117 err = regmap_read(led_pdata->regmap, data->reg, ®val); in mlxreg_led_get_hw() 187 struct mlxreg_core_platform_data *led_pdata = priv->pdata; in mlxreg_led_config() local 188 struct mlxreg_core_data *data = led_pdata->data; in mlxreg_led_config() 196 for (i = 0; i < led_pdata->counter; i++, data++) { in mlxreg_led_config() 203 err = regmap_read(led_pdata->regmap, data->capability, in mlxreg_led_config() 259 struct mlxreg_core_platform_data *led_pdata; in mlxreg_led_probe() local [all …]
|
D | leds-lp8788.c | 123 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()
|
D | leds-max8997.c | 261 if (pdata->led_pdata) { in max8997_led_probe() 264 mode = pdata->led_pdata->mode[led->id]; in max8997_led_probe() 265 brightness = pdata->led_pdata->brightness[led->id]; in max8997_led_probe()
|
/linux-6.1.9/drivers/mfd/ |
D | htc-pasic3.c | 172 if (pdata && pdata->led_pdata) { in pasic3_probe() 173 led_cell.platform_data = pdata->led_pdata; in pasic3_probe()
|
/linux-6.1.9/include/linux/mfd/ |
D | htc-pasic3.h | 50 struct pasic3_leds_machinfo *led_pdata; member
|
D | max8997.h | 207 struct max8997_led_platform_data *led_pdata; member
|
D | lp8788.h | 301 struct lp8788_led_platform_data *led_pdata; member
|