Lines Matching refs:max_frame_size
181 u32 max_frame_size; /* as set by device config */ member
940 if (count > info->max_frame_size) { in write()
959 min(info->max_frame_size - info->tx_count - 1, in write()
960 info->max_frame_size - info->tx_put)); in write()
968 if (info->tx_put >= info->max_frame_size) in write()
969 info->tx_put -= info->max_frame_size; in write()
1024 if (info->tx_count < info->max_frame_size - 1) { in put_char()
1026 if (info->tx_put >= info->max_frame_size) in put_char()
1027 info->tx_put -= info->max_frame_size; in put_char()
1140 ret = info->max_frame_size - info->tx_count - 1; in write_room()
1364 info->max_frame_size ); in line_info()
2654 info->tx_buf = kmalloc(info->max_frame_size, GFP_KERNEL); in startup()
3392 BuffersPerFrame = (unsigned short)(info->max_frame_size/SCABUFSIZE); in alloc_dma_bufs()
3393 if ( info->max_frame_size % SCABUFSIZE ) in alloc_dma_bufs()
3537 info->tmp_rx_buf = kmalloc(info->max_frame_size, GFP_KERNEL); in alloc_tmp_rx_buf()
3541 info->flag_buf = kzalloc(info->max_frame_size, GFP_KERNEL); in alloc_tmp_rx_buf()
3711 info->max_frame_size = maxframe[info->line]; in add_device()
3725 if ( info->max_frame_size < 4096 ) in add_device()
3726 info->max_frame_size = 4096; in add_device()
3727 else if ( info->max_frame_size > 65535 ) in add_device()
3728 info->max_frame_size = 65535; in add_device()
3738 info->max_frame_size ); in add_device()
3769 info->max_frame_size = 4096; in alloc_dev()
4316 if (info->tx_get >= info->max_frame_size) in tx_load_fifo()
4317 info->tx_get -= info->max_frame_size; in tx_load_fifo()
4319 if (info->tx_get >= info->max_frame_size) in tx_load_fifo()
4320 info->tx_get -= info->max_frame_size; in tx_load_fifo()
4335 if (info->tx_get >= info->max_frame_size) in tx_load_fifo()
4336 info->tx_get -= info->max_frame_size; in tx_load_fifo()
4960 if (framesize > info->max_frame_size) in rx_get_frame()