Lines Matching refs:led_pdata
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
262 led_pdata = dev_get_platdata(&pdev->dev); in mlxreg_led_probe()
263 if (!led_pdata) { in mlxreg_led_probe()
274 priv->pdata = led_pdata; in mlxreg_led_probe()