Searched refs:stat_com (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
H A D | zoran_device.c | 477 zr->stat_com[i] = cpu_to_le32(1); /* mark as unavailable to zr36057 */ in init_jpeg_queue() 826 /* fill 1 stat_com entry */ in zoran_feed_stat_com() 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() 836 /* fill 2 stat_com entries */ 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 in zoran_reap_stat_com() [all...] |
H A D | zoran_card.c | 922 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 D | zoran.h | 251 /* (value & BUZ_MASK_STAT_COM) corresponds to index in stat_com table */ 253 unsigned long jpg_dma_head; /* Index of next buffer which goes into stat_com */ 254 unsigned long jpg_dma_tail; /* Index of last buffer in stat_com */ 263 __le32 *stat_com; /* stat_com[i] is indexed by dma_head/tail & BUZ_MASK_STAT_COM */ member
|
H A D | zoran_driver.c | 932 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()
|
/kernel/linux/linux-6.6/drivers/media/pci/zoran/ |
H A D | zoran_device.c | 415 zr->stat_com[i] = cpu_to_le32(1); /* mark as unavailable to zr36057 */ in init_jpeg_queue() 762 /* fill 1 stat_com entry */ in zoran_feed_stat_com() 765 if (!(zr->stat_com[i] & cpu_to_le32(1))) in zoran_feed_stat_com() 770 zr->stat_com[i] = cpu_to_le32(zr->p_scb + i * 2 * 4); in zoran_feed_stat_com() 772 /* fill 2 stat_com entries */ in zoran_feed_stat_com() 775 if (!(zr->stat_com[i] & cpu_to_le32(1))) in zoran_feed_stat_com() 777 zr->stat_com[i] = cpu_to_le32(zr->p_scb + i * 2 * 4); in zoran_feed_stat_com() 778 zr->stat_com[i + 1] = cpu_to_le32(zr->p_scb + i * 2 * 4); in zoran_feed_stat_com() 799 u32 stat_com; in zoran_reap_stat_com() local 822 stat_com in zoran_reap_stat_com() [all...] |
H A D | zoran_card.c | 1029 zr->stat_com = dma_alloc_coherent(&zr->pci_dev->dev, in zr36057_init() 1032 if (!zr->stat_com) in zr36057_init() 1036 zr->stat_com[j] = cpu_to_le32(1); /* mark as unavailable to zr36057 */ in zr36057_init() 1064 zr->stat_com, zr->p_sc); in zr36057_init() 1096 zr->stat_com, zr->p_sc); in zoran_remove()
|
H A D | zoran.h | 244 /* (value & BUZ_MASK_STAT_COM) corresponds to index in stat_com table */ 246 unsigned long jpg_dma_head; /* Index of next buffer which goes into stat_com */ 247 unsigned long jpg_dma_tail; /* Index of last buffer in stat_com */ 256 /* stat_com[i] is indexed by dma_head/tail & BUZ_MASK_STAT_COM */ 257 __le32 *stat_com; member
|
H A D | zoran_driver.c | 873 zr->stat_com[j] = cpu_to_le32(1); in zr_vb2_start_streaming() 925 zr->stat_com[j] = cpu_to_le32(1); in zr_vb2_stop_streaming()
|
Completed in 9 milliseconds