Searched refs:efi_data (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/xen/ |
D | efi.c | 42 #define efi_data(op) (op.u.efi_runtime_call) macro 52 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time)); in xen_efi_get_time() 53 memcpy(tm, &efi_data(op).u.get_time.time, sizeof(*tm)); in xen_efi_get_time() 57 tc->resolution = efi_data(op).u.get_time.resolution; in xen_efi_get_time() 58 tc->accuracy = efi_data(op).u.get_time.accuracy; in xen_efi_get_time() 59 tc->sets_to_zero = !!(efi_data(op).misc & in xen_efi_get_time() 63 return efi_data(op).status; in xen_efi_get_time() 70 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_time)); in xen_efi_set_time() 71 memcpy(&efi_data(op).u.set_time, tm, sizeof(*tm)); in xen_efi_set_time() 76 return efi_data(op).status; in xen_efi_set_time() [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | cs-amp-lib.c | 119 struct cirrus_amp_efi_data *efi_data; in cs_amp_get_cal_efi_buffer() local 130 if (data_size < sizeof(*efi_data)) { in cs_amp_get_cal_efi_buffer() 146 efi_data = (struct cirrus_amp_efi_data *)data; in cs_amp_get_cal_efi_buffer() 147 dev_dbg(dev, "Calibration: Size=%d, Amp Count=%d\n", efi_data->size, efi_data->count); in cs_amp_get_cal_efi_buffer() 149 if ((efi_data->count > 128) || in cs_amp_get_cal_efi_buffer() 150 offsetof(struct cirrus_amp_efi_data, data[efi_data->count]) > data_size) { in cs_amp_get_cal_efi_buffer() 156 return efi_data; in cs_amp_get_cal_efi_buffer() 173 struct cirrus_amp_efi_data *efi_data; in _cs_amp_get_efi_calibration_data() local 177 efi_data = cs_amp_get_cal_efi_buffer(dev); in _cs_amp_get_efi_calibration_data() 178 if (IS_ERR(efi_data)) in _cs_amp_get_efi_calibration_data() [all …]
|
/linux-6.12.1/drivers/scsi/isci/ |
D | probe_roms.c | 175 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.12.1/drivers/input/keyboard/ |
D | applespi.c | 1600 u16 efi_data = 0; in applespi_get_saved_bl_level() local 1601 unsigned long efi_data_len = sizeof(efi_data); in applespi_get_saved_bl_level() 1605 NULL, &efi_data_len, &efi_data); in applespi_get_saved_bl_level() 1611 return sts != EFI_SUCCESS ? -ENODEV : efi_data; in applespi_get_saved_bl_level() 1619 u16 efi_data; in applespi_save_bl_level() local 1621 efi_data = (u16)level; in applespi_save_bl_level() 1627 efi_attr, sizeof(efi_data), &efi_data); in applespi_save_bl_level()
|