Searched refs:wr_index (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/drivers/media/i2c/
H A Dsaa6588.c74 unsigned int wr_index; member in struct:saa6588
157 if (s->rd_index == s->wr_index) { block_from_buf()
242 s->buffer[s->wr_index] = blockbuf[i]; block_to_buf()
243 s->wr_index++; block_to_buf()
246 if (s->wr_index >= s->buf_size) block_to_buf()
247 s->wr_index = 0; block_to_buf()
249 if (s->wr_index == s->rd_index) { block_to_buf()
487 s->wr_index = 0; saa6588_probe()
/linux-4.1.27/drivers/media/radio/si470x/
H A Dradio-si470x-i2c.c323 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); si470x_i2c_interrupt()
324 radio->wr_index += 3; si470x_i2c_interrupt()
327 if (radio->wr_index >= radio->buf_size) si470x_i2c_interrupt()
328 radio->wr_index = 0; si470x_i2c_interrupt()
331 if (radio->wr_index == radio->rd_index) { si470x_i2c_interrupt()
339 if (radio->wr_index != radio->rd_index) si470x_i2c_interrupt()
419 radio->wr_index = 0; si470x_i2c_probe()
H A Dradio-si470x-usb.c456 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); si470x_int_in_callback()
457 radio->wr_index += 3; si470x_int_in_callback()
460 if (radio->wr_index >= radio->buf_size) si470x_int_in_callback()
461 radio->wr_index = 0; si470x_int_in_callback()
464 if (radio->wr_index == radio->rd_index) { si470x_int_in_callback()
471 if (radio->wr_index != radio->rd_index) si470x_int_in_callback()
738 radio->wr_index = 0; si470x_usb_driver_probe()
H A Dradio-si470x-common.c470 while (radio->wr_index == radio->rd_index) { si470x_fops_read()
476 radio->wr_index != radio->rd_index) < 0) { si470x_fops_read()
487 if (radio->rd_index == radio->wr_index) si470x_fops_read()
528 if (radio->rd_index != radio->wr_index) si470x_fops_poll()
H A Dradio-si470x.h161 unsigned int wr_index; member in struct:si470x_device
/linux-4.1.27/Documentation/trace/postprocess/
H A Dtrace-vmscan-postprocess.pl699 my $wr_index = $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END};
702 $perprocess{$process}->{HIGH_DIRECT_RECLAIM_LATENCY}[$wr_index] = $perprocesspid{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[$rd_index];
704 $wr_index++;
706 $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END} = $wr_index;
709 my $wr_index = $perprocess{$process}->{MM_VMSCAN_KSWAPD_SLEEP};
712 $perprocess{$process}->{HIGH_KSWAPD_LATENCY}[$wr_index] = $perprocesspid{$process_pid}->{HIGH_KSWAPD_LATENCY}[$rd_index];
714 $wr_index++;
716 $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END} = $wr_index;
/linux-4.1.27/drivers/media/radio/
H A Dradio-wl1273.c79 unsigned int wr_index; member in struct:wl1273_device
206 memcpy(&radio->buffer[radio->wr_index], &rds, RDS_BLOCK_SIZE); wl1273_fm_rds()
207 radio->wr_index += 3; wl1273_fm_rds()
210 if (radio->wr_index >= radio->buf_size) wl1273_fm_rds()
211 radio->wr_index = 0; wl1273_fm_rds()
214 if (radio->wr_index == radio->rd_index) { wl1273_fm_rds()
218 radio->wr_index = 0; wl1273_fm_rds()
224 if (radio->wr_index != radio->rd_index) wl1273_fm_rds()
458 radio->wr_index = 0; wl1273_fm_set_rx_freq()
601 radio->wr_index = 0; wl1273_fm_start()
1099 if (radio->rd_index != radio->wr_index) wl1273_fm_fops_poll()
1219 while (radio->wr_index == radio->rd_index) { wl1273_fm_fops_read()
1227 radio->wr_index != wl1273_fm_fops_read()
1239 if (radio->rd_index == radio->wr_index) wl1273_fm_fops_read()

Completed in 182 milliseconds