Lines Matching refs:kiss

329         if (scc->kiss.fulldup != KISS_DUPLEX_OPTIMA)  in scc_notify()
450 if ((changes & SYNC_HUNT) && scc->kiss.softdcd) in scc_exint()
468 if((changes & DCD) && !scc->kiss.softdcd) /* DCD input changed state */ in scc_exint()
492 if (scc->kiss.txdelay == 0) /* zero TXDELAY = wait for CTS */ in scc_exint()
524 if((scc->wreg[5] & RTS) && scc->kiss.fulldup == KISS_DUPLEX_HALF) in scc_rxint()
866 if(scc->kiss.softdcd || (InReg(scc->ctrl,R0) & DCD)) in init_channel()
874 wr(scc,R15, BRKIE|TxUIE|(scc->kiss.softdcd? SYNCIE:DCDIE)); in init_channel()
935 if (scc->kiss.tx_inhibit) in scc_key_trx()
951 if (scc->kiss.softdcd) in scc_key_trx()
954 or(scc,R15, scc->kiss.softdcd? SYNCIE:DCDIE); in scc_key_trx()
962 if (scc->kiss.fulldup == KISS_DUPLEX_HALF) in scc_key_trx()
969 if (scc->kiss.tx_inhibit) in scc_key_trx()
979 if ((scc->kiss.fulldup == KISS_DUPLEX_HALF) && in scc_key_trx()
981 scc->kiss.softdcd) in scc_key_trx()
986 or(scc, R15, scc->kiss.softdcd? SYNCIE:DCDIE); in scc_key_trx()
1034 if (scc->kiss.maxdefer != 0 && scc->kiss.maxdefer != TIMER_OFF) in scc_start_defer()
1037 scc->tx_wdog.expires = jiffies + HZ*scc->kiss.maxdefer; in scc_start_defer()
1050 if (scc->kiss.maxkeyup != 0 && scc->kiss.maxkeyup != TIMER_OFF) in scc_start_maxkeyup()
1053 scc->tx_wdog.expires = jiffies + HZ*scc->kiss.maxkeyup; in scc_start_maxkeyup()
1070 switch (scc->kiss.fulldup) in scc_tx_done()
1074 if (scc->kiss.idletime != TIMER_OFF) in scc_tx_done()
1076 scc->kiss.idletime*100); in scc_tx_done()
1083 scc_start_tx_timer(scc, t_tail, scc->kiss.tailtime); in scc_tx_done()
1098 grp1 = scc->kiss.group; in is_grouped()
1103 grp2 = scc2->kiss.group; in is_grouped()
1143 if (scc->kiss.fulldup == KISS_DUPLEX_HALF) in t_dwait()
1147 if (scc->dcd || (scc->kiss.persist) < Rand || (scc->kiss.group && is_grouped(scc)) ) in t_dwait()
1150 scc_start_tx_timer(scc, t_dwait, scc->kiss.slottime); in t_dwait()
1158 scc_start_tx_timer(scc, t_txdelay, scc->kiss.txdelay); in t_dwait()
1204 scc_start_tx_timer(scc, t_dwait, scc->kiss.mintime*100); in t_tail()
1261 scc_start_tx_timer(scc, t_tail, scc->kiss.tailtime); in t_maxkeyup()
1278 if(scc->kiss.mintime) in t_idle()
1279 scc_start_tx_timer(scc, t_dwait, scc->kiss.mintime*100); in t_idle()
1308 case PARAM_TXDELAY: scc->kiss.txdelay=arg; break; in scc_set_param()
1309 case PARAM_PERSIST: scc->kiss.persist=arg; break; in scc_set_param()
1310 case PARAM_SLOTTIME: scc->kiss.slottime=arg; break; in scc_set_param()
1311 case PARAM_TXTAIL: scc->kiss.tailtime=arg; break; in scc_set_param()
1312 case PARAM_FULLDUP: scc->kiss.fulldup=arg; break; in scc_set_param()
1314 case PARAM_GROUP: scc->kiss.group=arg; break; in scc_set_param()
1315 case PARAM_IDLE: scc->kiss.idletime=arg; break; in scc_set_param()
1316 case PARAM_MIN: scc->kiss.mintime=arg; break; in scc_set_param()
1317 case PARAM_MAXKEY: scc->kiss.maxkeyup=arg; break; in scc_set_param()
1318 case PARAM_WAIT: scc->kiss.waittime=arg; break; in scc_set_param()
1319 case PARAM_MAXDEFER: scc->kiss.maxdefer=arg; break; in scc_set_param()
1320 case PARAM_TX: scc->kiss.tx_inhibit=arg; break; in scc_set_param()
1323 scc->kiss.softdcd=arg; in scc_set_param()
1350 scc_start_tx_timer(scc, t_txdelay, scc->kiss.txdelay); in scc_set_param()
1356 scc_start_tx_timer(scc, t_tail, scc->kiss.tailtime); in scc_set_param()
1377 case PARAM_TXDELAY: return CAST(scc->kiss.txdelay); in scc_get_param()
1378 case PARAM_PERSIST: return CAST(scc->kiss.persist); in scc_get_param()
1379 case PARAM_SLOTTIME: return CAST(scc->kiss.slottime); in scc_get_param()
1380 case PARAM_TXTAIL: return CAST(scc->kiss.tailtime); in scc_get_param()
1381 case PARAM_FULLDUP: return CAST(scc->kiss.fulldup); in scc_get_param()
1382 case PARAM_SOFTDCD: return CAST(scc->kiss.softdcd); in scc_get_param()
1386 case PARAM_GROUP: return CAST(scc->kiss.group); in scc_get_param()
1387 case PARAM_IDLE: return CAST(scc->kiss.idletime); in scc_get_param()
1388 case PARAM_MIN: return CAST(scc->kiss.mintime); in scc_get_param()
1389 case PARAM_MAXKEY: return CAST(scc->kiss.maxkeyup); in scc_get_param()
1390 case PARAM_WAIT: return CAST(scc->kiss.waittime); in scc_get_param()
1391 case PARAM_MAXDEFER: return CAST(scc->kiss.maxdefer); in scc_get_param()
1392 case PARAM_TX: return CAST(scc->kiss.tx_inhibit); in scc_get_param()
1685 if (scc->kiss.fulldup == KISS_DUPLEX_HALF) in scc_net_tx()
1686 __scc_start_tx_timer(scc, t_dwait, scc->kiss.waittime); in scc_net_tx()
1867 scc->kiss.txdelay = 36; /* 360 ms */ in scc_net_siocdevprivate()
1868 scc->kiss.persist = 42; /* 25% persistence */ /* was 25 */ in scc_net_siocdevprivate()
1869 scc->kiss.slottime = 16; /* 160 ms */ in scc_net_siocdevprivate()
1870 scc->kiss.tailtime = 4; /* minimal reasonable value */ in scc_net_siocdevprivate()
1871 scc->kiss.fulldup = 0; /* CSMA */ in scc_net_siocdevprivate()
1872 scc->kiss.waittime = 50; /* 500 ms */ in scc_net_siocdevprivate()
1873 scc->kiss.maxkeyup = 10; /* 10 s */ in scc_net_siocdevprivate()
1874 scc->kiss.mintime = 3; /* 3 s */ in scc_net_siocdevprivate()
1875 scc->kiss.idletime = 30; /* 30 s */ in scc_net_siocdevprivate()
1876 scc->kiss.maxdefer = 120; /* 2 min */ in scc_net_siocdevprivate()
1877 scc->kiss.softdcd = 0; /* hardware dcd */ in scc_net_siocdevprivate()
1879 scc->kiss.txdelay = 10; /* 100 ms */ in scc_net_siocdevprivate()
1880 scc->kiss.persist = 64; /* 25% persistence */ /* was 25 */ in scc_net_siocdevprivate()
1881 scc->kiss.slottime = 8; /* 160 ms */ in scc_net_siocdevprivate()
1882 scc->kiss.tailtime = 1; /* minimal reasonable value */ in scc_net_siocdevprivate()
1883 scc->kiss.fulldup = 0; /* CSMA */ in scc_net_siocdevprivate()
1884 scc->kiss.waittime = 50; /* 500 ms */ in scc_net_siocdevprivate()
1885 scc->kiss.maxkeyup = 7; /* 7 s */ in scc_net_siocdevprivate()
1886 scc->kiss.mintime = 3; /* 3 s */ in scc_net_siocdevprivate()
1887 scc->kiss.idletime = 30; /* 30 s */ in scc_net_siocdevprivate()
1888 scc->kiss.maxdefer = 120; /* 2 min */ in scc_net_siocdevprivate()
1889 scc->kiss.softdcd = 0; /* hardware dcd */ in scc_net_siocdevprivate()
2026 const struct scc_kiss *kiss = &scc->kiss; in scc_net_seq_show() local
2045 scc->modem.clocksrc, kiss->softdcd, in scc_net_seq_show()
2054 #define K(x) kiss->x in scc_net_seq_show()