Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/firmware/google/
Dgsmi.c138 struct gsmi_buf *smibuf; in gsmi_buf_alloc() local
140 smibuf = kzalloc(sizeof(*smibuf), GFP_KERNEL); in gsmi_buf_alloc()
141 if (!smibuf) { in gsmi_buf_alloc()
147 smibuf->start = dma_pool_alloc(gsmi_dev.dma_pool, GFP_KERNEL, in gsmi_buf_alloc()
148 &smibuf->handle); in gsmi_buf_alloc()
149 if (!smibuf->start) { in gsmi_buf_alloc()
151 kfree(smibuf); in gsmi_buf_alloc()
156 smibuf->length = GSMI_BUF_SIZE; in gsmi_buf_alloc()
157 smibuf->address = (u32)virt_to_phys(smibuf->start); in gsmi_buf_alloc()
159 return smibuf; in gsmi_buf_alloc()
[all …]