Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/media/radio/wl128x/
Dfmdrv_common.c806 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()
Dfmdrv.h134 u32 wr_idx; member
Dfmdrv_rx.c32 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()
/linux-2.6.39/drivers/media/video/ivtv/
Divtv-fileops.c173 u32 wr_idx = (read_enc(itv->pgm_info_offset) - itv->pgm_info_offset - 4) / 24; in ivtv_update_pgm_info() local
177 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()
/linux-2.6.39/drivers/infiniband/hw/cxgb3/
Dcxio_wr.h129 #define WRID_IDX(wrid) (wrid.id0.wr_idx)