Home
last modified time | relevance | path

Searched refs:ecdev (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/platform/chrome/
H A Dcros_usbpd_notify.c188 struct cros_ec_dev *ecdev = dev_get_drvdata(dev->parent); in cros_usbpd_notify_probe_plat() local
197 pdnotify->ec = ecdev->ec_dev; in cros_usbpd_notify_probe_plat()
202 ret = blocking_notifier_chain_register(&ecdev->ec_dev->event_notifier, in cros_usbpd_notify_probe_plat()
215 struct cros_ec_dev *ecdev = dev_get_drvdata(dev->parent); in cros_usbpd_notify_remove_plat() local
219 blocking_notifier_chain_unregister(&ecdev->ec_dev->event_notifier, in cros_usbpd_notify_remove_plat()
H A Dcros_ec_vbc.c22 struct cros_ec_device *ecdev = ec->ec_dev; in vboot_context_read() local
43 err = cros_ec_cmd_xfer_status(ecdev, msg); in vboot_context_read()
62 struct cros_ec_device *ecdev = ec->ec_dev; in vboot_context_write() local
86 err = cros_ec_cmd_xfer_status(ecdev, msg); in vboot_context_write()