toonie             27 sound/aoa/codecs/snd-aoa-codec-toonie.c #define codec_to_toonie(c) container_of(c, struct toonie, codec)
toonie             88 sound/aoa/codecs/snd-aoa-codec-toonie.c 	struct toonie *toonie = codec_to_toonie(codec);
toonie             91 sound/aoa/codecs/snd-aoa-codec-toonie.c 	if (toonie->codec.connected != 1)
toonie             94 sound/aoa/codecs/snd-aoa-codec-toonie.c 	if (aoa_snd_device_new(SNDRV_DEV_LOWLEVEL, toonie, &ops)) {
toonie             99 sound/aoa/codecs/snd-aoa-codec-toonie.c 	if (toonie->codec.soundbus_dev->attach_codec(toonie->codec.soundbus_dev,
toonie            101 sound/aoa/codecs/snd-aoa-codec-toonie.c 						     &toonie_codec_info, toonie)) {
toonie            103 sound/aoa/codecs/snd-aoa-codec-toonie.c 		snd_device_free(aoa_get_card(), toonie);
toonie            112 sound/aoa/codecs/snd-aoa-codec-toonie.c 	struct toonie *toonie = codec_to_toonie(codec);
toonie            114 sound/aoa/codecs/snd-aoa-codec-toonie.c 	if (!toonie->codec.soundbus_dev) {
toonie            118 sound/aoa/codecs/snd-aoa-codec-toonie.c 	toonie->codec.soundbus_dev->detach_codec(toonie->codec.soundbus_dev, toonie);
toonie            121 sound/aoa/codecs/snd-aoa-codec-toonie.c static struct toonie *toonie;
toonie            125 sound/aoa/codecs/snd-aoa-codec-toonie.c 	toonie = kzalloc(sizeof(struct toonie), GFP_KERNEL);
toonie            127 sound/aoa/codecs/snd-aoa-codec-toonie.c 	if (!toonie)
toonie            130 sound/aoa/codecs/snd-aoa-codec-toonie.c 	strlcpy(toonie->codec.name, "toonie", sizeof(toonie->codec.name));
toonie            131 sound/aoa/codecs/snd-aoa-codec-toonie.c 	toonie->codec.owner = THIS_MODULE;
toonie            132 sound/aoa/codecs/snd-aoa-codec-toonie.c 	toonie->codec.init = toonie_init_codec;
toonie            133 sound/aoa/codecs/snd-aoa-codec-toonie.c 	toonie->codec.exit = toonie_exit_codec;
toonie            135 sound/aoa/codecs/snd-aoa-codec-toonie.c 	if (aoa_codec_register(&toonie->codec)) {
toonie            136 sound/aoa/codecs/snd-aoa-codec-toonie.c 		kfree(toonie);
toonie            145 sound/aoa/codecs/snd-aoa-codec-toonie.c 	aoa_codec_unregister(&toonie->codec);
toonie            146 sound/aoa/codecs/snd-aoa-codec-toonie.c 	kfree(toonie);