Lines Matching refs:EndIndex
764 …_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()
6555 if ( EndIndex == StartIndex ) { in mgsl_get_rx_frame()
6573 status = info->rx_buffer_list[EndIndex].status; in mgsl_get_rx_frame()
6605 framesize = RCLRVALUE - info->rx_buffer_list[EndIndex].rcc; in mgsl_get_rx_frame()
6673 mgsl_free_rx_frame_buffers( info, StartIndex, EndIndex ); in mgsl_get_rx_frame()
6685 if ( !info->rx_buffer_list[EndIndex].status && in mgsl_get_rx_frame()
6686 info->rx_buffer_list[EndIndex].count ) { in mgsl_get_rx_frame()