Home
last modified time | relevance | path

Searched refs:mkbp_event_supported (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/drivers/platform/chrome/
Dcros_ec_proto.c540 ec_dev->mkbp_event_supported = 0; in cros_ec_query_all()
542 ec_dev->mkbp_event_supported = fls(ver_mask); in cros_ec_query_all()
544 dev_dbg(ec_dev->dev, "MKBP support version %u\n", ec_dev->mkbp_event_supported - 1); in cros_ec_query_all()
716 const int cmd_version = ec_dev->mkbp_event_supported - 1; in get_next_event()
794 if (!ec_dev->mkbp_event_supported) in cros_ec_get_next_event()
821 ec_dev->mkbp_event_supported = fls(ver_mask); in cros_ec_get_next_event()
823 ec_dev->mkbp_event_supported - 1); in cros_ec_get_next_event()
875 if (!ec_dev->mkbp_event_supported) in cros_ec_get_host_event()
Dcros_ec.c270 if (ec_dev->mkbp_event_supported) { in cros_ec_register()
288 if (ec_dev->mkbp_event_supported) in cros_ec_register()
355 while (ec_dev->mkbp_event_supported && in cros_ec_report_events_during_suspend()
Dcros_ec_proto_test.c310 KUNIT_EXPECT_EQ(test, ec_dev->mkbp_event_supported, 7); in cros_ec_proto_test_query_all_normal()
811 ec_dev->mkbp_event_supported = 0xbf; in cros_ec_proto_test_query_all_no_mkbp()
892 KUNIT_EXPECT_EQ(test, ec_dev->mkbp_event_supported, 0); in cros_ec_proto_test_query_all_no_mkbp()
904 ec_dev->mkbp_event_supported = 0xbf; in cros_ec_proto_test_query_all_no_mkbp_return_error()
980 KUNIT_EXPECT_EQ(test, ec_dev->mkbp_event_supported, 0); in cros_ec_proto_test_query_all_no_mkbp_return_error()
992 ec_dev->mkbp_event_supported = 0xbf; in cros_ec_proto_test_query_all_no_mkbp_return0()
1068 KUNIT_EXPECT_EQ(test, ec_dev->mkbp_event_supported, 0); in cros_ec_proto_test_query_all_no_mkbp_return0()
2066 ec_dev->mkbp_event_supported = 0; in cros_ec_proto_test_get_next_event_no_mkbp_event()
2110 ec_dev->mkbp_event_supported = 1; in cros_ec_proto_test_get_next_event_mkbp_event_ec_suspended()
2127 ec_dev->mkbp_event_supported = 1; in cros_ec_proto_test_get_next_event_mkbp_event_version0()
[all …]
Dcros_ec_lpc.c323 if (ec_dev->mkbp_event_supported) in cros_ec_lpc_acpi_notify()
/Linux-v6.1/include/linux/platform_data/
Dcros_ec_proto.h164 u8 mkbp_event_supported; member
/Linux-v6.1/drivers/power/supply/
Dcros_usbpd-charger.c384 if (ec_device->mkbp_event_supported || port->psy_online) in cros_usbpd_charger_get_prop()