Lines Matching defs:link

668 	 * You MAY specify the link's CPU-side device, either by device name,
683 * You MUST specify the link's codec, either by device name, or by
692 * You MAY specify the link's platform/PCM/DMA driver, either by
693 * device name, or by DT/OF node, but not both. Some forms of link
699 int id; /* optional ID for machine driver link identification */
749 /* Do not create a PCM for this DAI link (Backend link) */
752 /* This DAI link can route to other DAI links at runtime (Frontend)*/
769 /* Do not create a PCM for this DAI link (Backend link) */
783 snd_soc_link_to_cpu(struct snd_soc_dai_link *link, int n) {
784 return &(link)->cpus[n];
788 snd_soc_link_to_codec(struct snd_soc_dai_link *link, int n) {
789 return &(link)->codecs[n];
793 snd_soc_link_to_platform(struct snd_soc_dai_link *link, int n) {
794 return &(link)->platforms[n];
797 #define for_each_link_codecs(link, i, codec) \
799 ((i) < link->num_codecs) && \
800 ((codec) = snd_soc_link_to_codec(link, i)); \
803 #define for_each_link_platforms(link, i, platform) \
805 ((i) < link->num_platforms) && \
806 ((platform) = snd_soc_link_to_platform(link, i)); \
809 #define for_each_link_cpus(link, i, cpu) \
811 ((i) < link->num_cpus) && \
812 ((cpu) = snd_soc_link_to_cpu(link, i)); \
823 * struct snd_soc_dai_link link = {
836 * struct snd_soc_dai_link link = {
852 * struct snd_soc_dai_link link = {
861 * struct snd_soc_dai_link link = {
988 struct snd_soc_dai_link *link);
990 struct snd_soc_dai_link *link);
1007 * link unused
1064 #define for_each_card_prelinks(card, i, link) \
1066 ((i) < (card)->num_links) && ((link) = &(card)->dai_link[i]); \
1108 unsigned int c2c_params_select; /* currently selected c2c_param for dai link */