Lines Matching refs:event_data
701 ec_dev->event_data = *event; in get_next_event_xfer()
743 sizeof(ec_dev->event_data.data)]; in get_keyboard_state_event()
748 msg->insize = sizeof(ec_dev->event_data.data); in get_keyboard_state_event()
752 ec_dev->event_data.event_type = EC_MKBP_EVENT_KEY_MATRIX; in get_keyboard_state_event()
753 memcpy(&ec_dev->event_data.data, msg->data, in get_keyboard_state_event()
754 sizeof(ec_dev->event_data.data)); in get_keyboard_state_event()
843 *has_more_events = ec_dev->event_data.event_type & in cros_ec_get_next_event()
845 ec_dev->event_data.event_type &= EC_MKBP_EVENT_TYPE_MASK; in cros_ec_get_next_event()
848 event_type = ec_dev->event_data.event_type; in cros_ec_get_next_event()
888 if (ec_dev->event_data.event_type != EC_MKBP_EVENT_HOST_EVENT) in cros_ec_get_host_event()
896 host_event = get_unaligned_le32(&ec_dev->event_data.data.host_event); in cros_ec_get_host_event()