Lines Matching refs:event_data
260 switch (ckdev->ec->event_data.event_type) { in cros_ec_keyb_work()
271 ckdev->ec->event_data.data.key_matrix, in cros_ec_keyb_work()
278 val = get_unaligned_le32(&ckdev->ec->event_data.data.sysrq); in cros_ec_keyb_work()
287 if (ckdev->ec->event_data.event_type == EC_MKBP_EVENT_BUTTON) { in cros_ec_keyb_work()
289 &ckdev->ec->event_data.data.buttons); in cros_ec_keyb_work()
293 &ckdev->ec->event_data.data.switches); in cros_ec_keyb_work()
407 union ec_response_get_next_data event_data = {}; in cros_ec_keyb_query_switches() local
411 EC_MKBP_EVENT_SWITCH, &event_data, in cros_ec_keyb_query_switches()
412 sizeof(event_data.switches)); in cros_ec_keyb_query_switches()
417 get_unaligned_le32(&event_data.switches)); in cros_ec_keyb_query_switches()
463 union ec_response_get_next_data event_data = {}; in cros_ec_keyb_register_bs() local
471 EC_MKBP_EVENT_BUTTON, &event_data, in cros_ec_keyb_register_bs()
472 sizeof(event_data.buttons)); in cros_ec_keyb_register_bs()
475 buttons = get_unaligned_le32(&event_data.buttons); in cros_ec_keyb_register_bs()
478 EC_MKBP_EVENT_SWITCH, &event_data, in cros_ec_keyb_register_bs()
479 sizeof(event_data.switches)); in cros_ec_keyb_register_bs()
482 switches = get_unaligned_le32(&event_data.switches); in cros_ec_keyb_register_bs()