Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/pci/tw5864/
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()
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()
287 tw_readl(TW5864_HW_VERSION)); in tw5864_initdev()
289 tw_readl(TW5864_H264REV), in tw5864_initdev()
290 tw_readl(TW5864_UNDECLARED_H264REV_PART2)); in tw5864_initdev()
Dtw5864.h166 #define tw_readl(reg) readl(dev->mmio + reg) macro
168 (tw_readl(reg) & (mask))
174 tw_writel(reg, (tw_readl(reg) & ~(mask)) | ((value) & (mask)))
178 #define tw_setl(reg, bit) tw_writel((reg), tw_readl(reg) | (bit))
179 #define tw_clearl(reg, bit) tw_writel((reg), tw_readl(reg) & ~(bit))
Dtw5864-video.c857 reg->val = tw_readl(reg->reg); in tw5864_g_reg()
/kernel/linux/linux-5.10/drivers/media/pci/tw68/
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()
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()
Dtw68.h167 #define tw_readl(reg) readl(dev->lmmio + ((reg) >> 2)) macro