Home
last modified time | relevance | path

Searched refs:srcs (Results 1 – 8 of 8) sorted by relevance

/drivers/media/platform/
Daspeed-video.c236 struct aspeed_video_addr srcs[2]; member
908 if (size != video->srcs[0].size) { in aspeed_video_set_resolution()
909 if (video->srcs[0].size) in aspeed_video_set_resolution()
910 aspeed_video_free_buf(video, &video->srcs[0]); in aspeed_video_set_resolution()
911 if (video->srcs[1].size) in aspeed_video_set_resolution()
912 aspeed_video_free_buf(video, &video->srcs[1]); in aspeed_video_set_resolution()
914 if (!aspeed_video_alloc_buf(video, &video->srcs[0], size)) in aspeed_video_set_resolution()
916 if (!aspeed_video_alloc_buf(video, &video->srcs[1], size)) in aspeed_video_set_resolution()
919 aspeed_video_write(video, VE_SRC0_ADDR, video->srcs[0].dma); in aspeed_video_set_resolution()
920 aspeed_video_write(video, VE_SRC1_ADDR, video->srcs[1].dma); in aspeed_video_set_resolution()
[all …]
/drivers/dma/qcom/
Dbam_dma.c778 u32 i, srcs, pipe_stts, offset, avail; in process_channel_irqs() local
782 srcs = readl_relaxed(bam_addr(bdev, 0, BAM_IRQ_SRCS_EE)); in process_channel_irqs()
785 if (!(srcs & P_IRQ)) in process_channel_irqs()
786 return srcs; in process_channel_irqs()
791 if (!(srcs & BIT(i))) in process_channel_irqs()
842 return srcs; in process_channel_irqs()
855 u32 clr_mask = 0, srcs = 0; in bam_dma_irq() local
858 srcs |= process_channel_irqs(bdev); in bam_dma_irq()
861 if (srcs & P_IRQ) in bam_dma_irq()
868 if (srcs & BAM_IRQ) { in bam_dma_irq()
Dqcom_adm.c562 u32 srcs, i; in adm_dma_irq() local
566 srcs = readl_relaxed(adev->regs + in adm_dma_irq()
573 if (srcs & BIT(i)) { in adm_dma_irq()
/drivers/dma/
Ddmatest.c597 dma_addr_t *srcs; in dmatest_func() local
667 srcs = kcalloc(src->cnt, sizeof(dma_addr_t), GFP_KERNEL); in dmatest_func()
668 if (!srcs) in dmatest_func()
753 srcs[i] = um->addr[i] + src->off; in dmatest_func()
783 srcs[0], len, flags); in dmatest_func()
792 srcs, src->cnt, in dmatest_func()
797 tx = dev->device_prep_dma_pq(chan, dma_pq, srcs, in dmatest_func()
911 kfree(srcs); in dmatest_func()
/drivers/md/
Draid5-ppl.c162 struct page **srcs = percpu->scribble; in ops_run_partial_parity() local
180 srcs[count++] = sh->dev[pd_idx].page; in ops_run_partial_parity()
186 srcs[count++] = dev->page; in ops_run_partial_parity()
193 NULL, sh, (void *) (srcs + sh->disks + 2)); in ops_run_partial_parity()
196 tx = async_memcpy(sh->ppl_page, srcs[0], 0, 0, PAGE_SIZE, in ops_run_partial_parity()
199 tx = async_xor(sh->ppl_page, srcs, 0, count, PAGE_SIZE, in ops_run_partial_parity()
Draid5.c1548 static int set_syndrome_sources(struct page **srcs, in set_syndrome_sources() argument
1560 srcs[i] = NULL; in set_syndrome_sources()
1577 srcs[slot] = sh->dev[i].orig_page; in set_syndrome_sources()
1579 srcs[slot] = sh->dev[i].page; in set_syndrome_sources()
2191 struct page **srcs = to_addr_page(percpu, 0); in ops_run_check_pq() local
2200 count = set_syndrome_sources(srcs, offs, sh, SYNDROME_SRC_ALL); in ops_run_check_pq()
2202 srcs[count] = NULL; in ops_run_check_pq()
2207 async_syndrome_val(srcs, offs, count+2, in ops_run_check_pq()
/drivers/leds/flash/
Dleds-max77693.c614 const __be32 *srcs = NULL; in max77693_led_parse_dt() local
617 srcs = of_prop_next_u32(prop, srcs, in max77693_led_parse_dt()
619 if (!srcs) in max77693_led_parse_dt()
/drivers/dma/ppc4xx/
Dadma.c812 static int ppc440spe_dma2_pq_slot_count(dma_addr_t *srcs, in ppc440spe_dma2_pq_slot_count() argument
820 dma_addr_t cur_addr = srcs[i]; in ppc440spe_dma2_pq_slot_count()
821 dma_addr_t old_addr = srcs[i-1]; in ppc440spe_dma2_pq_slot_count()
877 pr_err("\t[%d] 0x%llx \n", i, srcs[i]); in ppc440spe_dma2_pq_slot_count()
1251 static int ppc440spe_can_rxor(struct page **srcs, int src_cnt, size_t len) in ppc440spe_can_rxor() argument
1263 if (!srcs[i]) in ppc440spe_can_rxor()
1265 ppc440spe_rxor_srcs[idx++] = srcs[i]; in ppc440spe_can_rxor()