Searched refs:MPS2_MAX_PORTS (Results 1 – 1 of 1) sorted by relevance
67 #define MPS2_MAX_PORTS 3 macro459 if (co->index < 0 || co->index >= MPS2_MAX_PORTS) in mps2_uart_console_setup()522 .nr = MPS2_MAX_PORTS,538 id = idr_alloc_cyclic(&ports_idr, (void *)mps_port, 0, MPS2_MAX_PORTS, GFP_KERNEL); in mps2_of_get_port()540 id = idr_alloc(&ports_idr, (void *)mps_port, id, MPS2_MAX_PORTS, GFP_KERNEL); in mps2_of_get_port()