Lines Matching refs:led_pdata
63 struct mlxreg_core_platform_data *led_pdata = priv->pdata; in mlxreg_led_store_hw() local
81 ret = regmap_read(led_pdata->regmap, data->reg, ®val); in mlxreg_led_store_hw()
89 ret = regmap_write(led_pdata->regmap, data->reg, regval); in mlxreg_led_store_hw()
101 struct mlxreg_core_platform_data *led_pdata = priv->pdata; in mlxreg_led_get_hw() local
116 err = regmap_read(led_pdata->regmap, data->reg, ®val); in mlxreg_led_get_hw()
186 struct mlxreg_core_platform_data *led_pdata = priv->pdata; in mlxreg_led_config() local
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()
273 priv->pdata = led_pdata; in mlxreg_led_probe()