Home
last modified time | relevance | path

Searched refs:EC_VER_MASK (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c1114 if (resp.version_mask & EC_VER_MASK(2)) in cros_typec_get_cmd_version()
1116 else if (resp.version_mask & EC_VER_MASK(1)) in cros_typec_get_cmd_version()
H A Dcros_ec_debugfs.c342 response->version_mask & EC_VER_MASK(1); in ec_read_version_supported()
H A Dcros_ec_proto.c549 ec_dev->host_sleep_v1 = (ret == 0 && (ver_mask & EC_VER_MASK(1))); in cros_ec_query_all()
/openbmc/u-boot/include/
H A Dec_commands.h40 #define EC_VER_MASK(version) (1UL << (version)) macro
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_commands.h31 #define EC_VER_MASK(version) BIT(version) macro