Searched refs:wr_index (Results 1 - 7 of 7) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/radio/si470x/ |
H A D | radio-si470x-i2c.c | 327 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); 328 radio->wr_index += 3; 331 if (radio->wr_index >= radio->buf_size) 332 radio->wr_index = 0; 335 if (radio->wr_index == radio->rd_index) { 343 if (radio->wr_index != radio->rd_index) 440 radio->wr_index = 0;
|
H A D | radio-si470x-usb.c | 475 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); 476 radio->wr_index += 3; 479 if (radio->wr_index >= radio->buf_size) 480 radio->wr_index = 0; 483 if (radio->wr_index == radio->rd_index) { 490 if (radio->wr_index != radio->rd_index) 776 radio->wr_index = 0;
|
H A D | radio-si470x-common.c | 447 while (radio->wr_index == radio->rd_index) { 453 radio->wr_index != radio->rd_index) < 0) { 465 if (radio->rd_index == radio->wr_index) 505 if (radio->rd_index != radio->wr_index)
|
H A D | radio-si470x.h | 161 unsigned int wr_index; member in struct:si470x_device
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/ |
H A D | saa6588.c | 76 unsigned int wr_index; member in struct:saa6588 159 if (s->rd_index == s->wr_index) { 238 s->buffer[s->wr_index] = blockbuf[i]; 239 s->wr_index++; 242 if (s->wr_index >= s->buf_size) 243 s->wr_index = 0; 245 if (s->wr_index == s->rd_index) { 497 s->wr_index = 0;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/trace/postprocess/ |
H A D | trace-vmscan-postprocess.pl | 628 my $wr_index = $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END}; 631 $perprocess{$process}->{HIGH_DIRECT_RECLAIM_LATENCY}[$wr_index] = $perprocesspid{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[$rd_index]; 633 $wr_index++; 635 $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END} = $wr_index; 638 my $wr_index = $perprocess{$process}->{MM_VMSCAN_KSWAPD_SLEEP}; 641 $perprocess{$process}->{HIGH_KSWAPD_LATENCY}[$wr_index] = $perprocesspid{$process_pid}->{HIGH_KSWAPD_LATENCY}[$rd_index]; 643 $wr_index++; 645 $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END} = $wr_index;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/plugin_xmms/ |
H A D | http.c | 71 static gint sock, rd_index, wr_index, buffer_length, prebuffer_length; variable 204 if (wr_index >= rd_index) 205 return wr_index - rd_index; 206 return buffer_length - (rd_index - wr_index); 211 if (rd_index > wr_index) 212 return (rd_index - wr_index) - 1; 213 return (buffer_length - (wr_index - rd_index)) - 1; 650 cnt = min(http_free(), buffer_length - wr_index); 653 written = read(sock, buffer + wr_index, cnt); 666 wr_index [all...] |
Completed in 174 milliseconds