Home
last modified time | relevance | path

Searched refs:amixer_mgr (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/sound/pci/ctxfi/
Dctamixer.c197 struct amixer_mgr *mgr) in amixer_rsc_init()
227 static int get_amixer_rsc(struct amixer_mgr *mgr, in get_amixer_rsc()
279 static int put_amixer_rsc(struct amixer_mgr *mgr, struct amixer *amixer) in put_amixer_rsc()
295 int amixer_mgr_create(struct hw *hw, struct amixer_mgr **ramixer_mgr) in amixer_mgr_create()
298 struct amixer_mgr *amixer_mgr; in amixer_mgr_create() local
301 amixer_mgr = kzalloc(sizeof(*amixer_mgr), GFP_KERNEL); in amixer_mgr_create()
302 if (!amixer_mgr) in amixer_mgr_create()
305 err = rsc_mgr_init(&amixer_mgr->mgr, AMIXER, AMIXER_RESOURCE_NUM, hw); in amixer_mgr_create()
309 spin_lock_init(&amixer_mgr->mgr_lock); in amixer_mgr_create()
311 amixer_mgr->get_amixer = get_amixer_rsc; in amixer_mgr_create()
[all …]
Dctamixer.h78 struct amixer_mgr { struct
84 int (*get_amixer)(struct amixer_mgr *mgr, argument
88 int (*put_amixer)(struct amixer_mgr *mgr, struct amixer *amixer); argument
92 int amixer_mgr_create(struct hw *hw, struct amixer_mgr **ramixer_mgr);
93 int amixer_mgr_destroy(struct amixer_mgr *amixer_mgr);
Dctmixer.c841 struct amixer_mgr *amixer_mgr; in ct_mixer_get_resources() local
863 amixer_mgr = (struct amixer_mgr *)mixer->atc->rsc_mgrs[AMIXER]; in ct_mixer_get_resources()
866 err = amixer_mgr->get_amixer(amixer_mgr, &am_desc, &amixer); in ct_mixer_get_resources()
883 amixer_mgr->put_amixer(amixer_mgr, amixer); in ct_mixer_get_resources()
1144 struct amixer_mgr *amixer_mgr = in ct_mixer_destroy() local
1145 (struct amixer_mgr *)mixer->atc->rsc_mgrs[AMIXER]; in ct_mixer_destroy()
1153 amixer_mgr->put_amixer(amixer_mgr, amixer); in ct_mixer_destroy()
Dctatc.c245 struct amixer_mgr *amixer_mgr = atc->rsc_mgrs[AMIXER]; in atc_pcm_playback_prepare() local
284 err = amixer_mgr->get_amixer(amixer_mgr, &mix_dsc, in atc_pcm_playback_prepare()
324 struct amixer_mgr *amixer_mgr = atc->rsc_mgrs[AMIXER]; in atc_pcm_release_resources() local
351 amixer_mgr->put_amixer(amixer_mgr, apcm->amixers[i]); in atc_pcm_release_resources()
506 struct amixer_mgr *amixer_mgr = atc->rsc_mgrs[AMIXER]; in atc_pcm_capture_get_resources() local
590 err = amixer_mgr->get_amixer(amixer_mgr, &mix_dsc, in atc_pcm_capture_get_resources()
788 struct amixer_mgr *amixer_mgr = atc->rsc_mgrs[AMIXER]; in spdif_passthru_playback_get_resources() local
828 err = amixer_mgr->get_amixer(amixer_mgr, &mix_dsc, in spdif_passthru_playback_get_resources()