Lines Matching refs:hosts
219 static host hosts[MAXHOSTS] = {
341 if(irq == hosts[i].irq)
342 base = hosts[i].base;
572 printk(KERN_WARNING "sym53c416: Too many hosts defined\n");
582 if(hosts[i].base == ints[1])
586 hosts[host_index].base = ints[1];
587 hosts[host_index].irq = (ints[0] == 2)? ints[2] : 0;
704 if (!request_region(hosts[i].base, IO_RANGE, ID))
706 if (!sym53c416_test(hosts[i].base)) {
707 printk(KERN_WARNING "No sym53c416 found at address 0x%03x\n", hosts[i].base);
712 if (!hosts[i].irq)
713 hosts[i].irq = sym53c416_probeirq(hosts[i].base, hosts[i].scsi_id);
714 if (!hosts[i].irq)
721 if (request_irq(hosts[i].irq, sym53c416_intr_handle, 0, ID, shpnt))
725 shpnt->unique_id = hosts[i].base;
726 shpnt->io_port = hosts[i].base;
728 shpnt->irq = hosts[i].irq;
729 shpnt->this_id = hosts[i].scsi_id;
730 sym53c416_init(hosts[i].base, hosts[i].scsi_id);
738 release_region(hosts[i].base, IO_RANGE);
752 if(hosts[i].base == base)
753 scsi_id = hosts[i].scsi_id;
797 if(hosts[i].base == base)
798 scsi_id = hosts[i].scsi_id;