Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/input/keyboard/
Dapplespi.c1601 u16 efi_data = 0; in applespi_get_saved_bl_level() local
1602 unsigned long efi_data_len = sizeof(efi_data); in applespi_get_saved_bl_level()
1606 NULL, &efi_data_len, &efi_data); in applespi_get_saved_bl_level()
1612 return sts != EFI_SUCCESS ? -ENODEV : efi_data; in applespi_get_saved_bl_level()
1620 u16 efi_data; in applespi_save_bl_level() local
1622 efi_data = (u16)level; in applespi_save_bl_level()
1628 efi_attr, sizeof(efi_data), &efi_data); in applespi_save_bl_level()
/linux-6.1.9/sound/pci/hda/
Dcs35l41_hda.c353 const struct cs35l41_amp_efi_data *efi_data; in cs35l41_save_calibration() local
372 efi_data = (struct cs35l41_amp_efi_data *)data; in cs35l41_save_calibration()
374 efi_data->size, efi_data->count); in cs35l41_save_calibration()
375 if (efi_data->count > cs35l41->index) { in cs35l41_save_calibration()
376 cl = &efi_data->data[cs35l41->index]; in cs35l41_save_calibration()