Searched refs:keyboard_led (Results 1 – 1 of 1) sorted by relevance
20 struct keyboard_led { struct134 struct keyboard_led *keyboard_led = container_of(cdev, struct keyboard_led, cdev); in keyboard_led_set_brightness_ec_pwm() local143 return cros_ec_cmd_xfer_status(keyboard_led->ec, msg); in keyboard_led_set_brightness_ec_pwm()155 struct keyboard_led *keyboard_led = container_of(cdev, struct keyboard_led, cdev); in keyboard_led_get_brightness_ec_pwm() local163 ret = cros_ec_cmd_xfer_status(keyboard_led->ec, msg); in keyboard_led_get_brightness_ec_pwm()172 struct keyboard_led *keyboard_led = platform_get_drvdata(pdev); in keyboard_led_init_ec_pwm() local174 keyboard_led->ec = dev_get_drvdata(pdev->dev.parent); in keyboard_led_init_ec_pwm()175 if (!keyboard_led->ec) { in keyboard_led_init_ec_pwm()199 struct keyboard_led *keyboard_led; in keyboard_led_probe() local206 keyboard_led = devm_kzalloc(&pdev->dev, sizeof(*keyboard_led), GFP_KERNEL); in keyboard_led_probe()[all …]