Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/rtc/
H A Drtc-cros-ec.c28 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()
116 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_read_alarm() local
[all …]
/openbmc/linux/drivers/media/cec/platform/cros-ec/
H A 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 …]
/openbmc/u-boot/arch/arm/dts/
H A Dtegra124-nyan-big-u-boot.dtsi21 cros_ec: cros-ec@0 { label
H A Dcros-ec-keyboard.dtsi13 &cros_ec {
H A Drk3288-veyron-chromebook.dtsi99 cros_ec: ec@0 { label
/openbmc/linux/arch/arm/boot/dts/
H A Dcros-ec-keyboard.dtsi11 &cros_ec {
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8183-kukui-jacuzzi-fennel-sku1.dts17 label = "cros_ec::kbd_backlight";
H A Dmt8183-kukui-jacuzzi.dtsi7 /* Must come after mt8183-kukui.dtsi to modify cros_ec */
90 &cros_ec {
H A Dmt8183-kukui-kodama.dtsi342 &cros_ec {
H A Dmt8183-kukui-krane.dtsi346 &cros_ec {
H A Dmt8183-kukui-kakadu.dtsi375 &cros_ec {
/openbmc/linux/drivers/platform/chrome/
H A DMakefile12 obj-$(CONFIG_CROS_EC) += cros_ec.o
H A Dcros_ec_trace.h9 #define TRACE_SYSTEM cros_ec
H A Dcros_ec_sensorhub_trace.h9 #define TRACE_SYSTEM cros_ec
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsc7180-trogdor-r1.dts11 /* Must come after sc7180-trogdor.dtsi to modify cros_ec */
H A Dsc7280-idp-ec-h1.dtsi14 cros_ec: ec@0 { label
H A Dsc7180-trogdor-quackingstick.dtsi49 &cros_ec {
H A Dsc7180-trogdor-pompom.dtsi9 /* Must come after sc7180-trogdor.dtsi to modify cros_ec */
H A Dsc7180-trogdor-coachz.dtsi83 &cros_ec {
/openbmc/u-boot/arch/sandbox/dts/
H A Dsandbox.dts26 cros_ec: cros-ec { label
390 &cros_ec {
H A Dcros-ec-keyboard.dtsi13 &cros_ec {
/openbmc/u-boot/drivers/misc/
H A DMakefile8 obj-$(CONFIG_CROS_EC) += cros_ec.o
/openbmc/linux/sound/soc/amd/
H A Dacp3x-rt5682-max9836.c296 SND_SOC_DAILINK_DEF(cros_ec,
344 SND_SOC_DAILINK_REG(acp3x_bt, cros_ec, platform),
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-veyron-chromebook.dtsi106 cros_ec: ec@0 { label
/openbmc/u-boot/common/
H A DMakefile101 obj-$(CONFIG_CROS_EC) += cros_ec.o

123