Lines Matching refs:framesize
4614 unsigned int framesize = 0; in rx_get_frame() local
4627 framesize = 0; in rx_get_frame()
4635 if (framesize == 0 && info->params.addr_filter != 0xff) in rx_get_frame()
4638 framesize += desc_count(info->rbufs[end]); in rx_get_frame()
4671 if (framesize == 0 || in rx_get_frame()
4677 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame()
4679 framesize = 0; in rx_get_frame()
4683 framesize = 0; in rx_get_frame()
4687 if (framesize == 0) { in rx_get_frame()
4694 info->device_name, status, framesize)); in rx_get_frame()
4695 DBGDATA(info, info->rbufs[start].buf, min_t(int, framesize, info->rbuf_fill_level), "rx"); in rx_get_frame()
4697 if (framesize) { in rx_get_frame()
4699 framesize -= crc_size; in rx_get_frame()
4703 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()
4707 int copy_count = framesize; in rx_get_frame()
4710 info->tmp_rbuf_count = framesize; in rx_get_frame()
4725 framesize++; in rx_get_frame()
4730 hdlcdev_rx(info,info->tmp_rbuf, framesize); in rx_get_frame()
4733 ldisc_receive_buf(tty, info->tmp_rbuf, info->flag_buf, framesize); in rx_get_frame()