Lines Matching refs:u
38 .u.efi_runtime_call.function = XEN_EFI_##name, \
39 .u.efi_runtime_call.misc = 0}
41 #define efi_data(op) (op.u.efi_runtime_call)
51 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time)); in xen_efi_get_time()
52 memcpy(tm, &efi_data(op).u.get_time.time, sizeof(*tm)); in xen_efi_get_time()
56 tc->resolution = efi_data(op).u.get_time.resolution; in xen_efi_get_time()
57 tc->accuracy = efi_data(op).u.get_time.accuracy; in xen_efi_get_time()
69 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_time)); in xen_efi_set_time()
70 memcpy(&efi_data(op).u.set_time, tm, sizeof(*tm)); in xen_efi_set_time()
88 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_wakeup_time)); in xen_efi_get_wakeup_time()
89 memcpy(tm, &efi_data(op).u.get_wakeup_time, sizeof(*tm)); in xen_efi_get_wakeup_time()
105 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_wakeup_time)); in xen_efi_set_wakeup_time()
109 memcpy(&efi_data(op).u.set_wakeup_time, tm, sizeof(*tm)); in xen_efi_set_wakeup_time()
125 set_xen_guest_handle(efi_data(op).u.get_variable.name, name); in xen_efi_get_variable()
127 sizeof(efi_data(op).u.get_variable.vendor_guid)); in xen_efi_get_variable()
128 memcpy(&efi_data(op).u.get_variable.vendor_guid, vendor, sizeof(*vendor)); in xen_efi_get_variable()
129 efi_data(op).u.get_variable.size = *data_size; in xen_efi_get_variable()
130 set_xen_guest_handle(efi_data(op).u.get_variable.data, data); in xen_efi_get_variable()
135 *data_size = efi_data(op).u.get_variable.size; in xen_efi_get_variable()
148 efi_data(op).u.get_next_variable_name.size = *name_size; in xen_efi_get_next_variable()
149 set_xen_guest_handle(efi_data(op).u.get_next_variable_name.name, name); in xen_efi_get_next_variable()
151 sizeof(efi_data(op).u.get_next_variable_name.vendor_guid)); in xen_efi_get_next_variable()
152 memcpy(&efi_data(op).u.get_next_variable_name.vendor_guid, vendor, in xen_efi_get_next_variable()
158 *name_size = efi_data(op).u.get_next_variable_name.size; in xen_efi_get_next_variable()
159 memcpy(vendor, &efi_data(op).u.get_next_variable_name.vendor_guid, in xen_efi_get_next_variable()
171 set_xen_guest_handle(efi_data(op).u.set_variable.name, name); in xen_efi_set_variable()
174 sizeof(efi_data(op).u.set_variable.vendor_guid)); in xen_efi_set_variable()
175 memcpy(&efi_data(op).u.set_variable.vendor_guid, vendor, sizeof(*vendor)); in xen_efi_set_variable()
176 efi_data(op).u.set_variable.size = data_size; in xen_efi_set_variable()
177 set_xen_guest_handle(efi_data(op).u.set_variable.data, data); in xen_efi_set_variable()
194 efi_data(op).u.query_variable_info.attr = attr; in xen_efi_query_variable_info()
199 *storage_space = efi_data(op).u.query_variable_info.max_store_size; in xen_efi_query_variable_info()
200 *remaining_space = efi_data(op).u.query_variable_info.remain_store_size; in xen_efi_query_variable_info()
201 *max_variable_size = efi_data(op).u.query_variable_info.max_size; in xen_efi_query_variable_info()
226 set_xen_guest_handle(efi_data(op).u.update_capsule.capsule_header_array, in xen_efi_update_capsule()
228 efi_data(op).u.update_capsule.capsule_count = count; in xen_efi_update_capsule()
229 efi_data(op).u.update_capsule.sg_list = sg_list; in xen_efi_update_capsule()
245 set_xen_guest_handle(efi_data(op).u.query_capsule_capabilities.capsule_header_array, in xen_efi_query_capsule_caps()
247 efi_data(op).u.query_capsule_capabilities.capsule_count = count; in xen_efi_query_capsule_caps()
252 *max_size = efi_data(op).u.query_capsule_capabilities.max_capsule_size; in xen_efi_query_capsule_caps()
253 *reset_type = efi_data(op).u.query_capsule_capabilities.reset_type; in xen_efi_query_capsule_caps()