Lines Matching refs:framesize
4541 unsigned int framesize = 0; in rx_get_frame() local
4554 framesize = 0; in rx_get_frame()
4562 if (framesize == 0 && info->params.addr_filter != 0xff) in rx_get_frame()
4565 framesize += desc_count(info->rbufs[end]); in rx_get_frame()
4598 if (framesize == 0 || in rx_get_frame()
4604 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame()
4606 framesize = 0; in rx_get_frame()
4610 framesize = 0; in rx_get_frame()
4614 if (framesize == 0) { in rx_get_frame()
4621 info->device_name, status, framesize)); in rx_get_frame()
4622 DBGDATA(info, info->rbufs[start].buf, min_t(int, framesize, info->rbuf_fill_level), "rx"); in rx_get_frame()
4624 if (framesize) { in rx_get_frame()
4626 framesize -= crc_size; in rx_get_frame()
4630 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()
4634 int copy_count = framesize; in rx_get_frame()
4637 info->tmp_rbuf_count = framesize; in rx_get_frame()
4652 framesize++; in rx_get_frame()
4657 hdlcdev_rx(info,info->tmp_rbuf, framesize); in rx_get_frame()
4660 ldisc_receive_buf(tty, info->tmp_rbuf, info->flag_buf, framesize); in rx_get_frame()