Searched refs:read_enc (Results 1 – 3 of 3) sorted by relevance
163 u32 wr_idx = (read_enc(itv->pgm_info_offset) - itv->pgm_info_offset - 4) / 24; in ivtv_update_pgm_info()180 e->offset = read_enc(addr + 4) + ((u64)read_enc(addr + 8) << 32); in ivtv_update_pgm_info()185 e->length = read_enc(addr); in ivtv_update_pgm_info()186 e->pts = read_enc(addr + 16) + ((u64)(read_enc(addr + 20) & 1) << 32); in ivtv_update_pgm_info()187 e->flags = mapping[read_enc(addr + 12) & 7]; in ivtv_update_pgm_info()
159 offset = read_enc(itv->vbi.enc_start - 4) + 12; in stream_enc_dma_append()164 s->pending_pts = read_enc(offset - 4) | ((u64)read_enc(offset - 8) << 32); in stream_enc_dma_append()186 s->pending_backup = read_enc(offset); in stream_enc_dma_append()
815 #define read_enc(addr) readl(itv->enc_mem + (u32)(addr)) macro818 do { write_enc(val, addr); read_enc(addr); } while (0)