Lines Matching defs:framesize
4561 unsigned int framesize = 0;
4574 framesize = 0;
4582 if (framesize == 0 && info->params.addr_filter != 0xff)
4585 framesize += desc_count(info->rbufs[end]);
4618 if (framesize == 0 ||
4624 if (framesize < (2 + crc_size) || status & BIT0) {
4626 framesize = 0;
4630 framesize = 0;
4634 if (framesize == 0) {
4641 info->device_name, status, framesize));
4642 DBGDATA(info, info->rbufs[start].buf, min_t(int, framesize, info->rbuf_fill_level), "rx");
4644 if (framesize) {
4646 framesize -= crc_size;
4650 if (framesize > info->max_frame_size + crc_size)
4654 int copy_count = framesize;
4657 info->tmp_rbuf_count = framesize;
4672 framesize++;
4677 hdlcdev_rx(info,info->tmp_rbuf, framesize);
4680 ldisc_receive_buf(tty, info->tmp_rbuf, info->flag_buf, framesize);