Lines Matching refs:srcimps
326 if (apcm->srcimps) { in atc_pcm_release_resources()
328 srcimp = apcm->srcimps[i]; in atc_pcm_release_resources()
331 apcm->srcimps[i] = NULL; in atc_pcm_release_resources()
333 kfree(apcm->srcimps); in atc_pcm_release_resources()
334 apcm->srcimps = NULL; in atc_pcm_release_resources()
553 apcm->srcimps = kcalloc(n_srcimp, sizeof(void *), GFP_KERNEL); in atc_pcm_capture_get_resources()
554 if (!apcm->srcimps) { in atc_pcm_capture_get_resources()
616 apcm->srcimps[i] = srcimp; in atc_pcm_capture_get_resources()
681 srcimp = apcm->srcimps[imp_base+i]; in atc_pcm_capture_prepare()
704 srcimp = apcm->srcimps[apcm->n_srcc+j*multi+i]; in atc_pcm_capture_prepare()
711 srcimp = apcm->srcimps[apcm->n_srcc+i]; in atc_pcm_capture_prepare()
1197 if (atc->srcimps) { in atc_release_resources()
1200 srcimp = atc->srcimps[i]; in atc_release_resources()
1202 srcimp_mgr->put_srcimp(srcimp_mgr, atc->srcimps[i]); in atc_release_resources()
1204 kfree(atc->srcimps); in atc_release_resources()
1205 atc->srcimps = NULL; in atc_release_resources()
1385 atc->srcimps = kcalloc(num_srcs, sizeof(void *), GFP_KERNEL); in atc_get_resources()
1386 if (!atc->srcimps) in atc_get_resources()
1426 (struct srcimp **)&atc->srcimps[i]); in atc_get_resources()
1449 struct src **srcs, struct srcimp **srcimps) in atc_connect_dai() argument
1460 srcimp = srcimps[i]; in atc_connect_dai()
1508 (struct srcimp **)&atc->srcimps[2]); in atc_connect_resources()
1519 (struct srcimp **)&atc->srcimps[4]); in atc_connect_resources()
1529 (struct srcimp **)&atc->srcimps[0]); in atc_connect_resources()