Home
last modified time | relevance | path

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

/openbmc/qemu/include/hw/ppc/
H A Dmac_dbdma.h73 #define DBDMA_CHANNEL_SHIFT 7 macro
74 #define DBDMA_CHANNEL_SIZE (1 << DBDMA_CHANNEL_SHIFT)
76 #define DBDMA_CHANNELS (0x1000 >> DBDMA_CHANNEL_SHIFT)
/openbmc/qemu/hw/misc/macio/
H A Dmac_dbdma.c702 int channel = addr >> DBDMA_CHANNEL_SHIFT; in dbdma_write()
705 int reg = (addr - (channel << DBDMA_CHANNEL_SHIFT)) >> 2; in dbdma_write()
710 (uint32_t)addr >> DBDMA_CHANNEL_SHIFT, reg); in dbdma_write()
754 int channel = addr >> DBDMA_CHANNEL_SHIFT; in dbdma_read()
757 int reg = (addr - (channel << DBDMA_CHANNEL_SHIFT)) >> 2; in dbdma_read()
791 (uint32_t)addr >> DBDMA_CHANNEL_SHIFT, reg); in dbdma_read()