/openbmc/linux/drivers/rtc/ |
H A D | rtc-cros-ec.c | 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() 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 D | cros-ec-cec.c | 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() 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 D | tegra124-nyan-big-u-boot.dtsi | 21 cros_ec: cros-ec@0 { label
|
H A D | cros-ec-keyboard.dtsi | 13 &cros_ec {
|
H A D | rk3288-veyron-chromebook.dtsi | 99 cros_ec: ec@0 { label
|
/openbmc/linux/arch/arm/boot/dts/ |
H A D | cros-ec-keyboard.dtsi | 11 &cros_ec {
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8183-kukui-jacuzzi-fennel-sku1.dts | 17 label = "cros_ec::kbd_backlight";
|
H A D | mt8183-kukui-jacuzzi.dtsi | 7 /* Must come after mt8183-kukui.dtsi to modify cros_ec */ 90 &cros_ec {
|
H A D | mt8183-kukui-kodama.dtsi | 342 &cros_ec {
|
H A D | mt8183-kukui-krane.dtsi | 346 &cros_ec {
|
H A D | mt8183-kukui-kakadu.dtsi | 375 &cros_ec {
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | Makefile | 12 obj-$(CONFIG_CROS_EC) += cros_ec.o
|
H A D | cros_ec_trace.h | 9 #define TRACE_SYSTEM cros_ec
|
H A D | cros_ec_sensorhub_trace.h | 9 #define TRACE_SYSTEM cros_ec
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7180-trogdor-r1.dts | 11 /* Must come after sc7180-trogdor.dtsi to modify cros_ec */
|
H A D | sc7280-idp-ec-h1.dtsi | 14 cros_ec: ec@0 { label
|
H A D | sc7180-trogdor-quackingstick.dtsi | 49 &cros_ec {
|
H A D | sc7180-trogdor-pompom.dtsi | 9 /* Must come after sc7180-trogdor.dtsi to modify cros_ec */
|
H A D | sc7180-trogdor-coachz.dtsi | 83 &cros_ec {
|
/openbmc/u-boot/arch/sandbox/dts/ |
H A D | sandbox.dts | 26 cros_ec: cros-ec { label 390 &cros_ec {
|
H A D | cros-ec-keyboard.dtsi | 13 &cros_ec {
|
/openbmc/u-boot/drivers/misc/ |
H A D | Makefile | 8 obj-$(CONFIG_CROS_EC) += cros_ec.o
|
/openbmc/linux/sound/soc/amd/ |
H A D | acp3x-rt5682-max9836.c | 296 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 D | rk3288-veyron-chromebook.dtsi | 106 cros_ec: ec@0 { label
|
/openbmc/u-boot/common/ |
H A D | Makefile | 101 obj-$(CONFIG_CROS_EC) += cros_ec.o
|