Searched refs:ch_cpstime (Results 1 – 4 of 4) sorted by relevance
325 ulong ch_cpstime; /* Time for CPS calculations */ member
1593 if (ch->ch_cpstime < current_time) { in dgnc_maxcps_room()1595 ch->ch_cpstime = current_time; /* reset ch_cpstime */ in dgnc_maxcps_room()1597 } else if (ch->ch_cpstime < buffer_time) { in dgnc_maxcps_room()1599 cps_limit = ((buffer_time - ch->ch_cpstime) * ch->ch_digi.digi_maxcps) / HZ; in dgnc_maxcps_room()1853 ch->ch_cpstime += (HZ * count) / ch->ch_digi.digi_maxcps; in dgnc_tty_write()
981 u32 ch_cpstime; /* Time for CPS calculations */ member
3453 if (ch->ch_cpstime < current_time) { in dgap_maxcps_room()3455 ch->ch_cpstime = current_time; /* reset ch_cpstime */ in dgap_maxcps_room()3457 } else if (ch->ch_cpstime < buffer_time) { in dgap_maxcps_room()3459 cps_limit = ((buffer_time - ch->ch_cpstime) * in dgap_maxcps_room()3724 ch->ch_cpstime += (HZ * count) / ch->ch_digi.digi_maxcps; in dgap_tty_write()