Lines Matching refs:icount
97 struct async_icount icount;
255 struct async_icount *icount;
258 icount = &info->icount;
272 icount->rx++;
292 icount->brk++;
294 icount->parity++;
296 icount->frame++;
298 icount->overrun++;
345 info->icount.tx++;
361 info->icount.tx++;
383 struct async_icount *icount;
390 icount = &info->icount;
393 icount->dsr++;
395 icount->dcd++;
398 icount->cts++;
1220 struct serial_icounter_struct *icount)
1227 cnow = info->icount;
1229 icount->cts = cnow.cts;
1230 icount->dsr = cnow.dsr;
1231 icount->rng = cnow.rng;
1232 icount->dcd = cnow.dcd;
1233 icount->rx = cnow.rx;
1234 icount->tx = cnow.tx;
1235 icount->frame = cnow.frame;
1236 icount->overrun = cnow.overrun;
1237 icount->parity = cnow.parity;
1238 icount->brk = cnow.brk;
1239 icount->buf_overrun = cnow.buf_overrun;
1290 cprev = info->icount;
1296 cnow = info->icount; /* atomic copy */
1578 seq_printf(m, " tx:%d rx:%d", state->icount.tx, state->icount.rx);
1580 if (state->icount.frame)
1581 seq_printf(m, " fe:%d", state->icount.frame);
1583 if (state->icount.parity)
1584 seq_printf(m, " pe:%d", state->icount.parity);
1586 if (state->icount.brk)
1587 seq_printf(m, " brk:%d", state->icount.brk);
1589 if (state->icount.overrun)
1590 seq_printf(m, " oe:%d", state->icount.overrun);
1720 state->icount.cts = state->icount.dsr =
1721 state->icount.rng = state->icount.dcd = 0;
1722 state->icount.rx = state->icount.tx = 0;
1723 state->icount.frame = state->icount.parity = 0;
1724 state->icount.overrun = state->icount.brk = 0;