Home
last modified time | relevance | path

Searched refs:MAX_PORTS_PER_BOARD (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/tty/
Dmoxa.c357 #define MAX_PORTS_PER_BOARD 32 /* Don't change this value */ macro
358 #define MAX_PORTS (MAX_BOARDS * MAX_PORTS_PER_BOARD)
617 for (j = 0; j < MAX_PORTS_PER_BOARD; j++, p++, argm++) { in moxa_ioctl()
646 for (j = 0; j < MAX_PORTS_PER_BOARD; j++, p++, argm++) { in moxa_ioctl()
1128 brd->ports = kcalloc(MAX_PORTS_PER_BOARD, sizeof(*brd->ports), in moxa_init_board()
1136 for (i = 0, p = brd->ports; i < MAX_PORTS_PER_BOARD; i++, p++) { in moxa_init_board()
1178 first_idx = (brd - moxa_boards) * MAX_PORTS_PER_BOARD; in moxa_init_board()
1185 for (i = 0; i < MAX_PORTS_PER_BOARD; i++) in moxa_init_board()
1206 for (a = 0; a < MAX_PORTS_PER_BOARD; a++) in moxa_board_deinit()
1221 first_idx = (brd - moxa_boards) * MAX_PORTS_PER_BOARD; in moxa_board_deinit()
[all …]