Lines Matching refs:cros_ec

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()
84 if (cros_ec->event_data.event_type == EC_MKBP_EVENT_CEC_MESSAGE) { in cros_ec_cec_event()
95 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in cros_ec_cec_set_log_addr() local
107 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_cec_set_log_addr()
109 dev_err(cros_ec->dev, in cros_ec_cec_set_log_addr()
121 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in cros_ec_cec_transmit() local
132 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_cec_transmit()
134 dev_err(cros_ec->dev, in cros_ec_cec_transmit()
145 struct cros_ec_device *cros_ec = cros_ec_cec->cros_ec; in cros_ec_cec_adap_enable() local
157 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_cec_adap_enable()
159 dev_err(cros_ec->dev, in cros_ec_cec_adap_enable()
181 enable_irq_wake(cros_ec_cec->cros_ec->irq); in cros_ec_cec_suspend()
192 disable_irq_wake(cros_ec_cec->cros_ec->irq); in cros_ec_cec_resume()
262 struct cros_ec_device *cros_ec = ec_dev->ec_dev; in cros_ec_cec_probe() local
278 cros_ec_cec->cros_ec = cros_ec; in cros_ec_cec_probe()
298 ret = blocking_notifier_chain_register(&cros_ec->event_notifier, in cros_ec_cec_probe()
326 &cros_ec_cec->cros_ec->event_notifier, in cros_ec_cec_remove()