Lines Matching refs:port_num
748 int port_num, port_type; in get_ioc4_port() local
751 for ( port_num = 0; port_num < IOC4_NUM_SERIAL_PORTS; in get_ioc4_port()
752 port_num++ ) { in get_ioc4_port()
753 port = control->ic_port[port_num].icp_port; in get_ioc4_port()
2641 int port_num, port_type; in ioc4_serial_remove_one() local
2652 for (port_num = 0; port_num < IOC4_NUM_SERIAL_PORTS; port_num++) { in ioc4_serial_remove_one()
2656 the_port = &control->ic_port[port_num].icp_uart_port in ioc4_serial_remove_one()
2672 port = control->ic_port[port_num].icp_port; in ioc4_serial_remove_one()
2674 if (!(port_num & 1) && port) { in ioc4_serial_remove_one()
2712 int port_num; in ioc4_serial_core_attach() local
2730 for (port_num = 0; port_num < IOC4_NUM_SERIAL_PORTS; port_num++) { in ioc4_serial_core_attach()
2731 the_port = &control->ic_port[port_num].icp_uart_port in ioc4_serial_core_attach()
2733 port = control->ic_port[port_num].icp_port; in ioc4_serial_core_attach()
2743 the_port->iobase = (pdev->bus->number << 16) | port_num; in ioc4_serial_core_attach()
2744 the_port->line = (Num_of_ioc4_cards << 2) | port_num; in ioc4_serial_core_attach()