Home
last modified time | relevance | path

Searched refs:getwakeuptime (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/firmware/efi/test/
H A Defi_test.c339 struct efi_getwakeuptime getwakeuptime; in efi_runtime_get_waketime() local
345 if (copy_from_user(&getwakeuptime, getwakeuptime_user, in efi_runtime_get_waketime()
346 sizeof(getwakeuptime))) in efi_runtime_get_waketime()
350 getwakeuptime.enabled ? (efi_bool_t *)&enabled : NULL, in efi_runtime_get_waketime()
351 getwakeuptime.pending ? (efi_bool_t *)&pending : NULL, in efi_runtime_get_waketime()
352 getwakeuptime.time ? &efi_time : NULL); in efi_runtime_get_waketime()
354 if (put_user(status, getwakeuptime.status)) in efi_runtime_get_waketime()
360 if (getwakeuptime.enabled && put_user(enabled, in efi_runtime_get_waketime()
361 getwakeuptime.enabled)) in efi_runtime_get_waketime()
364 if (getwakeuptime.time) { in efi_runtime_get_waketime()
[all …]