Searched refs:ec_dev (Results 1 – 7 of 7) sorted by relevance
192 struct cros_ec_device *ec_dev; member210 int cros_ec_suspend(struct cros_ec_device *ec_dev);220 int cros_ec_resume(struct cros_ec_device *ec_dev);232 int cros_ec_prepare_tx(struct cros_ec_device *ec_dev,244 int cros_ec_check_result(struct cros_ec_device *ec_dev,256 int cros_ec_cmd_xfer(struct cros_ec_device *ec_dev,271 int cros_ec_cmd_xfer_status(struct cros_ec_device *ec_dev,282 int cros_ec_remove(struct cros_ec_device *ec_dev);293 int cros_ec_register(struct cros_ec_device *ec_dev);301 int cros_ec_query_all(struct cros_ec_device *ec_dev);[all …]
127 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_baro_probe() local133 if (!ec_dev || !ec_dev->ec_dev) { in cros_ec_baro_probe()
182 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_light_prox_probe() local188 if (!ec_dev || !ec_dev->ec_dev) { in cros_ec_light_prox_probe()
193 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_sensors_probe() local199 if (!ec_dev || !ec_dev->ec_dev) { in cros_ec_sensors_probe()
48 state->ec = ec->ec_dev; in cros_ec_sensors_core_init()
357 if (!ec || !ec->ec_dev) { in cros_ec_accel_legacy_probe()362 if (!ec->ec_dev->cmd_readmem) { in cros_ec_accel_legacy_probe()373 state->ec = ec->ec_dev; in cros_ec_accel_legacy_probe()
323 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_rtc_probe() local324 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in cros_ec_rtc_probe()