Lines Matching refs:mlxcpld_led
121 static struct mlxcpld_led_pdata *mlxcpld_led;
271 spin_lock(&mlxcpld_led->lock);
278 spin_unlock(&mlxcpld_led->lock);
349 cpld->pled[i].param.offset = mlxcpld_led->profile[i].offset;
350 cpld->pled[i].param.mask = mlxcpld_led->profile[i].mask;
352 mlxcpld_led->profile[i].base_color;
354 if (mlxcpld_led->profile[i].brightness)
356 mlxcpld_led->profile[i].brightness);
367 mlxcpld_led = devm_kzalloc(&pdev->dev, sizeof(*mlxcpld_led),
369 if (!mlxcpld_led)
372 mlxcpld_led->pdev = pdev;
376 mlxcpld_led->profile = mlxcpld_led_msn2100_profile;
377 mlxcpld_led->num_led_instances =
382 mlxcpld_led->profile = mlxcpld_led_default_profile;
383 mlxcpld_led->num_led_instances =
388 spin_lock_init(&mlxcpld_led->lock);
390 return mlxcpld_led_config(&pdev->dev, mlxcpld_led);
424 platform_device_unregister(mlxcpld_led->pdev);