Home
last modified time | relevance | path

Searched full:mkbp (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/Documentation/devicetree/bindings/iio/proximity/
Dgoogle,cros-ec-mkbp-proximity.yaml4 $id: http://devicetree.org/schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml#
7 title: ChromeOS EC MKBP Proximity Sensor
16 via an MKBP switch bit.
20 const: google,cros-ec-mkbp-proximity
33 compatible = "google,cros-ec-mkbp-proximity";
/Linux-v6.6/drivers/iio/proximity/
Dcros_ec_mkbp_proximity.c3 * Driver for cros-ec proximity sensor exposed through MKBP switch
254 { .compatible = "google,cros-ec-mkbp-proximity" },
261 .name = "cros-ec-mkbp-proximity",
271 MODULE_DESCRIPTION("ChromeOS EC MKBP proximity sensor driver");
DKconfig25 tristate "ChromeOS EC MKBP Proximity sensor"
28 Say Y here to enable the proximity sensor implemented via the ChromeOS EC MKBP
/Linux-v6.6/include/linux/platform_data/
Dcros_ec_proto.h129 * @mkbp_event_supported: 0 if MKBP not supported. Otherwise its value is
130 * the maximum supported version of the MKBP host event
134 * @event_data: Raw payload transferred with the MKBP event.
Dcros_ec_commands.h551 /* Emulate MKBP event */
2338 * Allow the FIFO to trigger interrupt via MKBP events.
3149 /* MKBP - Matrix KeyBoard Protocol */
3164 * Provide information about various MKBP things. See enum ec_mkbp_info_type.
3351 * Get the next pending MKBP event.
3361 * that the EC has more MKBP events available to provide.
3408 /* Number of MKBP events */
5559 /* Utility macro for converting MKBP event to port number. */
/Linux-v6.6/drivers/platform/chrome/
Dcros_ec_proto_test.c224 /* For cros_ec_get_host_command_version_mask() for MKBP. */ in cros_ec_proto_test_query_all_normal()
295 /* For cros_ec_get_host_command_version_mask() for MKBP. */ in cros_ec_proto_test_query_all_normal()
836 /* For cros_ec_get_host_command_version_mask() for MKBP. */ in cros_ec_proto_test_query_all_no_mkbp()
877 /* For cros_ec_get_host_command_version_mask() for MKBP. */ in cros_ec_proto_test_query_all_no_mkbp()
929 /* For cros_ec_get_host_command_version_mask() for MKBP. */ in cros_ec_proto_test_query_all_no_mkbp_return_error()
965 /* For cros_ec_get_host_command_version_mask() for MKBP. */ in cros_ec_proto_test_query_all_no_mkbp_return_error()
1017 /* For cros_ec_get_host_command_version_mask() for MKBP. */ in cros_ec_proto_test_query_all_no_mkbp_return0()
1053 /* For cros_ec_get_host_command_version_mask() for MKBP. */ in cros_ec_proto_test_query_all_no_mkbp_return0()
1105 /* For cros_ec_get_host_command_version_mask() for MKBP. */ in cros_ec_proto_test_query_all_no_host_sleep()
1152 /* For cros_ec_get_host_command_version_mask() for MKBP. */ in cros_ec_proto_test_query_all_no_host_sleep()
[all …]
Dcros_ec_proto.c537 /* Probe if MKBP event is supported */ 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()
813 * Do not change the MKBP supported version if we can't in cros_ec_get_next_event()
822 dev_dbg(ec_dev->dev, "MKBP support version changed to %u\n", in cros_ec_get_next_event()
825 /* Try to get next event with new MKBP support version set. */ in cros_ec_get_next_event()
865 * When MKBP is supported, when the EC raises an interrupt, we collect the
Dcros_usbpd_notify.c31 * "GOOG0003" ACPI device. On non-ACPI platforms this will filter mkbp events
Dcros_ec_ishtp.c25 * The MKBP ISH->AP events are serialized. We need one additional RX
323 * got an incoming MKBP event in process_recv()
Dcros_ec_chardev.c210 if (priv->event_mask) { /* queued MKBP event */ in cros_ec_chardev_read()
Dcros_ec.c290 * Unlock EC that may be waiting for AP to process MKBP events. in cros_ec_register()
Dcros_ec_lpc.c446 * Connect a notify handler to process MKBP messages if we have a in cros_ec_lpc_probe()
/Linux-v6.6/Documentation/devicetree/bindings/mfd/
Dgoogle,cros-ec.yaml113 $ref: /schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml#
280 compatible = "google,cros-ec-mkbp-proximity";
/Linux-v6.6/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-coachz.dtsi89 compatible = "google,cros-ec-mkbp-proximity";