tag | line | file | source code |
kiss | 848 | drivers/char/scc.c | scc->t_tail = scc->kiss.tailtime; |
kiss | 854 | drivers/char/scc.c | if ( scc->kiss.not_slip && (bp->cnt > 0) ) |
kiss | 948 | drivers/char/scc.c | if (!Running(t_txdel) && scc->kiss.txdelay == 0) /* zero TXDELAY = wait for CTS */ |
kiss | 984 | drivers/char/scc.c | scc->kiss.tx_inhibit = 1; /* don't try it again! */ |
kiss | 1001 | drivers/char/scc.c | if( Running(t_maxk) && !(scc->kiss.fulldup)) |
kiss | 1358 | drivers/char/scc.c | grp1 = scc->kiss.group; |
kiss | 1363 | drivers/char/scc.c | grp2 = scc2->kiss.group; |
kiss | 1386 | drivers/char/scc.c | if (!scc->kiss.fulldup) |
kiss | 1390 | drivers/char/scc.c | if ( (scc->kiss.softdcd? !(scc->status & SYNC_HUNT):(scc->status & DCD)) || (scc->kiss.persist) < Rand || (scc->kiss.group && is_grouped(scc)) ) |
kiss | 1393 | drivers/char/scc.c | scc->t_mbusy = TPS * scc->kiss.maxdefer; |
kiss | 1395 | drivers/char/scc.c | scc->t_slot = scc->kiss.slottime; |
kiss | 1403 | drivers/char/scc.c | scc->t_txdel = scc->kiss.txdelay; |
kiss | 1417 | drivers/char/scc.c | scc->t_maxk = TPS * scc->kiss.maxkeyup; |
kiss | 1437 | drivers/char/scc.c | if (scc->kiss.fulldup < 2) |
kiss | 1442 | drivers/char/scc.c | scc->t_dwait = TPS * scc->kiss.mintime; /* try again */ |
kiss | 1454 | drivers/char/scc.c | scc->t_txdel = TPS * scc->kiss.waittime; |
kiss | 1458 | drivers/char/scc.c | scc->t_idle = TPS * scc->kiss.idletime; |
kiss | 1474 | drivers/char/scc.c | scc->t_txdel = scc->kiss.txdelay; /* brute force ... */ |
kiss | 1487 | drivers/char/scc.c | scc->t_tail = scc->kiss.tailtime; |
kiss | 1601 | drivers/char/scc.c | scc->kiss.txdelay = VAL; break; |
kiss | 1603 | drivers/char/scc.c | scc->kiss.persist = val; break; |
kiss | 1605 | drivers/char/scc.c | scc->kiss.slottime = VAL; break; |
kiss | 1607 | drivers/char/scc.c | scc->kiss.tailtime = VAL; break; |
kiss | 1609 | drivers/char/scc.c | scc->kiss.fulldup = val; break; |
kiss | 1611 | drivers/char/scc.c | scc->kiss.waittime = VAL; break; |
kiss | 1613 | drivers/char/scc.c | scc->kiss.maxkeyup = SVAL; break; |
kiss | 1615 | drivers/char/scc.c | scc->kiss.mintime = SVAL; break; |
kiss | 1617 | drivers/char/scc.c | scc->kiss.idletime = val; break; |
kiss | 1619 | drivers/char/scc.c | scc->kiss.maxdefer = SVAL; break; |
kiss | 1621 | drivers/char/scc.c | scc->kiss.group = val; break; |
kiss | 1623 | drivers/char/scc.c | scc->kiss.tx_inhibit = val; |
kiss | 1625 | drivers/char/scc.c | scc->kiss.softdcd = val; |
kiss | 1662 | drivers/char/scc.c | if (scc->kiss.not_slip) |
kiss | 1705 | drivers/char/scc.c | scc->t_dwait = (scc->kiss.fulldup? 0:scc->kiss.waittime); |
kiss | 1829 | drivers/char/scc.c | if (scc->kiss.not_slip) |
kiss | 2237 | drivers/char/scc.c | scc->kiss.txdelay = 36*TPS/100; /* 360 ms */ |
kiss | 2238 | drivers/char/scc.c | scc->kiss.persist = 42; /* 25% persistence */ /* was 25 */ |
kiss | 2239 | drivers/char/scc.c | scc->kiss.slottime = 16*TPS/100; /* 160 ms */ |
kiss | 2240 | drivers/char/scc.c | scc->kiss.tailtime = 4; /* minimal reasonable value */ |
kiss | 2241 | drivers/char/scc.c | scc->kiss.fulldup = 0; /* CSMA */ |
kiss | 2242 | drivers/char/scc.c | scc->kiss.waittime = 50*TPS/100; /* 500 ms */ |
kiss | 2243 | drivers/char/scc.c | scc->kiss.maxkeyup = 10; /* 10 s */ |
kiss | 2244 | drivers/char/scc.c | scc->kiss.mintime = 3; /* 3 s */ |
kiss | 2245 | drivers/char/scc.c | scc->kiss.idletime = 30; /* 30 s */ |
kiss | 2246 | drivers/char/scc.c | scc->kiss.maxdefer = 120; /* 2 min */ |
kiss | 2247 | drivers/char/scc.c | scc->kiss.not_slip = 1; /* KISS mode */ |
kiss | 2248 | drivers/char/scc.c | scc->kiss.softdcd = 0; /* hardware dcd */ |
kiss | 2250 | drivers/char/scc.c | scc->kiss.txdelay = 10*TPS/100; /* 100 ms */ |
kiss | 2251 | drivers/char/scc.c | scc->kiss.persist = 64; /* 25% persistence */ /* was 25 */ |
kiss | 2252 | drivers/char/scc.c | scc->kiss.slottime = 8*TPS/100; /* 160 ms */ |
kiss | 2253 | drivers/char/scc.c | scc->kiss.tailtime = 1; /* minimal reasonable value */ |
kiss | 2254 | drivers/char/scc.c | scc->kiss.fulldup = 0; /* CSMA */ |
kiss | 2255 | drivers/char/scc.c | scc->kiss.waittime = 50*TPS/100; /* 500 ms */ |
kiss | 2256 | drivers/char/scc.c | scc->kiss.maxkeyup = 7; /* 7 s */ |
kiss | 2257 | drivers/char/scc.c | scc->kiss.mintime = 3; /* 3 s */ |
kiss | 2258 | drivers/char/scc.c | scc->kiss.idletime = 30; /* 30 s */ |
kiss | 2259 | drivers/char/scc.c | scc->kiss.maxdefer = 120; /* 2 min */ |
kiss | 2260 | drivers/char/scc.c | scc->kiss.not_slip = 1; /* KISS mode */ |
kiss | 2261 | drivers/char/scc.c | scc->kiss.softdcd = 0; /* hardware dcd */ |
kiss | 2393 | drivers/char/scc.c | case PARAM_TXDELAY: r = CAST(scc->kiss.txdelay*TICKS); break; |
kiss | 2394 | drivers/char/scc.c | case PARAM_PERSIST: r = CAST(scc->kiss.persist); break; |
kiss | 2395 | drivers/char/scc.c | case PARAM_SLOTTIME: r = CAST(scc->kiss.slottime*TICKS); break; |
kiss | 2396 | drivers/char/scc.c | case PARAM_TXTAIL: r = CAST(scc->kiss.tailtime*TICKS); break; |
kiss | 2397 | drivers/char/scc.c | case PARAM_FULLDUP: r = CAST(scc->kiss.fulldup); break; |
kiss | 2398 | drivers/char/scc.c | case PARAM_SOFTDCD: r = CAST(scc->kiss.softdcd); break; |
kiss | 2402 | drivers/char/scc.c | case PARAM_GROUP: r = CAST(scc->kiss.group); break; |
kiss | 2403 | drivers/char/scc.c | case PARAM_IDLE: r = CAST(scc->kiss.idletime); break; |
kiss | 2404 | drivers/char/scc.c | case PARAM_MIN: r = CAST(scc->kiss.mintime); break; |
kiss | 2405 | drivers/char/scc.c | case PARAM_MAXKEY: r = CAST(scc->kiss.maxkeyup); break; |
kiss | 2406 | drivers/char/scc.c | case PARAM_WAIT: r = CAST(scc->kiss.waittime); break; |
kiss | 2407 | drivers/char/scc.c | case PARAM_MAXDEFER: r = CAST(scc->kiss.maxdefer); break; |
kiss | 2408 | drivers/char/scc.c | case PARAM_TX: r = CAST(scc->kiss.tx_inhibit); break; |
kiss | 2409 | drivers/char/scc.c | case PARAM_SLIP: r = CAST(!scc->kiss.not_slip); break; |
kiss | 2427 | drivers/char/scc.c | case PARAM_TXDELAY: scc->kiss.txdelay=VAL; break; |
kiss | 2428 | drivers/char/scc.c | case PARAM_PERSIST: scc->kiss.persist=Val; break; |
kiss | 2429 | drivers/char/scc.c | case PARAM_SLOTTIME: scc->kiss.slottime=VAL; break; |
kiss | 2430 | drivers/char/scc.c | case PARAM_TXTAIL: scc->kiss.tailtime=VAL; break; |
kiss | 2431 | drivers/char/scc.c | case PARAM_FULLDUP: scc->kiss.fulldup=Val; break; |
kiss | 2432 | drivers/char/scc.c | case PARAM_SOFTDCD: scc->kiss.softdcd=Val; break; |
kiss | 2436 | drivers/char/scc.c | case PARAM_GROUP: scc->kiss.group=Val; break; |
kiss | 2437 | drivers/char/scc.c | case PARAM_IDLE: scc->kiss.idletime=Val; break; |
kiss | 2438 | drivers/char/scc.c | case PARAM_MIN: scc->kiss.mintime=SVAL; break; |
kiss | 2439 | drivers/char/scc.c | case PARAM_MAXKEY: scc->kiss.maxkeyup=SVAL; break; |
kiss | 2440 | drivers/char/scc.c | case PARAM_WAIT: scc->kiss.waittime=Val; break; |
kiss | 2441 | drivers/char/scc.c | case PARAM_MAXDEFER: scc->kiss.maxdefer=SVAL; break; |
kiss | 2442 | drivers/char/scc.c | case PARAM_TX: scc->kiss.tx_inhibit=Val; break; |
kiss | 2443 | drivers/char/scc.c | case PARAM_SLIP: scc->kiss.not_slip=!Val; break; |
kiss | 2476 | drivers/char/scc.c | if (scc->kiss.tx_inhibit) return count; |
kiss | 249 | include/linux/scc.h | struct scc_kiss kiss; /* control structure for KISS params */ |