*参照元 [#te06490a] #backlinks *説明 [#h571060d] -パス: [[linux-2.6.33/include/sound/soc.h]] -FIXME: これは何? --説明 **参考 [#xb6e0bec] *実装 [#l3eb3564] /* SoC card */ struct snd_soc_card { char *name; struct device *dev; - --[[linux-2.6.33/device]] struct list_head list; - --[[linux-2.6.33/list_head]] int instantiated; int (*probe)(struct platform_device *pdev); int (*remove)(struct platform_device *pdev); - --[[linux-2.6.33/platform_device]] /* the pre and post PM functions are used to do any PM work before and * after the codec and DAI's do any PM work. */ int (*suspend_pre)(struct platform_device *pdev, pm_message_t state); int (*suspend_post)(struct platform_device *pdev, pm_message_t state); - --[[linux-2.6.33/pm_message_t]] int (*resume_pre)(struct platform_device *pdev); int (*resume_post)(struct platform_device *pdev); /* callbacks */ int (*set_bias_level)(struct snd_soc_card *, enum snd_soc_bias_level level); - --[[linux-2.6.33/snd_soc_card]] - --[[linux-2.6.33/snd_soc_bias_level]] /* CPU <--> Codec DAI links */ struct snd_soc_dai_link *dai_link; int num_links; - --[[linux-2.6.33/snd_soc_dai_link]] struct snd_soc_device *socdev; - --[[linux-2.6.33/snd_soc_device]] struct snd_soc_codec *codec; - --[[linux-2.6.33/snd_soc_codec]] struct snd_soc_platform *platform; struct delayed_work delayed_work; struct work_struct deferred_resume_work; - --[[linux-2.6.33/snd_soc_platform]] - --[[linux-2.6.33/delayed_work]] - --[[linux-2.6.33/work_struct]] }; *コメント [#qd38fbe3]