Lines Matching refs:framesize
4659 unsigned int framesize = 0; in rx_get_frame() local
4672 framesize = 0; in rx_get_frame()
4680 if (framesize == 0 && info->params.addr_filter != 0xff) in rx_get_frame()
4683 framesize += desc_count(info->rbufs[end]); in rx_get_frame()
4716 if (framesize == 0 || in rx_get_frame()
4722 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame()
4724 framesize = 0; in rx_get_frame()
4728 framesize = 0; in rx_get_frame()
4732 if (framesize == 0) { in rx_get_frame()
4739 info->device_name, status, framesize)); in rx_get_frame()
4740 DBGDATA(info, info->rbufs[start].buf, min_t(int, framesize, info->rbuf_fill_level), "rx"); in rx_get_frame()
4742 if (framesize) { in rx_get_frame()
4744 framesize -= crc_size; in rx_get_frame()
4748 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()
4752 int copy_count = framesize; in rx_get_frame()
4755 info->tmp_rbuf_count = framesize; in rx_get_frame()
4770 framesize++; in rx_get_frame()
4775 hdlcdev_rx(info,info->tmp_rbuf, framesize); in rx_get_frame()
4778 ldisc_receive_buf(tty, info->tmp_rbuf, info->flag_buf, framesize); in rx_get_frame()