Lines Matching refs:Card

51 	dia_card_t Card;  in DivasCardsDiscover()  local
95 Card.memory[DIVAS_RAM_MEMORY] = ioremap(dwRAM, 0x400000); in DivasCardsDiscover()
96 Card.memory[DIVAS_CTL_MEMORY] = ioremap(dwCTL, 0x2000); in DivasCardsDiscover()
97 Card.memory[DIVAS_CFG_MEMORY] = ioremap(dwCFG, 0x100); in DivasCardsDiscover()
98 Card.io_base=dwDivasIOBase; in DivasCardsDiscover()
100 Card.irq = byIRQ; in DivasCardsDiscover()
102 Card.card_type = DIA_CARD_TYPE_DIVA_SERVER_Q; in DivasCardsDiscover()
103 Card.bus_type = DIA_BUS_TYPE_PCI; in DivasCardsDiscover()
112 b=Card.memory[DIVAS_RAM_MEMORY]; in DivasCardsDiscover()
115 Card.memory[DIVAS_RAM_MEMORY]=b; in DivasCardsDiscover()
117 b = Card.memory[DIVAS_RAM_MEMORY]; in DivasCardsDiscover()
119 Card.memory[DIVAS_SHARED_MEMORY] = b; in DivasCardsDiscover()
121 Card.bus_num = byBus; in DivasCardsDiscover()
122 Card.func_num = byFunc; in DivasCardsDiscover()
123 Card.slot = -1; in DivasCardsDiscover()
127 Card.name[0] = 'D'; in DivasCardsDiscover()
128 Card.name[1] = 'I'; in DivasCardsDiscover()
129 Card.name[2] = 'V'; in DivasCardsDiscover()
130 Card.name[3] = 'A'; in DivasCardsDiscover()
131 Card.name[4] = 'S'; in DivasCardsDiscover()
132 Card.name[5] = 'Q'; in DivasCardsDiscover()
133 Card.name[6] = '0' + i; in DivasCardsDiscover()
134 Card.name[7] = '\0'; in DivasCardsDiscover()
136 Card.serial = PCIserial; in DivasCardsDiscover()
138 Card.card_id = wNumCards; in DivasCardsDiscover()
140 if (DivasCardNew(&Card) != 0) in DivasCardsDiscover()
176 Card.card_id = wNumCards; in DivasCardsDiscover()
177 Card.card_type = DIA_CARD_TYPE_DIVA_SERVER_B; in DivasCardsDiscover()
178 Card.bus_type = DIA_BUS_TYPE_PCI; in DivasCardsDiscover()
179 Card.irq = byIRQ; in DivasCardsDiscover()
180 Card.reset_base = dwPLXIOBase; in DivasCardsDiscover()
181 Card.io_base = dwDivasIOBase; in DivasCardsDiscover()
182 Card.bus_num = byBus; in DivasCardsDiscover()
183 Card.func_num = byFunc; in DivasCardsDiscover()
184 Card.slot = -1; in DivasCardsDiscover()
185 Card.name[0] = 'D'; in DivasCardsDiscover()
186 Card.name[1] = 'I'; in DivasCardsDiscover()
187 Card.name[2] = 'V'; in DivasCardsDiscover()
188 Card.name[3] = 'A'; in DivasCardsDiscover()
189 Card.name[4] = 'S'; in DivasCardsDiscover()
190 Card.name[5] = 'B'; in DivasCardsDiscover()
191 Card.name[6] = '\0'; in DivasCardsDiscover()
193 if (check_region(Card.io_base, 0x20)) in DivasCardsDiscover()
195 …printk(KERN_WARNING "Divas: DIVA I/O Base already in use 0x%x-0x%x\n", Card.io_base, Card.io_base … in DivasCardsDiscover()
200 if (check_region(Card.reset_base, 0x80)) in DivasCardsDiscover()
202 …printk(KERN_WARNING "Divas: PLX I/O Base already in use 0x%x-0x%x\n", Card.reset_base, Card.reset_… in DivasCardsDiscover()
207 if (DivasCardNew(&Card) != 0) in DivasCardsDiscover()
235 Card.card_id = wNumCards; in DivasCardsDiscover()
236 Card.card_type = DIA_CARD_TYPE_DIVA_SERVER_B; in DivasCardsDiscover()
237 Card.bus_type = DIA_BUS_TYPE_PCI; in DivasCardsDiscover()
238 Card.irq = byIRQ; in DivasCardsDiscover()
239 Card.reset_base = dwPLXIOBase; in DivasCardsDiscover()
240 Card.io_base = dwDivasIOBase; in DivasCardsDiscover()
241 Card.bus_num = byBus; in DivasCardsDiscover()
242 Card.func_num = byFunc; in DivasCardsDiscover()
243 Card.slot = -1; in DivasCardsDiscover()
244 Card.name[0] = 'D'; in DivasCardsDiscover()
245 Card.name[1] = 'I'; in DivasCardsDiscover()
246 Card.name[2] = 'V'; in DivasCardsDiscover()
247 Card.name[3] = 'A'; in DivasCardsDiscover()
248 Card.name[4] = 'S'; in DivasCardsDiscover()
249 Card.name[5] = 'B'; in DivasCardsDiscover()
250 Card.name[6] = '\0'; in DivasCardsDiscover()
252 if (check_region(Card.io_base, 0x20)) in DivasCardsDiscover()
254 …printk(KERN_WARNING "Divas: DIVA I/O Base already in use 0x%x-0x%x\n", Card.io_base, Card.io_base … in DivasCardsDiscover()
259 if (check_region(Card.reset_base, 0x80)) in DivasCardsDiscover()
261 …printk(KERN_WARNING "Divas: PLX I/O Base already in use 0x%x-0x%x\n", Card.reset_base, Card.reset_… in DivasCardsDiscover()
266 if (DivasCardNew(&Card) != 0) in DivasCardsDiscover()
304 Card.memory[DIVAS_RAM_MEMORY] = ioremap(dwRAM, 0x10000); in DivasCardsDiscover()
305 Card.memory[DIVAS_REG_MEMORY] = ioremap(dwREG, 0x4000); in DivasCardsDiscover()
306 Card.memory[DIVAS_CFG_MEMORY] = ioremap(dwCFG, 0x1000); in DivasCardsDiscover()
307 Card.memory[DIVAS_SHARED_MEMORY] = Card.memory[DIVAS_RAM_MEMORY] + DIVAS_SHARED_OFFSET; in DivasCardsDiscover()
317 Card.card_id = wNumCards; in DivasCardsDiscover()
318 Card.card_type = DIA_CARD_TYPE_DIVA_SERVER; in DivasCardsDiscover()
319 Card.bus_type = DIA_BUS_TYPE_PCI; in DivasCardsDiscover()
320 Card.irq = byIRQ; in DivasCardsDiscover()
323 Card.bus_num = byBus; in DivasCardsDiscover()
324 Card.func_num = byFunc; in DivasCardsDiscover()
325 Card.slot = -1; in DivasCardsDiscover()
326 Card.name[0] = 'D'; in DivasCardsDiscover()
327 Card.name[1] = 'I'; in DivasCardsDiscover()
328 Card.name[2] = 'V'; in DivasCardsDiscover()
329 Card.name[3] = 'A'; in DivasCardsDiscover()
330 Card.name[4] = 'S'; in DivasCardsDiscover()
331 Card.name[5] = 'P'; in DivasCardsDiscover()
332 Card.name[6] = '\0'; in DivasCardsDiscover()
334 if (DivasCardNew(&Card) != 0) in DivasCardsDiscover()