Searched refs:srcimp (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/sound/pci/ctxfi/ |
D | ctsrc.c | 596 rsc->idx = container_of(rsc, struct srcimp, rsc)->idx[0]; in srcimp_master() 606 return container_of(rsc, struct srcimp, rsc)->idx[rsc->conj]; in srcimp_index() 616 static int srcimp_map(struct srcimp *srcimp, struct src *src, struct rsc *input) in srcimp_map() argument 621 srcimp->rsc.ops->master(&srcimp->rsc); in srcimp_map() 626 for (i = 0; i < srcimp->rsc.msr; i++) { in srcimp_map() 627 entry = &srcimp->imappers[i]; in srcimp_map() 630 entry->addr = srcimp->rsc.ops->index(&srcimp->rsc); in srcimp_map() 631 srcimp->mgr->imap_add(srcimp->mgr, entry); in srcimp_map() 632 srcimp->mapped |= (0x1 << i); in srcimp_map() 634 srcimp->rsc.ops->next_conj(&srcimp->rsc); in srcimp_map() [all …]
|
D | ctsrc.h | 103 struct srcimp { struct 113 int (*map)(struct srcimp *srcimp, struct src *user, struct rsc *input); argument 114 int (*unmap)(struct srcimp *srcimp); 134 struct srcimp **rsrcimp); 136 int (*put_srcimp)(struct srcimp_mgr *mgr, struct srcimp *srcimp);
|
D | ctatc.c | 326 struct srcimp *srcimp; in atc_pcm_release_resources() local 331 srcimp = apcm->srcimps[i]; in atc_pcm_release_resources() 332 srcimp->ops->unmap(srcimp); in atc_pcm_release_resources() 333 srcimp_mgr->put_srcimp(srcimp_mgr, srcimp); in atc_pcm_release_resources() 511 struct srcimp *srcimp; in atc_pcm_capture_get_resources() local 615 err = srcimp_mgr->get_srcimp(srcimp_mgr, &srcimp_dsc, &srcimp); in atc_pcm_capture_get_resources() 619 apcm->srcimps[i] = srcimp; in atc_pcm_capture_get_resources() 650 struct srcimp *srcimp; in atc_pcm_capture_prepare() local 684 srcimp = apcm->srcimps[imp_base+i]; in atc_pcm_capture_prepare() 686 srcimp->ops->map(srcimp, src, out_ports[i%multi]); in atc_pcm_capture_prepare() [all …]
|