| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A D | rtc-cros-ec.c | 20 * @cros_ec: Pointer to EC device 26 struct cros_ec_device *cros_ec; member 32 static int cros_ec_rtc_get(struct cros_ec_device *cros_ec, u32 command, in cros_ec_rtc_get() argument 45 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_rtc_get() 47 dev_err(cros_ec->dev, in cros_ec_rtc_get() 59 static int cros_ec_rtc_set(struct cros_ec_device *cros_ec, u32 command, in cros_ec_rtc_set() argument 73 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_rtc_set() 75 dev_err(cros_ec->dev, "error setting %s on EC: %d\n", in cros_ec_rtc_set() 88 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_read_time() local 92 ret = cros_ec_rtc_get(cros_ec, EC_CMD_RTC_GET_VALUE, &time); in cros_ec_rtc_read_time() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/cec/platform/cros-ec/ |
| H A D | cros-ec-cec.c | 27 * @cros_ec: Pointer to EC device 34 struct cros_ec_device *cros_ec; member 43 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in handle_cec_message() local 44 uint8_t *cec_message = cros_ec->event_data.data.cec_message; in handle_cec_message() 45 unsigned int len = cros_ec->event_size; in handle_cec_message() 57 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in handle_cec_event() local 58 uint32_t events = cros_ec->event_data.data.cec_events; in handle_cec_event() 76 struct cros_ec_device *cros_ec; in cros_ec_cec_event() local 79 cros_ec = cros_ec_cec->cros_ec; in cros_ec_cec_event() 81 if (cros_ec->event_data.event_type == EC_MKBP_EVENT_CEC_EVENT) { in cros_ec_cec_event() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/misc/ |
| H A D | cros_ec_lpc.c | 2 * Chromium OS cros_ec driver - LPC interface 19 #include <cros_ec.h> 35 debug("%s: Timeout waiting for CROS_EC sync\n", in wait_for_sync() 103 debug("%s: CROS_EC result code %d\n", __func__, i); in cros_ec_lpc_command() 117 debug("%s: CROS_EC protocol mismatch\n", __func__); in cros_ec_lpc_command() 122 debug("%s: CROS_EC returned too much data %d > %d\n", in cros_ec_lpc_command() 140 debug("%s: CROS_EC response has invalid checksum\n", __func__); in cros_ec_lpc_command() 152 * @param dev CROS_EC device 167 debug("%s: CROS_EC device not found on LPC bus\n", in cros_ec_lpc_init()
|
| H A D | Kconfig | 109 depends on CROS_EC 117 config CROS_EC config 128 depends on CROS_EC 137 depends on CROS_EC 146 depends on CROS_EC && SANDBOX 155 depends on CROS_EC
|
| H A D | cros_ec_spi.c | 2 * Chromium OS cros_ec driver - SPI interface 17 #include <cros_ec.h> 68 * Send a command to a LPC CROS_EC device and return the reply. 72 * @param dev CROS_EC device
|
| H A D | cros_ec_sandbox.c | 2 * Chromium OS cros_ec driver - sandbox emulation 10 #include <cros_ec.h> 152 SANDBOX_STATE_IO(cros_ec, "google,cros-ec", cros_ec_read_state, 538 debug("%s: No cros_ec keyboard found\n", __func__); in cros_ec_probe()
|
| H A D | cros_ec_i2c.c | 2 * Chromium OS cros_ec driver - I2C interface 19 #include <cros_ec.h>
|
| H A D | cros_ec.c | 2 * Chromium OS cros_ec driver 21 #include <cros_ec.h> 1017 /* Remember this device for use by the cros_ec command */ in cros_ec_register() 1141 UCLASS_DRIVER(cros_ec) = { 1143 .name = "cros_ec",
|
| /OK3568_Linux_fs/kernel/drivers/platform/chrome/ |
| H A D | Kconfig | 53 config CROS_EC config 64 module will be called cros_ec. 68 depends on CROS_EC && I2C 78 depends on CROS_EC && RPMSG && OF 90 depends on CROS_EC 103 depends on CROS_EC && SPI 113 depends on CROS_EC && ACPI && (X86 || COMPILE_TEST)
|
| H A D | Makefile | 10 obj-$(CONFIG_CROS_EC) += cros_ec.o
|
| H A D | cros_ec_trace.h | 9 #define TRACE_SYSTEM cros_ec
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/misc/ |
| H A D | cros-ec.txt | 1 Chrome OS CROS_EC Binding 4 The device tree node which describes the operation of the CROS_EC interface 21 The CROS_EC node should appear as a subnode of the interrupt that connects it
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | cros_ec.h | 2 * Chromium OS cros_ec driver 143 * @param cros_ecp Returns pointer to the cros_ec device, or NULL if none 144 * @return 0 if we got an cros_ec device and all is well (or no cros_ec is 145 * expected), -ve if we should have an cros_ec device but failed to find 194 * Run internal tests on the cros_ec interface.
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | cros_ec.c | 2 * Chromium OS cros_ec driver 12 #include <cros_ec.h> 116 printf("Could not init cros_ec device (err %d)\n", ret); in do_cros_ec() 386 "crosec test run tests on cros_ec\n"
|
| /OK3568_Linux_fs/kernel/drivers/platform/chrome/wilco_ec/ |
| H A D | core.c | 63 /* Initialize cros_ec register interface for communication */ in wilco_ec_probe() 147 /* Teardown cros_ec interface */ in wilco_ec_remove()
|
| /OK3568_Linux_fs/u-boot/drivers/i2c/ |
| H A D | Kconfig | 30 depends on CROS_EC 40 depends on CROS_EC
|
| H A D | cros_ec_tunnel.c | 10 #include <cros_ec.h>
|
| H A D | cros_ec_ldo.c | 10 #include <cros_ec.h>
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | tegra124-nyan-big-u-boot.dtsi | 20 cros_ec: cros-ec@0 { label
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | cros_ec.c | 12 #include <cros_ec.h>
|
| /OK3568_Linux_fs/kernel/sound/soc/amd/ |
| H A D | Kconfig | 37 depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/ |
| H A D | google,cros-ec-regulator.yaml | 39 cros_ec: ec@0 {
|
| /OK3568_Linux_fs/u-boot/board/sandbox/ |
| H A D | sandbox.c | 7 #include <cros_ec.h>
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/chrome/ |
| H A D | google,cros-ec-typec.yaml | 37 cros_ec: ec@0 {
|
| /OK3568_Linux_fs/kernel/drivers/media/cec/platform/ |
| H A D | Kconfig | 7 depends on CROS_EC
|