Home
last modified time | relevance | path

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

/linux/drivers/tty/hvc/
H A Dhvsi.c343 * throttles us at TTY_THRESHOLD_THROTTLE (128) bytes, so we could overflow
346 * value of TTY_THRESHOLD_THROTTLE change in n_tty.c, this code should be
349 #define TTY_THRESHOLD_THROTTLE 128 macro
355 int overflow = datalen - TTY_THRESHOLD_THROTTLE; in hvsi_recv_data()
363 pr_debug("%s: got >TTY_THRESHOLD_THROTTLE bytes\n", __func__); in hvsi_recv_data()
364 datalen = TTY_THRESHOLD_THROTTLE; in hvsi_recv_data()
375 memcpy(hp->throttle_buf, data + TTY_THRESHOLD_THROTTLE, overflow); in hvsi_recv_data()
/linux/drivers/tty/
H A Dn_tty.c66 #define TTY_THRESHOLD_THROTTLE 128 /* now based on remaining room */ macro
248 if (N_TTY_BUF_SIZE - read_cnt(ldata) >= TTY_THRESHOLD_THROTTLE) in n_tty_check_throttle()