Lines Matching refs:legacy_serial_count
51 static unsigned int legacy_serial_count; variable
102 index = legacy_serial_count; in add_legacy_port()
110 if (index >= legacy_serial_count) in add_legacy_port()
111 legacy_serial_count = index + 1; in add_legacy_port()
116 if (legacy_serial_count < MAX_LEGACY_SERIAL_PORTS) { in add_legacy_port()
118 index, legacy_serial_count); in add_legacy_port()
119 legacy_serial_ports[legacy_serial_count] = in add_legacy_port()
121 legacy_serial_infos[legacy_serial_count] = in add_legacy_port()
123 legacy_serial_count++; in add_legacy_port()
573 if (legacy_serial_count == 0) in serial_dev_init()
582 for (i = 0; i < legacy_serial_count; i++) { in serial_dev_init()
662 for (i = 0; i < legacy_serial_count; i++) { in check_legacy_serial_console()
669 if (i >= legacy_serial_count) in check_legacy_serial_console()