Home
last modified time | relevance | path

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

123

/Linux-v5.15/drivers/rtc/
Drtc-cros-ec.c20 * @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 …]
/Linux-v5.15/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()
55 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in handle_cec_event() local
56 uint32_t events = cros_ec->event_data.data.cec_events; in handle_cec_event()
74 struct cros_ec_device *cros_ec; in cros_ec_cec_event() local
77 cros_ec = cros_ec_cec->cros_ec; in cros_ec_cec_event()
79 if (cros_ec->event_data.event_type == EC_MKBP_EVENT_CEC_EVENT) { in cros_ec_cec_event()
[all …]
/Linux-v5.15/drivers/platform/chrome/
DKconfig53 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)
DMakefile9 obj-$(CONFIG_CROS_EC) += cros_ec.o
Dcros_ec_ishtp.c17 #include "cros_ec.h"
423 * Unlink and free cros_ec client
440 * @msg: cros_ec command used to send & receive data
Dcros_ec_trace.h9 #define TRACE_SYSTEM cros_ec
Dcros_ec_lightbar.c539 * Only instantiate the lightbar if the EC name is 'cros_ec'. Other EC in cros_ec_lightbar_probe()
546 * Ask then for the lightbar version, if it's 0 then the 'cros_ec' in cros_ec_lightbar_probe()
Dcros_usbpd_notify.c5 * This driver serves as the receiver of cros_ec PD host events.
Dcros_ec_rpmsg.c16 #include "cros_ec.h"
/Linux-v5.15/drivers/platform/chrome/wilco_ec/
Dcore.c63 /* Initialize cros_ec register interface for communication */ in wilco_ec_probe()
147 /* Teardown cros_ec interface */ in wilco_ec_remove()
Dmailbox.c11 * cros_ec device type.
/Linux-v5.15/arch/arm/boot/dts/
Dcros-ec-keyboard.dtsi11 &cros_ec {
Drk3288-veyron-chromebook.dtsi106 cros_ec: ec@0 { label
/Linux-v5.15/arch/arm64/boot/dts/mediatek/
Dmt8183-kukui-jacuzzi-fennel-sku1.dts16 label = "cros_ec::kbd_backlight";
Dmt8183-kukui-jacuzzi.dtsi95 &cros_ec {
Dmt8183-kukui.dtsi755 cros_ec {
806 cros_ec: cros-ec@0 { label
/Linux-v5.15/sound/soc/amd/
DKconfig39 depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC
Dacp3x-rt5682-max9836.c283 SND_SOC_DAILINK_DEF(cros_ec,
331 SND_SOC_DAILINK_REG(acp3x_bt, cros_ec, platform),
/Linux-v5.15/Documentation/devicetree/bindings/regulator/
Dgoogle,cros-ec-regulator.yaml39 cros_ec: ec@0 {
/Linux-v5.15/Documentation/devicetree/bindings/chrome/
Dgoogle,cros-ec-typec.yaml37 cros_ec: ec@0 {
/Linux-v5.15/drivers/media/cec/platform/
DKconfig7 depends on CROS_EC
/Linux-v5.15/drivers/iio/proximity/
DKconfig26 depends on CROS_EC
/Linux-v5.15/sound/soc/mediatek/
DKconfig131 select SND_SOC_CROS_EC_CODEC if CROS_EC
/Linux-v5.15/drivers/extcon/
DKconfig176 depends on CROS_EC
/Linux-v5.15/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-coachz.dtsi87 &cros_ec {

123