Searched refs:wr_idx (Results 1 – 5 of 5) sorted by relevance
806 memcpy(&rds->buff[rds->wr_idx], &tmpbuf, FM_RDS_BLK_SIZE); in fm_irq_handle_rdsdata_getcmd_resp()807 rds->wr_idx = (rds->wr_idx + FM_RDS_BLK_SIZE) % rds->buf_size; in fm_irq_handle_rdsdata_getcmd_resp()810 if (rds->wr_idx == rds->rd_idx) { in fm_irq_handle_rdsdata_getcmd_resp()812 rds->wr_idx = 0; in fm_irq_handle_rdsdata_getcmd_resp()822 if (rds->wr_idx != rds->rd_idx) in fm_irq_handle_rdsdata_getcmd_resp()1065 if (fmdev->rx.rds.rd_idx != fmdev->rx.rds.wr_idx) in fmc_is_rds_data_available()1079 if (fmdev->rx.rds.wr_idx == fmdev->rx.rds.rd_idx) { in fmc_transfer_rds_from_internal_buff()1084 (fmdev->rx.rds.wr_idx != fmdev->rx.rds.rd_idx)); in fmc_transfer_rds_from_internal_buff()1097 if (fmdev->rx.rds.wr_idx == fmdev->rx.rds.rd_idx) in fmc_transfer_rds_from_internal_buff()
134 u32 wr_idx; member
32 fmdev->rx.rds.wr_idx = 0; in fm_rx_reset_rds_cache()733 fmdev->rx.rds.wr_idx = 0; in fm_rx_set_rds_mode()
173 u32 wr_idx = (read_enc(itv->pgm_info_offset) - itv->pgm_info_offset - 4) / 24; in ivtv_update_pgm_info() local177 if (wr_idx >= itv->pgm_info_num) { in ivtv_update_pgm_info()178 IVTV_DEBUG_WARN("Invalid PGM index %d (>= %d)\n", wr_idx, itv->pgm_info_num); in ivtv_update_pgm_info()181 cnt = (wr_idx + itv->pgm_info_num - itv->pgm_info_write_idx) % itv->pgm_info_num; in ivtv_update_pgm_info()
129 #define WRID_IDX(wrid) (wrid.id0.wr_idx)