Lines Matching refs:ec_dev
103 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in reboot_store()
132 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in version_show()
153 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in version_show()
167 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in version_show()
189 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in version_show()
224 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in flashinfo_show()
262 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in kb_wake_angle_show()
299 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in kb_wake_angle_store()
340 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_sysfs_probe() local
344 ret = sysfs_create_group(&ec_dev->class_dev.kobj, &cros_ec_attr_group); in cros_ec_sysfs_probe()
353 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_sysfs_remove() local
355 sysfs_remove_group(&ec_dev->class_dev.kobj, &cros_ec_attr_group); in cros_ec_sysfs_remove()