Home
last modified time | relevance | path

Searched refs:enc_mem (Results 1 – 11 of 11) sorted by relevance

/drivers/media/pci/cx18/
Dcx18-io.h162 cx18_writel(cx, val, cx->enc_mem + addr); in cx18_write_enc()
167 return cx18_readl(cx, cx->enc_mem + addr); in cx18_read_enc()
Dcx18-driver.c288 if (cx->enc_mem) { in cx18_iounmap()
290 iounmap(cx->enc_mem); in cx18_iounmap()
291 cx->enc_mem = NULL; in cx18_iounmap()
940 cx->enc_mem = ioremap(cx->base_addr + CX18_MEM_OFFSET, in cx18_probe()
942 if (!cx->enc_mem) { in cx18_probe()
950 cx->reg_mem = cx->enc_mem + CX18_REG_OFFSET; in cx18_probe()
967 cx->scb = (struct cx18_scb __iomem *)(cx->enc_mem + SCB_OFFSET); in cx18_probe()
Dcx18-firmware.c392 sz = load_cpu_fw_direct(CX18_CPU_FIRMWARE, cx->enc_mem, cx); in cx18_firmware_init()
400 sz = load_apu_fw_direct(CX18_APU_FIRMWARE, cx->enc_mem, cx, in cx18_firmware_init()
Dcx18-streams.c692 (void __iomem *) &cx->scb->cpu_mdl[mdl->id] - cx->enc_mem, in _cx18_stream_put_mdl_fw()
909 (void __iomem *)&cx->scb->cpu_mdl_ack[s->type][0] - cx->enc_mem, in cx18_start_v4l2_encode_stream()
910 (void __iomem *)&cx->scb->cpu_mdl_ack[s->type][1] - cx->enc_mem); in cx18_start_v4l2_encode_stream()
Dcx18-mailbox.c436 cx18_readl(cx, cx->enc_mem + mdl_ack_offset + i); in epu_dma_done_irq()
453 cx18_memcpy_fromio(cx, str, cx->enc_mem + str_offset, 252); in epu_debug_irq()
Dcx18-driver.h616 void __iomem *enc_mem, *reg_mem; member
/drivers/media/pci/ivtv/
Divtv-driver.c394 if (itv->enc_mem != NULL) { in ivtv_iounmap()
396 iounmap(itv->enc_mem); in ivtv_iounmap()
397 itv->enc_mem = NULL; in ivtv_iounmap()
1044 itv->enc_mem = ioremap(itv->base_addr + IVTV_ENCODER_OFFSET, in ivtv_probe()
1046 if (!itv->enc_mem) { in ivtv_probe()
1070 itv->dec_mem = itv->enc_mem; in ivtv_probe()
Divtv-firmware.c150 itv->enc_mem, itv, IVTV_FW_ENC_SIZE) != IVTV_FW_ENC_SIZE) { in ivtv_firmware_copy()
206 itv->enc_mbox.mbox = ivtv_search_mailbox(itv->enc_mem, IVTV_ENCODER_SIZE); in ivtv_firmware_init()
Divtv-driver.h625 volatile void __iomem *enc_mem; /* pointer to mapped encoder memory */ member
815 #define read_enc(addr) readl(itv->enc_mem + (u32)(addr))
816 #define write_enc(val, addr) writel(val, itv->enc_mem + (u32)(addr))
Divtv-irq.c81 memcpy_fromio(buf->buf, itv->enc_mem + s->sg_processing[i].src, size); in ivtv_pio_work_handler()
Divtv-ioctl.c700 reg_start = itv->enc_mem; in ivtv_itvc()