Home
last modified time | relevance | path

Searched refs:ver_mask (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/platform/chrome/
Dcros_ec_proto.c407 u32 ver_mask = 0; in cros_ec_query_all() local
500 &ver_mask); in cros_ec_query_all()
501 if (ret < 0 || ver_mask == 0) in cros_ec_query_all()
504 ec_dev->mkbp_event_supported = fls(ver_mask); in cros_ec_query_all()
512 &ver_mask); in cros_ec_query_all()
513 ec_dev->host_sleep_v1 = (ret >= 0 && (ver_mask & EC_VER_MASK(1))); in cros_ec_query_all()
/Linux-v5.10/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c259 u32 ver_mask, temp; in cros_ec_sensors_core_init() local
279 &ver_mask); in cros_ec_sensors_core_init()
284 state->msg->version = fls(ver_mask) - 1; in cros_ec_sensors_core_init()