/linux/drivers/platform/chrome/ |
A D | cros_ec_lightbar.c | 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() 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() [all …]
|
A D | cros_ec_chardev.c | 34 struct cros_ec_dev *ec_dev; 39 struct cros_ec_dev *ec_dev; 54 static int ec_get_version(struct cros_ec_dev *ec, char *str, int maxlen) in ec_get_version() 163 struct cros_ec_dev *ec_dev = dev_get_drvdata(mdev->parent); in cros_ec_chardev_open() 206 struct cros_ec_dev *ec_dev = priv->ec_dev; in cros_ec_chardev_read() 256 struct cros_ec_dev *ec_dev = priv->ec_dev; in cros_ec_chardev_release() 274 static long cros_ec_chardev_ioctl_xcmd(struct cros_ec_dev *ec, void __user *arg) in cros_ec_chardev_ioctl_xcmd() 316 static long cros_ec_chardev_ioctl_readmem(struct cros_ec_dev *ec, in cros_ec_chardev_ioctl_readmem() 345 struct cros_ec_dev *ec = priv->ec_dev; in cros_ec_chardev_ioctl() 376 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_chardev_probe()
|
A D | cros_ec_sysfs.c | 60 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in reboot_store() 121 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in version_show() 213 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in flashinfo_show() 244 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in kb_wake_angle_show() 277 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in kb_wake_angle_store() 325 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in cros_ec_ctrl_visible() 340 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_sysfs_probe() 353 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_sysfs_remove()
|
A D | cros_ec_vbc.c | 21 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in vboot_context_read() 61 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in vboot_context_write() 111 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_vbc_probe() 126 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_ec_vbc_remove()
|
A D | cros_ec_debugfs.c | 41 struct cros_ec_dev *ec; 63 struct cros_ec_dev *ec = debug_info->ec; in cros_ec_console_log_work() 315 static int ec_read_version_supported(struct cros_ec_dev *ec) in ec_read_version_supported() 346 struct cros_ec_dev *ec = debug_info->ec; in cros_ec_create_console_log() 442 struct cros_ec_dev *ec = dev_get_drvdata(pd->dev.parent); in cros_ec_debugfs_probe() 486 struct cros_ec_dev *ec = dev_get_drvdata(pd->dev.parent); in cros_ec_debugfs_remove() 496 struct cros_ec_dev *ec = dev_get_drvdata(dev); in cros_ec_debugfs_suspend() 506 struct cros_ec_dev *ec = dev_get_drvdata(dev); in cros_ec_debugfs_resume()
|
A D | cros_ec_sensorhub.c | 54 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_register() 127 struct cros_ec_dev *ec = dev_get_drvdata(dev->parent); in cros_ec_sensorhub_probe() 228 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_suspend() 238 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_resume()
|
A D | cros_usbpd_logger.c | 30 struct cros_ec_dev *ec_dev; 64 struct cros_ec_dev *ec_dev = logger->ec_dev; in ec_get_log_entry() 197 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_usbpd_logger_probe()
|
A D | cros_usbpd_notify.c | 188 struct cros_ec_dev *ecdev = dev_get_drvdata(dev->parent); in cros_usbpd_notify_probe_plat() 215 struct cros_ec_dev *ecdev = dev_get_drvdata(dev->parent); in cros_usbpd_notify_remove_plat()
|
A D | cros_ec_proto.c | 813 bool cros_ec_check_features(struct cros_ec_dev *ec, int feature) in cros_ec_check_features() 842 int cros_ec_get_sensor_count(struct cros_ec_dev *ec) in cros_ec_get_sensor_count()
|
A D | cros_ec_sensorhub_ring.c | 768 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_ring_handler() 1000 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_ring_add()
|
A D | cros_ec_typec.c | 1067 struct cros_ec_dev *ec_dev = NULL; in cros_typec_probe()
|
/linux/include/linux/platform_data/ |
A D | cros_ec_proto.h | 201 struct cros_ec_dev { struct 211 #define to_cros_ec_dev(dev) container_of(dev, struct cros_ec_dev, class_dev) argument 230 bool cros_ec_check_features(struct cros_ec_dev *ec, int feature); 232 int cros_ec_get_sensor_count(struct cros_ec_dev *ec);
|
A D | cros_ec_sensorhub.h | 149 struct cros_ec_dev *ec;
|
/linux/drivers/power/supply/ |
A D | cros_peripheral_charger.c | 39 struct cros_ec_dev *ec_dev; 61 struct cros_ec_dev *ec_dev = charger->ec_dev; in cros_pchg_ec_command() 288 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_pchg_probe()
|
A D | cros_usbpd-charger.c | 47 struct cros_ec_dev *ec_dev; 103 struct cros_ec_dev *ec_dev = charger->ec_dev; in cros_usbpd_charger_ec_command() 540 struct cros_ec_dev *ec_dev = dev_get_drvdata(pd->dev.parent); in cros_usbpd_charger_probe()
|
/linux/drivers/mfd/ |
A D | cros_ec_dev.c | 139 struct cros_ec_dev *ec = kzalloc(sizeof(*ec), GFP_KERNEL); in ec_device_probe() 275 struct cros_ec_dev *ec = dev_get_drvdata(&pdev->dev); in ec_device_remove()
|
A D | built-in.a | 5 cros_ec_dev.o/
|
A D | .cros_ec_dev.o.cmd | 1 …cros_ec_dev.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/… 3 source_drivers/mfd/cros_ec_dev.o := drivers/mfd/cros_ec_dev.c 5 deps_drivers/mfd/cros_ec_dev.o := \ 968 drivers/mfd/cros_ec_dev.o: $(deps_drivers/mfd/cros_ec_dev.o) 970 $(deps_drivers/mfd/cros_ec_dev.o):
|
A D | .built-in.a.cmd | 1 …uilt-in.a drivers/mfd/bcm2835-pm.o drivers/mfd/bd9571mwv.o drivers/mfd/cros_ec_dev.o drivers/mfd/s…
|
A D | Makefile | 16 obj-$(CONFIG_MFD_CROS_EC_DEV) += cros_ec_dev.o
|
/linux/drivers/iio/pressure/ |
A D | cros_ec_baro.c | 125 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_baro_probe()
|
/linux/drivers/media/cec/platform/cros-ec/ |
A D | cros-ec-cec.c | 261 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_cec_probe()
|
/linux/drivers/rtc/ |
A D | rtc-cros-ec.c | 319 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_rtc_probe()
|
/linux/drivers/iio/common/cros_ec_sensors/ |
A D | cros_ec_sensors_core.c | 256 struct cros_ec_dev *ec = sensor_hub->ec; in cros_ec_sensors_core_init()
|
/linux/Documentation/userspace-api/ioctl/ |
A D | ioctl-number.rst | 369 0xEC 00-01 drivers/platform/chrome/cros_ec_dev.h ChromeOS EC driver
|