Lines Matching defs:cobalt
14 #include "cobalt-driver.h"
15 #include "cobalt-omnitek.h"
42 #define BASE (cobalt->bar0)
65 static void show_dma_capability(struct cobalt *cobalt)
98 struct cobalt *cobalt = s->cobalt;
107 struct cobalt *cobalt = s->cobalt;
117 struct cobalt *cobalt = s->cobalt;
123 int omni_sg_dma_init(struct cobalt *cobalt)
128 cobalt->first_fifo_channel = 0;
129 cobalt->dma_channels = capa & 0xf;
131 cobalt->pci_32_bit = false;
133 cobalt->pci_32_bit = true;
135 for (i = 0; i < cobalt->dma_channels; i++) {
143 cobalt->first_fifo_channel++;
145 show_dma_capability(cobalt);
149 int descriptor_list_create(struct cobalt *cobalt,
176 if (cobalt->pci_32_bit) {