Searched refs:cros_ec (Results 1 – 6 of 6) sorted by relevance
/drivers/rtc/ |
D | rtc-cros-ec.c | 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() 107 struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; in cros_ec_rtc_set_time() local [all …]
|
/drivers/media/cec/platform/cros-ec/ |
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 …]
|
/drivers/platform/chrome/ |
D | Makefile | 10 obj-$(CONFIG_CROS_EC) += cros_ec.o
|
D | cros_ec_trace.h | 9 #define TRACE_SYSTEM cros_ec
|
D | cros_ec_sensorhub_trace.h | 9 #define TRACE_SYSTEM cros_ec
|
D | Kconfig | 64 module will be called cros_ec.
|