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