Home
last modified time | relevance | path

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

/drivers/media/platform/
Daspeed-video.c231 struct aspeed_video_addr srcs[2]; member
881 if (size != video->srcs[0].size) { in aspeed_video_set_resolution()
882 if (video->srcs[0].size) in aspeed_video_set_resolution()
883 aspeed_video_free_buf(video, &video->srcs[0]); in aspeed_video_set_resolution()
884 if (video->srcs[1].size) in aspeed_video_set_resolution()
885 aspeed_video_free_buf(video, &video->srcs[1]); in aspeed_video_set_resolution()
887 if (!aspeed_video_alloc_buf(video, &video->srcs[0], size)) in aspeed_video_set_resolution()
889 if (!aspeed_video_alloc_buf(video, &video->srcs[1], size)) in aspeed_video_set_resolution()
892 aspeed_video_write(video, VE_SRC0_ADDR, video->srcs[0].dma); in aspeed_video_set_resolution()
893 aspeed_video_write(video, VE_SRC1_ADDR, video->srcs[1].dma); in aspeed_video_set_resolution()
[all …]
/drivers/dma/qcom/
Dbam_dma.c791 u32 i, srcs, pipe_stts, offset, avail; in process_channel_irqs() local
795 srcs = readl_relaxed(bam_addr(bdev, 0, BAM_IRQ_SRCS_EE)); in process_channel_irqs()
798 if (!(srcs & P_IRQ)) in process_channel_irqs()
799 return srcs; in process_channel_irqs()
804 if (!(srcs & BIT(i))) in process_channel_irqs()
855 return srcs; in process_channel_irqs()
868 u32 clr_mask = 0, srcs = 0; in bam_dma_irq() local
871 srcs |= process_channel_irqs(bdev); in bam_dma_irq()
874 if (srcs & P_IRQ) in bam_dma_irq()
881 if (srcs & BAM_IRQ) { in bam_dma_irq()
/drivers/dma/
Ddmatest.c580 dma_addr_t *srcs; in dmatest_func() local
648 srcs = kcalloc(src->cnt, sizeof(dma_addr_t), GFP_KERNEL); in dmatest_func()
649 if (!srcs) in dmatest_func()
734 srcs[i] = um->addr[i] + src->off; in dmatest_func()
764 srcs[0], len, flags); in dmatest_func()
773 srcs, src->cnt, in dmatest_func()
778 tx = dev->device_prep_dma_pq(chan, dma_pq, srcs, in dmatest_func()
889 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.c1448 static int set_syndrome_sources(struct page **srcs, in set_syndrome_sources() argument
1459 srcs[i] = NULL; in set_syndrome_sources()
1476 srcs[slot] = sh->dev[i].orig_page; in set_syndrome_sources()
1478 srcs[slot] = sh->dev[i].page; in set_syndrome_sources()
2033 struct page **srcs = to_addr_page(percpu, 0); in ops_run_check_pq() local
2041 count = set_syndrome_sources(srcs, sh, SYNDROME_SRC_ALL); in ops_run_check_pq()
2043 srcs[count] = NULL; in ops_run_check_pq()
2048 async_syndrome_val(srcs, 0, count+2, STRIPE_SIZE, in ops_run_check_pq()
/drivers/leds/
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.c814 static int ppc440spe_dma2_pq_slot_count(dma_addr_t *srcs, in ppc440spe_dma2_pq_slot_count() argument
822 dma_addr_t cur_addr = srcs[i]; in ppc440spe_dma2_pq_slot_count()
823 dma_addr_t old_addr = srcs[i-1]; in ppc440spe_dma2_pq_slot_count()
879 pr_err("\t[%d] 0x%llx \n", i, srcs[i]); in ppc440spe_dma2_pq_slot_count()
1253 static int ppc440spe_can_rxor(struct page **srcs, int src_cnt, size_t len) in ppc440spe_can_rxor() argument
1265 if (!srcs[i]) in ppc440spe_can_rxor()
1267 ppc440spe_rxor_srcs[idx++] = srcs[i]; in ppc440spe_can_rxor()