Searched refs:toonie (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/sound/aoa/codecs/ |
H A D | toonie.c | 9 * This is a driver for the toonie codec chip. This chip is present 17 MODULE_DESCRIPTION("toonie codec driver for snd-aoa"); 23 #define PFX "snd-aoa-codec-toonie: " 25 struct toonie { struct 28 #define codec_to_toonie(c) container_of(c, struct toonie, codec) 89 struct toonie *toonie = codec_to_toonie(codec); toonie_init_codec() local 92 if (toonie->codec.connected != 1) toonie_init_codec() 95 if (aoa_snd_device_new(SNDRV_DEV_CODEC, toonie, &ops)) { toonie_init_codec() 96 printk(KERN_ERR PFX "failed to create toonie snd device!\n"); toonie_init_codec() 100 if (toonie->codec.soundbus_dev->attach_codec(toonie->codec.soundbus_dev, toonie_init_codec() 102 &toonie_codec_info, toonie)) { toonie_init_codec() 103 printk(KERN_ERR PFX "error creating toonie pcm\n"); toonie_init_codec() 104 snd_device_free(aoa_get_card(), toonie); toonie_init_codec() local 113 struct toonie *toonie = codec_to_toonie(codec); toonie_exit_codec() local 115 if (!toonie->codec.soundbus_dev) { toonie_exit_codec() 119 toonie->codec.soundbus_dev->detach_codec(toonie->codec.soundbus_dev, toonie); toonie_exit_codec() 122 static struct toonie *toonie; variable in typeref:struct:toonie 126 toonie = kzalloc(sizeof(struct toonie), GFP_KERNEL); toonie_init() 128 if (!toonie) toonie_init() 131 strlcpy(toonie->codec.name, "toonie", sizeof(toonie->codec.name)); toonie_init() 132 toonie->codec.owner = THIS_MODULE; toonie_init() 133 toonie->codec.init = toonie_init_codec; toonie_init() 134 toonie->codec.exit = toonie_exit_codec; toonie_init() 136 if (aoa_codec_register(&toonie->codec)) { toonie_init() 137 kfree(toonie); toonie_init() 146 aoa_codec_unregister(&toonie->codec); toonie_exit() 147 kfree(toonie); toonie_exit()
|
H A D | Makefile | 3 snd-aoa-codec-toonie-objs := toonie.o 7 obj-$(CONFIG_SND_AOA_TOONIE) += snd-aoa-codec-toonie.o
|
/linux-4.1.27/sound/aoa/fabrics/ |
H A D | layout.c | 407 .name = "toonie", 518 .name = "toonie",
|
Completed in 115 milliseconds