Lines Matching refs:buffer
89 * smi_data_buf_free: free SMI data buffer
100 * smi_data_buf_realloc: grow SMI data buffer if needed
113 /* new buffer is needed */
122 /* free any existing buffer */
125 /* set up new buffer for use */
154 /* make sure SMI data buffer is at least buf_size */
212 /* make sure buffer is available for host control command */
306 * 0: zero SMI data buffer
340 * Provide physical address of command buffer field within
389 /* write SMI data buffer physical address */
420 /* write SMI data buffer physical address */
481 dev_dbg(&dcdbas_pdev->dev, "%s: no SMI buffer\n", __func__);
486 dev_dbg(&dcdbas_pdev->dev, "%s: SMI buffer too small\n",
509 static u8 checksum(u8 *buffer, u8 length)
512 u8 *end = buffer + length;
514 while (buffer < end)
515 sum += *buffer++;
551 * BIOS could provide the address/size of the protected buffer
555 /* Check SMBIOS for buffer address */
571 dev_dbg(&dcdbas_pdev->dev, "found WSMT, but no firmware buffer found\n");
579 * Get physical address of buffer and map to virtual address.
583 dev_warn(&dcdbas_pdev->dev, "found WSMT, but buffer address is above 4GB\n");
588 * bytes are used for a semaphore, not the data buffer itself).
595 dev_warn(&dcdbas_pdev->dev, "found WSMT, but failed to map buffer\n");
606 "WSMT found, using firmware-provided SMI buffer.\n");
676 /* Check if ACPI WSMT table specifies protected SMI buffer address */
682 * BIOS SMI calls require buffer addresses be in 32-bit address space.
759 * We have to free the buffer here instead of dcdbas_remove