Searched refs:cros_ec_check_features (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_sensorhub.c | 112 if (cros_ec_check_features(ec, in cros_ec_sensorhub_register() 155 if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE)) { in cros_ec_sensorhub_probe() 173 if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE_FIFO)) { in cros_ec_sensorhub_probe() 188 if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE_FIFO)) { in cros_ec_sensorhub_probe() 230 if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE_FIFO)) in cros_ec_sensorhub_suspend() 240 if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE_FIFO)) in cros_ec_sensorhub_resume()
|
H A D | cros_ec_proto.c | 905 bool cros_ec_check_features(struct cros_ec_dev *ec, int feature) in cros_ec_check_features() function 925 EXPORT_SYMBOL_GPL(cros_ec_check_features);
|
H A D | cros_ec_typec.c | 1197 typec->typec_cmd_supported = cros_ec_check_features(ec_dev, EC_FEATURE_TYPEC_CMD); in cros_typec_probe() 1198 typec->needs_mux_ack = cros_ec_check_features(ec_dev, EC_FEATURE_TYPEC_MUX_REQUIRE_AP_ACK); in cros_typec_probe()
|
H A D | cros_ec_sensorhub_ring.c | 975 sensorhub->tight_timestamps = cros_ec_check_features( in cros_ec_sensorhub_ring_allocate()
|
H A D | cros_ec_proto_test.c | 2380 ret = cros_ec_check_features(&ec, i); in cros_ec_proto_test_check_features_cached() 2422 ret = cros_ec_check_features(&ec, i); in cros_ec_proto_test_check_features_not_cached()
|
/openbmc/linux/drivers/mfd/ |
H A D | cros_ec_dev.c | 161 if (cros_ec_check_features(ec, cros_mcu_devices[i].id)) { in ec_device_probe() 205 if (cros_ec_check_features(ec, cros_subdevices[i].id)) { in ec_device_probe() 221 if (cros_ec_check_features(ec, EC_FEATURE_LIGHTBAR) || in ec_device_probe() 237 if (cros_ec_check_features(ec, EC_FEATURE_USB_PD)) { in ec_device_probe()
|
/openbmc/linux/include/linux/platform_data/ |
H A D | cros_ec_proto.h | 257 bool cros_ec_check_features(struct cros_ec_dev *ec, int feature);
|
/openbmc/linux/drivers/iio/common/cros_ec_sensors/ |
H A D | cros_ec_sensors_core.c | 333 if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE_FIFO)) { in cros_ec_sensors_core_init() 391 !cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE_FIFO)) in cros_ec_sensors_core_register()
|