Lines Matching refs:cobalt
54 #define BASE (cobalt->bar0)
77 static void show_dma_capability(struct cobalt *cobalt) in show_dma_capability() argument
110 struct cobalt *cobalt = s->cobalt; in omni_sg_dma_start() local
119 struct cobalt *cobalt = s->cobalt; in is_dma_done() local
129 struct cobalt *cobalt = s->cobalt; in omni_sg_dma_abort_channel() local
135 int omni_sg_dma_init(struct cobalt *cobalt) in omni_sg_dma_init() argument
140 cobalt->first_fifo_channel = 0; in omni_sg_dma_init()
141 cobalt->dma_channels = capa & 0xf; in omni_sg_dma_init()
143 cobalt->pci_32_bit = false; in omni_sg_dma_init()
145 cobalt->pci_32_bit = true; in omni_sg_dma_init()
147 for (i = 0; i < cobalt->dma_channels; i++) { in omni_sg_dma_init()
155 cobalt->first_fifo_channel++; in omni_sg_dma_init()
157 show_dma_capability(cobalt); in omni_sg_dma_init()
161 int descriptor_list_create(struct cobalt *cobalt, in descriptor_list_create() argument
188 if (cobalt->pci_32_bit) { in descriptor_list_create()