Home
last modified time | relevance | path

Searched refs:radio_rx_rds_last_block (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/media/platform/vivid/
Dvivid-radio-rx.c59 if (dev->radio_rx_rds_last_block == 0 || in vivid_radio_rx_read()
65 if (blk >= dev->radio_rx_rds_last_block + VIVID_RDS_GEN_BLOCKS) in vivid_radio_rx_read()
66 dev->radio_rx_rds_last_block = blk - VIVID_RDS_GEN_BLOCKS + 1; in vivid_radio_rx_read()
74 if (blk == dev->radio_rx_rds_last_block || !dev->radio_rx_rds_enabled || in vivid_radio_rx_read()
90 for (i = 0; i < size && blk > dev->radio_rx_rds_last_block; in vivid_radio_rx_read()
91 dev->radio_rx_rds_last_block++) { in vivid_radio_rx_read()
92 unsigned data_blk = dev->radio_rx_rds_last_block % VIVID_RDS_GEN_BLOCKS; in vivid_radio_rx_read()
Dvivid-core.h503 unsigned radio_rx_rds_last_block; member
Dvivid-core.c467 dev->radio_rx_rds_last_block = 0; in vivid_fop_release()