tag | line | file | source code |
kiss | 602 | drivers/char/scc.c | scc->t_tail = scc->kiss.tailtime; |
kiss | 707 | drivers/char/scc.c | if (!Running(t_txdel) && scc->kiss.txdelay == 0) /* zero TXDELAY = wait for CTS */ |
kiss | 731 | drivers/char/scc.c | scc->kiss.tx_inhibit = 1; /* don't try it again! */ |
kiss | 748 | drivers/char/scc.c | if( Running(t_maxk) && !(scc->kiss.fulldup)) |
kiss | 767 | drivers/char/scc.c | if (scc->kiss.not_slip) |
kiss | 1067 | drivers/char/scc.c | grp1 = scc->kiss.group; |
kiss | 1072 | drivers/char/scc.c | grp2 = scc2->kiss.group; |
kiss | 1095 | drivers/char/scc.c | if (!scc->kiss.fulldup) |
kiss | 1099 | 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 | 1102 | drivers/char/scc.c | scc->t_mbusy = TPS * scc->kiss.maxdefer; |
kiss | 1104 | drivers/char/scc.c | scc->t_slot = scc->kiss.slottime; |
kiss | 1112 | drivers/char/scc.c | scc->t_txdel = scc->kiss.txdelay; |
kiss | 1126 | drivers/char/scc.c | scc->t_maxk = TPS * scc->kiss.maxkeyup; |
kiss | 1147 | drivers/char/scc.c | if (scc->kiss.fulldup < 2) |
kiss | 1152 | drivers/char/scc.c | scc->t_dwait = TPS * scc->kiss.mintime; /* try again */ |
kiss | 1164 | drivers/char/scc.c | scc->t_txdel = TPS * scc->kiss.waittime; |
kiss | 1168 | drivers/char/scc.c | scc->t_idle = TPS * scc->kiss.idletime; |
kiss | 1185 | drivers/char/scc.c | scc->t_txdel = scc->kiss.txdelay; /* brute force ... */ |
kiss | 1198 | drivers/char/scc.c | scc->t_tail = scc->kiss.tailtime; |
kiss | 1279 | drivers/char/scc.c | scc->kiss.txdelay = VAL; break; |
kiss | 1281 | drivers/char/scc.c | scc->kiss.persist = val; break; |
kiss | 1283 | drivers/char/scc.c | scc->kiss.slottime = VAL; break; |
kiss | 1285 | drivers/char/scc.c | scc->kiss.tailtime = VAL; break; |
kiss | 1287 | drivers/char/scc.c | scc->kiss.fulldup = val; break; |
kiss | 1289 | drivers/char/scc.c | scc->kiss.waittime = VAL; break; |
kiss | 1291 | drivers/char/scc.c | scc->kiss.maxkeyup = SVAL; break; |
kiss | 1293 | drivers/char/scc.c | scc->kiss.mintime = SVAL; break; |
kiss | 1295 | drivers/char/scc.c | scc->kiss.idletime = val; break; |
kiss | 1297 | drivers/char/scc.c | scc->kiss.maxdefer = SVAL; break; |
kiss | 1299 | drivers/char/scc.c | scc->kiss.group = val; break; |
kiss | 1301 | drivers/char/scc.c | scc->kiss.tx_inhibit = val; |
kiss | 1303 | drivers/char/scc.c | scc->kiss.softdcd = val; |
kiss | 1332 | drivers/char/scc.c | if (scc->kiss.not_slip) |
kiss | 1378 | drivers/char/scc.c | scc->t_dwait = (scc->kiss.fulldup? 0:scc->kiss.waittime); |
kiss | 1724 | drivers/char/scc.c | scc->kiss.txdelay = 36*TPS/100; /* 360 ms */ |
kiss | 1725 | drivers/char/scc.c | scc->kiss.persist = 42; /* 25% persistence */ /* was 25 */ |
kiss | 1726 | drivers/char/scc.c | scc->kiss.slottime = 16*TPS/100; /* 160 ms */ |
kiss | 1727 | drivers/char/scc.c | scc->kiss.tailtime = 4; /* minimal reasonable value */ |
kiss | 1728 | drivers/char/scc.c | scc->kiss.fulldup = 0; /* CSMA */ |
kiss | 1729 | drivers/char/scc.c | scc->kiss.waittime = 50*TPS/100; /* 500 ms */ |
kiss | 1730 | drivers/char/scc.c | scc->kiss.maxkeyup = 10; /* 10 s */ |
kiss | 1731 | drivers/char/scc.c | scc->kiss.mintime = 3; /* 3 s */ |
kiss | 1732 | drivers/char/scc.c | scc->kiss.idletime = 30; /* 30 s */ |
kiss | 1733 | drivers/char/scc.c | scc->kiss.maxdefer = 120; /* 2 min */ |
kiss | 1734 | drivers/char/scc.c | scc->kiss.not_slip = 1; /* KISS mode */ |
kiss | 1735 | drivers/char/scc.c | scc->kiss.softdcd = 0; /* hardware dcd */ |
kiss | 1737 | drivers/char/scc.c | scc->kiss.txdelay = 10*TPS/100; /* 100 ms */ |
kiss | 1738 | drivers/char/scc.c | scc->kiss.persist = 64; /* 25% persistence */ /* was 25 */ |
kiss | 1739 | drivers/char/scc.c | scc->kiss.slottime = 8*TPS/100; /* 160 ms */ |
kiss | 1740 | drivers/char/scc.c | scc->kiss.tailtime = 1; /* minimal reasonable value */ |
kiss | 1741 | drivers/char/scc.c | scc->kiss.fulldup = 0; /* CSMA */ |
kiss | 1742 | drivers/char/scc.c | scc->kiss.waittime = 50*TPS/100; /* 500 ms */ |
kiss | 1743 | drivers/char/scc.c | scc->kiss.maxkeyup = 7; /* 7 s */ |
kiss | 1744 | drivers/char/scc.c | scc->kiss.mintime = 3; /* 3 s */ |
kiss | 1745 | drivers/char/scc.c | scc->kiss.idletime = 30; /* 30 s */ |
kiss | 1746 | drivers/char/scc.c | scc->kiss.maxdefer = 120; /* 2 min */ |
kiss | 1747 | drivers/char/scc.c | scc->kiss.not_slip = 1; /* KISS mode */ |
kiss | 1748 | drivers/char/scc.c | scc->kiss.softdcd = 0; /* hardware dcd */ |
kiss | 1868 | drivers/char/scc.c | case PARAM_TXDELAY: r = CAST(scc->kiss.txdelay*TICKS); break; |
kiss | 1869 | drivers/char/scc.c | case PARAM_PERSIST: r = CAST(scc->kiss.persist); break; |
kiss | 1870 | drivers/char/scc.c | case PARAM_SLOTTIME: r = CAST(scc->kiss.slottime*TICKS); break; |
kiss | 1871 | drivers/char/scc.c | case PARAM_TXTAIL: r = CAST(scc->kiss.tailtime*TICKS); break; |
kiss | 1872 | drivers/char/scc.c | case PARAM_FULLDUP: r = CAST(scc->kiss.fulldup); break; |
kiss | 1873 | drivers/char/scc.c | case PARAM_SOFTDCD: r = CAST(scc->kiss.softdcd); break; |
kiss | 1877 | drivers/char/scc.c | case PARAM_GROUP: r = CAST(scc->kiss.group); break; |
kiss | 1878 | drivers/char/scc.c | case PARAM_IDLE: r = CAST(scc->kiss.idletime); break; |
kiss | 1879 | drivers/char/scc.c | case PARAM_MIN: r = CAST(scc->kiss.mintime); break; |
kiss | 1880 | drivers/char/scc.c | case PARAM_MAXKEY: r = CAST(scc->kiss.maxkeyup); break; |
kiss | 1881 | drivers/char/scc.c | case PARAM_WAIT: r = CAST(scc->kiss.waittime); break; |
kiss | 1882 | drivers/char/scc.c | case PARAM_MAXDEFER: r = CAST(scc->kiss.maxdefer); break; |
kiss | 1883 | drivers/char/scc.c | case PARAM_TX: r = CAST(scc->kiss.tx_inhibit); break; |
kiss | 1884 | drivers/char/scc.c | case PARAM_SLIP: r = CAST(!scc->kiss.not_slip); break; |
kiss | 1905 | drivers/char/scc.c | case PARAM_TXDELAY: scc->kiss.txdelay=VAL; break; |
kiss | 1906 | drivers/char/scc.c | case PARAM_PERSIST: scc->kiss.persist=Val; break; |
kiss | 1907 | drivers/char/scc.c | case PARAM_SLOTTIME: scc->kiss.slottime=VAL; break; |
kiss | 1908 | drivers/char/scc.c | case PARAM_TXTAIL: scc->kiss.tailtime=VAL; break; |
kiss | 1909 | drivers/char/scc.c | case PARAM_FULLDUP: scc->kiss.fulldup=Val; break; |
kiss | 1910 | drivers/char/scc.c | case PARAM_SOFTDCD: scc->kiss.softdcd=Val; break; |
kiss | 1914 | drivers/char/scc.c | case PARAM_GROUP: scc->kiss.group=Val; break; |
kiss | 1915 | drivers/char/scc.c | case PARAM_IDLE: scc->kiss.idletime=Val; break; |
kiss | 1916 | drivers/char/scc.c | case PARAM_MIN: scc->kiss.mintime=SVAL; break; |
kiss | 1917 | drivers/char/scc.c | case PARAM_MAXKEY: scc->kiss.maxkeyup=SVAL; break; |
kiss | 1918 | drivers/char/scc.c | case PARAM_WAIT: scc->kiss.waittime=Val; break; |
kiss | 1919 | drivers/char/scc.c | case PARAM_MAXDEFER: scc->kiss.maxdefer=SVAL; break; |
kiss | 1920 | drivers/char/scc.c | case PARAM_TX: scc->kiss.tx_inhibit=Val; break; |
kiss | 1921 | drivers/char/scc.c | case PARAM_SLIP: scc->kiss.not_slip=!Val; break; |
kiss | 1998 | drivers/char/scc.c | if (scc->kiss.tx_inhibit) return count; |
kiss | 236 | include/linux/scc.h | struct scc_kiss kiss; /* control structure for KISS params */ |