Lines Matching refs:jiffies
780 j->pots_winkstart = jiffies; in ixj_wink()
798 j->timer.expires = jiffies + (hertz / samplerate); in ixj_add_timer()
878 if(time_after(jiffies, j->pstn_sleeptil) && !(j->flags.pots_pstn && j->hookstate)) { in ixj_pstn_state()
881 printk(KERN_INFO "IXJ DAA Ring Interrupt /dev/phone%d at %ld\n", j->board, jiffies); in ixj_pstn_state()
890 j->pstn_cid_received = jiffies; in ixj_pstn_state()
892 printk(KERN_INFO "IXJ DAA Caller_ID Interrupt /dev/phone%d at %ld\n", j->board, jiffies); in ixj_pstn_state()
898 printk(KERN_INFO "IXJ DAA Cadence Interrupt /dev/phone%d at %ld\n", j->board, jiffies); in ixj_pstn_state()
907 …if(j->m_DAAShadowRegs.SOP_REGS.SOP.cr1.bitreg.RMR != XR0.bitreg.RMR && time_after(jiffies, j->pstn… in ixj_pstn_state()
911 …RMR /dev/phone%d was %s for %ld\n", j->board, XR0.bitreg.RMR?"on":"off", jiffies - j->pstn_last_rm… in ixj_pstn_state()
914 j->pstn_last_rmr = jiffies; in ixj_pstn_state()
921 j->pstn_ring_int = jiffies; in ixj_pstn_state()
930 …O "IXJ Ring Cadence a state = %d /dev/phone%d at %ld\n", j->cadence_f[4].state, j->board, jiffies); in ixj_pstn_state()
934 j->pstn_ring_start = jiffies; in ixj_pstn_state()
939 … j->cadence_f[4].on1min = jiffies + (long)((j->cadence_f[4].on1 * hertz * (100 - var)) / 10000); in ixj_pstn_state()
940 j->cadence_f[4].on1dot = jiffies + (long)((j->cadence_f[4].on1 * hertz * (100)) / 10000); in ixj_pstn_state()
941 … j->cadence_f[4].on1max = jiffies + (long)((j->cadence_f[4].on1 * hertz * (100 + var)) / 10000); in ixj_pstn_state()
943 if((time_after(jiffies, j->cadence_f[4].off1min) && in ixj_pstn_state()
944 time_before(jiffies, j->cadence_f[4].off1max))) { in ixj_pstn_state()
947 … j->cadence_f[4].on2min = jiffies + (long)((j->cadence_f[4].on2 * (hertz * (100 - var)) / 10000)); in ixj_pstn_state()
948 j->cadence_f[4].on2dot = jiffies + (long)((j->cadence_f[4].on2 * (hertz * (100)) / 10000)); in ixj_pstn_state()
949 … j->cadence_f[4].on2max = jiffies + (long)((j->cadence_f[4].on2 * (hertz * (100 + var)) / 10000)); in ixj_pstn_state()
956 j->cadence_f[4].state, j->board, jiffies - j->pstn_prev_rmr, in ixj_pstn_state()
962 if((time_after(jiffies, j->cadence_f[4].off2min) && in ixj_pstn_state()
963 time_before(jiffies, j->cadence_f[4].off2max))) { in ixj_pstn_state()
966 … j->cadence_f[4].on3min = jiffies + (long)((j->cadence_f[4].on3 * (hertz * (100 - var)) / 10000)); in ixj_pstn_state()
967 j->cadence_f[4].on3dot = jiffies + (long)((j->cadence_f[4].on3 * (hertz * (100)) / 10000)); in ixj_pstn_state()
968 … j->cadence_f[4].on3max = jiffies + (long)((j->cadence_f[4].on3 * (hertz * (100 + var)) / 10000)); in ixj_pstn_state()
975 j->cadence_f[4].state, j->board, jiffies - j->pstn_prev_rmr, in ixj_pstn_state()
981 if((time_after(jiffies, j->cadence_f[4].off3min) && in ixj_pstn_state()
982 time_before(jiffies, j->cadence_f[4].off3max))) { in ixj_pstn_state()
987 j->cadence_f[4].state, j->board, jiffies - j->pstn_prev_rmr, in ixj_pstn_state()
997 j->pstn_ring_stop = jiffies; in ixj_pstn_state()
1001 } else if((time_after(jiffies, j->cadence_f[4].on1min) && in ixj_pstn_state()
1002 time_before(jiffies, j->cadence_f[4].on1max))) { in ixj_pstn_state()
1005 …j->cadence_f[4].off1min = jiffies + (long)((j->cadence_f[4].off1 * (hertz * (100 - var)) / 10000)); in ixj_pstn_state()
1006 … j->cadence_f[4].off1dot = jiffies + (long)((j->cadence_f[4].off1 * (hertz * (100)) / 10000)); in ixj_pstn_state()
1007 …j->cadence_f[4].off1max = jiffies + (long)((j->cadence_f[4].off1 * (hertz * (100 + var)) / 10000)); in ixj_pstn_state()
1014 j->cadence_f[4].state, j->board, jiffies - j->pstn_prev_rmr, in ixj_pstn_state()
1020 if((time_after(jiffies, j->cadence_f[4].on2min) && in ixj_pstn_state()
1021 time_before(jiffies, j->cadence_f[4].on2max))) { in ixj_pstn_state()
1024 …j->cadence_f[4].off2min = jiffies + (long)((j->cadence_f[4].off2 * (hertz * (100 - var)) / 10000)); in ixj_pstn_state()
1025 … j->cadence_f[4].off2dot = jiffies + (long)((j->cadence_f[4].off2 * (hertz * (100)) / 10000)); in ixj_pstn_state()
1026 …j->cadence_f[4].off2max = jiffies + (long)((j->cadence_f[4].off2 * (hertz * (100 + var)) / 10000)); in ixj_pstn_state()
1033 j->cadence_f[4].state, j->board, jiffies - j->pstn_prev_rmr, in ixj_pstn_state()
1039 if((time_after(jiffies, j->cadence_f[4].on3min) && in ixj_pstn_state()
1040 time_before(jiffies, j->cadence_f[4].on3max))) { in ixj_pstn_state()
1043 …j->cadence_f[4].off3min = jiffies + (long)((j->cadence_f[4].off3 * (hertz * (100 - var)) / 10000)); in ixj_pstn_state()
1044 … j->cadence_f[4].off3dot = jiffies + (long)((j->cadence_f[4].off3 * (hertz * (100)) / 10000)); in ixj_pstn_state()
1045 …j->cadence_f[4].off3max = jiffies + (long)((j->cadence_f[4].off3 * (hertz * (100 + var)) / 10000)); in ixj_pstn_state()
1055 j->cadence_f[4].state, j->board, jiffies - j->pstn_prev_rmr, in ixj_pstn_state()
1062 …O "IXJ Ring Cadence b state = %d /dev/phone%d at %ld\n", j->cadence_f[4].state, j->board, jiffies); in ixj_pstn_state()
1095 j->pstn_ring_stop = jiffies; in ixj_pstn_state()
1099 printk(KERN_INFO "IXJ Ring int set /dev/phone%d at %ld\n", j->board, jiffies); in ixj_pstn_state()
1102 …if((j->pstn_ring_int != 0 && time_after(jiffies, j->pstn_ring_int + (hertz * 5)) && !j->flags.pstn… in ixj_pstn_state()
1103 (j->pstn_ring_stop != 0 && time_after(jiffies, j->pstn_ring_stop + (hertz * 5)))) { in ixj_pstn_state()
1105 printk("IXJ DAA no ring in 5 seconds /dev/phone%d at %ld\n", j->board, jiffies); in ixj_pstn_state()
1113 if (j->pstn_cid_intr && time_after(jiffies, j->pstn_cid_received + hertz)) { in ixj_pstn_state()
1132 printk("IXJ DAA possible wink /dev/phone%d %ld\n", j->board, jiffies); in ixj_pstn_state()
1134 j->pstn_winkstart = jiffies; in ixj_pstn_state()
1139 printk("IXJ DAA possible wink end /dev/phone%d %ld\n", j->board, jiffies); in ixj_pstn_state()
1145 …if (j->pstn_winkstart && time_after(jiffies, j->pstn_winkstart + ((hertz * j->winktime) / 1000))) { in ixj_pstn_state()
1147 printk("IXJ DAA wink detected going to sleep /dev/phone%d %ld\n", j->board, jiffies); in ixj_pstn_state()
1184 if (time_before(jiffies, j->tone_start_jif + jifon)) { in ixj_timeout()
1241 j->cadence_f[5].on1dot = jiffies + (long)((j->cadence_f[5].on1 * (hertz * 100) / 10000)); in ixj_timeout()
1242 if (time_before(jiffies, j->cadence_f[5].on1dot)) { in ixj_timeout()
1244 printk("Ringing cadence state = %d - %ld\n", j->cadence_f[5].state, jiffies); in ixj_timeout()
1251 if (time_after(jiffies, j->cadence_f[5].on1dot)) { in ixj_timeout()
1252 j->cadence_f[5].off1dot = jiffies + (long)((j->cadence_f[5].off1 * (hertz * 100) / 10000)); in ixj_timeout()
1254 printk("Ringing cadence state = %d - %ld\n", j->cadence_f[5].state, jiffies); in ixj_timeout()
1261 if (time_after(jiffies, j->cadence_f[5].off1dot)) { in ixj_timeout()
1263 printk("Ringing cadence state = %d - %ld\n", j->cadence_f[5].state, jiffies); in ixj_timeout()
1267 j->cadence_f[5].on2dot = jiffies + (long)((j->cadence_f[5].on2 * (hertz * 100) / 10000)); in ixj_timeout()
1275 if (time_after(jiffies, j->cadence_f[5].on2dot)) { in ixj_timeout()
1277 printk("Ringing cadence state = %d - %ld\n", j->cadence_f[5].state, jiffies); in ixj_timeout()
1281 j->cadence_f[5].off2dot = jiffies + (long)((j->cadence_f[5].off2 * (hertz * 100) / 10000)); in ixj_timeout()
1289 if (time_after(jiffies, j->cadence_f[5].off2dot)) { in ixj_timeout()
1291 printk("Ringing cadence state = %d - %ld\n", j->cadence_f[5].state, jiffies); in ixj_timeout()
1295 j->cadence_f[5].on3dot = jiffies + (long)((j->cadence_f[5].on3 * (hertz * 100) / 10000)); in ixj_timeout()
1303 if (time_after(jiffies, j->cadence_f[5].on3dot)) { in ixj_timeout()
1305 printk("Ringing cadence state = %d - %ld\n", j->cadence_f[5].state, jiffies); in ixj_timeout()
1309 j->cadence_f[5].off3dot = jiffies + (long)((j->cadence_f[5].off3 * (hertz * 100) / 10000)); in ixj_timeout()
1317 if (time_after(jiffies, j->cadence_f[5].off3dot)) { in ixj_timeout()
1319 printk("Ringing cadence state = %d - %ld\n", j->cadence_f[5].state, jiffies); in ixj_timeout()
1326 printk("Ringing cadence state = %d - %ld\n", j->cadence_f[5].state, jiffies); in ixj_timeout()
1344 if (time_after(jiffies, j->ring_cadence_jif + (hertz / 2))) { in ixj_timeout()
1356 j->ring_cadence_jif = jiffies; in ixj_timeout()
1414 jif = jiffies + ((60 * hertz) / 100); in ixj_status_wait()
1417 if (time_after(jiffies, jif)) { in ixj_status_wait()
1429 jif = jiffies + ((60 * hertz) / 100); in ixj_PCcontrol_wait()
1432 if (time_after(jiffies, jif)) { in ixj_PCcontrol_wait()
1452 jif = jiffies + ((60 * hertz) / 100); in ixj_WriteDSPCommand()
1455 if (time_after(jiffies, jif)) { in ixj_WriteDSPCommand()
1798 j->checkwait = jiffies + (hertz * 2); in ixj_pcmcia_cable_check()
1804 if (time_before(jiffies, j->checkwait)) { in ixj_pcmcia_cable_check()
1933 j->checkwait = jiffies; in ixj_hookstate()
1935 if(time_before(jiffies, j->checkwait + 2)) { in ixj_hookstate()
1941 … printk("IXJ : /dev/phone%d pots-pstn hookstate check %d at %ld\n", j->board, fOffHook, jiffies); in ixj_hookstate()
1973 j->flash_end = jiffies + ((60 * hertz) / 100); in ixj_hookstate()
1977 if(time_before(jiffies, j->flash_end)) { in ixj_hookstate()
1983 if(time_before(jiffies, j->flash_end)) { in ixj_hookstate()
2043 j->ring_cadence_jif = jiffies; in ixj_ring_start()
2049 j->ring_cadence_jif = jiffies; in ixj_ring_start()
2072 jif = jiffies + (1 * hertz); in ixj_ring()
2074 while (time_before(jiffies, jif)) { in ixj_ring()
2084 jif = jiffies + (3 * hertz); in ixj_ring()
2086 while (time_before(jiffies, jif)) { in ixj_ring()
2395 …j->cadence_f[cnt].on1min = jiffies + (long)((j->cadence_f[cnt].on1 * (hertz * (100 - var)) / 10000… in read_filters()
2396 j->cadence_f[cnt].on1dot = jiffies + (long)((j->cadence_f[cnt].on1 * (hertz * (100)) / 10000)); in read_filters()
2397 …j->cadence_f[cnt].on1max = jiffies + (long)((j->cadence_f[cnt].on1 * (hertz * (100 + var)) / 10000… in read_filters()
2399 (time_after(jiffies, j->cadence_f[cnt].off1min) && in read_filters()
2400 time_before(jiffies, j->cadence_f[cnt].off1max))) { in read_filters()
2403 …j->cadence_f[cnt].on2min = jiffies + (long)((j->cadence_f[cnt].on2 * (hertz * (100 - var)) / 10000… in read_filters()
2404 … j->cadence_f[cnt].on2dot = jiffies + (long)((j->cadence_f[cnt].on2 * (hertz * (100)) / 10000)); in read_filters()
2405 …j->cadence_f[cnt].on2max = jiffies + (long)((j->cadence_f[cnt].on2 * (hertz * (100 + var)) / 10000… in read_filters()
2410 (time_after(jiffies, j->cadence_f[cnt].off2min) && in read_filters()
2411 time_before(jiffies, j->cadence_f[cnt].off2max))) { in read_filters()
2414 …j->cadence_f[cnt].on3min = jiffies + (long)((j->cadence_f[cnt].on3 * (hertz * (100 - var)) / 10000… in read_filters()
2415 … j->cadence_f[cnt].on3dot = jiffies + (long)((j->cadence_f[cnt].on3 * (hertz * (100)) / 10000)); in read_filters()
2416 …j->cadence_f[cnt].on3max = jiffies + (long)((j->cadence_f[cnt].on3 * (hertz * (100 + var)) / 10000… in read_filters()
2427 } else if((time_after(jiffies, j->cadence_f[cnt].on1min) && in read_filters()
2428 time_before(jiffies, j->cadence_f[cnt].on1max))) { in read_filters()
2431 …j->cadence_f[cnt].off1min = jiffies + (long)((j->cadence_f[cnt].off1 * (hertz * (100 - var)) / 100… in read_filters()
2432 … j->cadence_f[cnt].off1dot = jiffies + (long)((j->cadence_f[cnt].off1 * (hertz * (100)) / 10000)); in read_filters()
2433 …j->cadence_f[cnt].off1max = jiffies + (long)((j->cadence_f[cnt].off1 * (hertz * (100 + var)) / 100… in read_filters()
2441 if((time_after(jiffies, j->cadence_f[cnt].on2min) && in read_filters()
2442 time_before(jiffies, j->cadence_f[cnt].on2max))) { in read_filters()
2445 …j->cadence_f[cnt].off2min = jiffies + (long)((j->cadence_f[cnt].off2 * (hertz * (100 - var)) / 100… in read_filters()
2446 … j->cadence_f[cnt].off2dot = jiffies + (long)((j->cadence_f[cnt].off2 * (hertz * (100)) / 10000)); in read_filters()
2447 …j->cadence_f[cnt].off2max = jiffies + (long)((j->cadence_f[cnt].off2 * (hertz * (100 + var)) / 100… in read_filters()
2455 if ((time_after(jiffies, j->cadence_f[cnt].on3min) && in read_filters()
2456 time_before(jiffies, j->cadence_f[cnt].on3max))) { in read_filters()
2459 …j->cadence_f[cnt].off3min = jiffies + (long)((j->cadence_f[cnt].off3 * (hertz * (100 - var)) / 100… in read_filters()
2460 … j->cadence_f[cnt].off3dot = jiffies + (long)((j->cadence_f[cnt].off3 * (hertz * (100)) / 10000)); in read_filters()
2461 …j->cadence_f[cnt].off3max = jiffies + (long)((j->cadence_f[cnt].off3 * (hertz * (100 + var)) / 100… in read_filters()
2474 if(time_after(jiffies, j->cadence_f[cnt].on1dot) && in read_filters()
2482 if(time_after(jiffies, j->cadence_f[cnt].on2dot) && in read_filters()
2489 if(time_after(jiffies, j->cadence_f[cnt].on3dot) && in read_filters()
2498 …O "IXJ Tone Cadence state = %d /dev/phone%d at %ld\n", j->cadence_f[cnt].state, j->board, jiffies); in read_filters()
2537 printk(KERN_INFO "Filter Cadence 0 triggered %ld\n", jiffies); in read_filters()
2544 printk(KERN_INFO "Filter Cadence 1 triggered %ld\n", jiffies); in read_filters()
2551 printk(KERN_INFO "Filter Cadence 2 triggered %ld\n", jiffies); in read_filters()
2558 printk(KERN_INFO "Filter Cadence 3 triggered %ld\n", jiffies); in read_filters()
2575 printk(KERN_INFO "Filter 0 triggered %d at %ld\n", trg, jiffies); in read_filters()
2582 printk(KERN_INFO "Filter 1 triggered %d at %ld\n", trg, jiffies); in read_filters()
2589 printk(KERN_INFO "Filter 2 triggered %d at %ld\n", trg, jiffies); in read_filters()
2596 printk(KERN_INFO "Filter 3 triggered %d at %ld\n", trg, jiffies); in read_filters()
2637 …ntk("IXJ phone%d saw CIDCW Ack DTMF %d from display at %ld\n", j->board, j->dtmf_current, jiffies); in LineMonitor()
3149 printk("IXJ phone%d Finished Playing CallerID data %ld\n", j->board, jiffies); in ixj_post_cid()
3285 printk("IXJ cidcw phone%d first tone start at %ld\n", j->board, jiffies); in ixj_write_cidcw()
3295 printk("IXJ cidcw phone%d first tone end at %ld\n", j->board, jiffies); in ixj_write_cidcw()
3308 printk("IXJ cidcw phone%d second tone start at %ld\n", j->board, jiffies); in ixj_write_cidcw()
3318 printk("IXJ cidcw phone%d sent second tone at %ld\n", j->board, jiffies); in ixj_write_cidcw()
3321 j->cidcw_wait = jiffies + ((50 * hertz) / 100); in ixj_write_cidcw()
3324 while(!j->flags.cidcw_ack && time_before(jiffies, j->cidcw_wait)) in ixj_write_cidcw()
3331 printk("IXJ cidcw phone%d did not receive ACK from display %ld\n", j->board, jiffies); in ixj_write_cidcw()
3391 printk("IXJ cidcw phone%d sent FSK data at %ld\n", j->board, jiffies); in ixj_write_cidcw()
3874 printk("IXJ %d Starting Record Codec %d at %ld\n", j->board, j->rec_codec, jiffies); in ixj_record_start()
3975 printk("IXJ %d Stopping Record Codec %d at %ld\n", j->board, j->rec_codec, jiffies); in ixj_record_stop()
4450 printk("IXJ %d Starting Play Codec %d at %ld\n", j->board, j->play_codec, jiffies); in ixj_play_start()
4558 printk("IXJ %d Stopping Play Codec %d at %ld\n", j->board, j->play_codec, jiffies); in ixj_play_stop()
4602 printk("IXJ %d starting tone %d at %ld\n", j->board, tone, jiffies); in ixj_play_tone()
4607 j->tone_start_jif = jiffies; in ixj_play_tone()
5140 printk(KERN_INFO "phone DAA: SOP_PU_SLEEP at %ld\n", jiffies); in daa_set_mode()
5168 j->pstn_sleeptil = jiffies + (hertz / 4); in daa_set_mode()
5175 printk(KERN_INFO "phone DAA: SOP_PU_RINGING at %ld\n", jiffies); in daa_set_mode()
5190 printk(KERN_INFO "phone DAA: SOP_PU_CONVERSATION at %ld\n", jiffies); in daa_set_mode()
5204 j->pstn_sleeptil = jiffies; in daa_set_mode()
5209 printk(KERN_INFO "phone DAA: SOP_PU_PULSEDIALING at %ld\n", jiffies); in daa_set_mode()
6744 j->pstn_sleeptil = jiffies + (hertz / 4); in ixj_linetest()
7006 j->pstn_last_rmr = jiffies; in ixj_selfprobe()
7340 len += sprintf(buf + len, "\nDAA ringstop %ld - jiffies %ld", j->pstn_ring_stop, jiffies); in ixj_get_status_proc()