Lines Matching refs:cros_ec_dev
85 static struct cros_ec_command *alloc_lightbar_cmd_msg(struct cros_ec_dev *ec) in alloc_lightbar_cmd_msg()
105 static int get_lightbar_version(struct cros_ec_dev *ec, in get_lightbar_version()
160 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in version_show()
182 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in brightness_store()
221 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in led_rgb_store()
290 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in sequence_show()
321 static int lb_send_empty_cmd(struct cros_ec_dev *ec, uint8_t cmd) in lb_send_empty_cmd()
349 static int lb_manual_suspend_ctrl(struct cros_ec_dev *ec, uint8_t enable) in lb_manual_suspend_ctrl()
386 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in sequence_store()
429 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in program_store()
533 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_lightbar_probe()
566 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_lightbar_remove()
579 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_lightbar_resume()
589 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_lightbar_suspend()