cros_ec_check_features
if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE_FIFO)) {
!cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE_FIFO))
if (cros_ec_check_features(ec, cros_mcu_devices[i].id)) {
if (cros_ec_check_features(ec, cros_subdevices[i].id)) {
if (cros_ec_check_features(ec, EC_FEATURE_USB_PD) &&
!cros_ec_check_features(ec, EC_FEATURE_UCSI_PPM)) {
if (cros_ec_check_features(ec, EC_FEATURE_LIGHTBAR) ||
if (cros_ec_check_features(ec, EC_FEATURE_USB_PD)) {
EXPORT_SYMBOL_GPL(cros_ec_check_features);
ret = cros_ec_check_features(&ec, i);
ret = cros_ec_check_features(&ec, i);
if (cros_ec_check_features(ec,
if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE)) {
if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE_FIFO)) {
if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE_FIFO)) {
if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE_FIFO))
if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE_FIFO))
sensorhub->tight_timestamps = cros_ec_check_features(
const bool ap_driven_altmode = cros_ec_check_features(
typec->typec_cmd_supported = cros_ec_check_features(ec_dev, EC_FEATURE_TYPEC_CMD);
typec->needs_mux_ack = cros_ec_check_features(ec_dev, EC_FEATURE_TYPEC_MUX_REQUIRE_AP_ACK);
typec->ap_driven_altmode = cros_ec_check_features(
bool cros_ec_check_features(struct cros_ec_dev *ec, int feature);