Home
last modified time | relevance | path

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

/linux/Documentation/devicetree/bindings/iio/proximity/
H A 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/drivers/iio/proximity/
H A Dcros_ec_mkbp_proximity.c3 * Driver for cros-ec proximity sensor exposed through MKBP switch
252 { .compatible = "google,cros-ec-mkbp-proximity" },
259 .name = "cros-ec-mkbp-proximity",
269 MODULE_DESCRIPTION("ChromeOS EC MKBP proximity sensor driver");
H A DKconfig25 tristate "ChromeOS EC MKBP Proximity sensor"
28 Say Y here to enable the proximity sensor implemented via the ChromeOS EC MKBP
/linux/include/linux/platform_data/
H A 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.
H A 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 */
5692 /* Utility macro for converting MKBP event to port number. */
/linux/drivers/platform/chrome/
H A 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 …]
H A Dcros_ec_proto.c536 /* Probe if MKBP event is supported */ in cros_ec_query_all()
543 dev_dbg(ec_dev->dev, "MKBP support version %u\n", ec_dev->mkbp_event_supported - 1); in cros_ec_query_all()
823 * Do not change the MKBP supported version if we can't in cros_ec_get_next_event()
832 dev_dbg(ec_dev->dev, "MKBP support version changed to %u\n", in cros_ec_get_next_event()
835 /* Try to get next event with new MKBP support version set. */ in cros_ec_get_next_event()
875 * When MKBP is supported, when the EC raises an interrupt, we collect the
H A Dcros_usbpd_notify.c32 * "GOOG0003" ACPI device. On non-ACPI platforms this will filter mkbp events
H A 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()
H A Dcros_ec_chardev.c211 if (priv->event_mask) { /* queued MKBP event */ in cros_ec_chardev_read()
H A Dcros_ec.c290 * Unlock EC that may be waiting for AP to process MKBP events. in cros_ec_register()
H A Dcros_ec_lpc.c598 * Connect a notify handler to process MKBP messages if we have a in cros_ec_lpc_probe()
/linux/Documentation/devicetree/bindings/mfd/
H A Dgoogle,cros-ec.yaml118 $ref: /schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml#
287 compatible = "google,cros-ec-mkbp-proximity";
/linux/arch/arm64/boot/dts/qcom/
H A Dsc7180-trogdor-coachz.dtsi84 compatible = "google,cros-ec-mkbp-proximity";
/linux/drivers/media/cec/platform/cros-ec/
H A Dcros-ec-cec.c80 * cec_message MKBP event. in handle_cec_message()