Lines Matching refs:smi_data_buf
48 static u8 *smi_data_buf;
63 if (!smi_data_buf)
69 dma_free_coherent(&dcdbas_pdev->dev, smi_data_buf_size, smi_data_buf,
71 smi_data_buf = NULL;
101 if (smi_data_buf)
102 memcpy(buf, smi_data_buf, smi_data_buf_size);
108 smi_data_buf = buf;
159 ret = memory_read_from_buffer(buf, count, &pos, smi_data_buf,
180 memcpy(smi_data_buf + pos, buf, count);
312 smi_cmd = (struct smi_cmd *)smi_data_buf;
329 memset(smi_data_buf, 0, smi_data_buf_size);
346 * Caller must set up the host control command in smi_data_buf.
357 apm_cmd = (struct apm_cmd *)smi_data_buf;
441 * use smi_data_buf at this point because the system has finished
455 if (!smi_data_buf) {
466 apm_cmd = (struct apm_cmd *)smi_data_buf;