Home
last modified time | relevance | path

Searched refs:cros_ec (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/rtc/
Drtc-cros-ec.c26 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()
107 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_set_time() local
[all …]
/kernel/linux/linux-5.10/drivers/media/cec/platform/cros-ec/
Dcros-ec-cec.c34 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()
86 if (cros_ec->event_data.event_type == EC_MKBP_EVENT_CEC_MESSAGE) { in cros_ec_cec_event()
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/
DMakefile10 obj-$(CONFIG_CROS_EC) += cros_ec.o
Dcros_ec_trace.h9 #define TRACE_SYSTEM cros_ec
Dcros_ec_sensorhub_trace.h9 #define TRACE_SYSTEM cros_ec
DKconfig64 module will be called cros_ec.
/kernel/linux/linux-5.10/sound/soc/amd/
Dacp3x-rt5682-max9836.c283 SND_SOC_DAILINK_DEF(cros_ec,
331 SND_SOC_DAILINK_REG(acp3x_bt, cros_ec, platform),
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dcros-ec-keyboard.dtsi10 &cros_ec {
Drk3288-veyron-chromebook.dtsi106 cros_ec: ec@0 { label
Dexynos5250-spring.dts379 cros_ec: embedded-controller@1e { label
Dexynos5250-snow-common.dtsi86 cros_ec: embedded-controller@1e { label
Dtegra124-nyan.dtsi332 cros_ec: cros-ec@0 { label
Dexynos5800-peach-pi.dts945 cros_ec: cros-ec@0 { label
Dexynos5420-peach-pit.dts963 cros_ec: cros-ec@0 { label
Dtegra124-venice2.dts851 cros_ec: cros-ec@0 { label
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/
Dmt8183-kukui.dtsi678 cros_ec {
725 cros_ec: cros-ec@0 { label
Dmt8173-elm.dtsi1127 cros_ec: ec@0 { label
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Drk3399-gru-chromebook.dtsi296 &cros_ec {
Drk3399-gru-scarlet.dtsi314 &cros_ec {
Drk3399-gru.dtsi564 cros_ec: ec@0 { label
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor.dtsi218 label = "cros_ec::kbd_backlight";
517 cros_ec: ec@0 { label
Dsdm845-cheza.dtsi686 cros_ec: ec@0 { label
/kernel/linux/linux-5.10/
DMAINTAINERS4187 N: cros_ec