| /kernel/linux/linux-6.6/drivers/rtc/ |
| D | rtc-cros-ec.c | 22 * @cros_ec: Pointer to EC device 28 struct cros_ec_device *cros_ec; member 34 static int cros_ec_rtc_get(struct cros_ec_device *cros_ec, u32 command, in cros_ec_rtc_get() argument 47 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_rtc_get() 56 static int cros_ec_rtc_set(struct cros_ec_device *cros_ec, u32 command, in cros_ec_rtc_set() argument 70 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_rtc_set() 80 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_read_time() local 84 ret = cros_ec_rtc_get(cros_ec, EC_CMD_RTC_GET_VALUE, &time); in cros_ec_rtc_read_time() 99 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_set_time() local 103 ret = cros_ec_rtc_set(cros_ec, EC_CMD_RTC_SET_VALUE, (u32)time); in cros_ec_rtc_set_time() [all …]
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/cec/platform/cros-ec/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/cec/platform/cros-ec/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/platform/chrome/ |
| D | Kconfig | 64 config CROS_EC config 75 module will be called cros_ec. 79 depends on CROS_EC && I2C 89 depends on CROS_EC && RPMSG && OF 101 depends on CROS_EC 114 depends on CROS_EC && SPI 124 depends on CROS_EC && ACPI && SERIAL_DEV_BUS 134 depends on CROS_EC && ACPI && (X86 || COMPILE_TEST) 152 depends on LEDS_CLASS && (ACPI || CROS_EC) 304 depends on KUNIT && CROS_EC
|
| D | cros_ec_uart.c | 20 #include "cros_ec.h" 54 * @wait_queue: Wait queue EC response where the cros_ec sends request 102 * buffer in din by cros_ec. This will ensure that if EC sends more in cros_ec_uart_rx_bytes() 278 /* Initialize ec_dev for cros_ec */ in cros_ec_uart_probe()
|
| D | Makefile | 12 obj-$(CONFIG_CROS_EC) += cros_ec.o
|
| D | cros_ec_trace.h | 9 #define TRACE_SYSTEM cros_ec
|
| /kernel/linux/linux-5.10/drivers/platform/chrome/ |
| 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)
|
| D | Makefile | 10 obj-$(CONFIG_CROS_EC) += cros_ec.o
|
| D | cros_ec_trace.h | 9 #define TRACE_SYSTEM cros_ec
|
| /kernel/linux/linux-5.10/drivers/platform/chrome/wilco_ec/ |
| D | core.c | 63 /* Initialize cros_ec register interface for communication */ in wilco_ec_probe() 147 /* Teardown cros_ec interface */ in wilco_ec_remove()
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/ |
| D | cros-ec-keyboard.dtsi | 11 &cros_ec {
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/chrome/ |
| D | google,cros-kbd-led-backlight.yaml | 27 cros_ec: ec@0 {
|
| D | google,cros-ec-typec.yaml | 46 cros_ec: ec@0 {
|
| /kernel/linux/linux-5.10/sound/soc/amd/ |
| D | Kconfig | 37 depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/ |
| D | mt8183-kukui-jacuzzi-fennel-sku1.dts | 17 label = "cros_ec::kbd_backlight";
|
| D | mt8183-kukui-jacuzzi.dtsi | 7 /* Must come after mt8183-kukui.dtsi to modify cros_ec */ 88 &cros_ec {
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | google,cros-ec-regulator.yaml | 39 cros_ec: ec@0 {
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | google,cros-ec-regulator.yaml | 39 cros_ec: ec@0 {
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/chrome/ |
| D | google,cros-ec-typec.yaml | 37 cros_ec: ec@0 {
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| D | sc7180-trogdor-r1.dts | 11 /* Must come after sc7180-trogdor.dtsi to modify cros_ec */
|
| /kernel/linux/linux-5.10/drivers/media/cec/platform/ |
| D | Kconfig | 7 depends on CROS_EC
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/remoteproc/ |
| D | mtk,scp.yaml | 121 cros_ec {
|
| /kernel/linux/linux-6.6/drivers/media/cec/platform/ |
| D | Kconfig | 7 depends on CROS_EC
|