Lines Matching refs:icount
87 struct async_icount icount;
217 struct async_icount *icount;
220 icount = &info->icount;
234 icount->rx++;
254 icount->brk++;
256 icount->parity++;
258 icount->frame++;
260 icount->overrun++;
307 info->icount.tx++;
323 info->icount.tx++;
345 struct async_icount *icount;
352 icount = &info->icount;
355 icount->dsr++;
357 icount->dcd++;
360 icount->cts++;
1112 struct serial_icounter_struct *icount)
1119 cnow = info->icount;
1121 icount->cts = cnow.cts;
1122 icount->dsr = cnow.dsr;
1123 icount->rng = cnow.rng;
1124 icount->dcd = cnow.dcd;
1125 icount->rx = cnow.rx;
1126 icount->tx = cnow.tx;
1127 icount->frame = cnow.frame;
1128 icount->overrun = cnow.overrun;
1129 icount->parity = cnow.parity;
1130 icount->brk = cnow.brk;
1131 icount->buf_overrun = cnow.buf_overrun;
1168 cprev = info->icount;
1174 cnow = info->icount; /* atomic copy */
1433 seq_printf(m, " tx:%d rx:%d", state->icount.tx, state->icount.rx);
1435 if (state->icount.frame)
1436 seq_printf(m, " fe:%d", state->icount.frame);
1438 if (state->icount.parity)
1439 seq_printf(m, " pe:%d", state->icount.parity);
1441 if (state->icount.brk)
1442 seq_printf(m, " brk:%d", state->icount.brk);
1444 if (state->icount.overrun)
1445 seq_printf(m, " oe:%d", state->icount.overrun);
1564 state->icount.cts = state->icount.dsr =
1565 state->icount.rng = state->icount.dcd = 0;
1566 state->icount.rx = state->icount.tx = 0;
1567 state->icount.frame = state->icount.parity = 0;
1568 state->icount.overrun = state->icount.brk = 0;