Lines Matching refs:ports
84 struct port ports[0]; /* 1 - 4 port structures follow */ member
206 struct port *port = &card->ports[desc->stat & in wanxl_rx_intr()
260 wanxl_tx_intr(&card->ports[i]); in wanxl_intr()
262 wanxl_cable_intr(&card->ports[i]); in wanxl_intr()
518 unregister_hdlc_device(card->ports[i].dev); in wanxl_pci_remove_one()
519 free_netdev(card->ports[i].dev); in wanxl_pci_remove_one()
569 int i, ports, alloc_size; in wanxl_pci_init_one() local
599 case PCI_DEVICE_ID_SBE_WANXL100: ports = 1; break; in wanxl_pci_init_one()
600 case PCI_DEVICE_ID_SBE_WANXL200: ports = 2; break; in wanxl_pci_init_one()
601 default: ports = 4; in wanxl_pci_init_one()
604 alloc_size = sizeof(struct card) + ports * sizeof(struct port); in wanxl_pci_init_one()
686 (TX_BUFFERS + RX_BUFFERS) * BUFFER_LENGTH * ports) { in wanxl_pci_init_one()
690 (TX_BUFFERS + RX_BUFFERS) * BUFFER_LENGTH * ports); in wanxl_pci_init_one()
721 for (i = 0; i < ports; i++) in wanxl_pci_init_one()
768 for (i = 0; i < ports; i++) { in wanxl_pci_init_one()
770 struct port *port = &card->ports[i]; in wanxl_pci_init_one()
800 for (i = 0; i < ports; i++) in wanxl_pci_init_one()
802 i ? "," : "", i, card->ports[i].dev->name); in wanxl_pci_init_one()
805 for (i = 0; i < ports; i++) in wanxl_pci_init_one()
806 wanxl_cable_intr(&card->ports[i]); /* get carrier status etc.*/ in wanxl_pci_init_one()