Home
last modified time | relevance | path

Searched refs:cadence_f (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/staging/telephony/
Dixj.c931 …printk(KERN_INFO "IXJ Ring Cadence a state = %d /dev/phone%d at %ld\n", j->cadence_f[4].state, j->… in ixj_pstn_state()
938 if (j->cadence_f[4].state == 0) { in ixj_pstn_state()
939 j->cadence_f[4].state = 1; in ixj_pstn_state()
940 … j->cadence_f[4].on1min = jiffies + (long)((j->cadence_f[4].on1 * hertz * (100 - var)) / 10000); in ixj_pstn_state()
941 j->cadence_f[4].on1dot = jiffies + (long)((j->cadence_f[4].on1 * hertz * (100)) / 10000); in ixj_pstn_state()
942 … j->cadence_f[4].on1max = jiffies + (long)((j->cadence_f[4].on1 * hertz * (100 + var)) / 10000); in ixj_pstn_state()
943 } else if (j->cadence_f[4].state == 2) { in ixj_pstn_state()
944 if((time_after(jiffies, j->cadence_f[4].off1min) && in ixj_pstn_state()
945 time_before(jiffies, j->cadence_f[4].off1max))) { in ixj_pstn_state()
946 if (j->cadence_f[4].on2) { in ixj_pstn_state()
[all …]
Dixj.h1225 IXJ_CADENCE_F cadence_f[6]; member