Lines Matching refs:buffer
58 * smi_data_buf_free: free SMI data buffer
77 * smi_data_buf_realloc: grow SMI data buffer if needed
90 /* new buffer is needed */
103 /* free any existing buffer */
106 /* set up new buffer for use */
141 /* make sure SMI data buffer is at least buf_size */
199 /* make sure buffer is available for host control command */
292 * 0: zero SMI data buffer
326 * Provide physical address of command buffer field within
376 /* write SMI data buffer physical address */
408 /* write SMI data buffer physical address */
469 dev_dbg(&dcdbas_pdev->dev, "%s: no SMI buffer\n", __func__);
474 dev_dbg(&dcdbas_pdev->dev, "%s: SMI buffer too small\n",
497 static u8 checksum(u8 *buffer, u8 length)
500 u8 *end = buffer + length;
502 while (buffer < end)
503 sum += *buffer++;
539 * BIOS could provide the address/size of the protected buffer
543 /* Check SMBIOS for buffer address */
559 dev_dbg(&dcdbas_pdev->dev, "found WSMT, but no firmware buffer found\n");
567 * Get physical address of buffer and map to virtual address.
571 dev_warn(&dcdbas_pdev->dev, "found WSMT, but buffer address is above 4GB\n");
576 * bytes are used for a semaphore, not the data buffer itself).
583 dev_warn(&dcdbas_pdev->dev, "found WSMT, but failed to map buffer\n");
594 "WSMT found, using firmware-provided SMI buffer.\n");
664 /* Check if ACPI WSMT table specifies protected SMI buffer address */
670 * BIOS SMI calls require buffer addresses be in 32-bit address space.
749 * We have to free the buffer here instead of dcdbas_remove