Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/platform/x86/dell/
Ddcdbas.c46 static struct smi_buffer smi_buf;
54 int dcdbas_smi_alloc(struct smi_buffer *smi_buffer, unsigned long size) in dcdbas_smi_alloc() argument
56 smi_buffer->virt = dma_alloc_coherent(&dcdbas_pdev->dev, size, in dcdbas_smi_alloc()
57 &smi_buffer->dma, GFP_KERNEL); in dcdbas_smi_alloc()
58 if (!smi_buffer->virt) { in dcdbas_smi_alloc()
64 smi_buffer->size = size; in dcdbas_smi_alloc()
67 __func__, (u32)smi_buffer->dma, smi_buffer->size); in dcdbas_smi_alloc()
73 void dcdbas_smi_free(struct smi_buffer *smi_buffer) in dcdbas_smi_free() argument
75 if (!smi_buffer->virt) in dcdbas_smi_free()
79 __func__, (u32)smi_buffer->dma, smi_buffer->size); in dcdbas_smi_free()
[all …]
Ddcdbas.h108 struct smi_buffer { struct
114 int dcdbas_smi_alloc(struct smi_buffer *smi_buffer, unsigned long size); argument
115 void dcdbas_smi_free(struct smi_buffer *smi_buffer);
Ddell-smbios-smm.c23 static struct smi_buffer smi_buf;