Lines Matching refs:isi_card
85 static struct isi_board isi_card[BOARD_COUNT]; variable
150 base=isi_card[card].base; in ISILoad_ioctl()
172 if (isi_card[card].isa) { in ISILoad_ioctl()
196 if (isi_card[card].isa) in ISILoad_ioctl()
197 isi_card[card].port_count = 8; in ISILoad_ioctl()
200 isi_card[card].port_count = 4; in ISILoad_ioctl()
202 isi_card[card].port_count = 8; in ISILoad_ioctl()
204 isi_card[card].shift_count = 12; in ISILoad_ioctl()
207 case 0xcc: isi_card[card].port_count = 16; in ISILoad_ioctl()
208 isi_card[card].shift_count = 11; in ISILoad_ioctl()
323 isi_card[card].status |= FIRMWARE_LOADED; in ISILoad_ioctl()
385 if (isi_card[card].status & BOARD_ACTIVE) in isicom_tx()
389 if (!(isi_card[card].status & BOARD_ACTIVE)) in isicom_tx()
394 count = isi_card[card].port_count; in isicom_tx()
395 port = isi_card[card].ports; in isicom_tx()
396 base = isi_card[card].base; in isicom_tx()
431 outw((port->channel << isi_card[card].shift_count) | txcount in isicom_tx()
524 card = &isi_card[count]; in isicom_interrupt()
1036 card = &isi_card[board]; in isicom_open()
1689 if (isi_card[count].base) { in register_ioregion()
1690 if (check_region(isi_card[count].base,16)) { in register_ioregion()
1692 isi_card[count].base,isi_card[count].base+15,count+1); in register_ioregion()
1693 isi_card[count].base=0; in register_ioregion()
1696 request_region(isi_card[count].base,16,ISICOM_NAME); in register_ioregion()
1698 …_DEBUG "ISICOM: I/O Region 0x%x-0x%x requested for Card%d.\n",isi_card[count].base,isi_card[count]… in register_ioregion()
1711 if (isi_card[count].base) { in unregister_ioregion()
1712 release_region(isi_card[count].base,16); in unregister_ioregion()
1714 …N_DEBUG "ISICOM: I/O Region 0x%x-0x%x released for Card%d.\n",isi_card[count].base,isi_card[count]… in unregister_ioregion()
1794 if (isi_card[count].base) { in register_isr()
1801 if ((isi_card[card].base) && (isi_card[card].irq == isi_card[count].irq)) { in register_isr()
1803 if ((isi_card[count].isa == NO) && (isi_card[card].isa == NO)) in register_isr()
1809 release_region(isi_card[count].base,16); in register_isr()
1810 isi_card[count].base = 0; in register_isr()
1814 if(isi_card[count].isa == NO) in register_isr()
1818 if (request_irq(isi_card[count].irq, isicom_interrupt, SA_INTERRUPT|flag, ISICOM_NAME, NULL)) { in register_isr()
1820 isi_card[count].irq, count+1); in register_isr()
1821 release_region(isi_card[count].base,16); in register_isr()
1822 isi_card[count].base=0; in register_isr()
1826 count+1, isi_card[count].base, isi_card[count].irq); in register_isr()
1828 irq_to_board[isi_card[count].irq]=&isi_card[count]; in register_isr()
1842 if (isi_card[count].base) { in unregister_isr()
1845 if ((isi_card[card].base) && (isi_card[card].irq == isi_card[count].irq)) { in unregister_isr()
1850 free_irq(isi_card[count].irq, NULL); in unregister_isr()
1852 printk(KERN_DEBUG "ISICOM: Irq %d released for Card%d.\n",isi_card[count].irq, count+1); in unregister_isr()
1905 isi_card[card].ports = port; in isicom_init()
1906 base = isi_card[card].base; in isicom_init()
1909 port->card = &isi_card[card]; in isicom_init()
1954 isi_card[idx].base=io[idx]; in init_module()
1955 isi_card[idx].irq=irq[idx]; in init_module()
1956 isi_card[idx].isa=YES; in init_module()
1960 isi_card[idx].base = 0; in init_module()
1961 isi_card[idx].irq = 0; in init_module()
1966 if (!((isi_card[idx].irq==2)||(isi_card[idx].irq==3)|| in init_module()
1967 (isi_card[idx].irq==4)||(isi_card[idx].irq==5)|| in init_module()
1968 (isi_card[idx].irq==7)||(isi_card[idx].irq==10)|| in init_module()
1969 (isi_card[idx].irq==11)||(isi_card[idx].irq==12)|| in init_module()
1970 (isi_card[idx].irq==15))) { in init_module()
1972 if (isi_card[idx].base) { in init_module()
1974 isi_card[idx].irq, idx+1); in init_module()
1975 isi_card[idx].base=0; in init_module()
2004 if (isi_card[count].base == 0) { in init_module()
2005 isi_card[count].base = ioaddr; in init_module()
2006 isi_card[count].irq = pciirq; in init_module()
2007 isi_card[count].isa = NO; in init_module()
2017 if (!(isi_card[0].base || isi_card[1].base || isi_card[2].base || isi_card[3].base)) { in init_module()