Searched refs:ch_cpstime (Results 1 – 4 of 4) sorted by relevance
334 ulong ch_cpstime; /* Time for CPS calculations */ member
1588 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()
980 u32 ch_cpstime; /* Time for CPS calculations */ member
3386 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()