Searched refs:smi_buf (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/platform/x86/dell/ |
D | dcdbas.c | 46 static struct smi_buffer smi_buf; variable 93 if (!smi_buf.virt || wsmt_enabled) in smi_data_buf_free() 96 dcdbas_smi_free(&smi_buf); in smi_data_buf_free() 107 if (smi_buf.size >= size) in smi_data_buf_realloc() 119 if (smi_buf.virt) in smi_data_buf_realloc() 120 memcpy(tmp.virt, smi_buf.virt, smi_buf.size); in smi_data_buf_realloc() 126 smi_buf = tmp; in smi_data_buf_realloc() 135 return sprintf(buf, "%x\n", (u32)smi_buf.dma); in smi_data_buf_phys_addr_show() 142 return sprintf(buf, "%lu\n", smi_buf.size); in smi_data_buf_size_show() 171 ret = memory_read_from_buffer(buf, count, &pos, smi_buf.virt, in smi_data_read() [all …]
|
D | dell-smbios-smm.c | 23 static struct smi_buffer smi_buf; variable 61 command.ebx = smi_buf.dma; in dell_smbios_smm_call() 105 ret = dcdbas_smi_alloc(&smi_buf, PAGE_SIZE); in init_dell_smbios_smm() 108 buffer = (void *)smi_buf.virt; in init_dell_smbios_smm() 143 dcdbas_smi_free(&smi_buf); in init_dell_smbios_smm() 152 dcdbas_smi_free(&smi_buf); in exit_dell_smbios_smm()
|