Home
last modified time | relevance | path

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

/device/qemu/riscv32_virt/liteos_m/board/driver/
Dvirtmmio.c31 FENCE_WRITE_UINT32(VirtioGetStatus(dev) | val, dev->base + VIRTMMIO_REG_STATUS); in VirtioAddStatus()
36 FENCE_WRITE_UINT32(VIRTIO_STATUS_RESET, dev->base + VIRTMMIO_REG_STATUS); in VirtioResetStatus()
92 FENCE_WRITE_UINT32(nth, baseDev->base + VIRTMMIO_REG_DEVFEATURESEL); in Negotiate()
106 FENCE_WRITE_UINT32(nth, baseDev->base + VIRTMMIO_REG_DRVFEATURESEL); in Negotiate()
107 FENCE_WRITE_UINT32(supported, baseDev->base + VIRTMMIO_REG_DRVFEATURE); in Negotiate()
142 FENCE_WRITE_UINT32(paddr, dev->base + regLow); in WriteQueueAddr()
144 FENCE_WRITE_UINT32(paddr, dev->base + regLow + U32_BYTES); in WriteQueueAddr()
152 FENCE_WRITE_UINT32(queue, dev->base + VIRTMMIO_REG_QUEUESEL); in CompleteConfigQueue()
162 FENCE_WRITE_UINT32(q->qsz, dev->base + VIRTMMIO_REG_QUEUENUM); in CompleteConfigQueue()
167 FENCE_WRITE_UINT32(1, dev->base + VIRTMMIO_REG_QUEUEREADY); in CompleteConfigQueue()
Dvirtnet.c239 FENCE_WRITE_UINT32(0, nic->dev.base + VIRTMMIO_REG_QUEUENOTIFY); in ReleaseRxEntry()
384 FENCE_WRITE_UINT32(1, nic->dev.base + VIRTMMIO_REG_QUEUENOTIFY); in LowLevelOutput()
479 FENCE_WRITE_UINT32(VIRTMMIO_IRQ_NOTIFY_USED, nic->dev.base + VIRTMMIO_REG_INTERRUPTACK); in VirtnetIRQhandle()
511 FENCE_WRITE_UINT32(0, nic->dev.base + VIRTMMIO_REG_QUEUENOTIFY); in LowLevelInit()
Dvirtmmio.h34 #define FENCE_WRITE_UINT32(value, addr) ({ DSB; *((volatile UINT32 *)((UINTPTR)(addr))) = (valu… macro