Searched refs:num_ttys (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/staging/fwserial/
H A Dfwserial.c37 static int num_ttys = 4; /* # of std ttys to create per fw_card */ variable
42 module_param_named(ttys, num_ttys, int, S_IRUGO | S_IWUSR);
74 #define table_idx(loop) ((loop) * num_ports + num_ttys)
1783 for (i = 0; i < num_ttys; ++i) { fwserial_find_port()
2124 port = fwserial_claim_port(peer, num_ttys); fwserial_add_peer()
2270 for (j = 0; j < num_ttys; ++j) { fwserial_create()
2422 for (i = 0; i < num_ttys; ++i) fwserial_remove()
2815 /* num_ttys/num_ports must not be set above the static alloc avail */ fwserial_init()
2816 if (num_ttys + num_loops > MAX_CARD_PORTS) fwserial_init()
2817 num_ttys = MAX_CARD_PORTS - num_loops; fwserial_init()
2819 num_ports = num_ttys + num_loops; fwserial_init()

Completed in 63 milliseconds