Searched refs:cmd_buf_tail (Results 1 – 3 of 3) sorted by relevance
543 u32 cmd_buf_tail; member
880 target = iommu->cmd_buf + iommu->cmd_buf_tail; in copy_cmd_to_buffer()882 iommu->cmd_buf_tail += sizeof(*cmd); in copy_cmd_to_buffer()883 iommu->cmd_buf_tail %= CMD_BUFFER_SIZE; in copy_cmd_to_buffer()889 writel(iommu->cmd_buf_tail, iommu->mmio_base + MMIO_CMD_TAIL_OFFSET); in copy_cmd_to_buffer()1052 next_tail = (iommu->cmd_buf_tail + sizeof(*cmd)) % CMD_BUFFER_SIZE; in __iommu_queue_command_sync()
615 iommu->cmd_buf_tail = 0; in amd_iommu_reset_cmd_buffer()