Home
last modified time | relevance | path

Searched refs:cmd_buf_tail (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/iommu/
Damd_iommu_types.h543 u32 cmd_buf_tail; member
Damd_iommu.c880 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()
Damd_iommu_init.c615 iommu->cmd_buf_tail = 0; in amd_iommu_reset_cmd_buffer()