Lines Matching refs:smi_data_buf
43 static u8 *smi_data_buf; variable
62 if (!smi_data_buf || wsmt_enabled) in smi_data_buf_free()
68 dma_free_coherent(&dcdbas_pdev->dev, smi_data_buf_size, smi_data_buf, in smi_data_buf_free()
70 smi_data_buf = NULL; in smi_data_buf_free()
100 if (smi_data_buf) in smi_data_buf_realloc()
101 memcpy(buf, smi_data_buf, smi_data_buf_size); in smi_data_buf_realloc()
107 smi_data_buf = buf; in smi_data_buf_realloc()
158 ret = memory_read_from_buffer(buf, count, &pos, smi_data_buf, in smi_data_read()
179 memcpy(smi_data_buf + pos, buf, count); in smi_data_write()
313 smi_cmd = (struct smi_cmd *)smi_data_buf; in smi_request_store()
342 memset(smi_data_buf, 0, smi_data_buf_size); in smi_request_store()
370 apm_cmd = (struct apm_cmd *)smi_data_buf; in host_control_smi()
467 if (!smi_data_buf) { in dcdbas_host_control()
478 apm_cmd = (struct apm_cmd *)smi_data_buf; in dcdbas_host_control()
588 smi_data_buf = bios_buffer + 8; in dcdbas_check_wsmt()