Lines Matching refs:icount
73 struct async_icount icount; member
182 struct async_icount *icount; in receive_chars() local
185 icount = &info->icount; in receive_chars()
199 icount->rx++; in receive_chars()
219 icount->brk++; in receive_chars()
221 icount->parity++; in receive_chars()
223 icount->frame++; in receive_chars()
225 icount->overrun++; in receive_chars()
270 info->icount.tx++; in transmit_chars()
286 info->icount.tx++; in transmit_chars()
308 struct async_icount *icount; in check_modem_status() local
315 icount = &info->icount; in check_modem_status()
318 icount->dsr++; in check_modem_status()
320 icount->dcd++; in check_modem_status()
323 icount->cts++; in check_modem_status()
1077 struct serial_icounter_struct *icount) in rs_get_icount() argument
1084 cnow = info->icount; in rs_get_icount()
1086 icount->cts = cnow.cts; in rs_get_icount()
1087 icount->dsr = cnow.dsr; in rs_get_icount()
1088 icount->rng = cnow.rng; in rs_get_icount()
1089 icount->dcd = cnow.dcd; in rs_get_icount()
1090 icount->rx = cnow.rx; in rs_get_icount()
1091 icount->tx = cnow.tx; in rs_get_icount()
1092 icount->frame = cnow.frame; in rs_get_icount()
1093 icount->overrun = cnow.overrun; in rs_get_icount()
1094 icount->parity = cnow.parity; in rs_get_icount()
1095 icount->brk = cnow.brk; in rs_get_icount()
1096 icount->buf_overrun = cnow.buf_overrun; in rs_get_icount()
1133 cprev = info->icount; in rs_ioctl()
1139 cnow = info->icount; /* atomic copy */ in rs_ioctl()
1393 seq_printf(m, " tx:%d rx:%d", state->icount.tx, state->icount.rx); in line_info()
1395 if (state->icount.frame) in line_info()
1396 seq_printf(m, " fe:%d", state->icount.frame); in line_info()
1398 if (state->icount.parity) in line_info()
1399 seq_printf(m, " pe:%d", state->icount.parity); in line_info()
1401 if (state->icount.brk) in line_info()
1402 seq_printf(m, " brk:%d", state->icount.brk); in line_info()
1404 if (state->icount.overrun) in line_info()
1405 seq_printf(m, " oe:%d", state->icount.overrun); in line_info()