Searched refs:tw_writel (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/media/pci/tw68/ |
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() 157 tw_writel(TW68_CAP_CTL, 0x03); /* 040 Enable both even & odd flds */ 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() [all …]
|
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() 844 tw_writel(reg->reg & 0xffff, reg->val); in vidioc_s_register() 976 tw_writel(TW68_INTSTAT, status); in tw68_irq_video_done()
|
D | tw68.h | 169 #define tw_writel(reg, value) writel((value), dev->lmmio + ((reg) >> 2)) macro
|
/Linux-v5.10/drivers/media/pci/tw5864/ |
D | tw5864-video.c | 333 tw_writel(TW5864_DSP_PIC_MAX_MB, in tw5864_enable_input() 336 tw_writel(TW5864_FRAME_WIDTH_BUS_A(nr), in tw5864_enable_input() 338 tw_writel(TW5864_FRAME_WIDTH_BUS_B(nr), in tw5864_enable_input() 340 tw_writel(TW5864_FRAME_HEIGHT_BUS_A(nr), in tw5864_enable_input() 342 tw_writel(TW5864_FRAME_HEIGHT_BUS_B(nr), in tw5864_enable_input() 376 tw_writel(TW5864_EMU, input->reg_emu); in tw5864_request_encoded_frame() 377 tw_writel(TW5864_INTERLACING, input->reg_interlacing); in tw5864_request_encoded_frame() 378 tw_writel(TW5864_DSP, input->reg_dsp); in tw5864_request_encoded_frame() 380 tw_writel(TW5864_DSP_QP, input->reg_dsp_qp); in tw5864_request_encoded_frame() 381 tw_writel(TW5864_DSP_REF_MVP_LAMBDA, input->reg_dsp_ref_mvp_lambda); in tw5864_request_encoded_frame() [all …]
|
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()
|
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()
|
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))
|