Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/i2c/
Dsaa6588.c62 unsigned int wr_index; member
145 if (s->rd_index == s->wr_index) { in block_from_buf()
230 s->buffer[s->wr_index] = blockbuf[i]; in block_to_buf()
231 s->wr_index++; in block_to_buf()
234 if (s->wr_index >= s->buf_size) in block_to_buf()
235 s->wr_index = 0; in block_to_buf()
237 if (s->wr_index == s->rd_index) { in block_to_buf()
473 s->wr_index = 0; in saa6588_probe()
/linux-6.1.9/drivers/media/radio/si470x/
Dradio-si470x-i2c.c306 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); in si470x_i2c_interrupt()
307 radio->wr_index += 3; in si470x_i2c_interrupt()
310 if (radio->wr_index >= radio->buf_size) in si470x_i2c_interrupt()
311 radio->wr_index = 0; in si470x_i2c_interrupt()
314 if (radio->wr_index == radio->rd_index) { in si470x_i2c_interrupt()
322 if (radio->wr_index != radio->rd_index) in si470x_i2c_interrupt()
430 radio->wr_index = 0; in si470x_i2c_probe()
Dradio-si470x-usb.c443 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); in si470x_int_in_callback()
444 radio->wr_index += 3; in si470x_int_in_callback()
447 if (radio->wr_index >= radio->buf_size) in si470x_int_in_callback()
448 radio->wr_index = 0; in si470x_int_in_callback()
451 if (radio->wr_index == radio->rd_index) { in si470x_int_in_callback()
458 if (radio->wr_index != radio->rd_index) in si470x_int_in_callback()
723 radio->wr_index = 0; in si470x_usb_driver_probe()
Dradio-si470x-common.c471 while (radio->wr_index == radio->rd_index) { in si470x_fops_read()
477 radio->wr_index != radio->rd_index) < 0) { in si470x_fops_read()
488 if (radio->rd_index == radio->wr_index) in si470x_fops_read()
529 if (radio->rd_index != radio->wr_index) in si470x_fops_poll()
Dradio-si470x.h150 unsigned int wr_index; member
/linux-6.1.9/Documentation/trace/postprocess/
Dtrace-vmscan-postprocess.pl700 my $wr_index = $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END};
703 …$perprocess{$process}->{HIGH_DIRECT_RECLAIM_LATENCY}[$wr_index] = $perprocesspid{$process_pid}->{H…
705 $wr_index++;
707 $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END} = $wr_index;
710 my $wr_index = $perprocess{$process}->{MM_VMSCAN_KSWAPD_SLEEP};
713 …$perprocess{$process}->{HIGH_KSWAPD_LATENCY}[$wr_index] = $perprocesspid{$process_pid}->{HIGH_KSWA…
715 $wr_index++;
717 $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END} = $wr_index;
/linux-6.1.9/drivers/media/radio/
Dradio-wl1273.c67 unsigned int wr_index; member
194 memcpy(&radio->buffer[radio->wr_index], &rds, RDS_BLOCK_SIZE); in wl1273_fm_rds()
195 radio->wr_index += 3; in wl1273_fm_rds()
198 if (radio->wr_index >= radio->buf_size) in wl1273_fm_rds()
199 radio->wr_index = 0; in wl1273_fm_rds()
202 if (radio->wr_index == radio->rd_index) { in wl1273_fm_rds()
206 radio->wr_index = 0; in wl1273_fm_rds()
212 if (radio->wr_index != radio->rd_index) in wl1273_fm_rds()
446 radio->wr_index = 0; in wl1273_fm_set_rx_freq()
589 radio->wr_index = 0; in wl1273_fm_start()
[all …]