Home
last modified time | relevance | path

Searched refs:cii (Results 1 – 6 of 6) sorted by relevance

/sound/aoa/soundbus/i2sbus/
Dpcm.c77 struct codec_info_item *cii, *rev; in i2sbus_pcm_open() local
100 list_for_each_entry(cii, &sdev->codec_list, list) { in i2sbus_pcm_open()
101 struct transfer_info *ti = cii->codec->transfers; in i2sbus_pcm_open()
102 bus_factor = cii->codec->bus_factor; in i2sbus_pcm_open()
103 sysclock_factor = cii->codec->sysclock_factor; in i2sbus_pcm_open()
107 && cii->codec->usable(cii, ti, &v)) { in i2sbus_pcm_open()
201 list_for_each_entry(cii, &sdev->codec_list, list) { in i2sbus_pcm_open()
202 if (cii->codec->open) { in i2sbus_pcm_open()
203 err = cii->codec->open(cii, pi->substream); in i2sbus_pcm_open()
214 if (rev == cii) in i2sbus_pcm_open()
[all …]
Dcore.c382 struct codec_info_item *cii; in i2sbus_suspend() local
388 list_for_each_entry(cii, &i2sdev->sound.codec_list, list) { in i2sbus_suspend()
390 if (cii->codec->suspend) in i2sbus_suspend()
391 err = cii->codec->suspend(cii, state); in i2sbus_suspend()
406 struct codec_info_item *cii; in i2sbus_resume() local
415 list_for_each_entry(cii, &i2sdev->sound.codec_list, list) { in i2sbus_resume()
417 if (cii->codec->resume) in i2sbus_resume()
418 err = cii->codec->resume(cii); in i2sbus_resume()
/sound/aoa/soundbus/
Dsoundbus.h83 int (*switch_clock)(struct codec_info_item *cii,
99 int (*usable)(struct codec_info_item *cii,
105 int (*open)(struct codec_info_item *cii,
110 int (*close)(struct codec_info_item *cii,
119 int (*prepare)(struct codec_info_item *cii,
125 int (*start)(struct codec_info_item *cii,
130 int (*stop)(struct codec_info_item *cii,
133 int (*suspend)(struct codec_info_item *cii, pm_message_t state);
134 int (*resume)(struct codec_info_item *cii);
/sound/aoa/codecs/
Donyx.c667 static int onyx_usable(struct codec_info_item *cii, in onyx_usable() argument
672 struct onyx *onyx = cii->codec_data; in onyx_usable()
692 static int onyx_prepare(struct codec_info_item *cii, in onyx_prepare() argument
697 struct onyx *onyx = cii->codec_data; in onyx_prepare()
727 onyx_read_register(cii->codec_data, ONYX_REG_DIG_INFO4, &v); in onyx_prepare()
743 static int onyx_open(struct codec_info_item *cii, in onyx_open() argument
746 struct onyx *onyx = cii->codec_data; in onyx_open()
755 static int onyx_close(struct codec_info_item *cii, in onyx_close() argument
758 struct onyx *onyx = cii->codec_data; in onyx_close()
769 static int onyx_switch_clock(struct codec_info_item *cii, in onyx_switch_clock() argument
[all …]
Dtoonie.c53 static int toonie_usable(struct codec_info_item *cii, in toonie_usable() argument
61 static int toonie_suspend(struct codec_info_item *cii, pm_message_t state) in toonie_suspend() argument
67 static int toonie_resume(struct codec_info_item *cii) in toonie_resume() argument
Dtas.c663 static int tas_usable(struct codec_info_item *cii, in tas_usable() argument
713 static int tas_switch_clock(struct codec_info_item *cii, enum clock_switch clock) in tas_switch_clock() argument
715 struct tas *tas = cii->codec_data; in tas_switch_clock()
766 static int _tas_suspend(struct codec_info_item *cii, pm_message_t state) in _tas_suspend() argument
768 return tas_suspend(cii->codec_data); in _tas_suspend()
771 static int _tas_resume(struct codec_info_item *cii) in _tas_resume() argument
773 return tas_resume(cii->codec_data); in _tas_resume()