Home
last modified time | relevance | path

Searched full:cros_ec (Results 1 – 25 of 70) sorted by relevance

123

/Linux-v6.6/drivers/rtc/
Drtc-cros-ec.c22 * @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 …]
/Linux-v6.6/drivers/media/cec/platform/cros-ec/
Dcros-ec-cec.c27 * @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 …]
/Linux-v6.6/drivers/platform/chrome/
DKconfig64 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
Dcros_ec_uart.c20 #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()
292 /* Initialize ec_dev for cros_ec */ in cros_ec_uart_probe()
DMakefile12 obj-$(CONFIG_CROS_EC) += cros_ec.o
Dcros_ec_trace.h9 #define TRACE_SYSTEM cros_ec
Dcros_kunit_util.c13 #include "cros_ec.h"
Dcros_ec_sensorhub_trace.h9 #define TRACE_SYSTEM cros_ec
Dcros_ec_ishtp.c17 #include "cros_ec.h"
426 * Unlink and free cros_ec client
443 * @msg: cros_ec command used to send & receive data
/Linux-v6.6/arch/arm/boot/dts/
Dcros-ec-keyboard.dtsi11 &cros_ec {
/Linux-v6.6/Documentation/devicetree/bindings/chrome/
Dgoogle,cros-kbd-led-backlight.yaml27 cros_ec: ec@0 {
Dgoogle,cros-ec-typec.yaml46 cros_ec: ec@0 {
/Linux-v6.6/arch/arm64/boot/dts/mediatek/
Dmt8183-kukui-jacuzzi-fennel-sku1.dts17 label = "cros_ec::kbd_backlight";
Dmt8183-kukui-jacuzzi.dtsi7 /* Must come after mt8183-kukui.dtsi to modify cros_ec */
84 &cros_ec {
Dmt8183-kukui-kodama.dtsi342 &cros_ec {
Dmt8183-kukui-krane.dtsi346 &cros_ec {
/Linux-v6.6/Documentation/devicetree/bindings/regulator/
Dgoogle,cros-ec-regulator.yaml39 cros_ec: ec@0 {
/Linux-v6.6/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-r1.dts11 /* Must come after sc7180-trogdor.dtsi to modify cros_ec */
Dsc7280-idp-ec-h1.dtsi14 cros_ec: ec@0 { label
Dsc7180-trogdor-quackingstick.dtsi49 &cros_ec {
/Linux-v6.6/Documentation/devicetree/bindings/remoteproc/
Dmtk,scp.yaml121 cros_ec {
/Linux-v6.6/drivers/media/cec/platform/
DKconfig7 depends on CROS_EC
/Linux-v6.6/sound/soc/amd/
DKconfig53 depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC && GPIOLIB
/Linux-v6.6/drivers/extcon/
DKconfig180 depends on CROS_EC
/Linux-v6.6/drivers/iio/proximity/
DKconfig26 depends on CROS_EC

123