Lines Matching refs:icount

569 	struct	async_icount *icount;  in receive_chars()  local
572 icount = &info->state->icount; in receive_chars()
584 icount->overrun++; in receive_chars()
592 icount->rx++; in receive_chars()
605 icount->brk++; in receive_chars()
624 icount->parity++; in receive_chars()
626 icount->frame++; in receive_chars()
628 icount->overrun++; in receive_chars()
698 info->state->icount.tx++; in transmit_chars()
716 info->state->icount.tx++; in transmit_chars()
741 struct async_icount *icount; in check_modem_status() local
746 icount = &info->state->icount; in check_modem_status()
749 icount->rng++; in check_modem_status()
751 icount->dsr++; in check_modem_status()
753 icount->dcd++; in check_modem_status()
761 icount->cts++; in check_modem_status()
2566 struct serial_icounter_struct icount; in rs_ioctl() local
2664 cprev = info->state->icount; in rs_ioctl()
2675 cnow = info->state->icount; /* atomic copy */ in rs_ioctl()
2698 cnow = info->state->icount; in rs_ioctl()
2700 icount.cts = cnow.cts; in rs_ioctl()
2701 icount.dsr = cnow.dsr; in rs_ioctl()
2702 icount.rng = cnow.rng; in rs_ioctl()
2703 icount.dcd = cnow.dcd; in rs_ioctl()
2704 icount.rx = cnow.rx; in rs_ioctl()
2705 icount.tx = cnow.tx; in rs_ioctl()
2706 icount.frame = cnow.frame; in rs_ioctl()
2707 icount.overrun = cnow.overrun; in rs_ioctl()
2708 icount.parity = cnow.parity; in rs_ioctl()
2709 icount.brk = cnow.brk; in rs_ioctl()
2710 icount.buf_overrun = cnow.buf_overrun; in rs_ioctl()
2712 if (copy_to_user((void *)arg, &icount, sizeof(icount))) in rs_ioctl()
3333 state->icount.tx, state->icount.rx); in line_info()
3335 if (state->icount.frame) in line_info()
3336 ret += sprintf(buf+ret, " fe:%d", state->icount.frame); in line_info()
3338 if (state->icount.parity) in line_info()
3339 ret += sprintf(buf+ret, " pe:%d", state->icount.parity); in line_info()
3341 if (state->icount.brk) in line_info()
3342 ret += sprintf(buf+ret, " brk:%d", state->icount.brk); in line_info()
3344 if (state->icount.overrun) in line_info()
3345 ret += sprintf(buf+ret, " oe:%d", state->icount.overrun); in line_info()
5533 state->icount.cts = state->icount.dsr = in rs_init()
5534 state->icount.rng = state->icount.dcd = 0; in rs_init()
5535 state->icount.rx = state->icount.tx = 0; in rs_init()
5536 state->icount.frame = state->icount.parity = 0; in rs_init()
5537 state->icount.overrun = state->icount.brk = 0; in rs_init()