Searched refs:tx_buffer_count (Results 1 – 2 of 2) sorted by relevance
246 u16 tx_buffer_count; member1405 space = serial->tx_data_length - serial->tx_buffer_count; in hso_serial_write()1411 memcpy(serial->tx_buffer + serial->tx_buffer_count, buf, tx_bytes); in hso_serial_write()1412 serial->tx_buffer_count += tx_bytes; in hso_serial_write()1430 room = serial->tx_data_length - serial->tx_buffer_count; in hso_serial_write_room()1470 chars = serial->tx_buffer_count; in hso_serial_chars_in_buffer()1762 if (!serial->tx_buffer_count) in hso_kick_transmit()1776 serial->tx_data_count = serial->tx_buffer_count; in hso_kick_transmit()1777 serial->tx_buffer_count = 0; in hso_kick_transmit()2355 serial->tx_buffer_count = 0; in hso_serial_common_create()
230 unsigned int tx_buffer_count; /* count of total allocated Tx buffers */ member3624 info->tx_buffer_count = info->num_tx_dma_buffers * BuffersPerFrame; in mgsl_allocate_dma_buffers()3625 info->rx_buffer_count = 62 - info->tx_buffer_count; in mgsl_allocate_dma_buffers()3637 info->tx_buffer_count = info->num_tx_dma_buffers * BuffersPerFrame; in mgsl_allocate_dma_buffers()3645 if ( (info->tx_buffer_count + info->rx_buffer_count) > 62 ) in mgsl_allocate_dma_buffers()3646 info->rx_buffer_count = 62 - info->tx_buffer_count; in mgsl_allocate_dma_buffers()3652 __FILE__,__LINE__, info->tx_buffer_count,info->rx_buffer_count); in mgsl_allocate_dma_buffers()3656 mgsl_alloc_frame_memory(info, info->tx_buffer_list, info->tx_buffer_count) < 0 || in mgsl_allocate_dma_buffers()3749 for ( i = 0; i < info->tx_buffer_count; i++ ) { in mgsl_alloc_buffer_list_memory()3760 if ( i < info->tx_buffer_count - 1 ) in mgsl_alloc_buffer_list_memory()[all …]