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

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/char/
H A Dsynclink.c780 static void mgsl_free_rx_frame_buffers( struct mgsl_struct *info, unsigned int StartIndex, unsigned int EndIndex );
6511 * EndIndex index of last receive buffer of frame
6515 static void mgsl_free_rx_frame_buffers( struct mgsl_struct *info, unsigned int StartIndex, unsigned int EndIndex )
6529 if ( Index == EndIndex ) {
6560 unsigned int StartIndex, EndIndex; /* index of 1st and last buffers of Rx frame */ local
6576 StartIndex = EndIndex = info->current_rx_buffer;
6578 while( !info->rx_buffer_list[EndIndex].status ) {
6586 if ( info->rx_buffer_list[EndIndex].count )
6590 EndIndex++;
6591 if ( EndIndex
[all...]
H A Dsynclinkmp.c4873 unsigned int StartIndex, EndIndex; /* index of 1st and last buffers of Rx frame */ local
4894 StartIndex = EndIndex = info->current_rx_buf;
4897 desc = &info->rx_buf_list[EndIndex];
4898 desc_ex = &info->rx_buf_list_ex[EndIndex];
4912 EndIndex++;
4913 if (EndIndex == info->rx_buf_count)
4914 EndIndex = 0;
4916 if (EndIndex == info->current_rx_buf) {
4953 rx_free_frame_buffers(info, StartIndex, EndIndex);
5025 rx_free_frame_buffers( info, StartIndex, EndIndex );
[all...]

Completed in 178 milliseconds