Searched refs:tw_writel (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/drivers/media/pci/tw68/ |
A D | tw68-core.c | 87 tw_writel(TW68_INTMASK, 0); /* 020 */ in tw68_hw_init1() 89 tw_writel(TW68_INTSTAT, 0xffffffff); /* 01C */ in tw68_hw_init1() 91 tw_writel(TW68_DMAC, 0x1600); in tw68_hw_init1() 156 tw_writel(TW68_VBIC, 0x03); /* 010 */ in tw68_hw_init1() 158 tw_writel(TW68_DMAC, 0x2000); /* patch set had 0x2080 */ in tw68_hw_init1() 159 tw_writel(TW68_TESTREG, 0); /* 02C */ in tw68_hw_init1() 173 tw_writel(TW68_GPIOC, 0); /* Set the GPIO to "normal", no ints */ in tw68_hw_init1() 174 tw_writel(TW68_GPOE, 0x0f); /* Set bits 0-3 to "output" */ in tw68_hw_init1() 175 tw_writel(TW68_GPDATA, 0); /* Set all bits to low state */ in tw68_hw_init1() 348 tw_writel(TW68_INTMASK, 0); in tw68_finidev() [all …]
|
A D | tw68-video.c | 330 tw_writel(TW68_DMAP_SA, buf->dma); in tw68_video_start_dma() 332 tw_writel(TW68_INTSTAT, dev->board_virqmask); in tw68_video_start_dma() 841 tw_writel(reg->reg & 0xffff, reg->val); in vidioc_s_register() 973 tw_writel(TW68_INTSTAT, status); in tw68_irq_video_done()
|
A D | tw68.h | 169 #define tw_writel(reg, value) writel((value), dev->lmmio + ((reg) >> 2)) macro
|
/linux-6.3-rc2/drivers/media/pci/tw5864/ |
A D | tw5864-video.c | 333 tw_writel(TW5864_DSP_PIC_MAX_MB, in tw5864_enable_input() 376 tw_writel(TW5864_EMU, input->reg_emu); in tw5864_request_encoded_frame() 398 tw_writel(TW5864_VLC, in tw5864_request_encoded_frame() 405 tw_writel(TW5864_DSP_ENC_ORG_PTR_REG, in tw5864_request_encoded_frame() 407 tw_writel(TW5864_DSP_ENC_REC, in tw5864_request_encoded_frame() 411 tw_writel(TW5864_SLICE, 0); in tw5864_request_encoded_frame() 877 tw_writel(reg->reg, reg->val); in tw5864_s_reg() 1026 tw_writel(TW5864_SEN_EN_CH, 0x000f); in tw5864_video_init() 1058 tw_writel(TW5864_PCI_INTR_CTL, in tw5864_video_init() 1498 tw_writel(TW5864_VLC_RD, 0x1); in tw5864_encoder_tables_upload() [all …]
|
A D | tw5864-core.c | 79 tw_writel(TW5864_INTR_ENABLE_L, dev->irqmask & 0xffff); in tw5864_irqmask_apply() 80 tw_writel(TW5864_INTR_ENABLE_H, (dev->irqmask >> 16)); in tw5864_irqmask_apply() 106 tw_writel(TW5864_INTR_CLR_L, 0xffff); in tw5864_isr() 107 tw_writel(TW5864_INTR_CLR_H, 0xffff); in tw5864_isr() 167 tw_writel(TW5864_VLC_STREAM_BASE_ADDR, cur_frame->vlc.dma_addr); in tw5864_h264_isr() 168 tw_writel(TW5864_MV_STREAM_BASE_ADDR, cur_frame->mv.dma_addr); in tw5864_h264_isr() 171 tw_writel(TW5864_VLC_DSP_INTR, 0x00000001); in tw5864_h264_isr() 172 tw_writel(TW5864_PCI_INTR_STATUS, TW5864_VLC_DONE_INTR); in tw5864_h264_isr() 187 tw_writel(TW5864_PCI_INTR_STATUS, TW5864_TIMER_INTR); in tw5864_timer_isr()
|
A D | tw5864-util.c | 14 tw_writel(TW5864_IND_DATA, data); in tw5864_indir_writeb() 15 tw_writel(TW5864_IND_CTL, addr << 2 | TW5864_RW | TW5864_ENABLE); in tw5864_indir_writeb() 28 tw_writel(TW5864_IND_CTL, addr << 2 | TW5864_ENABLE); in tw5864_indir_readb()
|
A D | tw5864.h | 172 #define tw_writel(reg, value) writel((value), dev->mmio + reg) macro 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))
|
Completed in 15 milliseconds