Searched refs:wr_index (Results 1 – 7 of 7) sorted by relevance
62 unsigned int wr_index; member145 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()
306 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()
443 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()
471 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()
150 unsigned int wr_index; member
700 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;
67 unsigned int wr_index; member194 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 …]