Lines Matching refs:legacy_serial_count
48 static unsigned int legacy_serial_count; variable
99 index = legacy_serial_count; in add_legacy_port()
107 if (index >= legacy_serial_count) in add_legacy_port()
108 legacy_serial_count = index + 1; in add_legacy_port()
113 if (legacy_serial_count < MAX_LEGACY_SERIAL_PORTS) { in add_legacy_port()
115 index, legacy_serial_count); in add_legacy_port()
116 legacy_serial_ports[legacy_serial_count] = in add_legacy_port()
118 legacy_serial_infos[legacy_serial_count] = in add_legacy_port()
120 legacy_serial_count++; in add_legacy_port()
533 if (legacy_serial_count == 0) in serial_dev_init()
542 for (i = 0; i < legacy_serial_count; i++) { in serial_dev_init()
620 for (i = 0; i < legacy_serial_count; i++) { in check_legacy_serial_console()
627 if (i >= legacy_serial_count) in check_legacy_serial_console()