Searched refs:tx_buffer_count (Results 1 – 2 of 2) sorted by relevance
214 u16 tx_buffer_count; member1343 space = serial->tx_data_length - serial->tx_buffer_count; in hso_serial_write()1349 memcpy(serial->tx_buffer + serial->tx_buffer_count, buf, tx_bytes); in hso_serial_write()1350 serial->tx_buffer_count += tx_bytes; in hso_serial_write()1368 room = serial->tx_data_length - serial->tx_buffer_count; in hso_serial_write_room()1419 chars = serial->tx_buffer_count; in hso_serial_chars_in_buffer()1726 if (!serial->tx_buffer_count) in hso_kick_transmit()1738 serial->tx_data_count = serial->tx_buffer_count; in hso_kick_transmit()1739 serial->tx_buffer_count = 0; in hso_kick_transmit()2302 serial->tx_buffer_count = 0; in hso_serial_common_create()
229 unsigned int tx_buffer_count; /* count of total allocated Tx buffers */ member3571 info->tx_buffer_count = info->num_tx_dma_buffers * BuffersPerFrame; in mgsl_allocate_dma_buffers()3572 info->rx_buffer_count = 62 - info->tx_buffer_count; in mgsl_allocate_dma_buffers()3576 __FILE__,__LINE__, info->tx_buffer_count,info->rx_buffer_count); in mgsl_allocate_dma_buffers()3580 mgsl_alloc_frame_memory(info, info->tx_buffer_list, info->tx_buffer_count) < 0 || in mgsl_allocate_dma_buffers()3660 for ( i = 0; i < info->tx_buffer_count; i++ ) { in mgsl_alloc_buffer_list_memory()3671 if ( i < info->tx_buffer_count - 1 ) in mgsl_alloc_buffer_list_memory()3766 mgsl_free_frame_memory( info, info->tx_buffer_list, info->tx_buffer_count ); in mgsl_free_dma_buffers()6194 for ( i = 0; i < info->tx_buffer_count; i++ ) { in mgsl_reset_tx_dma_buffers()6218 return info->tx_buffer_count - info->tx_dma_buffers_used; in num_free_tx_dma_buffers()[all …]