Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/media/radio/si470x/
Dradio-si470x-i2c.c318 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); in si470x_i2c_interrupt()
319 radio->wr_index += 3; in si470x_i2c_interrupt()
322 if (radio->wr_index >= radio->buf_size) in si470x_i2c_interrupt()
323 radio->wr_index = 0; in si470x_i2c_interrupt()
326 if (radio->wr_index == radio->rd_index) { in si470x_i2c_interrupt()
334 if (radio->wr_index != radio->rd_index) in si470x_i2c_interrupt()
440 radio->wr_index = 0; in si470x_i2c_probe()
Dradio-si470x-usb.c452 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); in si470x_int_in_callback()
453 radio->wr_index += 3; in si470x_int_in_callback()
456 if (radio->wr_index >= radio->buf_size) in si470x_int_in_callback()
457 radio->wr_index = 0; in si470x_int_in_callback()
460 if (radio->wr_index == radio->rd_index) { in si470x_int_in_callback()
467 if (radio->wr_index != radio->rd_index) in si470x_int_in_callback()
738 radio->wr_index = 0; in si470x_usb_driver_probe()
Dradio-si470x-common.c480 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()
538 if (radio->rd_index != radio->wr_index) in si470x_fops_poll()
Dradio-si470x.h159 unsigned int wr_index; member
/linux-4.19.296/drivers/media/radio/
Dradio-wl1273.c75 unsigned int wr_index; member
202 memcpy(&radio->buffer[radio->wr_index], &rds, RDS_BLOCK_SIZE); in wl1273_fm_rds()
203 radio->wr_index += 3; in wl1273_fm_rds()
206 if (radio->wr_index >= radio->buf_size) in wl1273_fm_rds()
207 radio->wr_index = 0; in wl1273_fm_rds()
210 if (radio->wr_index == radio->rd_index) { in wl1273_fm_rds()
214 radio->wr_index = 0; in wl1273_fm_rds()
220 if (radio->wr_index != radio->rd_index) in wl1273_fm_rds()
454 radio->wr_index = 0; in wl1273_fm_set_rx_freq()
597 radio->wr_index = 0; in wl1273_fm_start()
[all …]