Lines Matching refs:tx_buffer_count
230 unsigned int tx_buffer_count; /* count of total allocated Tx buffers */ member
3622 info->tx_buffer_count = info->num_tx_dma_buffers * BuffersPerFrame; in mgsl_allocate_dma_buffers()
3623 info->rx_buffer_count = 62 - info->tx_buffer_count; in mgsl_allocate_dma_buffers()
3635 info->tx_buffer_count = info->num_tx_dma_buffers * BuffersPerFrame; in mgsl_allocate_dma_buffers()
3643 if ( (info->tx_buffer_count + info->rx_buffer_count) > 62 ) in mgsl_allocate_dma_buffers()
3644 info->rx_buffer_count = 62 - info->tx_buffer_count; in mgsl_allocate_dma_buffers()
3650 __FILE__,__LINE__, info->tx_buffer_count,info->rx_buffer_count); in mgsl_allocate_dma_buffers()
3654 mgsl_alloc_frame_memory(info, info->tx_buffer_list, info->tx_buffer_count) < 0 || in mgsl_allocate_dma_buffers()
3747 for ( i = 0; i < info->tx_buffer_count; i++ ) { in mgsl_alloc_buffer_list_memory()
3758 if ( i < info->tx_buffer_count - 1 ) in mgsl_alloc_buffer_list_memory()
3869 mgsl_free_frame_memory( info, info->tx_buffer_list, info->tx_buffer_count ); in mgsl_free_dma_buffers()
6413 for ( i = 0; i < info->tx_buffer_count; i++ ) { in mgsl_reset_tx_dma_buffers()
6437 return info->tx_buffer_count - info->tx_dma_buffers_used; in num_free_tx_dma_buffers()
6922 if ( i == info->tx_buffer_count ) in mgsl_load_tx_dma_buffer()