Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/xen/
Defi.c41 #define efi_data(op) (op.u.efi_runtime_call) macro
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()
58 tc->sets_to_zero = !!(efi_data(op).misc & in xen_efi_get_time()
62 return efi_data(op).status; 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()
75 return efi_data(op).status; in xen_efi_set_time()
[all …]
/linux-5.19.10/drivers/scsi/isci/
Dprobe_roms.c175 u8 *efi_data; in isci_get_efi_var() local
179 efi_data = devm_kzalloc(&pdev->dev, data_len, GFP_KERNEL); in isci_get_efi_var()
180 if (!efi_data) { in isci_get_efi_var()
186 rom = (struct isci_orom *)(efi_data + sizeof(struct isci_oem_hdr)); in isci_get_efi_var()
193 efi_data); in isci_get_efi_var()
203 oem_hdr = (struct isci_oem_hdr *)efi_data; in isci_get_efi_var()
212 tmp = (u8 *)efi_data; in isci_get_efi_var()
/linux-5.19.10/drivers/input/keyboard/
Dapplespi.c1601 u16 efi_data = 0; in applespi_get_saved_bl_level() local
1612 efi_data_len = sizeof(efi_data); in applespi_get_saved_bl_level()
1614 sts = efivar_entry_get(efivar_entry, NULL, &efi_data_len, &efi_data); in applespi_get_saved_bl_level()
1622 return sts ? sts : efi_data; in applespi_get_saved_bl_level()
1631 u16 efi_data; in applespi_save_bl_level() local
1636 efi_data = (u16)level; in applespi_save_bl_level()
1637 efi_data_len = sizeof(efi_data); in applespi_save_bl_level()
1642 efi_attr, true, efi_data_len, &efi_data); in applespi_save_bl_level()