Home
last modified time | relevance | path

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

/drivers/dma/
Ddmatest.c162 u8 **srcs; member
466 thread->srcs = kcalloc(src_cnt+1, sizeof(u8 *), GFP_KERNEL); in dmatest_func()
467 if (!thread->srcs) in dmatest_func()
470 thread->srcs[i] = kmalloc(params->buf_size, GFP_KERNEL); in dmatest_func()
471 if (!thread->srcs[i]) in dmatest_func()
474 thread->srcs[i] = NULL; in dmatest_func()
498 dma_addr_t srcs[src_cnt]; in dmatest_func() local
540 dmatest_init_srcs(thread->srcs, src_off, len, in dmatest_func()
557 void *buf = thread->srcs[i]; in dmatest_func()
563 srcs[i] = um->addr[i] + src_off; in dmatest_func()
[all …]
Dqcom_bam_dma.c748 u32 i, srcs, pipe_stts; in process_channel_irqs() local
752 srcs = readl_relaxed(bam_addr(bdev, 0, BAM_IRQ_SRCS_EE)); in process_channel_irqs()
755 if (!(srcs & P_IRQ)) in process_channel_irqs()
756 return srcs; in process_channel_irqs()
761 if (!(srcs & BIT(i))) in process_channel_irqs()
796 return srcs; in process_channel_irqs()
809 u32 clr_mask = 0, srcs = 0; in bam_dma_irq() local
811 srcs |= process_channel_irqs(bdev); in bam_dma_irq()
814 if (srcs & P_IRQ) in bam_dma_irq()
817 if (srcs & BAM_IRQ) in bam_dma_irq()
/drivers/leds/
Dleds-max77693.c651 const __be32 *srcs = NULL; in max77693_led_parse_dt() local
654 srcs = of_prop_next_u32(prop, srcs, in max77693_led_parse_dt()
656 if (!srcs) in max77693_led_parse_dt()
/drivers/dma/ppc4xx/
Dadma.c826 static int ppc440spe_dma2_pq_slot_count(dma_addr_t *srcs, in ppc440spe_dma2_pq_slot_count() argument
834 dma_addr_t cur_addr = srcs[i]; in ppc440spe_dma2_pq_slot_count()
835 dma_addr_t old_addr = srcs[i-1]; in ppc440spe_dma2_pq_slot_count()
891 pr_err("\t[%d] 0x%llx \n", i, srcs[i]); in ppc440spe_dma2_pq_slot_count()
1265 static int ppc440spe_can_rxor(struct page **srcs, int src_cnt, size_t len) in ppc440spe_can_rxor() argument
1277 if (!srcs[i]) in ppc440spe_can_rxor()
1279 ppc440spe_rxor_srcs[idx++] = srcs[i]; in ppc440spe_can_rxor()
/drivers/md/
Draid5.c1340 static int set_syndrome_sources(struct page **srcs, in set_syndrome_sources() argument
1351 srcs[i] = NULL; in set_syndrome_sources()
1365 srcs[slot] = sh->dev[i].page; in set_syndrome_sources()
1901 struct page **srcs = to_addr_page(percpu, 0); in ops_run_check_pq() local
1909 count = set_syndrome_sources(srcs, sh, SYNDROME_SRC_ALL); in ops_run_check_pq()
1911 srcs[count] = NULL; in ops_run_check_pq()
1916 async_syndrome_val(srcs, 0, count+2, STRIPE_SIZE, in ops_run_check_pq()