Home
last modified time | relevance | path

Searched refs:ec_dev (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/include/linux/mfd/
Dcros_ec.h192 struct cros_ec_device *ec_dev; member
210 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 …]
/linux-4.19.296/drivers/iio/pressure/
Dcros_ec_baro.c127 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_baro_probe() local
133 if (!ec_dev || !ec_dev->ec_dev) { in cros_ec_baro_probe()
/linux-4.19.296/drivers/iio/light/
Dcros_ec_light_prox.c182 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_light_prox_probe() local
188 if (!ec_dev || !ec_dev->ec_dev) { in cros_ec_light_prox_probe()
/linux-4.19.296/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors.c193 struct cros_ec_dev *ec_dev = dev_get_drvdata(dev->parent); in cros_ec_sensors_probe() local
199 if (!ec_dev || !ec_dev->ec_dev) { in cros_ec_sensors_probe()
Dcros_ec_sensors_core.c48 state->ec = ec->ec_dev; in cros_ec_sensors_core_init()
/linux-4.19.296/drivers/iio/accel/
Dcros_ec_accel_legacy.c357 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()
/linux-4.19.296/drivers/rtc/
Drtc-cros-ec.c323 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent); in cros_ec_rtc_probe() local
324 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in cros_ec_rtc_probe()