Lines Matching refs:max_frame_size

181 	u32 max_frame_size;			/* as set by device config */  member
931 if (count > info->max_frame_size) { in write()
950 min(info->max_frame_size - info->tx_count - 1, in write()
951 info->max_frame_size - info->tx_put)); in write()
959 if (info->tx_put >= info->max_frame_size) in write()
960 info->tx_put -= info->max_frame_size; in write()
1015 if (info->tx_count < info->max_frame_size - 1) { in put_char()
1017 if (info->tx_put >= info->max_frame_size) in put_char()
1018 info->tx_put -= info->max_frame_size; in put_char()
1131 ret = info->max_frame_size - info->tx_count - 1; in write_room()
1355 info->max_frame_size ); in line_info()
2648 info->tx_buf = kmalloc(info->max_frame_size, GFP_KERNEL); in startup()
3385 BuffersPerFrame = (unsigned short)(info->max_frame_size/SCABUFSIZE); in alloc_dma_bufs()
3386 if ( info->max_frame_size % SCABUFSIZE ) in alloc_dma_bufs()
3530 info->tmp_rx_buf = kmalloc(info->max_frame_size, GFP_KERNEL); in alloc_tmp_rx_buf()
3534 info->flag_buf = kzalloc(info->max_frame_size, GFP_KERNEL); in alloc_tmp_rx_buf()
3704 info->max_frame_size = maxframe[info->line]; in add_device()
3718 if ( info->max_frame_size < 4096 ) in add_device()
3719 info->max_frame_size = 4096; in add_device()
3720 else if ( info->max_frame_size > 65535 ) in add_device()
3721 info->max_frame_size = 65535; in add_device()
3731 info->max_frame_size ); in add_device()
3762 info->max_frame_size = 4096; in alloc_dev()
4310 if (info->tx_get >= info->max_frame_size) in tx_load_fifo()
4311 info->tx_get -= info->max_frame_size; in tx_load_fifo()
4313 if (info->tx_get >= info->max_frame_size) in tx_load_fifo()
4314 info->tx_get -= info->max_frame_size; in tx_load_fifo()
4329 if (info->tx_get >= info->max_frame_size) in tx_load_fifo()
4330 info->tx_get -= info->max_frame_size; in tx_load_fifo()
4954 if (framesize > info->max_frame_size) in rx_get_frame()