Lines Matching refs:index
236 (hose->index & 1) ? TITAN_pachip1 : TITAN_pachip0; in titan_pci_tbi()
243 if (hose->index & 2) in titan_pci_tbi()
278 titan_init_one_pachip_port(titan_pachip_port *port, int index) in titan_init_one_pachip_port() argument
283 if (index == 0) in titan_init_one_pachip_port()
298 = (TITAN_MEM(index) & 0xffffffffff) | 0x80000000000; in titan_init_one_pachip_port()
300 = (TITAN_IO(index) & 0xffffffffff) | 0x80000000000; in titan_init_one_pachip_port()
302 hose->config_space_base = TITAN_CONF(index); in titan_init_one_pachip_port()
303 hose->index = index; in titan_init_one_pachip_port()
305 hose->io_space->start = TITAN_IO(index) - TITAN_IO_BIAS; in titan_init_one_pachip_port()
307 hose->io_space->name = pci_io_names[index]; in titan_init_one_pachip_port()
310 hose->mem_space->start = TITAN_MEM(index) - TITAN_MEM_BIAS; in titan_init_one_pachip_port()
312 hose->mem_space->name = pci_mem_names[index]; in titan_init_one_pachip_port()
316 printk(KERN_ERR "Failed to request IO on hose %d\n", index); in titan_init_one_pachip_port()
318 printk(KERN_ERR "Failed to request MEM on hose %d\n", index); in titan_init_one_pachip_port()
324 saved_config[index].wsba[0] = port->wsba[0].csr; in titan_init_one_pachip_port()
325 saved_config[index].wsm[0] = port->wsm[0].csr; in titan_init_one_pachip_port()
326 saved_config[index].tba[0] = port->tba[0].csr; in titan_init_one_pachip_port()
328 saved_config[index].wsba[1] = port->wsba[1].csr; in titan_init_one_pachip_port()
329 saved_config[index].wsm[1] = port->wsm[1].csr; in titan_init_one_pachip_port()
330 saved_config[index].tba[1] = port->tba[1].csr; in titan_init_one_pachip_port()
332 saved_config[index].wsba[2] = port->wsba[2].csr; in titan_init_one_pachip_port()
333 saved_config[index].wsm[2] = port->wsm[2].csr; in titan_init_one_pachip_port()
334 saved_config[index].tba[2] = port->tba[2].csr; in titan_init_one_pachip_port()
336 saved_config[index].wsba[3] = port->wsba[3].csr; in titan_init_one_pachip_port()
337 saved_config[index].wsm[3] = port->wsm[3].csr; in titan_init_one_pachip_port()
338 saved_config[index].tba[3] = port->tba[3].csr; in titan_init_one_pachip_port()
410 if (hose->index == h) break; in titan_init_vga_hose()
414 printk("Console graphics on hose %d\n", hose->index); in titan_init_vga_hose()
460 titan_kill_one_pachip_port(titan_pachip_port *port, int index) in titan_kill_one_pachip_port() argument
462 port->wsba[0].csr = saved_config[index].wsba[0]; in titan_kill_one_pachip_port()
463 port->wsm[0].csr = saved_config[index].wsm[0]; in titan_kill_one_pachip_port()
464 port->tba[0].csr = saved_config[index].tba[0]; in titan_kill_one_pachip_port()
466 port->wsba[1].csr = saved_config[index].wsba[1]; in titan_kill_one_pachip_port()
467 port->wsm[1].csr = saved_config[index].wsm[1]; in titan_kill_one_pachip_port()
468 port->tba[1].csr = saved_config[index].tba[1]; in titan_kill_one_pachip_port()
470 port->wsba[2].csr = saved_config[index].wsba[2]; in titan_kill_one_pachip_port()
471 port->wsm[2].csr = saved_config[index].wsm[2]; in titan_kill_one_pachip_port()
472 port->tba[2].csr = saved_config[index].tba[2]; in titan_kill_one_pachip_port()
474 port->wsba[3].csr = saved_config[index].wsba[3]; in titan_kill_one_pachip_port()
475 port->wsm[3].csr = saved_config[index].wsm[3]; in titan_kill_one_pachip_port()
476 port->tba[3].csr = saved_config[index].tba[3]; in titan_kill_one_pachip_port()
519 h = pci_vga_hose->index; in titan_ioremap()
528 if (hose->index == h) break; in titan_ioremap()
780 if (hose->index == hosenum) in titan_agp_info()