Lines Matching refs:common
28 struct dma_device common;
58 mem->paddr += (XEON_PHI_DMA_CHANNEL_DSTAT_SIZE * dev->common.channels.next);
61 mem->vaddr += (XEON_PHI_DMA_CHANNEL_DSTAT_SIZE * dev->common.channels.next++);
90 XPHIDEV_DEBUG("getting channel vbase for %u, offset=%x\n", dev->common.id,
92 return (void *) (dev->common.mmio.vaddr + (idx * 0x40) + XEON_PHI_DMA_OFFSET);
108 XPHIDEV_DEBUG("settings owner of channel [%u] to card.\n", dev->common.id, idx);
111 XPHIDEV_DEBUG("settings owner of channel [%u] to host.\n", dev->common.id, idx);
164 XPHIDEV_DEBUG("Enabling channel. [%u]\n", dev->common.id, idx);
165 if (dev->common.channels.c[id]) {
166 dev->common.channels.c[id]->state = DMA_CHAN_ST_RUNNING;
170 XPHIDEV_DEBUG("Disabling channel. [%u]\n", dev->common.id, idx);
171 if (dev->common.channels.c[id]) {
172 dev->common.channels.c[id]->state = DMA_CHAN_ST_SUSPENDED;