Home
last modified time | relevance | path

Searched refs:ch_cpstime (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/staging/dgnc/
Ddgnc_driver.h334 ulong ch_cpstime; /* Time for CPS calculations */ member
Ddgnc_tty.c1588 if (ch->ch_cpstime < current_time) { in dgnc_maxcps_room()
1590 ch->ch_cpstime = current_time; /* reset ch_cpstime */ in dgnc_maxcps_room()
1592 } else if (ch->ch_cpstime < buffer_time) { in dgnc_maxcps_room()
1594 cps_limit = ((buffer_time - ch->ch_cpstime) * in dgnc_maxcps_room()
1805 ch->ch_cpstime += (HZ * count) / ch->ch_digi.digi_maxcps; in dgnc_tty_write()
/linux-4.4.14/drivers/staging/dgap/
Ddgap.h980 u32 ch_cpstime; /* Time for CPS calculations */ member
Ddgap.c3386 if (ch->ch_cpstime < current_time) { in dgap_maxcps_room()
3388 ch->ch_cpstime = current_time; /* reset ch_cpstime */ in dgap_maxcps_room()
3390 } else if (ch->ch_cpstime < buffer_time) { in dgap_maxcps_room()
3392 cps_limit = ((buffer_time - ch->ch_cpstime) * in dgap_maxcps_room()
3655 ch->ch_cpstime += (HZ * count) / ch->ch_digi.digi_maxcps; in dgap_tty_write()