Lines Matching refs:framesize
4539 unsigned int framesize = 0; in rx_get_frame() local
4552 framesize = 0; in rx_get_frame()
4560 if (framesize == 0 && info->params.addr_filter != 0xff) in rx_get_frame()
4563 framesize += desc_count(info->rbufs[end]); in rx_get_frame()
4596 if (framesize == 0 || in rx_get_frame()
4602 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame()
4604 framesize = 0; in rx_get_frame()
4608 framesize = 0; in rx_get_frame()
4612 if (framesize == 0) { in rx_get_frame()
4619 info->device_name, status, framesize)); in rx_get_frame()
4620 DBGDATA(info, info->rbufs[start].buf, min_t(int, framesize, info->rbuf_fill_level), "rx"); in rx_get_frame()
4622 if (framesize) { in rx_get_frame()
4624 framesize -= crc_size; in rx_get_frame()
4628 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()
4632 int copy_count = framesize; in rx_get_frame()
4635 info->tmp_rbuf_count = framesize; in rx_get_frame()
4650 framesize++; in rx_get_frame()
4655 hdlcdev_rx(info,info->tmp_rbuf, framesize); in rx_get_frame()
4658 ldisc_receive_buf(tty, info->tmp_rbuf, info->flag_buf, framesize); in rx_get_frame()