Home
last modified time | relevance | path

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

/linux-6.6.21/crypto/async_tx/
Dasync_raid6_recov.c19 struct page **srcs, unsigned int *src_offs, unsigned char *coef, in async_sum_product() argument
23 &dest, 1, srcs, 2, len); in async_sum_product()
41 unmap->addr[0] = dma_map_page(dev, srcs[0], src_offs[0], in async_sum_product()
43 unmap->addr[1] = dma_map_page(dev, srcs[1], src_offs[1], in async_sum_product()
73 a = page_address(srcs[0]) + src_offs[0]; in async_sum_product()
74 b = page_address(srcs[1]) + src_offs[1]; in async_sum_product()
160 struct page *srcs[2]; in __2data_recov_4() local
180 srcs[0] = p; in __2data_recov_4()
182 srcs[1] = q; in __2data_recov_4()
187 tx = async_sum_product(b, b_off, srcs, src_offs, coef, bytes, submit); in __2data_recov_4()
[all …]
Dasync_pq.c110 void **srcs; in do_sync_gen_syndrome() local
115 srcs = submit->scribble; in do_sync_gen_syndrome()
117 srcs = (void **) blocks; in do_sync_gen_syndrome()
122 srcs[i] = (void*)raid6_empty_zero_page; in do_sync_gen_syndrome()
124 srcs[i] = page_address(blocks[i]) + offsets[i]; in do_sync_gen_syndrome()
136 raid6_call.xor_syndrome(disks, start, stop, len, srcs); in do_sync_gen_syndrome()
138 raid6_call.gen_syndrome(disks, len, srcs); in do_sync_gen_syndrome()
Dasync_xor.c108 void **srcs; in do_sync_xor_offs() local
111 srcs = submit->scribble; in do_sync_xor_offs()
113 srcs = (void **) src_list; in do_sync_xor_offs()
118 srcs[xor_src_cnt++] = page_address(src_list[i]) + in do_sync_xor_offs()
130 xor_blocks(xor_src_cnt, len, dest_buf, &srcs[src_off]); in do_sync_xor_offs()
/linux-6.6.21/net/bridge/
Dbr_multicast_eht.c508 void *srcs, in __eht_create_set_entries() argument
518 memcpy(&eht_src_addr, srcs + (src_idx * addr_size), addr_size); in __eht_create_set_entries()
528 void *srcs, in __eht_del_set_entries() argument
542 memcpy(&eht_src_addr, srcs + (src_idx * addr_size), addr_size); in __eht_del_set_entries()
545 memcpy(&src_ip, srcs + (src_idx * addr_size), addr_size); in __eht_del_set_entries()
559 void *srcs, in br_multicast_eht_allow() argument
567 __eht_create_set_entries(brmctx, pg, h_addr, srcs, nsrcs, in br_multicast_eht_allow()
571 changed = __eht_del_set_entries(pg, h_addr, srcs, nsrcs, in br_multicast_eht_allow()
582 void *srcs, in br_multicast_eht_block() argument
590 changed = __eht_del_set_entries(pg, h_addr, srcs, nsrcs, in br_multicast_eht_block()
[all …]
Dbr_multicast.c1045 ihv3->srcs[lmqt_srcs++] = ent->addr.src.ip4; in br_ip4_multicast_alloc_query()
2259 void *srcs, u32 nsrcs, size_t addr_size, in br_multicast_isinc_allow() argument
2271 memcpy(&src_ip.src, srcs + (src_idx * addr_size), addr_size); in br_multicast_isinc_allow()
2283 if (br_multicast_eht_handle(brmctx, pg, h_addr, srcs, nsrcs, addr_size, in br_multicast_isinc_allow()
2297 void *srcs, u32 nsrcs, size_t addr_size, in __grp_src_isexc_incl() argument
2310 memcpy(&src_ip.src, srcs + (src_idx * addr_size), addr_size); in __grp_src_isexc_incl()
2320 br_multicast_eht_handle(brmctx, pg, h_addr, srcs, nsrcs, addr_size, in __grp_src_isexc_incl()
2334 void *srcs, u32 nsrcs, size_t addr_size, in __grp_src_isexc_excl() argument
2349 memcpy(&src_ip.src, srcs + (src_idx * addr_size), addr_size); in __grp_src_isexc_excl()
2363 if (br_multicast_eht_handle(brmctx, pg, h_addr, srcs, nsrcs, addr_size, in __grp_src_isexc_excl()
[all …]
Dbr_private_mcast_eht.h57 void *srcs,
/linux-6.6.21/crypto/
Dxor.c27 xor_blocks(unsigned int src_count, unsigned int bytes, void *dest, void **srcs) in xor_blocks() argument
31 p1 = (unsigned long *) srcs[0]; in xor_blocks()
37 p2 = (unsigned long *) srcs[1]; in xor_blocks()
43 p3 = (unsigned long *) srcs[2]; in xor_blocks()
49 p4 = (unsigned long *) srcs[3]; in xor_blocks()
/linux-6.6.21/sound/pci/ctxfi/
Dctatc.c954 src = atc->srcs[2]; in atc_select_line_in()
956 src = atc->srcs[3]; in atc_select_line_in()
976 src = atc->srcs[2]; in atc_select_mic_in()
978 src = atc->srcs[3]; in atc_select_mic_in()
1191 if (atc->srcs) { in atc_release_resources()
1194 src_mgr->put_src(src_mgr, atc->srcs[i]); in atc_release_resources()
1196 kfree(atc->srcs); in atc_release_resources()
1197 atc->srcs = NULL; in atc_release_resources()
1384 atc->srcs = kcalloc(num_srcs, sizeof(void *), GFP_KERNEL); in atc_get_resources()
1385 if (!atc->srcs) in atc_get_resources()
[all …]
Dctatc.h133 void **srcs; /* Sample Rate Converters for input signal */ member
/linux-6.6.21/drivers/media/platform/aspeed/
Daspeed-video.c312 struct aspeed_video_addr srcs[2]; member
720 aspeed_video_write(v, VE_SRC0_ADDR, v->srcs[1].dma); in aspeed_video_swap_src_buf()
721 aspeed_video_write(v, VE_SRC1_ADDR, v->srcs[0].dma); in aspeed_video_swap_src_buf()
723 aspeed_video_write(v, VE_SRC0_ADDR, v->srcs[0].dma); in aspeed_video_swap_src_buf()
724 aspeed_video_write(v, VE_SRC1_ADDR, v->srcs[1].dma); in aspeed_video_swap_src_buf()
1182 if (size != video->srcs[0].size) { in aspeed_video_set_resolution()
1183 if (video->srcs[0].size) in aspeed_video_set_resolution()
1184 aspeed_video_free_buf(video, &video->srcs[0]); in aspeed_video_set_resolution()
1185 if (video->srcs[1].size) in aspeed_video_set_resolution()
1186 aspeed_video_free_buf(video, &video->srcs[1]); in aspeed_video_set_resolution()
[all …]
/linux-6.6.21/tools/perf/util/
Dpfm.c157 static const char *srcs[PFM_ATTR_CTRL_MAX] = { variable
201 src = srcs[ainfo.ctrl]; in print_libpfm_event()
245 src = srcs[ainfo.ctrl]; in print_libpfm_event()
/linux-6.6.21/drivers/dma/qcom/
Dbam_dma.c828 u32 i, srcs, pipe_stts, offset, avail; in process_channel_irqs() local
832 srcs = readl_relaxed(bam_addr(bdev, 0, BAM_IRQ_SRCS_EE)); in process_channel_irqs()
835 if (!(srcs & P_IRQ)) in process_channel_irqs()
836 return srcs; in process_channel_irqs()
841 if (!(srcs & BIT(i))) in process_channel_irqs()
892 return srcs; in process_channel_irqs()
905 u32 clr_mask = 0, srcs = 0; in bam_dma_irq() local
908 srcs |= process_channel_irqs(bdev); in bam_dma_irq()
911 if (srcs & P_IRQ) in bam_dma_irq()
918 if (srcs & BAM_IRQ) { in bam_dma_irq()
Dqcom_adm.c572 u32 srcs, i; in adm_dma_irq() local
576 srcs = readl_relaxed(adev->regs + in adm_dma_irq()
583 if (srcs & BIT(i)) { in adm_dma_irq()
/linux-6.6.21/include/linux/raid/
Dxor.h8 void *dest, void **srcs);
/linux-6.6.21/drivers/dma/
Ddmatest.c596 dma_addr_t *srcs; in dmatest_func() local
666 srcs = kcalloc(src->cnt, sizeof(dma_addr_t), GFP_KERNEL); in dmatest_func()
667 if (!srcs) in dmatest_func()
752 srcs[i] = um->addr[i] + src->off; in dmatest_func()
782 srcs[0], len, flags); in dmatest_func()
791 srcs, src->cnt, in dmatest_func()
796 tx = dev->device_prep_dma_pq(chan, dma_pq, srcs, in dmatest_func()
910 kfree(srcs); in dmatest_func()
/linux-6.6.21/include/uapi/linux/
Digmp.h81 __be32 srcs[]; member
/linux-6.6.21/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.c1625 static int set_syndrome_sources(struct page **srcs, in set_syndrome_sources() argument
1637 srcs[i] = NULL; in set_syndrome_sources()
1654 srcs[slot] = sh->dev[i].orig_page; in set_syndrome_sources()
1656 srcs[slot] = sh->dev[i].page; in set_syndrome_sources()
2268 struct page **srcs = to_addr_page(percpu, 0); in ops_run_check_pq() local
2277 count = set_syndrome_sources(srcs, offs, sh, SYNDROME_SRC_ALL); in ops_run_check_pq()
2279 srcs[count] = NULL; in ops_run_check_pq()
2284 async_syndrome_val(srcs, offs, count+2, in ops_run_check_pq()
/linux-6.6.21/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()
/linux-6.6.21/net/ipv4/
Digmp.c863 static int igmp_xmarksources(struct ip_mc_list *pmc, int nsrcs, __be32 *srcs) in igmp_xmarksources() argument
878 if (srcs[i] == psf->sf_inaddr) { in igmp_xmarksources()
890 static int igmp_marksources(struct ip_mc_list *pmc, int nsrcs, __be32 *srcs) in igmp_marksources() argument
896 return igmp_xmarksources(pmc, nsrcs, srcs); in igmp_marksources()
904 if (srcs[i] == psf->sf_inaddr) { in igmp_marksources()
1062 igmp_marksources(im, ntohs(ih3->nsrcs), ih3->srcs); in igmp_heard_query()
/linux-6.6.21/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()
/linux-6.6.21/net/ipv6/
Dmcast.c1144 const struct in6_addr *srcs) in mld_xmarksources() argument
1159 if (ipv6_addr_equal(&srcs[i], &psf->sf_addr)) { in mld_xmarksources()
1173 const struct in6_addr *srcs) in mld_marksources() argument
1179 return mld_xmarksources(pmc, nsrcs, srcs); in mld_marksources()
1188 if (ipv6_addr_equal(&srcs[i], &psf->sf_addr)) { in mld_marksources()
/linux-6.6.21/sound/usb/
Dmixer_scarlett_gen2.c3766 int port_type, srcs = 0, dsts = 0; in scarlett2_count_mux_io() local
3771 srcs += port_count[port_type][SCARLETT2_PORT_IN]; in scarlett2_count_mux_io()
3775 private->num_mux_srcs = srcs; in scarlett2_count_mux_io()