Lines Matching refs:framesize
4613 unsigned int framesize = 0; in rx_get_frame() local
4626 framesize = 0; in rx_get_frame()
4634 if (framesize == 0 && info->params.addr_filter != 0xff) in rx_get_frame()
4637 framesize += desc_count(info->rbufs[end]); in rx_get_frame()
4670 if (framesize == 0 || in rx_get_frame()
4676 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame()
4678 framesize = 0; in rx_get_frame()
4682 framesize = 0; in rx_get_frame()
4686 if (framesize == 0) { in rx_get_frame()
4693 info->device_name, status, framesize)); in rx_get_frame()
4694 DBGDATA(info, info->rbufs[start].buf, min_t(int, framesize, info->rbuf_fill_level), "rx"); in rx_get_frame()
4696 if (framesize) { in rx_get_frame()
4698 framesize -= crc_size; in rx_get_frame()
4702 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()
4706 int copy_count = framesize; in rx_get_frame()
4709 info->tmp_rbuf_count = framesize; in rx_get_frame()
4724 framesize++; in rx_get_frame()
4729 hdlcdev_rx(info,info->tmp_rbuf, framesize); in rx_get_frame()
4732 ldisc_receive_buf(tty, info->tmp_rbuf, info->flag_buf, framesize); in rx_get_frame()