Searched refs:sum_mgr (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/sound/pci/ctxfi/ |
A D | ctamixer.c | 363 struct sum_mgr *mgr) in sum_rsc_init() 452 struct sum_mgr *sum_mgr; in sum_mgr_create() local 455 sum_mgr = kzalloc(sizeof(*sum_mgr), GFP_KERNEL); in sum_mgr_create() 456 if (!sum_mgr) in sum_mgr_create() 465 sum_mgr->get_sum = get_sum_rsc; in sum_mgr_create() 467 sum_mgr->card = hw->card; in sum_mgr_create() 469 *rsum_mgr = sum_mgr; in sum_mgr_create() 474 kfree(sum_mgr); in sum_mgr_create() 478 int sum_mgr_destroy(struct sum_mgr *sum_mgr) in sum_mgr_destroy() argument 480 rsc_mgr_uninit(&sum_mgr->mgr); in sum_mgr_destroy() [all …]
|
A D | ctamixer.h | 33 struct sum_mgr { struct 39 int (*get_sum)(struct sum_mgr *mgr, argument 42 int (*put_sum)(struct sum_mgr *mgr, struct sum *sum); argument 46 int sum_mgr_create(struct hw *hw, struct sum_mgr **rsum_mgr); 47 int sum_mgr_destroy(struct sum_mgr *sum_mgr);
|
A D | ctmixer.c | 838 struct sum_mgr *sum_mgr; in ct_mixer_get_resources() local 848 sum_mgr = (struct sum_mgr *)mixer->atc->rsc_mgrs[SUM]; in ct_mixer_get_resources() 851 err = sum_mgr->get_sum(sum_mgr, &sum_desc, &sum); in ct_mixer_get_resources() 890 sum_mgr->put_sum(sum_mgr, (struct sum *)mixer->sums[i]); in ct_mixer_get_resources() 1143 struct sum_mgr *sum_mgr = (struct sum_mgr *)mixer->atc->rsc_mgrs[SUM]; in ct_mixer_destroy() local 1160 sum_mgr->put_sum(sum_mgr, (struct sum *)mixer->sums[i]); in ct_mixer_destroy()
|
A D | ctatc.c | 325 struct sum_mgr *sum_mgr = atc->rsc_mgrs[SUM]; in atc_pcm_release_resources() local 359 sum_mgr->put_sum(sum_mgr, apcm->mono); in atc_pcm_release_resources() 507 struct sum_mgr *sum_mgr = atc->rsc_mgrs[SUM]; in atc_pcm_capture_get_resources() local 600 err = sum_mgr->get_sum(sum_mgr, &sum_dsc, (struct sum **)&apcm->mono); in atc_pcm_capture_get_resources() 1150 struct sum_mgr *sum_mgr = NULL; in atc_release_resources() local 1183 sum_mgr = atc->rsc_mgrs[SUM]; in atc_release_resources() 1185 sum_mgr->put_sum(sum_mgr, atc->pcm[i]); in atc_release_resources() 1374 struct sum_mgr *sum_mgr; in atc_get_resources() local 1436 sum_mgr = atc->rsc_mgrs[SUM]; in atc_get_resources() 1439 err = sum_mgr->get_sum(sum_mgr, &sum_dsc, in atc_get_resources()
|
Completed in 10 milliseconds