Lines Matching refs:sockets
158 static int sockets = 0; variable
578 socket[sockets].ioaddr = port; in identify()
579 socket[sockets].psock = sock; in identify()
583 i365_bclr(sockets, PD67_MISC_CTL_2, PD67_MC2_SUSPEND); in identify()
588 if ((val = i365_get(sockets, I365_IDENT)) & 0x70) in identify()
604 i365_bset(sockets, VG468_MISC, VG468_MISC_VADEMREV); in identify()
605 val = i365_get(sockets, I365_IDENT); in identify()
607 i365_bclr(sockets, VG468_MISC, VG468_MISC_VADEMREV); in identify()
612 val = i365_get(sockets, RF5C_CHIP_ID); in identify()
617 i365_set(sockets, PD67_CHIP_INFO, 0); in identify()
618 val = i365_get(sockets, PD67_CHIP_INFO); in identify()
620 val = i365_get(sockets, PD67_CHIP_INFO); in identify()
623 i365_set(sockets, PD67_EXT_INDEX, 0xe5); in identify()
624 if (i365_get(sockets, PD67_EXT_INDEX) != 0xe5) in identify()
664 socket[sockets].ioaddr = port; in add_socket()
665 socket[sockets].psock = psock; in add_socket()
666 socket[sockets].type = type; in add_socket()
667 socket[sockets].flags = pcic[type].flags; in add_socket()
668 if (is_alive(sockets)) in add_socket()
669 socket[sockets].flags |= IS_ALIVE; in add_socket()
670 sockets++; in add_socket()
677 struct i82365_socket *t = &socket[sockets-ns]; in add_pcic()
679 base = sockets-ns; in add_pcic()
786 if (sockets == 0) in isa_probe()
804 if (sockets && !extra_sockets && (i == 4)) in isa_probe()
816 for (k = 0; k <= sockets; k++) in isa_probe()
818 for (k = 0; k <= sockets; k++) in isa_probe()
821 if (k <= sockets) break; in isa_probe()
842 for (i = 0; i < sockets; i++) { in pcic_interrupt()
1261 sockets = 0; in init_i82365()
1265 if (sockets == 0) { in init_i82365()
1279 for (i = 0; i < sockets; i++) { in init_i82365()
1299 for (i = 0; i < sockets; i++) { in init_i82365()
1321 for (i = 0; i < sockets; i++) { in exit_i82365()
1330 for (i = 0; i < sockets; i++) { in exit_i82365()