mlxcpld_led 122 drivers/leds/leds-mlxcpld.c static struct mlxcpld_led_pdata *mlxcpld_led; mlxcpld_led 272 drivers/leds/leds-mlxcpld.c spin_lock(&mlxcpld_led->lock); mlxcpld_led 279 drivers/leds/leds-mlxcpld.c spin_unlock(&mlxcpld_led->lock); mlxcpld_led 350 drivers/leds/leds-mlxcpld.c cpld->pled[i].param.offset = mlxcpld_led->profile[i].offset; mlxcpld_led 351 drivers/leds/leds-mlxcpld.c cpld->pled[i].param.mask = mlxcpld_led->profile[i].mask; mlxcpld_led 353 drivers/leds/leds-mlxcpld.c mlxcpld_led->profile[i].base_color; mlxcpld_led 355 drivers/leds/leds-mlxcpld.c if (mlxcpld_led->profile[i].brightness) mlxcpld_led 357 drivers/leds/leds-mlxcpld.c mlxcpld_led->profile[i].brightness); mlxcpld_led 368 drivers/leds/leds-mlxcpld.c mlxcpld_led = devm_kzalloc(&pdev->dev, sizeof(*mlxcpld_led), mlxcpld_led 370 drivers/leds/leds-mlxcpld.c if (!mlxcpld_led) mlxcpld_led 373 drivers/leds/leds-mlxcpld.c mlxcpld_led->pdev = pdev; mlxcpld_led 377 drivers/leds/leds-mlxcpld.c mlxcpld_led->profile = mlxcpld_led_msn2100_profile; mlxcpld_led 378 drivers/leds/leds-mlxcpld.c mlxcpld_led->num_led_instances = mlxcpld_led 383 drivers/leds/leds-mlxcpld.c mlxcpld_led->profile = mlxcpld_led_default_profile; mlxcpld_led 384 drivers/leds/leds-mlxcpld.c mlxcpld_led->num_led_instances = mlxcpld_led 389 drivers/leds/leds-mlxcpld.c spin_lock_init(&mlxcpld_led->lock); mlxcpld_led 391 drivers/leds/leds-mlxcpld.c return mlxcpld_led_config(&pdev->dev, mlxcpld_led); mlxcpld_led 425 drivers/leds/leds-mlxcpld.c platform_device_unregister(mlxcpld_led->pdev);