Home
last modified time | relevance | path

Searched refs:tw_readl (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/media/pci/tw5864/
H A Dtw5864-util.c8 while (tw_readl(TW5864_IND_CTL) & BIT(31) && --retries) in tw5864_indir_writeb()
22 while (tw_readl(TW5864_IND_CTL) & BIT(31) && --retries) in tw5864_indir_readb()
31 while (tw_readl(TW5864_IND_CTL) & BIT(31) && --retries) in tw5864_indir_readb()
37 return tw_readl(TW5864_IND_DATA); in tw5864_indir_readb()
H A Dtw5864-core.c101 status = tw_readl(TW5864_INTR_STATUS_L) | in tw5864_isr()
102 tw_readl(TW5864_INTR_STATUS_H) << 16; in tw5864_isr()
125 int channel = tw_readl(TW5864_DSP) & TW5864_DSP_ENC_CHN; in tw5864_h264_isr()
139 cur_frame->vlc_len = tw_readl(TW5864_VLC_LENGTH) << 2; in tw5864_h264_isr()
140 cur_frame->checksum = tw_readl(TW5864_VLC_CRC_REG); in tw5864_h264_isr()
282 tw_readl(TW5864_HW_VERSION)); in tw5864_initdev()
284 tw_readl(TW5864_H264REV), in tw5864_initdev()
285 tw_readl(TW5864_UNDECLARED_H264REV_PART2)); in tw5864_initdev()
H A Dtw5864.h167 #define tw_readl(reg) readl(dev->mmio + reg) macro
169 (tw_readl(reg) & (mask))
175 tw_writel(reg, (tw_readl(reg) & ~(mask)) | ((value) & (mask)))
179 #define tw_setl(reg, bit) tw_writel((reg), tw_readl(reg) | (bit))
180 #define tw_clearl(reg, bit) tw_writel((reg), tw_readl(reg) & ~(bit))
H A Dtw5864-video.c857 reg->val = tw_readl(reg->reg); in tw5864_g_reg()
/linux/drivers/media/pci/tw68/
H A Dtw68-core.c192 status = orig = tw_readl(TW68_INTSTAT) & dev->pci_irqmask; in tw68_irq()
199 status = tw_readl(TW68_INTSTAT) & dev->pci_irqmask; in tw68_irq()
204 dev->name, orig, tw_readl(TW68_INTSTAT)); in tw68_irq()
H A Dtw68-video.c788 cptr += sprintf(cptr, "%08x ", tw_readl(j)); in tw68_dump_regs()
791 cptr += sprintf(cptr, "%08x ", tw_readl(j)); in tw68_dump_regs()
832 reg->val = tw_readl(reg->reg); in vidioc_g_register()
1012 reg = tw_readl(TW68_DMAC) & TW68_FIFO_EN; in tw68_irq_video_done()
H A Dtw68.h167 #define tw_readl(reg) readl(dev->lmmio + ((reg) >> 2)) macro