Lines Matching refs:smi_data_buf
48 static u8 *smi_data_buf; variable
63 if (!smi_data_buf) in smi_data_buf_free()
69 dma_free_coherent(&dcdbas_pdev->dev, smi_data_buf_size, smi_data_buf, in smi_data_buf_free()
71 smi_data_buf = NULL; in smi_data_buf_free()
101 if (smi_data_buf) in smi_data_buf_realloc()
102 memcpy(buf, smi_data_buf, smi_data_buf_size); in smi_data_buf_realloc()
108 smi_data_buf = buf; in smi_data_buf_realloc()
159 ret = memory_read_from_buffer(buf, count, &pos, smi_data_buf, in smi_data_read()
180 memcpy(smi_data_buf + pos, buf, count); in smi_data_write()
314 smi_cmd = (struct smi_cmd *)smi_data_buf; in smi_request_store()
331 memset(smi_data_buf, 0, smi_data_buf_size); in smi_request_store()
359 apm_cmd = (struct apm_cmd *)smi_data_buf; in host_control_smi()
457 if (!smi_data_buf) { in dcdbas_host_control()
468 apm_cmd = (struct apm_cmd *)smi_data_buf; in dcdbas_host_control()