Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dcros_charge-control.c284 else if (ret & EC_VER_MASK(3)) in cros_chctl_probe()
286 else if (ret & EC_VER_MASK(2)) in cros_chctl_probe()
288 else if (ret & EC_VER_MASK(1)) in cros_chctl_probe()
/linux/drivers/media/cec/platform/cros-ec/
H A Dcros-ec-cec.c427 if (response.version_mask & EC_VER_MASK(1)) { in cros_ec_cec_get_write_cmd_version()
/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c1290 if (resp.version_mask & EC_VER_MASK(2)) in cros_typec_get_cmd_version()
1292 else if (resp.version_mask & EC_VER_MASK(1)) in cros_typec_get_cmd_version()
H A Dcros_ec_proto.c597 ec_dev->host_sleep_v1 = (ret == 0 && (ver_mask & EC_VER_MASK(1))); in cros_ec_query_all()
/linux/include/linux/platform_data/
H A Dcros_ec_commands.h31 #define EC_VER_MASK(version) BIT(version) macro
1086 * @version_mask: Mask of supported versions; use EC_VER_MASK() to compare with
6553 * EC_VER_MASK(0);
6556 * EC_VER_MASK(0);
6559 * EC_VER_MASK(0);