Lines Matching refs:framesize
4544 unsigned int framesize = 0; in rx_get_frame() local
4557 framesize = 0; in rx_get_frame()
4565 if (framesize == 0 && info->params.addr_filter != 0xff) in rx_get_frame()
4568 framesize += desc_count(info->rbufs[end]); in rx_get_frame()
4601 if (framesize == 0 || in rx_get_frame()
4607 if (framesize < (2 + crc_size) || status & BIT0) { in rx_get_frame()
4609 framesize = 0; in rx_get_frame()
4613 framesize = 0; in rx_get_frame()
4617 if (framesize == 0) { in rx_get_frame()
4624 info->device_name, status, framesize)); in rx_get_frame()
4625 DBGDATA(info, info->rbufs[start].buf, min_t(int, framesize, info->rbuf_fill_level), "rx"); in rx_get_frame()
4627 if (framesize) { in rx_get_frame()
4629 framesize -= crc_size; in rx_get_frame()
4633 if (framesize > info->max_frame_size + crc_size) in rx_get_frame()
4637 int copy_count = framesize; in rx_get_frame()
4640 info->tmp_rbuf_count = framesize; in rx_get_frame()
4655 framesize++; in rx_get_frame()
4660 hdlcdev_rx(info,info->tmp_rbuf, framesize); in rx_get_frame()
4663 ldisc_receive_buf(tty, info->tmp_rbuf, info->flag_buf, framesize); in rx_get_frame()