Home
last modified time | relevance | path

Searched refs:dec_mbox (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/media/pci/ivtv/
Divtv-firmware.c79 if (itv->has_cx23415 && itv->dec_mbox.mbox) in ivtv_halt_firmware()
85 itv->enc_mbox.mbox = itv->dec_mbox.mbox = NULL; in ivtv_halt_firmware()
219 itv->dec_mbox.mbox = ivtv_search_mailbox(itv->dec_mem, IVTV_DECODER_SIZE); in ivtv_firmware_init()
220 if (itv->dec_mbox.mbox == NULL) { in ivtv_firmware_init()
224 itv->dec_mbox.mbox = NULL; in ivtv_firmware_init()
229 return itv->dec_mbox.mbox ? 0 : -ENODEV; in ivtv_firmware_init()
252 ivtv_api_get_data(&itv->dec_mbox, IVTV_MBOX_DMA, 2, data); in ivtv_init_mpeg_decoder()
Divtv-streams.c749 writel(0, &itv->dec_mbox.mbox[IVTV_MBOX_DMA_END].data[0]); in ivtv_start_v4l2_decode_stream()
750 writel(0, &itv->dec_mbox.mbox[IVTV_MBOX_DMA_END].data[1]); in ivtv_start_v4l2_decode_stream()
751 writel(0, &itv->dec_mbox.mbox[IVTV_MBOX_DMA_END].data[2]); in ivtv_start_v4l2_decode_stream()
752 writel(0, &itv->dec_mbox.mbox[IVTV_MBOX_DMA_END].data[3]); in ivtv_start_v4l2_decode_stream()
753 writel(0, &itv->dec_mbox.mbox[IVTV_MBOX_DMA].data[0]); in ivtv_start_v4l2_decode_stream()
754 writel(0, &itv->dec_mbox.mbox[IVTV_MBOX_DMA].data[1]); in ivtv_start_v4l2_decode_stream()
755 writel(0, &itv->dec_mbox.mbox[IVTV_MBOX_DMA].data[2]); in ivtv_start_v4l2_decode_stream()
756 writel(0, &itv->dec_mbox.mbox[IVTV_MBOX_DMA].data[3]); in ivtv_start_v4l2_decode_stream()
Divtv-mailbox.c202 struct ivtv_mailbox_data *mbdata = (cmd >= 128) ? &itv->enc_mbox : &itv->dec_mbox; in ivtv_api_call()
Divtv-irq.c794 ivtv_api_get_data(&itv->dec_mbox, IVTV_MBOX_DMA, 2, data); in ivtv_irq_dec_data_req()
803 ivtv_api_get_data(&itv->dec_mbox, IVTV_MBOX_DMA, 3, data); in ivtv_irq_dec_data_req()
Divtv-driver.h705 struct ivtv_mailbox_data dec_mbox; /* decoder mailboxes */ member
Divtv-driver.c742 itv->dec_mbox.max_mbox = 1; /* the decoder has 2 mailboxes (0-1) */ in ivtv_init_struct1()