Home
last modified time | relevance | path

Searched refs:EndIndex (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/tty/
Dsynclink.c764 …_free_rx_frame_buffers( struct mgsl_struct *info, unsigned int StartIndex, unsigned int EndIndex );
6475 …l_free_rx_frame_buffers( struct mgsl_struct *info, unsigned int StartIndex, unsigned int EndIndex ) in mgsl_free_rx_frame_buffers() argument
6489 if ( Index == EndIndex ) { in mgsl_free_rx_frame_buffers()
6520 unsigned int StartIndex, EndIndex; /* index of 1st and last buffers of Rx frame */ in mgsl_get_rx_frame() local
6536 StartIndex = EndIndex = info->current_rx_buffer; in mgsl_get_rx_frame()
6538 while( !info->rx_buffer_list[EndIndex].status ) { in mgsl_get_rx_frame()
6546 if ( info->rx_buffer_list[EndIndex].count ) in mgsl_get_rx_frame()
6550 EndIndex++; in mgsl_get_rx_frame()
6551 if ( EndIndex == info->rx_buffer_count ) in mgsl_get_rx_frame()
6552 EndIndex = 0; in mgsl_get_rx_frame()
[all …]
Dsynclinkmp.c4838 unsigned int StartIndex, EndIndex; /* index of 1st and last buffers of Rx frame */ in rx_get_frame() local
4859 StartIndex = EndIndex = info->current_rx_buf; in rx_get_frame()
4862 desc = &info->rx_buf_list[EndIndex]; in rx_get_frame()
4863 desc_ex = &info->rx_buf_list_ex[EndIndex]; in rx_get_frame()
4877 EndIndex++; in rx_get_frame()
4878 if (EndIndex == info->rx_buf_count) in rx_get_frame()
4879 EndIndex = 0; in rx_get_frame()
4881 if (EndIndex == info->current_rx_buf) { in rx_get_frame()
4918 rx_free_frame_buffers(info, StartIndex, EndIndex); in rx_get_frame()
4989 rx_free_frame_buffers( info, StartIndex, EndIndex ); in rx_get_frame()
[all …]