Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-rds-gen.h19 #define VIVID_RDS_GEN_BLOCKS (VIVID_RDS_GEN_BLKS_PER_GRP * VIVID_RDS_GEN_GROUPS) macro
20 #define VIVID_RDS_NSEC_PER_BLK (u32)(5ull * NSEC_PER_SEC / VIVID_RDS_GEN_BLOCKS)
23 struct v4l2_rds_data data[VIVID_RDS_GEN_BLOCKS];
H A Dvivid-radio-tx.c51 if (blk - VIVID_RDS_GEN_BLOCKS >= dev->radio_tx_rds_last_block) in vivid_radio_tx_write()
52 dev->radio_tx_rds_last_block = blk - VIVID_RDS_GEN_BLOCKS + 1; in vivid_radio_tx_write()
74 unsigned data_blk = dev->radio_tx_rds_last_block % VIVID_RDS_GEN_BLOCKS; in vivid_radio_tx_write()
H A Dvivid-radio-rx.c57 use_alternates = (blk % VIVID_RDS_GEN_BLOCKS) & 1; 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()
92 unsigned data_blk = dev->radio_rx_rds_last_block % VIVID_RDS_GEN_BLOCKS; in vivid_radio_rx_read()