Searched refs:rd_index (Results 1 – 5 of 5) sorted by relevance
480 while (radio->wr_index == radio->rd_index) { in si470x_fops_read()486 radio->wr_index != radio->rd_index) < 0) { in si470x_fops_read()497 if (radio->rd_index == radio->wr_index) in si470x_fops_read()501 if (copy_to_user(buf, &radio->buffer[radio->rd_index], 3)) in si470x_fops_read()506 radio->rd_index += 3; in si470x_fops_read()507 if (radio->rd_index >= radio->buf_size) in si470x_fops_read()508 radio->rd_index = 0; in si470x_fops_read()538 if (radio->rd_index != radio->wr_index) in si470x_fops_poll()
326 if (radio->wr_index == radio->rd_index) { in si470x_i2c_interrupt()328 radio->rd_index += 3; in si470x_i2c_interrupt()329 if (radio->rd_index >= radio->buf_size) in si470x_i2c_interrupt()330 radio->rd_index = 0; in si470x_i2c_interrupt()334 if (radio->wr_index != radio->rd_index) in si470x_i2c_interrupt()441 radio->rd_index = 0; in si470x_i2c_probe()
460 if (radio->wr_index == radio->rd_index) { in si470x_int_in_callback()462 radio->rd_index += 3; in si470x_int_in_callback()463 if (radio->rd_index >= radio->buf_size) in si470x_int_in_callback()464 radio->rd_index = 0; in si470x_int_in_callback()467 if (radio->wr_index != radio->rd_index) in si470x_int_in_callback()739 radio->rd_index = 0; in si470x_usb_driver_probe()
158 unsigned int rd_index; member
74 unsigned int rd_index; member210 if (radio->wr_index == radio->rd_index) { in wl1273_fm_rds()213 radio->rd_index = 0; in wl1273_fm_rds()220 if (radio->wr_index != radio->rd_index) in wl1273_fm_rds()453 radio->rd_index = 0; in wl1273_fm_set_rx_freq()598 radio->rd_index = 0; in wl1273_fm_start()1106 if (radio->rd_index != radio->wr_index) in wl1273_fm_fops_poll()1225 while (radio->wr_index == radio->rd_index) { in wl1273_fm_fops_read()1234 radio->rd_index) < 0) { in wl1273_fm_fops_read()1245 if (radio->rd_index == radio->wr_index) in wl1273_fm_fops_read()[all …]