Home
last modified time | relevance | path

Searched refs:stat_com (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/staging/media/zoran/
H A Dzoran_device.c477 zr->stat_com[i] = cpu_to_le32(1); /* mark as unavailable to zr36057 */ in init_jpeg_queue()
829 if (!(zr->stat_com[i] & cpu_to_le32(1))) in zoran_feed_stat_com()
834 zr->stat_com[i] = cpu_to_le32(zr->p_scb + i * 2 * 4); in zoran_feed_stat_com()
839 if (!(zr->stat_com[i] & cpu_to_le32(1))) in zoran_feed_stat_com()
841 zr->stat_com[i] = cpu_to_le32(zr->p_scb + i * 2 * 4); in zoran_feed_stat_com()
842 zr->stat_com[i + 1] = cpu_to_le32(zr->p_scb + i * 2 * 4); in zoran_feed_stat_com()
863 u32 stat_com; in zoran_reap_stat_com() local
884 stat_com = le32_to_cpu(zr->stat_com[i]); in zoran_reap_stat_com()
885 if ((stat_com & 1) == 0) { in zoran_reap_stat_com()
890 fcnt = (stat_com & GENMASK(31, 24)) >> 24; in zoran_reap_stat_com()
[all …]
H A Dzoran_card.c922 zr->stat_com = dma_alloc_coherent(&zr->pci_dev->dev, in zr36057_init()
925 if (!zr->stat_com) { in zr36057_init()
929 zr->stat_com[j] = cpu_to_le32(1); /* mark as unavailable to zr36057 */ in zr36057_init()
955 dma_free_coherent(&zr->pci_dev->dev, BUZ_NUM_STAT_COM * sizeof(u32), zr->stat_com, zr->p_sc); in zr36057_init()
983 dma_free_coherent(&zr->pci_dev->dev, BUZ_NUM_STAT_COM * sizeof(u32), zr->stat_com, zr->p_sc); in zoran_remove()
H A Dzoran.h263 __le32 *stat_com; /* stat_com[i] is indexed by dma_head/tail & BUZ_MASK_STAT_COM */ member
H A Dzoran_driver.c932 zr->stat_com[j] = cpu_to_le32(1); in zr_vb2_start_streaming()
984 zr->stat_com[j] = cpu_to_le32(1); in zr_vb2_stop_streaming()