Home
last modified time | relevance | path

Searched refs:WORD_REF (Results 1 – 2 of 2) sorted by relevance

/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/board-hikey/
Ddsp_driver_ipc.h35 #define WORD_REF(address) (* ((unsigned int volatile *) (address)))
37 #define SYS_IPC_LOCK(base) WORD_REF(base + 0xA00)
38 #define SYS_IPC_ICLR(base, box) WORD_REF(base + ((box) << 6) + 0x18)
39 #define SYS_IPC_DATA(base, box, num) WORD_REF(base + ((box) << 6) + 0x20 + ((num) << 2))
40 #define SYS_IPC_CPUIRST(base, core) WORD_REF(base + 0x804 + ((core) << 3))
41 #define SYS_IPC_MODE(base, box) WORD_REF(base + ((box) << 6) + 0x10)
42 #define SYS_IPC_SOURCE(base, box) WORD_REF(base + ((box) << 6))
43 #define SYS_IPC_DEST(base, box) WORD_REF(base + ((box) * 64) + 0x04)
44 #define SYS_IPC_SEND(base, box) WORD_REF(base + ((box) << 6) + 0x1c)
45 #define SYS_IPC_IMASK(base, box) WORD_REF(base + ((box) << 6) + 0x14)
[all …]
Dxf-board.h53 #define WORD_REF(address) (* ((unsigned int volatile *) (address))) macro
55 #define SYS_IPC_LOCK(base) WORD_REF(base + 0xA00)
56 #define SYS_IPC_ICLR(base, box) WORD_REF(base + ((box) << 6) + 0x18)
57 #define SYS_IPC_DATA(base, box, num) WORD_REF(base + ((box) << 6) + 0x20 + ((num) << 2))
58 #define SYS_IPC_CPUIRST(base, core) WORD_REF(base + 0x804 + ((core) << 3))
59 #define SYS_IPC_MODE(base, box) WORD_REF(base + ((box) << 6) + 0x10)
60 #define SYS_IPC_SOURCE(base, box) WORD_REF(base + ((box) << 6))
61 #define SYS_IPC_DEST(base, box) WORD_REF(base + ((box) * 64) + 0x04)
62 #define SYS_IPC_SEND(base, box) WORD_REF(base + ((box) << 6) + 0x1c)
63 #define SYS_IPC_IMASK(base, box) WORD_REF(base + ((box) << 6) + 0x14)
[all …]