Lines Matching refs:framesize
4649 unsigned int framesize = 0; in rx_get_frame() local
4662 framesize = 0; in rx_get_frame()
4670 if (framesize == 0 && info->params.addr_filter != 0xff) in rx_get_frame()
4673 framesize += desc_count(info->rbufs[end]); in rx_get_frame()
4706 if (framesize == 0 || in rx_get_frame()
4712 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame()
4714 framesize = 0; in rx_get_frame()
4718 framesize = 0; in rx_get_frame()
4722 if (framesize == 0) { in rx_get_frame()
4729 info->device_name, status, framesize)); in rx_get_frame()
4730 DBGDATA(info, info->rbufs[start].buf, min_t(int, framesize, info->rbuf_fill_level), "rx"); in rx_get_frame()
4732 if (framesize) { in rx_get_frame()
4734 framesize -= crc_size; in rx_get_frame()
4738 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()
4742 int copy_count = framesize; in rx_get_frame()
4745 info->tmp_rbuf_count = framesize; in rx_get_frame()
4760 framesize++; in rx_get_frame()
4765 hdlcdev_rx(info,info->tmp_rbuf, framesize); in rx_get_frame()
4768 ldisc_receive_buf(tty, info->tmp_rbuf, info->flag_buf, framesize); in rx_get_frame()