rtd 2452 drivers/media/i2c/tda1997x.c struct snd_pcm_runtime *rtd = substream->runtime; rtd 2456 drivers/media/i2c/tda1997x.c err = snd_pcm_hw_constraint_minmax(rtd, SNDRV_PCM_HW_PARAM_RATE, rtd 562 drivers/net/wireless/intersil/p54/fwio.c u8 rtd; rtd 583 drivers/net/wireless/intersil/p54/fwio.c rtd = 3 * priv->coverage_class; rtd 584 drivers/net/wireless/intersil/p54/fwio.c edcf->slottime += rtd; rtd 585 drivers/net/wireless/intersil/p54/fwio.c edcf->round_trip_delay = cpu_to_le16(rtd); rtd 26 drivers/rtc/rtc-test.c struct rtc_test_data *rtd = dev_get_drvdata(dev); rtd 29 drivers/rtc/rtc-test.c alarm = (rtd->alarm.expires - jiffies) / HZ; rtd 30 drivers/rtc/rtc-test.c alarm += ktime_get_real_seconds() + rtd->offset; rtd 33 drivers/rtc/rtc-test.c alrm->enabled = rtd->alarm_en; rtd 40 drivers/rtc/rtc-test.c struct rtc_test_data *rtd = dev_get_drvdata(dev); rtd 45 drivers/rtc/rtc-test.c timeout -= rtd->offset; rtd 47 drivers/rtc/rtc-test.c del_timer(&rtd->alarm); rtd 54 drivers/rtc/rtc-test.c rtd->alarm.expires = expires; rtd 57 drivers/rtc/rtc-test.c add_timer(&rtd->alarm); rtd 59 drivers/rtc/rtc-test.c rtd->alarm_en = alrm->enabled; rtd 66 drivers/rtc/rtc-test.c struct rtc_test_data *rtd = dev_get_drvdata(dev); rtd 68 drivers/rtc/rtc-test.c rtc_time64_to_tm(ktime_get_real_seconds() + rtd->offset, tm); rtd 75 drivers/rtc/rtc-test.c struct rtc_test_data *rtd = dev_get_drvdata(dev); rtd 77 drivers/rtc/rtc-test.c rtd->offset = rtc_tm_to_time64(tm) - ktime_get_real_seconds(); rtd 84 drivers/rtc/rtc-test.c struct rtc_test_data *rtd = dev_get_drvdata(dev); rtd 86 drivers/rtc/rtc-test.c rtd->alarm_en = enable; rtd 88 drivers/rtc/rtc-test.c add_timer(&rtd->alarm); rtd 90 drivers/rtc/rtc-test.c del_timer(&rtd->alarm); rtd 111 drivers/rtc/rtc-test.c struct rtc_test_data *rtd = from_timer(rtd, t, alarm); rtd 113 drivers/rtc/rtc-test.c rtc_update_irq(rtd->rtc, 1, RTC_AF | RTC_IRQF); rtd 118 drivers/rtc/rtc-test.c struct rtc_test_data *rtd; rtd 120 drivers/rtc/rtc-test.c rtd = devm_kzalloc(&plat_dev->dev, sizeof(*rtd), GFP_KERNEL); rtd 121 drivers/rtc/rtc-test.c if (!rtd) rtd 124 drivers/rtc/rtc-test.c platform_set_drvdata(plat_dev, rtd); rtd 126 drivers/rtc/rtc-test.c rtd->rtc = devm_rtc_allocate_device(&plat_dev->dev); rtd 127 drivers/rtc/rtc-test.c if (IS_ERR(rtd->rtc)) rtd 128 drivers/rtc/rtc-test.c return PTR_ERR(rtd->rtc); rtd 132 drivers/rtc/rtc-test.c rtd->rtc->ops = &test_rtc_ops_noalm; rtd 135 drivers/rtc/rtc-test.c rtd->rtc->ops = &test_rtc_ops; rtd 139 drivers/rtc/rtc-test.c timer_setup(&rtd->alarm, test_rtc_alarm_handler, 0); rtd 140 drivers/rtc/rtc-test.c rtd->alarm.expires = 0; rtd 142 drivers/rtc/rtc-test.c return rtc_register_device(rtd->rtc); rtd 131 include/sound/dmaengine_pcm.h struct snd_soc_pcm_runtime *rtd, rtd 26 include/sound/pxa2xx-lib.h extern int pxa2xx_soc_pcm_new(struct snd_soc_pcm_runtime *rtd); rtd 96 include/sound/simple_card_utils.h int asoc_simple_dai_init(struct snd_soc_pcm_runtime *rtd); rtd 97 include/sound/simple_card_utils.h int asoc_simple_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, rtd 54 include/sound/soc-component.h int (*pcm_new)(struct snd_soc_pcm_runtime *rtd); rtd 102 include/sound/soc-component.h int (*be_hw_params_fixup)(struct snd_soc_pcm_runtime *rtd, rtd 170 include/sound/soc-dai.h struct snd_soc_pcm_runtime *rtd, int num); rtd 292 include/sound/soc-dai.h int (*compress_new)(struct snd_soc_pcm_runtime *rtd, int num); rtd 294 include/sound/soc-dai.h int (*pcm_new)(struct snd_soc_pcm_runtime *rtd, rtd 435 include/sound/soc-dapm.h void snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream, rtd 148 include/sound/soc-dpcm.h void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd); rtd 150 include/sound/soc-dpcm.h static inline void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) rtd 449 include/sound/soc.h int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num); rtd 451 include/sound/soc.h int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num); rtd 453 include/sound/soc.h static inline int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num) rtd 466 include/sound/soc.h bool snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd); rtd 467 include/sound/soc.h void snd_soc_runtime_activate(struct snd_soc_pcm_runtime *rtd, int stream); rtd 468 include/sound/soc.h void snd_soc_runtime_deactivate(struct snd_soc_pcm_runtime *rtd, int stream); rtd 470 include/sound/soc.h int snd_soc_runtime_set_dai_fmt(struct snd_soc_pcm_runtime *rtd, rtd 740 include/sound/soc.h snd_soc_rtdcom_lookup(struct snd_soc_pcm_runtime *rtd, rtd 742 include/sound/soc.h #define for_each_rtdcom(rtd, rtdcom) \ rtd 743 include/sound/soc.h list_for_each_entry(rtdcom, &(rtd)->component_list, list) rtd 744 include/sound/soc.h #define for_each_rtdcom_safe(rtd, rtdcom1, rtdcom2) \ rtd 745 include/sound/soc.h list_for_each_entry_safe(rtdcom1, rtdcom2, &(rtd)->component_list, list) rtd 799 include/sound/soc.h int (*init)(struct snd_soc_pcm_runtime *rtd); rtd 802 include/sound/soc.h int (*be_hw_params_fixup)(struct snd_soc_pcm_runtime *rtd, rtd 1105 include/sound/soc.h #define for_each_card_rtds(card, rtd) \ rtd 1106 include/sound/soc.h list_for_each_entry(rtd, &(card)->rtd_list, list) rtd 1107 include/sound/soc.h #define for_each_card_rtds_safe(card, rtd, _rtd) \ rtd 1108 include/sound/soc.h list_for_each_entry_safe(rtd, _rtd, &(card)->rtd_list, list) rtd 1156 include/sound/soc.h #define for_each_rtd_codec_dai(rtd, i, dai)\ rtd 1158 include/sound/soc.h ((i) < rtd->num_codecs) && ((dai) = rtd->codec_dais[i]); \ rtd 1160 include/sound/soc.h #define for_each_rtd_codec_dai_rollback(rtd, i, dai) \ rtd 1161 include/sound/soc.h for (; ((--i) >= 0) && ((dai) = rtd->codec_dais[i]);) rtd 1341 include/sound/soc.h struct snd_soc_pcm_runtime *rtd; rtd 1343 include/sound/soc.h list_for_each_entry(rtd, &card->rtd_list, list) { rtd 1344 include/sound/soc.h if (!strcmp(rtd->codec_dai->name, dai_name)) rtd 1345 include/sound/soc.h return rtd->codec_dai; rtd 36 sound/arm/pxa2xx-pcm-lib.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 41 sound/arm/pxa2xx-pcm-lib.c dma_params = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 50 sound/arm/pxa2xx-pcm-lib.c snd_soc_dai_get_dma_data(rtd->cpu_dai, substream), rtd 91 sound/arm/pxa2xx-pcm-lib.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 98 sound/arm/pxa2xx-pcm-lib.c dma_params = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 123 sound/arm/pxa2xx-pcm-lib.c substream, dma_request_slave_channel(rtd->cpu_dai->dev, rtd 178 sound/arm/pxa2xx-pcm-lib.c int pxa2xx_soc_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 180 sound/arm/pxa2xx-pcm-lib.c struct snd_card *card = rtd->card->snd_card; rtd 181 sound/arm/pxa2xx-pcm-lib.c struct snd_pcm *pcm = rtd->pcm; rtd 53 sound/soc/amd/acp-da7219-max98357a.c static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd) rtd 56 sound/soc/amd/acp-da7219-max98357a.c struct snd_soc_card *card = rtd->card; rtd 57 sound/soc/amd/acp-da7219-max98357a.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 60 sound/soc/amd/acp-da7219-max98357a.c dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name); rtd 65 sound/soc/amd/acp-da7219-max98357a.c dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); rtd 72 sound/soc/amd/acp-da7219-max98357a.c dev_err(rtd->dev, "can't set codec pll: %d\n", ret); rtd 103 sound/soc/amd/acp-da7219-max98357a.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 109 sound/soc/amd/acp-da7219-max98357a.c dev_err(rtd->dev, "can't enable master clock %d\n", ret); rtd 144 sound/soc/amd/acp-da7219-max98357a.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 145 sound/soc/amd/acp-da7219-max98357a.c struct snd_soc_card *card = rtd->card; rtd 165 sound/soc/amd/acp-da7219-max98357a.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 166 sound/soc/amd/acp-da7219-max98357a.c struct snd_soc_card *card = rtd->card; rtd 187 sound/soc/amd/acp-da7219-max98357a.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 188 sound/soc/amd/acp-da7219-max98357a.c struct snd_soc_card *card = rtd->card; rtd 208 sound/soc/amd/acp-da7219-max98357a.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 209 sound/soc/amd/acp-da7219-max98357a.c struct snd_soc_card *card = rtd->card; rtd 229 sound/soc/amd/acp-da7219-max98357a.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 230 sound/soc/amd/acp-da7219-max98357a.c struct snd_soc_card *card = rtd->card; rtd 331 sound/soc/amd/acp-pcm-dma.c struct audio_substream_data *rtd, rtd 336 sound/soc/amd/acp-pcm-dma.c acp_pte_config(acp_mmio, rtd->dma_addr, rtd->num_of_pages, rtd 337 sound/soc/amd/acp-pcm-dma.c rtd->pte_offset); rtd 339 sound/soc/amd/acp-pcm-dma.c if (rtd->direction == SNDRV_PCM_STREAM_PLAYBACK) { rtd 340 sound/soc/amd/acp-pcm-dma.c ch_acp_sysmem = rtd->ch1; rtd 341 sound/soc/amd/acp-pcm-dma.c ch_acp_i2s = rtd->ch2; rtd 343 sound/soc/amd/acp-pcm-dma.c ch_acp_i2s = rtd->ch1; rtd 344 sound/soc/amd/acp-pcm-dma.c ch_acp_sysmem = rtd->ch2; rtd 347 sound/soc/amd/acp-pcm-dma.c set_acp_sysmem_dma_descriptors(acp_mmio, rtd->size, rtd 348 sound/soc/amd/acp-pcm-dma.c rtd->direction, rtd->pte_offset, rtd 349 sound/soc/amd/acp-pcm-dma.c ch_acp_sysmem, rtd->sram_bank, rtd 350 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_1, asic_type); rtd 352 sound/soc/amd/acp-pcm-dma.c set_acp_to_i2s_dma_descriptors(acp_mmio, rtd->size, rtd 353 sound/soc/amd/acp-pcm-dma.c rtd->direction, rtd->sram_bank, rtd 354 sound/soc/amd/acp-pcm-dma.c rtd->destination, ch_acp_i2s, rtd 355 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_2, asic_type); rtd 844 sound/soc/amd/acp-pcm-dma.c struct audio_substream_data *rtd; rtd 853 sound/soc/amd/acp-pcm-dma.c rtd = runtime->private_data; rtd 855 sound/soc/amd/acp-pcm-dma.c if (WARN_ON(!rtd)) rtd 860 sound/soc/amd/acp-pcm-dma.c rtd->i2s_instance = pinfo->play_i2s_instance; rtd 862 sound/soc/amd/acp-pcm-dma.c rtd->i2s_instance = pinfo->cap_i2s_instance; rtd 863 sound/soc/amd/acp-pcm-dma.c rtd->capture_channel = pinfo->capture_channel; rtd 870 sound/soc/amd/acp-pcm-dma.c switch (rtd->i2s_instance) { rtd 879 sound/soc/amd/acp-pcm-dma.c switch (rtd->i2s_instance) { rtd 893 sound/soc/amd/acp-pcm-dma.c switch (rtd->i2s_instance) { rtd 895 sound/soc/amd/acp-pcm-dma.c rtd->pte_offset = ACP_ST_BT_PLAYBACK_PTE_OFFSET; rtd 896 sound/soc/amd/acp-pcm-dma.c rtd->ch1 = SYSRAM_TO_ACP_BT_INSTANCE_CH_NUM; rtd 897 sound/soc/amd/acp-pcm-dma.c rtd->ch2 = ACP_TO_I2S_DMA_BT_INSTANCE_CH_NUM; rtd 898 sound/soc/amd/acp-pcm-dma.c rtd->sram_bank = ACP_SRAM_BANK_3_ADDRESS; rtd 899 sound/soc/amd/acp-pcm-dma.c rtd->destination = TO_BLUETOOTH; rtd 900 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_1 = PLAYBACK_START_DMA_DESCR_CH8; rtd 901 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_2 = PLAYBACK_START_DMA_DESCR_CH9; rtd 902 sound/soc/amd/acp-pcm-dma.c rtd->byte_cnt_high_reg_offset = rtd 904 sound/soc/amd/acp-pcm-dma.c rtd->byte_cnt_low_reg_offset = rtd 912 sound/soc/amd/acp-pcm-dma.c rtd->pte_offset = ACP_ST_PLAYBACK_PTE_OFFSET; rtd 915 sound/soc/amd/acp-pcm-dma.c rtd->pte_offset = ACP_PLAYBACK_PTE_OFFSET; rtd 917 sound/soc/amd/acp-pcm-dma.c rtd->ch1 = SYSRAM_TO_ACP_CH_NUM; rtd 918 sound/soc/amd/acp-pcm-dma.c rtd->ch2 = ACP_TO_I2S_DMA_CH_NUM; rtd 919 sound/soc/amd/acp-pcm-dma.c rtd->sram_bank = ACP_SRAM_BANK_1_ADDRESS; rtd 920 sound/soc/amd/acp-pcm-dma.c rtd->destination = TO_ACP_I2S_1; rtd 921 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_1 = PLAYBACK_START_DMA_DESCR_CH12; rtd 922 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_2 = PLAYBACK_START_DMA_DESCR_CH13; rtd 923 sound/soc/amd/acp-pcm-dma.c rtd->byte_cnt_high_reg_offset = rtd 925 sound/soc/amd/acp-pcm-dma.c rtd->byte_cnt_low_reg_offset = rtd 930 sound/soc/amd/acp-pcm-dma.c switch (rtd->i2s_instance) { rtd 932 sound/soc/amd/acp-pcm-dma.c rtd->pte_offset = ACP_ST_BT_CAPTURE_PTE_OFFSET; rtd 933 sound/soc/amd/acp-pcm-dma.c rtd->ch1 = I2S_TO_ACP_DMA_BT_INSTANCE_CH_NUM; rtd 934 sound/soc/amd/acp-pcm-dma.c rtd->ch2 = ACP_TO_SYSRAM_BT_INSTANCE_CH_NUM; rtd 935 sound/soc/amd/acp-pcm-dma.c rtd->sram_bank = ACP_SRAM_BANK_4_ADDRESS; rtd 936 sound/soc/amd/acp-pcm-dma.c rtd->destination = FROM_BLUETOOTH; rtd 937 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_1 = CAPTURE_START_DMA_DESCR_CH10; rtd 938 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_2 = CAPTURE_START_DMA_DESCR_CH11; rtd 939 sound/soc/amd/acp-pcm-dma.c rtd->byte_cnt_high_reg_offset = rtd 941 sound/soc/amd/acp-pcm-dma.c rtd->byte_cnt_low_reg_offset = rtd 943 sound/soc/amd/acp-pcm-dma.c rtd->dma_curr_dscr = mmACP_DMA_CUR_DSCR_11; rtd 948 sound/soc/amd/acp-pcm-dma.c rtd->pte_offset = ACP_CAPTURE_PTE_OFFSET; rtd 949 sound/soc/amd/acp-pcm-dma.c rtd->ch1 = I2S_TO_ACP_DMA_CH_NUM; rtd 950 sound/soc/amd/acp-pcm-dma.c rtd->ch2 = ACP_TO_SYSRAM_CH_NUM; rtd 953 sound/soc/amd/acp-pcm-dma.c rtd->pte_offset = ACP_ST_CAPTURE_PTE_OFFSET; rtd 954 sound/soc/amd/acp-pcm-dma.c rtd->sram_bank = ACP_SRAM_BANK_2_ADDRESS; rtd 957 sound/soc/amd/acp-pcm-dma.c rtd->pte_offset = ACP_CAPTURE_PTE_OFFSET; rtd 958 sound/soc/amd/acp-pcm-dma.c rtd->sram_bank = ACP_SRAM_BANK_5_ADDRESS; rtd 960 sound/soc/amd/acp-pcm-dma.c rtd->destination = FROM_ACP_I2S_1; rtd 961 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_1 = CAPTURE_START_DMA_DESCR_CH14; rtd 962 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_2 = CAPTURE_START_DMA_DESCR_CH15; rtd 963 sound/soc/amd/acp-pcm-dma.c rtd->byte_cnt_high_reg_offset = rtd 965 sound/soc/amd/acp-pcm-dma.c rtd->byte_cnt_low_reg_offset = rtd 967 sound/soc/amd/acp-pcm-dma.c rtd->dma_curr_dscr = mmACP_DMA_CUR_DSCR_15; rtd 980 sound/soc/amd/acp-pcm-dma.c acp_set_sram_bank_state(rtd->acp_mmio, 0, true); rtd 982 sound/soc/amd/acp-pcm-dma.c rtd->dma_addr = substream->dma_buffer.addr; rtd 983 sound/soc/amd/acp-pcm-dma.c rtd->order = get_order(size); rtd 986 sound/soc/amd/acp-pcm-dma.c rtd->size = size; rtd 987 sound/soc/amd/acp-pcm-dma.c rtd->num_of_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; rtd 988 sound/soc/amd/acp-pcm-dma.c rtd->direction = substream->stream; rtd 990 sound/soc/amd/acp-pcm-dma.c config_acp_dma(rtd->acp_mmio, rtd, adata->asic_type); rtd 1003 sound/soc/amd/acp-pcm-dma.c static u64 acp_get_byte_count(struct audio_substream_data *rtd) rtd 1007 sound/soc/amd/acp-pcm-dma.c byte_count.bcount.high = acp_reg_read(rtd->acp_mmio, rtd 1008 sound/soc/amd/acp-pcm-dma.c rtd->byte_cnt_high_reg_offset); rtd 1009 sound/soc/amd/acp-pcm-dma.c byte_count.bcount.low = acp_reg_read(rtd->acp_mmio, rtd 1010 sound/soc/amd/acp-pcm-dma.c rtd->byte_cnt_low_reg_offset); rtd 1023 sound/soc/amd/acp-pcm-dma.c struct audio_substream_data *rtd = runtime->private_data; rtd 1025 sound/soc/amd/acp-pcm-dma.c if (!rtd) rtd 1030 sound/soc/amd/acp-pcm-dma.c bytescount = acp_get_byte_count(rtd); rtd 1031 sound/soc/amd/acp-pcm-dma.c if (bytescount >= rtd->bytescount) rtd 1032 sound/soc/amd/acp-pcm-dma.c bytescount -= rtd->bytescount; rtd 1036 sound/soc/amd/acp-pcm-dma.c dscr = acp_reg_read(rtd->acp_mmio, rtd->dma_curr_dscr); rtd 1037 sound/soc/amd/acp-pcm-dma.c if (dscr == rtd->dma_dscr_idx_1) rtd 1048 sound/soc/amd/acp-pcm-dma.c bytescount = acp_get_byte_count(rtd); rtd 1049 sound/soc/amd/acp-pcm-dma.c if (bytescount > rtd->bytescount) rtd 1050 sound/soc/amd/acp-pcm-dma.c bytescount -= rtd->bytescount; rtd 1065 sound/soc/amd/acp-pcm-dma.c struct audio_substream_data *rtd = runtime->private_data; rtd 1068 sound/soc/amd/acp-pcm-dma.c if (!rtd) rtd 1071 sound/soc/amd/acp-pcm-dma.c if (rtd->direction == SNDRV_PCM_STREAM_PLAYBACK) { rtd 1072 sound/soc/amd/acp-pcm-dma.c ch_acp_sysmem = rtd->ch1; rtd 1073 sound/soc/amd/acp-pcm-dma.c ch_acp_i2s = rtd->ch2; rtd 1075 sound/soc/amd/acp-pcm-dma.c ch_acp_i2s = rtd->ch1; rtd 1076 sound/soc/amd/acp-pcm-dma.c ch_acp_sysmem = rtd->ch2; rtd 1078 sound/soc/amd/acp-pcm-dma.c config_acp_dma_channel(rtd->acp_mmio, rtd 1080 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_1, rtd 1082 sound/soc/amd/acp-pcm-dma.c config_acp_dma_channel(rtd->acp_mmio, rtd 1084 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_2, rtd 1094 sound/soc/amd/acp-pcm-dma.c struct audio_substream_data *rtd = runtime->private_data; rtd 1096 sound/soc/amd/acp-pcm-dma.c if (!rtd) rtd 1102 sound/soc/amd/acp-pcm-dma.c rtd->bytescount = acp_get_byte_count(rtd); rtd 1104 sound/soc/amd/acp-pcm-dma.c if (rtd->capture_channel == CAP_CHANNEL0) { rtd 1105 sound/soc/amd/acp-pcm-dma.c acp_dma_cap_channel_disable(rtd->acp_mmio, rtd 1107 sound/soc/amd/acp-pcm-dma.c acp_dma_cap_channel_enable(rtd->acp_mmio, rtd 1110 sound/soc/amd/acp-pcm-dma.c if (rtd->capture_channel == CAP_CHANNEL1) { rtd 1111 sound/soc/amd/acp-pcm-dma.c acp_dma_cap_channel_disable(rtd->acp_mmio, rtd 1113 sound/soc/amd/acp-pcm-dma.c acp_dma_cap_channel_enable(rtd->acp_mmio, rtd 1116 sound/soc/amd/acp-pcm-dma.c acp_dma_start(rtd->acp_mmio, rtd->ch1, true); rtd 1118 sound/soc/amd/acp-pcm-dma.c acp_dma_start(rtd->acp_mmio, rtd->ch1, true); rtd 1119 sound/soc/amd/acp-pcm-dma.c acp_dma_start(rtd->acp_mmio, rtd->ch2, true); rtd 1126 sound/soc/amd/acp-pcm-dma.c acp_dma_stop(rtd->acp_mmio, rtd->ch2); rtd 1127 sound/soc/amd/acp-pcm-dma.c ret = acp_dma_stop(rtd->acp_mmio, rtd->ch1); rtd 1135 sound/soc/amd/acp-pcm-dma.c static int acp_dma_new(struct snd_soc_pcm_runtime *rtd) rtd 1137 sound/soc/amd/acp-pcm-dma.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, rtd 1144 sound/soc/amd/acp-pcm-dma.c snd_pcm_lib_preallocate_pages_for_all(rtd->pcm, rtd 1151 sound/soc/amd/acp-pcm-dma.c snd_pcm_lib_preallocate_pages_for_all(rtd->pcm, rtd 1165 sound/soc/amd/acp-pcm-dma.c struct audio_substream_data *rtd = runtime->private_data; rtd 1172 sound/soc/amd/acp-pcm-dma.c switch (rtd->i2s_instance) { rtd 1193 sound/soc/amd/acp-pcm-dma.c switch (rtd->i2s_instance) { rtd 1215 sound/soc/amd/acp-pcm-dma.c kfree(rtd); rtd 1324 sound/soc/amd/acp-pcm-dma.c struct audio_substream_data *rtd; rtd 1344 sound/soc/amd/acp-pcm-dma.c rtd = adata->play_i2ssp_stream->runtime->private_data; rtd 1345 sound/soc/amd/acp-pcm-dma.c config_acp_dma(adata->acp_mmio, rtd, adata->asic_type); rtd 1354 sound/soc/amd/acp-pcm-dma.c rtd = adata->capture_i2ssp_stream->runtime->private_data; rtd 1355 sound/soc/amd/acp-pcm-dma.c config_acp_dma(adata->acp_mmio, rtd, adata->asic_type); rtd 1360 sound/soc/amd/acp-pcm-dma.c rtd = adata->play_i2sbt_stream->runtime->private_data; rtd 1361 sound/soc/amd/acp-pcm-dma.c config_acp_dma(adata->acp_mmio, rtd, adata->asic_type); rtd 1365 sound/soc/amd/acp-pcm-dma.c rtd = adata->capture_i2sbt_stream->runtime->private_data; rtd 1366 sound/soc/amd/acp-pcm-dma.c config_acp_dma(adata->acp_mmio, rtd, adata->asic_type); rtd 50 sound/soc/amd/acp-rt5645.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 51 sound/soc/amd/acp-rt5645.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 56 sound/soc/amd/acp-rt5645.c dev_err(rtd->dev, "can't set codec pll: %d\n", ret); rtd 63 sound/soc/amd/acp-rt5645.c dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); rtd 70 sound/soc/amd/acp-rt5645.c static int cz_init(struct snd_soc_pcm_runtime *rtd) rtd 76 sound/soc/amd/acp-rt5645.c codec = rtd->codec_dai->component; rtd 77 sound/soc/amd/acp-rt5645.c card = rtd->card; rtd 211 sound/soc/amd/raven/acp3x-pcm-dma.c static void config_acp3x_dma(struct i2s_stream_instance *rtd, int direction) rtd 215 sound/soc/amd/raven/acp3x-pcm-dma.c dma_addr_t addr = rtd->dma_addr; rtd 221 sound/soc/amd/raven/acp3x-pcm-dma.c val = rtd->num_pages * 8; rtd 224 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp3x_base + rtd 226 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(PAGE_SIZE_4K_ENABLE, rtd->acp3x_base + rtd 229 sound/soc/amd/raven/acp3x-pcm-dma.c for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) { rtd 234 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(low, rtd->acp3x_base + mmACP_SCRATCH_REG_0 + val); rtd 236 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(high, rtd->acp3x_base + mmACP_SCRATCH_REG_0 + val rtd 245 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(MEM_WINDOW_START, rtd->acp3x_base + rtd 247 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(MAX_BUFFER, rtd->acp3x_base + rtd 249 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(DMA_SIZE, rtd->acp3x_base + mmACP_BT_TX_DMA_SIZE); rtd 252 sound/soc/amd/raven/acp3x-pcm-dma.c acp_fifo_addr = ACP_SRAM_PTE_OFFSET + (rtd->num_pages * 8) rtd 254 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(acp_fifo_addr, rtd->acp3x_base + rtd 256 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(FIFO_SIZE, rtd->acp3x_base + mmACP_BT_TX_FIFOSIZE); rtd 259 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(MEM_WINDOW_START + MAX_BUFFER, rtd->acp3x_base + rtd 261 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(MAX_BUFFER, rtd->acp3x_base + rtd 263 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(DMA_SIZE, rtd->acp3x_base + mmACP_BT_RX_DMA_SIZE); rtd 267 sound/soc/amd/raven/acp3x-pcm-dma.c (rtd->num_pages * 8) + CAPTURE_FIFO_ADDR_OFFSET; rtd 268 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(acp_fifo_addr, rtd->acp3x_base + rtd 270 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(FIFO_SIZE, rtd->acp3x_base + mmACP_BT_RX_FIFOSIZE); rtd 275 sound/soc/amd/raven/acp3x-pcm-dma.c rtd->acp3x_base + mmACP_EXTERNAL_INTR_CNTL); rtd 319 sound/soc/amd/raven/acp3x-pcm-dma.c static u64 acp_get_byte_count(struct i2s_stream_instance *rtd, int direction) rtd 324 sound/soc/amd/raven/acp3x-pcm-dma.c byte_count = rv_readl(rtd->acp3x_base + rtd 326 sound/soc/amd/raven/acp3x-pcm-dma.c byte_count |= rv_readl(rtd->acp3x_base + rtd 329 sound/soc/amd/raven/acp3x-pcm-dma.c byte_count = rv_readl(rtd->acp3x_base + rtd 331 sound/soc/amd/raven/acp3x-pcm-dma.c byte_count |= rv_readl(rtd->acp3x_base + rtd 343 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_stream_instance *rtd = runtime->private_data; rtd 345 sound/soc/amd/raven/acp3x-pcm-dma.c if (!rtd) rtd 355 sound/soc/amd/raven/acp3x-pcm-dma.c rtd->dma_addr = substream->dma_buffer.addr; rtd 356 sound/soc/amd/raven/acp3x-pcm-dma.c rtd->num_pages = (PAGE_ALIGN(size) >> PAGE_SHIFT); rtd 357 sound/soc/amd/raven/acp3x-pcm-dma.c config_acp3x_dma(rtd, substream->stream); rtd 370 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_stream_instance *rtd = rtd 375 sound/soc/amd/raven/acp3x-pcm-dma.c bytescount = acp_get_byte_count(rtd, substream->stream); rtd 376 sound/soc/amd/raven/acp3x-pcm-dma.c if (bytescount > rtd->bytescount) rtd 377 sound/soc/amd/raven/acp3x-pcm-dma.c bytescount -= rtd->bytescount; rtd 382 sound/soc/amd/raven/acp3x-pcm-dma.c static int acp3x_dma_new(struct snd_soc_pcm_runtime *rtd) rtd 384 sound/soc/amd/raven/acp3x-pcm-dma.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, rtd 387 sound/soc/amd/raven/acp3x-pcm-dma.c snd_pcm_lib_preallocate_pages_for_all(rtd->pcm, SNDRV_DMA_TYPE_DEV, rtd 406 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_stream_instance *rtd = substream->runtime->private_data; rtd 421 sound/soc/amd/raven/acp3x-pcm-dma.c kfree(rtd); rtd 498 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_stream_instance *rtd = substream->runtime->private_data; rtd 503 sound/soc/amd/raven/acp3x-pcm-dma.c rtd->xfer_resolution = 0x0; rtd 506 sound/soc/amd/raven/acp3x-pcm-dma.c rtd->xfer_resolution = 0x02; rtd 509 sound/soc/amd/raven/acp3x-pcm-dma.c rtd->xfer_resolution = 0x04; rtd 512 sound/soc/amd/raven/acp3x-pcm-dma.c rtd->xfer_resolution = 0x05; rtd 517 sound/soc/amd/raven/acp3x-pcm-dma.c val = rv_readl(rtd->acp3x_base + mmACP_BTTDM_ITER); rtd 518 sound/soc/amd/raven/acp3x-pcm-dma.c val = val | (rtd->xfer_resolution << 3); rtd 520 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(val, rtd->acp3x_base + mmACP_BTTDM_ITER); rtd 522 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(val, rtd->acp3x_base + mmACP_BTTDM_IRER); rtd 531 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_stream_instance *rtd = substream->runtime->private_data; rtd 540 sound/soc/amd/raven/acp3x-pcm-dma.c rtd->bytescount = acp_get_byte_count(rtd, substream->stream); rtd 542 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(period_bytes, rtd->acp3x_base + rtd 544 sound/soc/amd/raven/acp3x-pcm-dma.c val = rv_readl(rtd->acp3x_base + mmACP_BTTDM_ITER); rtd 546 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(val, rtd->acp3x_base + mmACP_BTTDM_ITER); rtd 548 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(period_bytes, rtd->acp3x_base + rtd 550 sound/soc/amd/raven/acp3x-pcm-dma.c val = rv_readl(rtd->acp3x_base + mmACP_BTTDM_IRER); rtd 552 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(val, rtd->acp3x_base + mmACP_BTTDM_IRER); rtd 554 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(1, rtd->acp3x_base + mmACP_BTTDM_IER); rtd 560 sound/soc/amd/raven/acp3x-pcm-dma.c val = rv_readl(rtd->acp3x_base + mmACP_BTTDM_ITER); rtd 562 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(val, rtd->acp3x_base + mmACP_BTTDM_ITER); rtd 564 sound/soc/amd/raven/acp3x-pcm-dma.c val = rv_readl(rtd->acp3x_base + mmACP_BTTDM_IRER); rtd 566 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(val, rtd->acp3x_base + mmACP_BTTDM_IRER); rtd 568 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(0, rtd->acp3x_base + mmACP_BTTDM_IER); rtd 713 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_stream_instance *rtd = rtd 715 sound/soc/amd/raven/acp3x-pcm-dma.c config_acp3x_dma(rtd, SNDRV_PCM_STREAM_PLAYBACK); rtd 716 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel((rtd->xfer_resolution << 3), rtd 717 sound/soc/amd/raven/acp3x-pcm-dma.c rtd->acp3x_base + mmACP_BTTDM_ITER); rtd 728 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_stream_instance *rtd = rtd 730 sound/soc/amd/raven/acp3x-pcm-dma.c config_acp3x_dma(rtd, SNDRV_PCM_STREAM_CAPTURE); rtd 731 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel((rtd->xfer_resolution << 3), rtd 732 sound/soc/amd/raven/acp3x-pcm-dma.c rtd->acp3x_base + mmACP_BTTDM_IRER); rtd 121 sound/soc/atmel/atmel-classd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 122 sound/soc/atmel/atmel-classd.c struct atmel_classd *dd = snd_soc_card_get_drvdata(rtd->card); rtd 132 sound/soc/atmel/atmel-classd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 133 sound/soc/atmel/atmel-classd.c struct atmel_classd *dd = snd_soc_card_get_drvdata(rtd->card); rtd 162 sound/soc/atmel/atmel-classd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 163 sound/soc/atmel/atmel-classd.c struct atmel_classd *dd = snd_soc_card_get_drvdata(rtd->card); rtd 324 sound/soc/atmel/atmel-classd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 325 sound/soc/atmel/atmel-classd.c struct atmel_classd *dd = snd_soc_card_get_drvdata(rtd->card); rtd 380 sound/soc/atmel/atmel-classd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 381 sound/soc/atmel/atmel-classd.c struct atmel_classd *dd = snd_soc_card_get_drvdata(rtd->card); rtd 423 sound/soc/atmel/atmel-classd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 424 sound/soc/atmel/atmel-classd.c struct atmel_classd *dd = snd_soc_card_get_drvdata(rtd->card); rtd 56 sound/soc/atmel/atmel-pcm-dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 59 sound/soc/atmel/atmel-pcm-dma.c prtd = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 81 sound/soc/atmel/atmel-pcm-dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 86 sound/soc/atmel/atmel-pcm-dma.c prtd = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 67 sound/soc/atmel/atmel-pcm-pdc.c static int atmel_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 69 sound/soc/atmel/atmel-pcm-pdc.c struct snd_card *card = rtd->card->snd_card; rtd 70 sound/soc/atmel/atmel-pcm-pdc.c struct snd_pcm *pcm = rtd->pcm; rtd 204 sound/soc/atmel/atmel-pcm-pdc.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 212 sound/soc/atmel/atmel-pcm-pdc.c prtd->params = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 257 sound/soc/atmel/atmel-pcm-pdc.c struct snd_pcm_runtime *rtd = substream->runtime; rtd 258 sound/soc/atmel/atmel-pcm-pdc.c struct atmel_runtime_data *prtd = rtd->private_data; rtd 264 sound/soc/atmel/atmel-pcm-pdc.c rtd->buffer_size, rtd->dma_area, rtd->dma_bytes); rtd 107 sound/soc/atmel/atmel-pdmic.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 108 sound/soc/atmel/atmel-pdmic.c struct atmel_pdmic *dd = snd_soc_card_get_drvdata(rtd->card); rtd 135 sound/soc/atmel/atmel-pdmic.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 136 sound/soc/atmel/atmel-pdmic.c struct atmel_pdmic *dd = snd_soc_card_get_drvdata(rtd->card); rtd 148 sound/soc/atmel/atmel-pdmic.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 149 sound/soc/atmel/atmel-pdmic.c struct atmel_pdmic *dd = snd_soc_card_get_drvdata(rtd->card); rtd 200 sound/soc/atmel/atmel-pdmic.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 201 sound/soc/atmel/atmel-pdmic.c struct atmel_pdmic *dd = snd_soc_card_get_drvdata(rtd->card); rtd 376 sound/soc/atmel/atmel-pdmic.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 377 sound/soc/atmel/atmel-pdmic.c struct atmel_pdmic *dd = snd_soc_card_get_drvdata(rtd->card); rtd 29 sound/soc/atmel/atmel_wm8904.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 30 sound/soc/atmel/atmel_wm8904.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 21 sound/soc/atmel/mikroe-proto.c static int snd_proto_init(struct snd_soc_pcm_runtime *rtd) rtd 23 sound/soc/atmel/mikroe-proto.c struct snd_soc_card *card = rtd->card; rtd 24 sound/soc/atmel/mikroe-proto.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 97 sound/soc/atmel/sam9g20_wm8731.c static int at91sam9g20ek_wm8731_init(struct snd_soc_pcm_runtime *rtd) rtd 99 sound/soc/atmel/sam9g20_wm8731.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 100 sound/soc/atmel/sam9g20_wm8731.c struct device *dev = rtd->dev; rtd 113 sound/soc/atmel/sam9g20_wm8731.c snd_soc_dapm_nc_pin(&rtd->card->dapm, "Int Mic"); rtd 41 sound/soc/atmel/sam9x5_wm8731.c static int sam9x5_wm8731_init(struct snd_soc_pcm_runtime *rtd) rtd 43 sound/soc/atmel/sam9x5_wm8731.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 44 sound/soc/atmel/sam9x5_wm8731.c struct device *dev = rtd->dev; rtd 97 sound/soc/au1x/db1200.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 98 sound/soc/au1x/db1200.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 187 sound/soc/au1x/dbdma2.c struct snd_soc_pcm_runtime *rtd = ss->private_data; rtd 188 sound/soc/au1x/dbdma2.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 286 sound/soc/au1x/dbdma2.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 289 sound/soc/au1x/dbdma2.c dmaids = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 316 sound/soc/au1x/dbdma2.c static int au1xpsc_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 318 sound/soc/au1x/dbdma2.c struct snd_card *card = rtd->card->snd_card; rtd 319 sound/soc/au1x/dbdma2.c struct snd_pcm *pcm = rtd->pcm; rtd 179 sound/soc/au1x/dma.c struct snd_soc_pcm_runtime *rtd = ss->private_data; rtd 180 sound/soc/au1x/dma.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 193 sound/soc/au1x/dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 197 sound/soc/au1x/dma.c dmaids = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 294 sound/soc/au1x/dma.c static int alchemy_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 296 sound/soc/au1x/dma.c struct snd_pcm *pcm = rtd->pcm; rtd 61 sound/soc/au1x/psc-ac97.c return snd_soc_dai_get_drvdata(c->rtd->cpu_dai); rtd 356 sound/soc/bcm/cygnus-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 362 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s on port %d\n", __func__, aio->portnum); rtd 582 sound/soc/bcm/cygnus-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 591 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s port %d\n", __func__, aio->portnum); rtd 618 sound/soc/bcm/cygnus-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 623 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s port %d\n", __func__, aio->portnum); rtd 631 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "freed port %d\n", aio->portnum); rtd 639 sound/soc/bcm/cygnus-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 644 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s port %d\n", __func__, aio->portnum); rtd 654 sound/soc/bcm/cygnus-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 658 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s port %d\n", __func__, aio->portnum); rtd 666 sound/soc/bcm/cygnus-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 675 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s port %d\n", __func__, aio->portnum); rtd 680 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s (buf_size %lu) (period_size %lu)\n", rtd 729 sound/soc/bcm/cygnus-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 741 sound/soc/bcm/cygnus-pcm.c dev_dbg(rtd->cpu_dai->dev, "%s: size 0x%zx @ %pK\n", rtd 745 sound/soc/bcm/cygnus-pcm.c dev_err(rtd->cpu_dai->dev, "%s: dma_alloc failed\n", __func__); rtd 791 sound/soc/bcm/cygnus-pcm.c static int cygnus_dma_new(struct snd_soc_pcm_runtime *rtd) rtd 793 sound/soc/bcm/cygnus-pcm.c struct snd_card *card = rtd->card->snd_card; rtd 794 sound/soc/bcm/cygnus-pcm.c struct snd_pcm *pcm = rtd->pcm; rtd 131 sound/soc/bcm/cygnus-ssp.h extern int cygnus_ssp_add_pll_tweak_controls(struct snd_soc_pcm_runtime *rtd); rtd 25 sound/soc/cirrus/edb93xx.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 26 sound/soc/cirrus/edb93xx.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 27 sound/soc/cirrus/edb93xx.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 25 sound/soc/cirrus/snappercl15.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 26 sound/soc/cirrus/snappercl15.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 27 sound/soc/cirrus/snappercl15.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 1228 sound/soc/codecs/cs47l15.c struct snd_soc_pcm_runtime *rtd = stream->private_data; rtd 1230 sound/soc/codecs/cs47l15.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 1236 sound/soc/codecs/cs47l15.c if (strcmp(rtd->codec_dai->name, "cs47l15-dsp-trace") == 0) { rtd 1241 sound/soc/codecs/cs47l15.c rtd->codec_dai->name); rtd 1073 sound/soc/codecs/cs47l24.c struct snd_soc_pcm_runtime *rtd = stream->private_data; rtd 1074 sound/soc/codecs/cs47l24.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 1079 sound/soc/codecs/cs47l24.c if (strcmp(rtd->codec_dai->name, "cs47l24-dsp-voicectrl") == 0) { rtd 1081 sound/soc/codecs/cs47l24.c } else if (strcmp(rtd->codec_dai->name, "cs47l24-dsp-trace") == 0) { rtd 1086 sound/soc/codecs/cs47l24.c rtd->codec_dai->name); rtd 1504 sound/soc/codecs/cs47l35.c struct snd_soc_pcm_runtime *rtd = stream->private_data; rtd 1506 sound/soc/codecs/cs47l35.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 1512 sound/soc/codecs/cs47l35.c if (strcmp(rtd->codec_dai->name, "cs47l35-dsp-voicectrl") == 0) { rtd 1514 sound/soc/codecs/cs47l35.c } else if (strcmp(rtd->codec_dai->name, "cs47l35-dsp-trace") == 0) { rtd 1519 sound/soc/codecs/cs47l35.c rtd->codec_dai->name); rtd 2443 sound/soc/codecs/cs47l85.c struct snd_soc_pcm_runtime *rtd = stream->private_data; rtd 2445 sound/soc/codecs/cs47l85.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 2451 sound/soc/codecs/cs47l85.c if (strcmp(rtd->codec_dai->name, "cs47l85-dsp-voicectrl") == 0) { rtd 2453 sound/soc/codecs/cs47l85.c } else if (strcmp(rtd->codec_dai->name, "cs47l85-dsp-trace") == 0) { rtd 2458 sound/soc/codecs/cs47l85.c rtd->codec_dai->name); rtd 2354 sound/soc/codecs/cs47l90.c struct snd_soc_pcm_runtime *rtd = stream->private_data; rtd 2356 sound/soc/codecs/cs47l90.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 2362 sound/soc/codecs/cs47l90.c if (strcmp(rtd->codec_dai->name, "cs47l90-dsp-voicectrl") == 0) { rtd 2364 sound/soc/codecs/cs47l90.c } else if (strcmp(rtd->codec_dai->name, "cs47l90-dsp-trace") == 0) { rtd 2369 sound/soc/codecs/cs47l90.c rtd->codec_dai->name); rtd 1784 sound/soc/codecs/cs47l92.c struct snd_soc_pcm_runtime *rtd = stream->private_data; rtd 1786 sound/soc/codecs/cs47l92.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 1792 sound/soc/codecs/cs47l92.c if (strcmp(rtd->codec_dai->name, "cs47l92-dsp-trace") == 0) { rtd 1797 sound/soc/codecs/cs47l92.c rtd->codec_dai->name); rtd 1661 sound/soc/codecs/hdac_hdmi.c struct snd_soc_pcm_runtime *rtd; rtd 1663 sound/soc/codecs/hdac_hdmi.c for_each_card_rtds(card, rtd) { rtd 1664 sound/soc/codecs/hdac_hdmi.c if (rtd->pcm && (rtd->pcm->device == device)) rtd 1665 sound/soc/codecs/hdac_hdmi.c return rtd->pcm; rtd 607 sound/soc/codecs/hdmi-codec.c static int hdmi_codec_pcm_new(struct snd_soc_pcm_runtime *rtd, rtd 620 sound/soc/codecs/hdmi-codec.c .device = rtd->pcm->device, rtd 624 sound/soc/codecs/hdmi-codec.c ret = snd_pcm_add_chmap_ctls(rtd->pcm, SNDRV_PCM_STREAM_PLAYBACK, rtd 643 sound/soc/codecs/hdmi-codec.c return snd_ctl_add(rtd->card->snd_card, kctl); rtd 214 sound/soc/codecs/rt5514-spi.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 215 sound/soc/codecs/rt5514-spi.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 239 sound/soc/codecs/rt5514-spi.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 240 sound/soc/codecs/rt5514-spi.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 257 sound/soc/codecs/rt5514-spi.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 258 sound/soc/codecs/rt5514-spi.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 1914 sound/soc/codecs/wm5102.c struct snd_soc_pcm_runtime *rtd = stream->private_data; rtd 1915 sound/soc/codecs/wm5102.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 2242 sound/soc/codecs/wm5110.c struct snd_soc_pcm_runtime *rtd = stream->private_data; rtd 2243 sound/soc/codecs/wm5110.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 2248 sound/soc/codecs/wm5110.c if (strcmp(rtd->codec_dai->name, "wm5110-dsp-voicectrl") == 0) { rtd 2250 sound/soc/codecs/wm5110.c } else if (strcmp(rtd->codec_dai->name, "wm5110-dsp-trace") == 0) { rtd 2255 sound/soc/codecs/wm5110.c rtd->codec_dai->name); rtd 3380 sound/soc/codecs/wm_adsp.c struct snd_soc_pcm_runtime *rtd = stream->private_data; rtd 3387 sound/soc/codecs/wm_adsp.c rtd->codec_dai->name); rtd 3394 sound/soc/codecs/wm_adsp.c rtd->codec_dai->name); rtd 3400 sound/soc/codecs/wm_adsp.c if (!strcmp(tmp->name, rtd->codec_dai->name)) { rtd 3402 sound/soc/codecs/wm_adsp.c rtd->codec_dai->name); rtd 3416 sound/soc/codecs/wm_adsp.c compr->name = rtd->codec_dai->name; rtd 141 sound/soc/dwc/dwc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 142 sound/soc/dwc/dwc-pcm.c struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 248 sound/soc/dwc/dwc-pcm.c static int dw_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 252 sound/soc/dwc/dwc-pcm.c snd_pcm_lib_preallocate_pages_for_all(rtd->pcm, rtd 33 sound/soc/fsl/eukrea-tlv320.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 34 sound/soc/fsl/eukrea-tlv320.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 35 sound/soc/fsl/eukrea-tlv320.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 141 sound/soc/fsl/fsl-asoc-card.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 142 sound/soc/fsl/fsl-asoc-card.c struct fsl_asoc_card_priv *priv = snd_soc_card_get_drvdata(rtd->card); rtd 145 sound/soc/fsl/fsl-asoc-card.c struct device *dev = rtd->card->dev; rtd 162 sound/soc/fsl/fsl-asoc-card.c ret = snd_soc_dai_set_sysclk(rtd->cpu_dai, cpu_priv->sysclk_id[tx], rtd 171 sound/soc/fsl/fsl-asoc-card.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0x3, 0x3, 2, rtd 186 sound/soc/fsl/fsl-asoc-card.c static int be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, rtd 189 sound/soc/fsl/fsl-asoc-card.c struct fsl_asoc_card_priv *priv = snd_soc_card_get_drvdata(rtd->card); rtd 252 sound/soc/fsl/fsl-asoc-card.c struct snd_soc_pcm_runtime *rtd; rtd 259 sound/soc/fsl/fsl-asoc-card.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[0].name); rtd 260 sound/soc/fsl/fsl-asoc-card.c codec_dai = rtd->codec_dai; rtd 447 sound/soc/fsl/fsl-asoc-card.c struct snd_soc_pcm_runtime *rtd = list_first_entry( rtd 449 sound/soc/fsl/fsl-asoc-card.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 456 sound/soc/fsl/fsl-asoc-card.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 60 sound/soc/fsl/fsl_asrc_dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 63 sound/soc/fsl/fsl_asrc_dma.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 133 sound/soc/fsl/fsl_asrc_dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 137 sound/soc/fsl/fsl_asrc_dma.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 154 sound/soc/fsl/fsl_asrc_dma.c for_each_dpcm_be(rtd, stream, dpcm) { rtd 159 sound/soc/fsl/fsl_asrc_dma.c if (dpcm->fe != rtd) rtd 174 sound/soc/fsl/fsl_asrc_dma.c dma_params_fe = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 273 sound/soc/fsl/fsl_asrc_dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 275 sound/soc/fsl/fsl_asrc_dma.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 332 sound/soc/fsl/fsl_asrc_dma.c static int fsl_asrc_dma_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 334 sound/soc/fsl/fsl_asrc_dma.c struct snd_card *card = rtd->card->snd_card; rtd 336 sound/soc/fsl/fsl_asrc_dma.c struct snd_pcm *pcm = rtd->pcm; rtd 203 sound/soc/fsl/fsl_dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 204 sound/soc/fsl/fsl_dma.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 283 sound/soc/fsl/fsl_dma.c static int fsl_dma_new(struct snd_soc_pcm_runtime *rtd) rtd 285 sound/soc/fsl/fsl_dma.c struct snd_card *card = rtd->card->snd_card; rtd 286 sound/soc/fsl/fsl_dma.c struct snd_pcm *pcm = rtd->pcm; rtd 386 sound/soc/fsl/fsl_dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 387 sound/soc/fsl/fsl_dma.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 541 sound/soc/fsl/fsl_dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 542 sound/soc/fsl/fsl_dma.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 705 sound/soc/fsl/fsl_dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 706 sound/soc/fsl/fsl_dma.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 803 sound/soc/fsl/fsl_dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 804 sound/soc/fsl/fsl_dma.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 372 sound/soc/fsl/fsl_spdif.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 373 sound/soc/fsl/fsl_spdif.c struct fsl_spdif_priv *spdif_priv = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 460 sound/soc/fsl/fsl_spdif.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 461 sound/soc/fsl/fsl_spdif.c struct fsl_spdif_priv *spdif_priv = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 536 sound/soc/fsl/fsl_spdif.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 537 sound/soc/fsl/fsl_spdif.c struct fsl_spdif_priv *spdif_priv = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 571 sound/soc/fsl/fsl_spdif.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 572 sound/soc/fsl/fsl_spdif.c struct fsl_spdif_priv *spdif_priv = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 599 sound/soc/fsl/fsl_spdif.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 600 sound/soc/fsl/fsl_spdif.c struct fsl_spdif_priv *spdif_priv = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 633 sound/soc/fsl/fsl_ssi.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 634 sound/soc/fsl/fsl_ssi.c struct fsl_ssi *ssi = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 657 sound/soc/fsl/fsl_ssi.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 658 sound/soc/fsl/fsl_ssi.c struct fsl_ssi *ssi = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 856 sound/soc/fsl/fsl_ssi.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 857 sound/soc/fsl/fsl_ssi.c struct fsl_ssi *ssi = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 1061 sound/soc/fsl/fsl_ssi.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 1062 sound/soc/fsl/fsl_ssi.c struct fsl_ssi *ssi = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 47 sound/soc/fsl/imx-audmix.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 48 sound/soc/fsl/imx-audmix.c struct imx_audmix *priv = snd_soc_card_get_drvdata(rtd->card); rtd 50 sound/soc/fsl/imx-audmix.c struct device *dev = rtd->card->dev; rtd 76 sound/soc/fsl/imx-audmix.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 77 sound/soc/fsl/imx-audmix.c struct device *dev = rtd->card->dev; rtd 88 sound/soc/fsl/imx-audmix.c ret = snd_soc_dai_set_fmt(rtd->cpu_dai, fmt); rtd 94 sound/soc/fsl/imx-audmix.c ret = snd_soc_dai_set_sysclk(rtd->cpu_dai, FSL_SAI_CLK_MAST1, 0, dir); rtd 104 sound/soc/fsl/imx-audmix.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, BIT(channels) - 1, rtd 115 sound/soc/fsl/imx-audmix.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 116 sound/soc/fsl/imx-audmix.c struct device *dev = rtd->card->dev; rtd 128 sound/soc/fsl/imx-audmix.c ret = snd_soc_dai_set_fmt(rtd->cpu_dai, fmt); rtd 41 sound/soc/fsl/imx-es8328.c static int imx_es8328_dai_init(struct snd_soc_pcm_runtime *rtd) rtd 43 sound/soc/fsl/imx-es8328.c struct imx_es8328_data *data = container_of(rtd->card, rtd 49 sound/soc/fsl/imx-es8328.c ret = snd_soc_card_jack_new(rtd->card, "Headphone", rtd 29 sound/soc/fsl/imx-mc13783.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 30 sound/soc/fsl/imx-mc13783.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 31 sound/soc/fsl/imx-mc13783.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 253 sound/soc/fsl/imx-pcm-fiq.c static int imx_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 255 sound/soc/fsl/imx-pcm-fiq.c struct snd_card *card = rtd->card->snd_card; rtd 256 sound/soc/fsl/imx-pcm-fiq.c struct snd_pcm *pcm = rtd->pcm; rtd 282 sound/soc/fsl/imx-pcm-fiq.c static int imx_pcm_fiq_new(struct snd_soc_pcm_runtime *rtd) rtd 284 sound/soc/fsl/imx-pcm-fiq.c struct snd_pcm *pcm = rtd->pcm; rtd 288 sound/soc/fsl/imx-pcm-fiq.c ret = imx_pcm_new(rtd); rtd 27 sound/soc/fsl/imx-sgtl5000.c static int imx_sgtl5000_dai_init(struct snd_soc_pcm_runtime *rtd) rtd 29 sound/soc/fsl/imx-sgtl5000.c struct imx_sgtl5000_data *data = snd_soc_card_get_drvdata(rtd->card); rtd 30 sound/soc/fsl/imx-sgtl5000.c struct device *dev = rtd->card->dev; rtd 33 sound/soc/fsl/imx-sgtl5000.c ret = snd_soc_dai_set_sysclk(rtd->codec_dai, SGTL5000_SYSCLK, rtd 115 sound/soc/fsl/mpc5200_dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 116 sound/soc/fsl/mpc5200_dma.c struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 216 sound/soc/fsl/mpc5200_dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 217 sound/soc/fsl/mpc5200_dma.c struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 243 sound/soc/fsl/mpc5200_dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 244 sound/soc/fsl/mpc5200_dma.c struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 268 sound/soc/fsl/mpc5200_dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 269 sound/soc/fsl/mpc5200_dma.c struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 302 sound/soc/fsl/mpc5200_dma.c static int psc_dma_new(struct snd_soc_pcm_runtime *rtd) rtd 304 sound/soc/fsl/mpc5200_dma.c struct snd_card *card = rtd->card->snd_card; rtd 305 sound/soc/fsl/mpc5200_dma.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 306 sound/soc/fsl/mpc5200_dma.c struct snd_soc_dai *dai = rtd->cpu_dai; rtd 307 sound/soc/fsl/mpc5200_dma.c struct snd_pcm *pcm = rtd->pcm; rtd 346 sound/soc/fsl/mpc5200_dma.c struct snd_soc_pcm_runtime *rtd = pcm->private_data; rtd 347 sound/soc/fsl/mpc5200_dma.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 41 sound/soc/fsl/mpc5200_psc_i2s.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 42 sound/soc/fsl/mpc5200_psc_i2s.c struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 101 sound/soc/fsl/mpc8610_hpcd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 103 sound/soc/fsl/mpc8610_hpcd.c container_of(rtd->card, struct mpc8610_hpcd_data, card); rtd 104 sound/soc/fsl/mpc8610_hpcd.c struct device *dev = rtd->card->dev; rtd 108 sound/soc/fsl/mpc8610_hpcd.c ret = snd_soc_dai_set_fmt(rtd->codec_dai, machine_data->dai_format); rtd 118 sound/soc/fsl/mpc8610_hpcd.c ret = snd_soc_dai_set_sysclk(rtd->codec_dai, 0, rtd 39 sound/soc/fsl/mx27vis-aic32x4.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 40 sound/soc/fsl/mx27vis-aic32x4.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 41 sound/soc/fsl/mx27vis-aic32x4.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 124 sound/soc/fsl/p1022_ds.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 126 sound/soc/fsl/p1022_ds.c container_of(rtd->card, struct machine_data, card); rtd 127 sound/soc/fsl/p1022_ds.c struct device *dev = rtd->card->dev; rtd 131 sound/soc/fsl/p1022_ds.c ret = snd_soc_dai_set_fmt(rtd->codec_dai, mdata->dai_format); rtd 141 sound/soc/fsl/p1022_ds.c ret = snd_soc_dai_set_sysclk(rtd->codec_dai, 0, mdata->clk_frequency, rtd 130 sound/soc/fsl/p1022_rdk.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 132 sound/soc/fsl/p1022_rdk.c container_of(rtd->card, struct machine_data, card); rtd 133 sound/soc/fsl/p1022_rdk.c struct device *dev = rtd->card->dev; rtd 137 sound/soc/fsl/p1022_rdk.c ret = snd_soc_dai_set_fmt(rtd->codec_dai, mdata->dai_format); rtd 144 sound/soc/fsl/p1022_rdk.c ret = snd_soc_dai_set_pll(rtd->codec_dai, 0, 0, mdata->clk_frequency, rtd 78 sound/soc/fsl/wm1133-ev1.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 79 sound/soc/fsl/wm1133-ev1.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 80 sound/soc/fsl/wm1133-ev1.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 197 sound/soc/fsl/wm1133-ev1.c static int wm1133_ev1_init(struct snd_soc_pcm_runtime *rtd) rtd 199 sound/soc/fsl/wm1133-ev1.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 202 sound/soc/fsl/wm1133-ev1.c snd_soc_card_jack_new(rtd->card, "Headphone", SND_JACK_HEADPHONE, rtd 207 sound/soc/fsl/wm1133-ev1.c snd_soc_card_jack_new(rtd->card, "Microphone", rtd 213 sound/soc/fsl/wm1133-ev1.c snd_soc_dapm_force_enable_pin(&rtd->card->dapm, "Mic Bias"); rtd 196 sound/soc/generic/simple-card-utils.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 197 sound/soc/generic/simple-card-utils.c struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(rtd->card); rtd 198 sound/soc/generic/simple-card-utils.c struct simple_dai_props *dai_props = simple_priv_to_props(priv, rtd->num); rtd 215 sound/soc/generic/simple-card-utils.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 216 sound/soc/generic/simple-card-utils.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 217 sound/soc/generic/simple-card-utils.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 218 sound/soc/generic/simple-card-utils.c struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(rtd->card); rtd 220 sound/soc/generic/simple-card-utils.c simple_priv_to_props(priv, rtd->num); rtd 251 sound/soc/generic/simple-card-utils.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 252 sound/soc/generic/simple-card-utils.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 253 sound/soc/generic/simple-card-utils.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 254 sound/soc/generic/simple-card-utils.c struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(rtd->card); rtd 256 sound/soc/generic/simple-card-utils.c simple_priv_to_props(priv, rtd->num); rtd 290 sound/soc/generic/simple-card-utils.c int asoc_simple_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, rtd 293 sound/soc/generic/simple-card-utils.c struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(rtd->card); rtd 294 sound/soc/generic/simple-card-utils.c struct simple_dai_props *dai_props = simple_priv_to_props(priv, rtd->num); rtd 334 sound/soc/generic/simple-card-utils.c int asoc_simple_dai_init(struct snd_soc_pcm_runtime *rtd) rtd 336 sound/soc/generic/simple-card-utils.c struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(rtd->card); rtd 337 sound/soc/generic/simple-card-utils.c struct simple_dai_props *dai_props = simple_priv_to_props(priv, rtd->num); rtd 340 sound/soc/generic/simple-card-utils.c ret = asoc_simple_init_dai(rtd->codec_dai, rtd 345 sound/soc/generic/simple-card-utils.c ret = asoc_simple_init_dai(rtd->cpu_dai, rtd 396 sound/soc/img/img-i2s-in.c struct snd_soc_pcm_runtime *rtd = st->private_data; rtd 400 sound/soc/img/img-i2s-in.c dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, st); rtd 402 sound/soc/img/img-i2s-out.c struct snd_soc_pcm_runtime *rtd = st->private_data; rtd 406 sound/soc/img/img-i2s-out.c dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, st); rtd 101 sound/soc/intel/atom/sst-mfld-platform-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 102 sound/soc/intel/atom/sst-mfld-platform-compress.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 277 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 280 sound/soc/intel/atom/sst-mfld-platform-pcm.c dev_dbg(rtd->dev, "setting buffer ptr param\n"); rtd 288 sound/soc/intel/atom/sst-mfld-platform-pcm.c dev_err(rtd->dev, "control_set ret error %d\n", ret_val); rtd 607 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 609 sound/soc/intel/atom/sst-mfld-platform-pcm.c dev_dbg(rtd->dev, "sst_platform_pcm_trigger called\n"); rtd 616 sound/soc/intel/atom/sst-mfld-platform-pcm.c dev_dbg(rtd->dev, "sst: Trigger Start\n"); rtd 622 sound/soc/intel/atom/sst-mfld-platform-pcm.c dev_dbg(rtd->dev, "sst: in stop\n"); rtd 628 sound/soc/intel/atom/sst-mfld-platform-pcm.c dev_dbg(rtd->dev, "sst: in pause\n"); rtd 634 sound/soc/intel/atom/sst-mfld-platform-pcm.c dev_dbg(rtd->dev, "sst: in pause release\n"); rtd 655 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 664 sound/soc/intel/atom/sst-mfld-platform-pcm.c dev_err(rtd->dev, "sst: error code = %d\n", ret_val); rtd 678 sound/soc/intel/atom/sst-mfld-platform-pcm.c static int sst_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 680 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai = rtd->cpu_dai; rtd 681 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_pcm *pcm = rtd->pcm; rtd 759 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_pcm_runtime *rtd; rtd 769 sound/soc/intel/atom/sst-mfld-platform-pcm.c for_each_card_rtds(drv->soc_card, rtd) { rtd 770 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai = rtd->cpu_dai; rtd 784 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_pcm_runtime *rtd; rtd 790 sound/soc/intel/atom/sst-mfld-platform-pcm.c for_each_card_rtds(drv->soc_card, rtd) { rtd 791 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai = rtd->cpu_dai; rtd 64 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 65 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 73 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_dbg(rtd->dev, "PCM: hw_params, pcm_data %p\n", pcm_data); rtd 78 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_err(rtd->dev, "failed to set stream format %d\n", ret); rtd 85 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_err(rtd->dev, "could not set rate %d\n", rate); rtd 92 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_err(rtd->dev, "could not set formats %d\n", rtd 100 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_err(rtd->dev, "could not set channels %d\n", rtd 111 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_err(rtd->dev, "PCM: failed to set DMA buffer %d\n", ret); rtd 117 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_err(rtd->dev, "PCM: failed stream commit %d\n", ret); rtd 126 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 128 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_dbg(rtd->dev, "PCM: hw_free\n"); rtd 136 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 137 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 146 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_err(rtd->dev, "PCM: failed stream commit %d\n", ret); rtd 152 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_dbg(rtd->dev, "stream context restored at offset %d\n", rtd 169 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 170 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 175 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_dbg(rtd->dev, "PCM: trigger %d\n", cmd); rtd 212 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 213 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 225 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_dbg(rtd->dev, "PCM: App/DMA pointer %u/%u bytes\n", pos, hw_pos); rtd 233 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 235 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 239 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_dbg(rtd->dev, "PCM: DMA pointer %u bytes\n", pcm_data->hw_ptr); rtd 246 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 247 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 252 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_dbg(rtd->dev, "PCM: open\n"); rtd 263 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_err(rtd->dev, "failed to create stream\n"); rtd 274 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 275 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 281 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_dbg(rtd->dev, "PCM: close\n"); rtd 287 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_dbg(rtd->dev, "Free stream fail\n"); rtd 300 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 302 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_dbg(rtd->dev, "PCM: mmap\n"); rtd 317 sound/soc/intel/baytrail/sst-baytrail-pcm.c static int sst_byt_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 319 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_pcm *pcm = rtd->pcm; rtd 321 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 134 sound/soc/intel/boards/bdw-rt5677.c static int broadwell_ssp0_fixup(struct snd_soc_pcm_runtime *rtd, rtd 154 sound/soc/intel/boards/bdw-rt5677.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 155 sound/soc/intel/boards/bdw-rt5677.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 161 sound/soc/intel/boards/bdw-rt5677.c dev_err(rtd->dev, "can't set codec sysclk configuration\n"); rtd 173 sound/soc/intel/boards/bdw-rt5677.c static int bdw_rt5677_rtd_init(struct snd_soc_pcm_runtime *rtd) rtd 175 sound/soc/intel/boards/bdw-rt5677.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 185 sound/soc/intel/boards/bdw-rt5677.c dev_err(rtd->dev, "error: failed to set device config\n"); rtd 193 sound/soc/intel/boards/bdw-rt5677.c static int bdw_rt5677_init(struct snd_soc_pcm_runtime *rtd) rtd 196 sound/soc/intel/boards/bdw-rt5677.c snd_soc_card_get_drvdata(rtd->card); rtd 197 sound/soc/intel/boards/bdw-rt5677.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 221 sound/soc/intel/boards/bdw-rt5677.c if (!snd_soc_card_jack_new(rtd->card, "Headphone Jack", rtd 233 sound/soc/intel/boards/bdw-rt5677.c if (!snd_soc_card_jack_new(rtd->card, "Mic Jack", rtd 71 sound/soc/intel/boards/broadwell.c static int broadwell_rt286_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 73 sound/soc/intel/boards/broadwell.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 75 sound/soc/intel/boards/broadwell.c ret = snd_soc_card_jack_new(rtd->card, "Headset", rtd 86 sound/soc/intel/boards/broadwell.c static int broadwell_ssp0_fixup(struct snd_soc_pcm_runtime *rtd, rtd 106 sound/soc/intel/boards/broadwell.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 107 sound/soc/intel/boards/broadwell.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 114 sound/soc/intel/boards/broadwell.c dev_err(rtd->dev, "can't set codec sysclk configuration\n"); rtd 126 sound/soc/intel/boards/broadwell.c static int broadwell_rtd_init(struct snd_soc_pcm_runtime *rtd) rtd 128 sound/soc/intel/boards/broadwell.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 138 sound/soc/intel/boards/broadwell.c dev_err(rtd->dev, "error: failed to set device config\n"); rtd 157 sound/soc/intel/boards/bxt_da7219_max98357a.c static int broxton_ssp_fixup(struct snd_soc_pcm_runtime *rtd, rtd 177 sound/soc/intel/boards/bxt_da7219_max98357a.c static int broxton_da7219_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 180 sound/soc/intel/boards/bxt_da7219_max98357a.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 181 sound/soc/intel/boards/bxt_da7219_max98357a.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 194 sound/soc/intel/boards/bxt_da7219_max98357a.c dev_err(rtd->dev, "can't set codec sysclk configuration\n"); rtd 202 sound/soc/intel/boards/bxt_da7219_max98357a.c ret = snd_soc_card_jack_new(rtd->card, "Headset Jack", rtd 207 sound/soc/intel/boards/bxt_da7219_max98357a.c dev_err(rtd->dev, "Headset Jack creation failed: %d\n", ret); rtd 219 sound/soc/intel/boards/bxt_da7219_max98357a.c snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "SoC DMIC"); rtd 224 sound/soc/intel/boards/bxt_da7219_max98357a.c static int broxton_hdmi_init(struct snd_soc_pcm_runtime *rtd) rtd 226 sound/soc/intel/boards/bxt_da7219_max98357a.c struct bxt_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 227 sound/soc/intel/boards/bxt_da7219_max98357a.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 230 sound/soc/intel/boards/bxt_da7219_max98357a.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 242 sound/soc/intel/boards/bxt_da7219_max98357a.c static int broxton_da7219_fe_init(struct snd_soc_pcm_runtime *rtd) rtd 245 sound/soc/intel/boards/bxt_da7219_max98357a.c struct snd_soc_component *component = rtd->cpu_dai->component; rtd 311 sound/soc/intel/boards/bxt_da7219_max98357a.c static int broxton_dmic_fixup(struct snd_soc_pcm_runtime *rtd, rtd 153 sound/soc/intel/boards/bxt_rt298.c static int broxton_rt298_fe_init(struct snd_soc_pcm_runtime *rtd) rtd 156 sound/soc/intel/boards/bxt_rt298.c struct snd_soc_component *component = rtd->cpu_dai->component; rtd 164 sound/soc/intel/boards/bxt_rt298.c static int broxton_rt298_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 166 sound/soc/intel/boards/bxt_rt298.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 169 sound/soc/intel/boards/bxt_rt298.c ret = snd_soc_card_jack_new(rtd->card, "Headset", rtd 179 sound/soc/intel/boards/bxt_rt298.c snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "SoC DMIC"); rtd 184 sound/soc/intel/boards/bxt_rt298.c static int broxton_hdmi_init(struct snd_soc_pcm_runtime *rtd) rtd 186 sound/soc/intel/boards/bxt_rt298.c struct bxt_rt286_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 187 sound/soc/intel/boards/bxt_rt298.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 190 sound/soc/intel/boards/bxt_rt298.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 202 sound/soc/intel/boards/bxt_rt298.c static int broxton_ssp5_fixup(struct snd_soc_pcm_runtime *rtd, rtd 225 sound/soc/intel/boards/bxt_rt298.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 226 sound/soc/intel/boards/bxt_rt298.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 232 sound/soc/intel/boards/bxt_rt298.c dev_err(rtd->dev, "can't set codec sysclk configuration\n"); rtd 253 sound/soc/intel/boards/bxt_rt298.c static int broxton_dmic_fixup(struct snd_soc_pcm_runtime *rtd, rtd 75 sound/soc/intel/boards/byt-rt5640.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 76 sound/soc/intel/boards/byt-rt5640.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 70 sound/soc/intel/boards/bytcht_cx2072x.c static int byt_cht_cx2072x_init(struct snd_soc_pcm_runtime *rtd) rtd 72 sound/soc/intel/boards/bytcht_cx2072x.c struct snd_soc_card *card = rtd->card; rtd 73 sound/soc/intel/boards/bytcht_cx2072x.c struct snd_soc_component *codec = rtd->codec_dai->component; rtd 78 sound/soc/intel/boards/bytcht_cx2072x.c dev_warn(rtd->dev, "Unable to add GPIO mapping table\n"); rtd 83 sound/soc/intel/boards/bytcht_cx2072x.c ret = snd_soc_dai_set_sysclk(rtd->codec_dai, CX2072X_MCLK_EXTERNAL_PLL, rtd 86 sound/soc/intel/boards/bytcht_cx2072x.c dev_err(rtd->dev, "Could not set sysclk\n"); rtd 100 sound/soc/intel/boards/bytcht_cx2072x.c snd_soc_dai_set_bclk_ratio(rtd->codec_dai, 50); rtd 105 sound/soc/intel/boards/bytcht_cx2072x.c static int byt_cht_cx2072x_fixup(struct snd_soc_pcm_runtime *rtd, rtd 126 sound/soc/intel/boards/bytcht_cx2072x.c ret = snd_soc_dai_set_fmt(rtd->cpu_dai, rtd 131 sound/soc/intel/boards/bytcht_cx2072x.c dev_err(rtd->dev, "can't set format to I2S, err %d\n", ret); rtd 135 sound/soc/intel/boards/bytcht_cx2072x.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0x3, 0x3, 2, 24); rtd 137 sound/soc/intel/boards/bytcht_cx2072x.c dev_err(rtd->dev, "can't set I2S config, err %d\n", ret); rtd 60 sound/soc/intel/boards/bytcht_da7213.c static int codec_fixup(struct snd_soc_pcm_runtime *rtd, rtd 81 sound/soc/intel/boards/bytcht_da7213.c ret = snd_soc_dai_set_fmt(rtd->cpu_dai, rtd 86 sound/soc/intel/boards/bytcht_da7213.c dev_err(rtd->dev, "can't set format to I2S, err %d\n", ret); rtd 90 sound/soc/intel/boards/bytcht_da7213.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0x3, 0x3, 2, 24); rtd 92 sound/soc/intel/boards/bytcht_da7213.c dev_err(rtd->dev, "can't set I2S config, err %d\n", ret); rtd 108 sound/soc/intel/boards/bytcht_da7213.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 109 sound/soc/intel/boards/bytcht_da7213.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 129 sound/soc/intel/boards/bytcht_da7213.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 130 sound/soc/intel/boards/bytcht_da7213.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 245 sound/soc/intel/boards/bytcht_es8316.c static int byt_cht_es8316_codec_fixup(struct snd_soc_pcm_runtime *rtd, rtd 273 sound/soc/intel/boards/bytcht_es8316.c ret = snd_soc_dai_set_fmt(rtd->cpu_dai, rtd 279 sound/soc/intel/boards/bytcht_es8316.c dev_err(rtd->dev, "can't set format to I2S, err %d\n", ret); rtd 283 sound/soc/intel/boards/bytcht_es8316.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0x3, 0x3, 2, bits); rtd 285 sound/soc/intel/boards/bytcht_es8316.c dev_err(rtd->dev, "can't set I2S config, err %d\n", ret); rtd 40 sound/soc/intel/boards/bytcht_nocodec.c static int codec_fixup(struct snd_soc_pcm_runtime *rtd, rtd 61 sound/soc/intel/boards/bytcht_nocodec.c ret = snd_soc_dai_set_fmt(rtd->cpu_dai, rtd 67 sound/soc/intel/boards/bytcht_nocodec.c dev_err(rtd->dev, "can't set format to I2S, err %d\n", ret); rtd 71 sound/soc/intel/boards/bytcht_nocodec.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0x3, 0x3, 2, 24); rtd 73 sound/soc/intel/boards/bytcht_nocodec.c dev_err(rtd->dev, "can't set I2S config, err %d\n", ret); rtd 383 sound/soc/intel/boards/bytcr_rt5640.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 384 sound/soc/intel/boards/bytcr_rt5640.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 955 sound/soc/intel/boards/bytcr_rt5640.c static int byt_rt5640_codec_fixup(struct snd_soc_pcm_runtime *rtd, rtd 979 sound/soc/intel/boards/bytcr_rt5640.c ret = snd_soc_dai_set_fmt(rtd->cpu_dai, rtd 985 sound/soc/intel/boards/bytcr_rt5640.c dev_err(rtd->dev, "can't set format to I2S, err %d\n", ret); rtd 989 sound/soc/intel/boards/bytcr_rt5640.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0x3, 0x3, 2, 16); rtd 991 sound/soc/intel/boards/bytcr_rt5640.c dev_err(rtd->dev, "can't set I2S config, err %d\n", ret); rtd 1005 sound/soc/intel/boards/bytcr_rt5640.c ret = snd_soc_dai_set_fmt(rtd->cpu_dai, rtd 1011 sound/soc/intel/boards/bytcr_rt5640.c dev_err(rtd->dev, "can't set format to I2S, err %d\n", ret); rtd 1015 sound/soc/intel/boards/bytcr_rt5640.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0x3, 0x3, 2, 24); rtd 1017 sound/soc/intel/boards/bytcr_rt5640.c dev_err(rtd->dev, "can't set I2S config, err %d\n", ret); rtd 350 sound/soc/intel/boards/bytcr_rt5651.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 351 sound/soc/intel/boards/bytcr_rt5651.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 667 sound/soc/intel/boards/bytcr_rt5651.c static int byt_rt5651_codec_fixup(struct snd_soc_pcm_runtime *rtd, rtd 696 sound/soc/intel/boards/bytcr_rt5651.c ret = snd_soc_dai_set_fmt(rtd->cpu_dai, rtd 703 sound/soc/intel/boards/bytcr_rt5651.c dev_err(rtd->dev, "can't set format to I2S, err %d\n", ret); rtd 707 sound/soc/intel/boards/bytcr_rt5651.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0x3, 0x3, 2, bits); rtd 709 sound/soc/intel/boards/bytcr_rt5651.c dev_err(rtd->dev, "can't set I2S config, err %d\n", ret); rtd 115 sound/soc/intel/boards/cht_bsw_max98090_ti.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 116 sound/soc/intel/boards/cht_bsw_max98090_ti.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 122 sound/soc/intel/boards/cht_bsw_max98090_ti.c dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); rtd 250 sound/soc/intel/boards/cht_bsw_max98090_ti.c static int cht_codec_fixup(struct snd_soc_pcm_runtime *rtd, rtd 260 sound/soc/intel/boards/cht_bsw_max98090_ti.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0x3, 0x3, 2, 16); rtd 262 sound/soc/intel/boards/cht_bsw_max98090_ti.c dev_err(rtd->dev, "can't set cpu_dai slot fmt: %d\n", ret); rtd 269 sound/soc/intel/boards/cht_bsw_max98090_ti.c ret = snd_soc_dai_set_fmt(rtd->cpu_dai, fmt); rtd 271 sound/soc/intel/boards/cht_bsw_max98090_ti.c dev_err(rtd->dev, "can't set cpu_dai set fmt: %d\n", ret); rtd 75 sound/soc/intel/boards/cht_bsw_nau8824.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 76 sound/soc/intel/boards/cht_bsw_nau8824.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 135 sound/soc/intel/boards/cht_bsw_nau8824.c static int cht_codec_fixup(struct snd_soc_pcm_runtime *rtd, rtd 210 sound/soc/intel/boards/cht_bsw_rt5645.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 211 sound/soc/intel/boards/cht_bsw_rt5645.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 218 sound/soc/intel/boards/cht_bsw_rt5645.c dev_err(rtd->dev, "can't set codec pll: %d\n", ret); rtd 225 sound/soc/intel/boards/cht_bsw_rt5645.c dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); rtd 338 sound/soc/intel/boards/cht_bsw_rt5645.c static int cht_codec_fixup(struct snd_soc_pcm_runtime *rtd, rtd 362 sound/soc/intel/boards/cht_bsw_rt5645.c ret = snd_soc_dai_set_fmt(rtd->cpu_dai, rtd 368 sound/soc/intel/boards/cht_bsw_rt5645.c dev_err(rtd->dev, "can't set format to I2S, err %d\n", ret); rtd 372 sound/soc/intel/boards/cht_bsw_rt5645.c ret = snd_soc_dai_set_fmt(rtd->codec_dai, rtd 378 sound/soc/intel/boards/cht_bsw_rt5645.c dev_err(rtd->dev, "can't set format to I2S, err %d\n", ret); rtd 382 sound/soc/intel/boards/cht_bsw_rt5645.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0x3, 0x3, 2, 16); rtd 384 sound/soc/intel/boards/cht_bsw_rt5645.c dev_err(rtd->dev, "can't set I2S config, err %d\n", ret); rtd 396 sound/soc/intel/boards/cht_bsw_rt5645.c ret = snd_soc_dai_set_fmt(rtd->codec_dai, rtd 401 sound/soc/intel/boards/cht_bsw_rt5645.c dev_err(rtd->dev, "can't set format to TDM %d\n", ret); rtd 406 sound/soc/intel/boards/cht_bsw_rt5645.c ret = snd_soc_dai_set_tdm_slot(rtd->codec_dai, 0xF, 0xF, 4, 24); rtd 408 sound/soc/intel/boards/cht_bsw_rt5645.c dev_err(rtd->dev, "can't set codec TDM slot %d\n", ret); rtd 146 sound/soc/intel/boards/cht_bsw_rt5672.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 147 sound/soc/intel/boards/cht_bsw_rt5672.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 154 sound/soc/intel/boards/cht_bsw_rt5672.c dev_err(rtd->dev, "can't set codec pll: %d\n", ret); rtd 163 sound/soc/intel/boards/cht_bsw_rt5672.c dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); rtd 239 sound/soc/intel/boards/cht_bsw_rt5672.c static int cht_codec_fixup(struct snd_soc_pcm_runtime *rtd, rtd 258 sound/soc/intel/boards/cht_bsw_rt5672.c ret = snd_soc_dai_set_fmt(rtd->codec_dai, rtd 263 sound/soc/intel/boards/cht_bsw_rt5672.c dev_err(rtd->dev, "can't set format to TDM %d\n", ret); rtd 268 sound/soc/intel/boards/cht_bsw_rt5672.c ret = snd_soc_dai_set_tdm_slot(rtd->codec_dai, 0xF, 0xF, 4, 24); rtd 270 sound/soc/intel/boards/cht_bsw_rt5672.c dev_err(rtd->dev, "can't set codec TDM slot %d\n", ret); rtd 114 sound/soc/intel/boards/glk_rt5682_max98357a.c static int geminilake_ssp_fixup(struct snd_soc_pcm_runtime *rtd, rtd 134 sound/soc/intel/boards/glk_rt5682_max98357a.c static int geminilake_rt5682_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 136 sound/soc/intel/boards/glk_rt5682_max98357a.c struct glk_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 137 sound/soc/intel/boards/glk_rt5682_max98357a.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 138 sound/soc/intel/boards/glk_rt5682_max98357a.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 145 sound/soc/intel/boards/glk_rt5682_max98357a.c dev_err(rtd->dev, "can't set codec pll: %d\n", ret); rtd 153 sound/soc/intel/boards/glk_rt5682_max98357a.c dev_err(rtd->dev, "snd_soc_dai_set_sysclk err = %d\n", ret); rtd 159 sound/soc/intel/boards/glk_rt5682_max98357a.c ret = snd_soc_card_jack_new(rtd->card, "Headset Jack", rtd 164 sound/soc/intel/boards/glk_rt5682_max98357a.c dev_err(rtd->dev, "Headset Jack creation failed: %d\n", ret); rtd 178 sound/soc/intel/boards/glk_rt5682_max98357a.c dev_err(rtd->dev, "Headset Jack call-back failed: %d\n", ret); rtd 188 sound/soc/intel/boards/glk_rt5682_max98357a.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 189 sound/soc/intel/boards/glk_rt5682_max98357a.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 195 sound/soc/intel/boards/glk_rt5682_max98357a.c dev_err(rtd->dev, "set TDM slot err:%d\n", ret); rtd 206 sound/soc/intel/boards/glk_rt5682_max98357a.c static int geminilake_hdmi_init(struct snd_soc_pcm_runtime *rtd) rtd 208 sound/soc/intel/boards/glk_rt5682_max98357a.c struct glk_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 209 sound/soc/intel/boards/glk_rt5682_max98357a.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 212 sound/soc/intel/boards/glk_rt5682_max98357a.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 224 sound/soc/intel/boards/glk_rt5682_max98357a.c static int geminilake_rt5682_fe_init(struct snd_soc_pcm_runtime *rtd) rtd 226 sound/soc/intel/boards/glk_rt5682_max98357a.c struct snd_soc_component *component = rtd->cpu_dai->component; rtd 233 sound/soc/intel/boards/glk_rt5682_max98357a.c dev_err(rtd->dev, "Ref Cap ignore suspend failed %d\n", ret); rtd 270 sound/soc/intel/boards/glk_rt5682_max98357a.c static int geminilake_dmic_fixup(struct snd_soc_pcm_runtime *rtd, rtd 38 sound/soc/intel/boards/haswell.c static int haswell_ssp0_fixup(struct snd_soc_pcm_runtime *rtd, rtd 58 sound/soc/intel/boards/haswell.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 59 sound/soc/intel/boards/haswell.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 66 sound/soc/intel/boards/haswell.c dev_err(rtd->dev, "can't set codec sysclk configuration\n"); rtd 80 sound/soc/intel/boards/haswell.c static int haswell_rtd_init(struct snd_soc_pcm_runtime *rtd) rtd 82 sound/soc/intel/boards/haswell.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 92 sound/soc/intel/boards/haswell.c dev_err(rtd->dev, "failed to set device config\n"); rtd 139 sound/soc/intel/boards/kbl_da7219_max98357a.c static int kabylake_ssp_fixup(struct snd_soc_pcm_runtime *rtd, rtd 159 sound/soc/intel/boards/kbl_da7219_max98357a.c static int kabylake_da7219_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 161 sound/soc/intel/boards/kbl_da7219_max98357a.c struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 162 sound/soc/intel/boards/kbl_da7219_max98357a.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 163 sound/soc/intel/boards/kbl_da7219_max98357a.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 171 sound/soc/intel/boards/kbl_da7219_max98357a.c dev_err(rtd->dev, "can't set codec sysclk configuration\n"); rtd 184 sound/soc/intel/boards/kbl_da7219_max98357a.c dev_err(rtd->dev, "Headset Jack creation failed: %d\n", ret); rtd 196 sound/soc/intel/boards/kbl_da7219_max98357a.c ret = snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "SoC DMIC"); rtd 198 sound/soc/intel/boards/kbl_da7219_max98357a.c dev_err(rtd->dev, "SoC DMIC - Ignore suspend failed %d\n", ret); rtd 203 sound/soc/intel/boards/kbl_da7219_max98357a.c static int kabylake_hdmi_init(struct snd_soc_pcm_runtime *rtd, int device) rtd 205 sound/soc/intel/boards/kbl_da7219_max98357a.c struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 206 sound/soc/intel/boards/kbl_da7219_max98357a.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 209 sound/soc/intel/boards/kbl_da7219_max98357a.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 221 sound/soc/intel/boards/kbl_da7219_max98357a.c static int kabylake_hdmi1_init(struct snd_soc_pcm_runtime *rtd) rtd 223 sound/soc/intel/boards/kbl_da7219_max98357a.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI1_PB); rtd 226 sound/soc/intel/boards/kbl_da7219_max98357a.c static int kabylake_hdmi2_init(struct snd_soc_pcm_runtime *rtd) rtd 228 sound/soc/intel/boards/kbl_da7219_max98357a.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI2_PB); rtd 231 sound/soc/intel/boards/kbl_da7219_max98357a.c static int kabylake_hdmi3_init(struct snd_soc_pcm_runtime *rtd) rtd 233 sound/soc/intel/boards/kbl_da7219_max98357a.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI3_PB); rtd 236 sound/soc/intel/boards/kbl_da7219_max98357a.c static int kabylake_da7219_fe_init(struct snd_soc_pcm_runtime *rtd) rtd 239 sound/soc/intel/boards/kbl_da7219_max98357a.c struct snd_soc_component *component = rtd->cpu_dai->component; rtd 305 sound/soc/intel/boards/kbl_da7219_max98357a.c static int kabylake_dmic_fixup(struct snd_soc_pcm_runtime *rtd, rtd 223 sound/soc/intel/boards/kbl_da7219_max98927.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 226 sound/soc/intel/boards/kbl_da7219_max98927.c for (j = 0; j < rtd->num_codecs; j++) { rtd 227 sound/soc/intel/boards/kbl_da7219_max98927.c struct snd_soc_dai *codec_dai = rtd->codec_dais[j]; rtd 249 sound/soc/intel/boards/kbl_da7219_max98927.c dev_err(rtd->dev, "failed to enable %s: %d\n", rtd 260 sound/soc/intel/boards/kbl_da7219_max98927.c dev_err(rtd->dev, "failed to disable %s: %d\n", rtd 277 sound/soc/intel/boards/kbl_da7219_max98927.c static int kabylake_ssp_fixup(struct snd_soc_pcm_runtime *rtd, rtd 297 sound/soc/intel/boards/kbl_da7219_max98927.c if (!strcmp(rtd->card->name, "kblda7219m98373") || rtd 298 sound/soc/intel/boards/kbl_da7219_max98927.c !strcmp(rtd->card->name, "kblmax98373")) { rtd 331 sound/soc/intel/boards/kbl_da7219_max98927.c static int kabylake_da7219_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 333 sound/soc/intel/boards/kbl_da7219_max98927.c struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 334 sound/soc/intel/boards/kbl_da7219_max98927.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 336 sound/soc/intel/boards/kbl_da7219_max98927.c struct snd_soc_card *card = rtd->card; rtd 353 sound/soc/intel/boards/kbl_da7219_max98927.c dev_err(rtd->dev, "Headset Jack creation failed: %d\n", ret); rtd 368 sound/soc/intel/boards/kbl_da7219_max98927.c static int kabylake_dmic_init(struct snd_soc_pcm_runtime *rtd) rtd 371 sound/soc/intel/boards/kbl_da7219_max98927.c ret = snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "SoC DMIC"); rtd 373 sound/soc/intel/boards/kbl_da7219_max98927.c dev_err(rtd->dev, "SoC DMIC - Ignore suspend failed %d\n", ret); rtd 378 sound/soc/intel/boards/kbl_da7219_max98927.c static int kabylake_hdmi_init(struct snd_soc_pcm_runtime *rtd, int device) rtd 380 sound/soc/intel/boards/kbl_da7219_max98927.c struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 381 sound/soc/intel/boards/kbl_da7219_max98927.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 384 sound/soc/intel/boards/kbl_da7219_max98927.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 396 sound/soc/intel/boards/kbl_da7219_max98927.c static int kabylake_hdmi1_init(struct snd_soc_pcm_runtime *rtd) rtd 398 sound/soc/intel/boards/kbl_da7219_max98927.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI1_PB); rtd 401 sound/soc/intel/boards/kbl_da7219_max98927.c static int kabylake_hdmi2_init(struct snd_soc_pcm_runtime *rtd) rtd 403 sound/soc/intel/boards/kbl_da7219_max98927.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI2_PB); rtd 406 sound/soc/intel/boards/kbl_da7219_max98927.c static int kabylake_hdmi3_init(struct snd_soc_pcm_runtime *rtd) rtd 408 sound/soc/intel/boards/kbl_da7219_max98927.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI3_PB); rtd 411 sound/soc/intel/boards/kbl_da7219_max98927.c static int kabylake_da7219_fe_init(struct snd_soc_pcm_runtime *rtd) rtd 414 sound/soc/intel/boards/kbl_da7219_max98927.c struct snd_soc_component *component = rtd->cpu_dai->component; rtd 491 sound/soc/intel/boards/kbl_da7219_max98927.c static int kabylake_dmic_fixup(struct snd_soc_pcm_runtime *rtd, rtd 136 sound/soc/intel/boards/kbl_rt5660.c static int kabylake_ssp0_fixup(struct snd_soc_pcm_runtime *rtd, rtd 156 sound/soc/intel/boards/kbl_rt5660.c static int kabylake_rt5660_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 159 sound/soc/intel/boards/kbl_rt5660.c struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 160 sound/soc/intel/boards/kbl_rt5660.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 176 sound/soc/intel/boards/kbl_rt5660.c ret = snd_soc_card_jack_new(rtd->card, "Lineout Jack", rtd 190 sound/soc/intel/boards/kbl_rt5660.c ret = snd_soc_card_jack_new(rtd->card, "Mic Jack", rtd 210 sound/soc/intel/boards/kbl_rt5660.c static int kabylake_hdmi_init(struct snd_soc_pcm_runtime *rtd, int device) rtd 212 sound/soc/intel/boards/kbl_rt5660.c struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 213 sound/soc/intel/boards/kbl_rt5660.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 216 sound/soc/intel/boards/kbl_rt5660.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 228 sound/soc/intel/boards/kbl_rt5660.c static int kabylake_hdmi1_init(struct snd_soc_pcm_runtime *rtd) rtd 230 sound/soc/intel/boards/kbl_rt5660.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI1_PB); rtd 233 sound/soc/intel/boards/kbl_rt5660.c static int kabylake_hdmi2_init(struct snd_soc_pcm_runtime *rtd) rtd 235 sound/soc/intel/boards/kbl_rt5660.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI2_PB); rtd 238 sound/soc/intel/boards/kbl_rt5660.c static int kabylake_hdmi3_init(struct snd_soc_pcm_runtime *rtd) rtd 240 sound/soc/intel/boards/kbl_rt5660.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI3_PB); rtd 246 sound/soc/intel/boards/kbl_rt5660.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 247 sound/soc/intel/boards/kbl_rt5660.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 254 sound/soc/intel/boards/kbl_rt5660.c dev_err(rtd->dev, "snd_soc_dai_set_sysclk err = %d\n", ret); rtd 241 sound/soc/intel/boards/kbl_rt5663_max98927.c static int kabylake_rt5663_fe_init(struct snd_soc_pcm_runtime *rtd) rtd 245 sound/soc/intel/boards/kbl_rt5663_max98927.c struct snd_soc_component *component = rtd->cpu_dai->component; rtd 250 sound/soc/intel/boards/kbl_rt5663_max98927.c dev_err(rtd->dev, "Ref Cap ignore suspend failed %d\n", ret); rtd 257 sound/soc/intel/boards/kbl_rt5663_max98927.c static int kabylake_rt5663_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 260 sound/soc/intel/boards/kbl_rt5663_max98927.c struct kbl_rt5663_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 261 sound/soc/intel/boards/kbl_rt5663_max98927.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 273 sound/soc/intel/boards/kbl_rt5663_max98927.c dev_err(rtd->dev, "Headset Jack creation failed %d\n", ret); rtd 288 sound/soc/intel/boards/kbl_rt5663_max98927.c static int kabylake_rt5663_max98927_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 292 sound/soc/intel/boards/kbl_rt5663_max98927.c ret = kabylake_rt5663_codec_init(rtd); rtd 296 sound/soc/intel/boards/kbl_rt5663_max98927.c ret = snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "SoC DMIC"); rtd 298 sound/soc/intel/boards/kbl_rt5663_max98927.c dev_err(rtd->dev, "SoC DMIC ignore suspend failed %d\n", ret); rtd 305 sound/soc/intel/boards/kbl_rt5663_max98927.c static int kabylake_hdmi_init(struct snd_soc_pcm_runtime *rtd, int device) rtd 307 sound/soc/intel/boards/kbl_rt5663_max98927.c struct kbl_rt5663_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 308 sound/soc/intel/boards/kbl_rt5663_max98927.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 311 sound/soc/intel/boards/kbl_rt5663_max98927.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 323 sound/soc/intel/boards/kbl_rt5663_max98927.c static int kabylake_hdmi1_init(struct snd_soc_pcm_runtime *rtd) rtd 325 sound/soc/intel/boards/kbl_rt5663_max98927.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI1_PB); rtd 328 sound/soc/intel/boards/kbl_rt5663_max98927.c static int kabylake_hdmi2_init(struct snd_soc_pcm_runtime *rtd) rtd 330 sound/soc/intel/boards/kbl_rt5663_max98927.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI2_PB); rtd 333 sound/soc/intel/boards/kbl_rt5663_max98927.c static int kabylake_hdmi3_init(struct snd_soc_pcm_runtime *rtd) rtd 335 sound/soc/intel/boards/kbl_rt5663_max98927.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI3_PB); rtd 338 sound/soc/intel/boards/kbl_rt5663_max98927.c static int kabylake_5663_hdmi1_init(struct snd_soc_pcm_runtime *rtd) rtd 340 sound/soc/intel/boards/kbl_rt5663_max98927.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_5663_HDMI1_PB); rtd 343 sound/soc/intel/boards/kbl_rt5663_max98927.c static int kabylake_5663_hdmi2_init(struct snd_soc_pcm_runtime *rtd) rtd 345 sound/soc/intel/boards/kbl_rt5663_max98927.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_5663_HDMI2_PB); rtd 396 sound/soc/intel/boards/kbl_rt5663_max98927.c static int kabylake_ssp_fixup(struct snd_soc_pcm_runtime *rtd, rtd 433 sound/soc/intel/boards/kbl_rt5663_max98927.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 434 sound/soc/intel/boards/kbl_rt5663_max98927.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 445 sound/soc/intel/boards/kbl_rt5663_max98927.c dev_err(rtd->dev, "snd_soc_dai_set_sysclk err = %d\n", ret); rtd 454 sound/soc/intel/boards/kbl_rt5663_max98927.c static int kabylake_dmic_fixup(struct snd_soc_pcm_runtime *rtd, rtd 471 sound/soc/intel/boards/kbl_rt5663_max98927.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 475 sound/soc/intel/boards/kbl_rt5663_max98927.c for_each_rtd_codec_dai(rtd, j, codec_dai) { rtd 482 sound/soc/intel/boards/kbl_rt5663_max98927.c dev_err(rtd->dev, "set TDM slot err:%d\n", ret); rtd 492 sound/soc/intel/boards/kbl_rt5663_max98927.c dev_err(rtd->dev, "set TDM slot err:%d\n", ret); rtd 141 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c static int kabylake_rt5663_fe_init(struct snd_soc_pcm_runtime *rtd) rtd 144 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c struct snd_soc_component *component = rtd->cpu_dai->component; rtd 150 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c dev_err(rtd->dev, "Ref Cap -Ignore suspend failed = %d\n", ret); rtd 155 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c static int kabylake_rt5663_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 158 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 159 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 171 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c dev_err(rtd->dev, "Headset Jack creation failed %d\n", ret); rtd 183 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c ret = snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "DMIC"); rtd 185 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c dev_err(rtd->dev, "DMIC - Ignore suspend failed = %d\n", ret); rtd 190 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c static int kabylake_hdmi_init(struct snd_soc_pcm_runtime *rtd, int device) rtd 192 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 193 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 196 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 208 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c static int kabylake_hdmi1_init(struct snd_soc_pcm_runtime *rtd) rtd 210 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI1_PB); rtd 213 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c static int kabylake_hdmi2_init(struct snd_soc_pcm_runtime *rtd) rtd 215 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c return kabylake_hdmi_init(rtd, KBL_DPCM_AUDIO_HDMI2_PB); rtd 266 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c static int kabylake_ssp_fixup(struct snd_soc_pcm_runtime *rtd, rtd 309 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 310 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 321 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c dev_err(rtd->dev, "snd_soc_dai_set_sysclk err = %d\n", ret); rtd 333 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 337 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c for_each_rtd_codec_dai(rtd, j, codec_dai) { rtd 341 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c dev_err(rtd->dev, "set TDM slot err:%d\n", ret); rtd 348 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c dev_err(rtd->dev, "set sysclk err: %d\n", ret); rtd 355 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c dev_err(rtd->dev, "DEV0 TDM slot err:%d\n", ret); rtd 363 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c dev_err(rtd->dev, "DEV1 TDM slot err:%d\n", ret); rtd 137 sound/soc/intel/boards/skl_nau88l25_max98357a.c static int skylake_ssp_fixup(struct snd_soc_pcm_runtime *rtd, rtd 157 sound/soc/intel/boards/skl_nau88l25_max98357a.c static int skylake_nau8825_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 160 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 171 sound/soc/intel/boards/skl_nau88l25_max98357a.c dev_err(rtd->dev, "Headset Jack creation failed %d\n", ret); rtd 177 sound/soc/intel/boards/skl_nau88l25_max98357a.c snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "SoC DMIC"); rtd 182 sound/soc/intel/boards/skl_nau88l25_max98357a.c static int skylake_hdmi1_init(struct snd_soc_pcm_runtime *rtd) rtd 184 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct skl_nau8825_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 185 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 188 sound/soc/intel/boards/skl_nau88l25_max98357a.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 200 sound/soc/intel/boards/skl_nau88l25_max98357a.c static int skylake_hdmi2_init(struct snd_soc_pcm_runtime *rtd) rtd 202 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct skl_nau8825_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 203 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 206 sound/soc/intel/boards/skl_nau88l25_max98357a.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 218 sound/soc/intel/boards/skl_nau88l25_max98357a.c static int skylake_hdmi3_init(struct snd_soc_pcm_runtime *rtd) rtd 220 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct skl_nau8825_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 221 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 224 sound/soc/intel/boards/skl_nau88l25_max98357a.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 236 sound/soc/intel/boards/skl_nau88l25_max98357a.c static int skylake_nau8825_fe_init(struct snd_soc_pcm_runtime *rtd) rtd 239 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct snd_soc_component *component = rtd->cpu_dai->component; rtd 298 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 299 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 306 sound/soc/intel/boards/skl_nau88l25_max98357a.c dev_err(rtd->dev, "snd_soc_dai_set_sysclk err = %d\n", ret); rtd 315 sound/soc/intel/boards/skl_nau88l25_max98357a.c static int skylake_dmic_fixup(struct snd_soc_pcm_runtime *rtd, rtd 159 sound/soc/intel/boards/skl_nau88l25_ssm4567.c static int skylake_ssm4567_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 164 sound/soc/intel/boards/skl_nau88l25_ssm4567.c ret = snd_soc_dai_set_tdm_slot(rtd->codec_dais[0], 0x01, 0x01, 2, 48); rtd 169 sound/soc/intel/boards/skl_nau88l25_ssm4567.c ret = snd_soc_dai_set_tdm_slot(rtd->codec_dais[1], 0x02, 0x02, 2, 48); rtd 176 sound/soc/intel/boards/skl_nau88l25_ssm4567.c static int skylake_nau8825_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 179 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 190 sound/soc/intel/boards/skl_nau88l25_ssm4567.c dev_err(rtd->dev, "Headset Jack creation failed %d\n", ret); rtd 196 sound/soc/intel/boards/skl_nau88l25_ssm4567.c snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "SoC DMIC"); rtd 201 sound/soc/intel/boards/skl_nau88l25_ssm4567.c static int skylake_hdmi1_init(struct snd_soc_pcm_runtime *rtd) rtd 203 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct skl_nau88125_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 204 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 207 sound/soc/intel/boards/skl_nau88l25_ssm4567.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 219 sound/soc/intel/boards/skl_nau88l25_ssm4567.c static int skylake_hdmi2_init(struct snd_soc_pcm_runtime *rtd) rtd 221 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct skl_nau88125_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 222 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 225 sound/soc/intel/boards/skl_nau88l25_ssm4567.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 238 sound/soc/intel/boards/skl_nau88l25_ssm4567.c static int skylake_hdmi3_init(struct snd_soc_pcm_runtime *rtd) rtd 240 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct skl_nau88125_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 241 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 244 sound/soc/intel/boards/skl_nau88l25_ssm4567.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 256 sound/soc/intel/boards/skl_nau88l25_ssm4567.c static int skylake_nau8825_fe_init(struct snd_soc_pcm_runtime *rtd) rtd 259 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct snd_soc_component *component = rtd->cpu_dai->component; rtd 315 sound/soc/intel/boards/skl_nau88l25_ssm4567.c static int skylake_ssp_fixup(struct snd_soc_pcm_runtime *rtd, rtd 334 sound/soc/intel/boards/skl_nau88l25_ssm4567.c static int skylake_dmic_fixup(struct snd_soc_pcm_runtime *rtd, rtd 350 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 351 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 358 sound/soc/intel/boards/skl_nau88l25_ssm4567.c dev_err(rtd->dev, "snd_soc_dai_set_sysclk err = %d\n", ret); rtd 112 sound/soc/intel/boards/skl_rt286.c static int skylake_rt286_fe_init(struct snd_soc_pcm_runtime *rtd) rtd 115 sound/soc/intel/boards/skl_rt286.c struct snd_soc_component *component = rtd->cpu_dai->component; rtd 123 sound/soc/intel/boards/skl_rt286.c static int skylake_rt286_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 125 sound/soc/intel/boards/skl_rt286.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 128 sound/soc/intel/boards/skl_rt286.c ret = snd_soc_card_jack_new(rtd->card, "Headset", rtd 138 sound/soc/intel/boards/skl_rt286.c snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "SoC DMIC"); rtd 143 sound/soc/intel/boards/skl_rt286.c static int skylake_hdmi_init(struct snd_soc_pcm_runtime *rtd) rtd 145 sound/soc/intel/boards/skl_rt286.c struct skl_rt286_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 146 sound/soc/intel/boards/skl_rt286.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 149 sound/soc/intel/boards/skl_rt286.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 209 sound/soc/intel/boards/skl_rt286.c static int skylake_ssp0_fixup(struct snd_soc_pcm_runtime *rtd, rtd 231 sound/soc/intel/boards/skl_rt286.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 232 sound/soc/intel/boards/skl_rt286.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 238 sound/soc/intel/boards/skl_rt286.c dev_err(rtd->dev, "set codec sysclk failed: %d\n", ret); rtd 247 sound/soc/intel/boards/skl_rt286.c static int skylake_dmic_fixup(struct snd_soc_pcm_runtime *rtd, rtd 118 sound/soc/intel/boards/sof_rt5682.c static int sof_hdmi_init(struct snd_soc_pcm_runtime *rtd) rtd 120 sound/soc/intel/boards/sof_rt5682.c struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 121 sound/soc/intel/boards/sof_rt5682.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 124 sound/soc/intel/boards/sof_rt5682.c pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); rtd 129 sound/soc/intel/boards/sof_rt5682.c pcm->device = rtd->dai_link->id; rtd 137 sound/soc/intel/boards/sof_rt5682.c static int sof_rt5682_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 139 sound/soc/intel/boards/sof_rt5682.c struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 140 sound/soc/intel/boards/sof_rt5682.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 170 sound/soc/intel/boards/sof_rt5682.c dev_err(rtd->dev, "unable to set MCLK rate\n"); rtd 177 sound/soc/intel/boards/sof_rt5682.c ret = snd_soc_card_jack_new(rtd->card, "Headset Jack", rtd 183 sound/soc/intel/boards/sof_rt5682.c dev_err(rtd->dev, "Headset Jack creation failed: %d\n", ret); rtd 196 sound/soc/intel/boards/sof_rt5682.c dev_err(rtd->dev, "Headset Jack call-back failed: %d\n", ret); rtd 206 sound/soc/intel/boards/sof_rt5682.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 207 sound/soc/intel/boards/sof_rt5682.c struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); rtd 208 sound/soc/intel/boards/sof_rt5682.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 215 sound/soc/intel/boards/sof_rt5682.c dev_err(rtd->dev, rtd 235 sound/soc/intel/boards/sof_rt5682.c dev_err(rtd->dev, "snd_soc_dai_set_pll err = %d\n", ret); rtd 241 sound/soc/intel/boards/sof_rt5682.c dev_err(rtd->dev, "snd_soc_dai_set_sysclk err = %d\n", ret); rtd 250 sound/soc/intel/boards/sof_rt5682.c dev_err(rtd->dev, "set TDM slot err:%d\n", ret); rtd 340 sound/soc/intel/boards/sof_rt5682.c static int speaker_codec_init(struct snd_soc_pcm_runtime *rtd) rtd 342 sound/soc/intel/boards/sof_rt5682.c struct snd_soc_card *card = rtd->card; rtd 349 sound/soc/intel/boards/sof_rt5682.c dev_err(rtd->dev, "Speaker map addition failed: %d\n", ret); rtd 353 sound/soc/intel/boards/sof_rt5682.c static int dmic_init(struct snd_soc_pcm_runtime *rtd) rtd 355 sound/soc/intel/boards/sof_rt5682.c struct snd_soc_card *card = rtd->card; rtd 431 sound/soc/intel/haswell/sst-haswell-pcm.c struct hsw_priv_data *pdata, struct snd_soc_pcm_runtime *rtd, rtd 439 sound/soc/intel/haswell/sst-haswell-pcm.c dev_dbg(rtd->dev, "generating page table for %p size 0x%zx pages %d\n", rtd 447 sound/soc/intel/haswell/sst-haswell-pcm.c dev_dbg(rtd->dev, "pfn i %i idx %d pfn %x\n", i, idx, pfn); rtd 464 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 466 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 479 sound/soc/intel/haswell/sst-haswell-pcm.c dai = mod_map[rtd->cpu_dai->id].dai_id; rtd 486 sound/soc/intel/haswell/sst-haswell-pcm.c dev_dbg(rtd->dev, "error: reset stream failed %d\n", rtd 491 sound/soc/intel/haswell/sst-haswell-pcm.c dev_dbg(rtd->dev, "error: free stream failed %d\n", rtd 497 sound/soc/intel/haswell/sst-haswell-pcm.c pcm_data->stream = sst_hsw_stream_new(hsw, rtd->cpu_dai->id, rtd 500 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: failed to create stream\n"); rtd 512 sound/soc/intel/haswell/sst-haswell-pcm.c switch (rtd->cpu_dai->id) { rtd 535 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: invalid DAI ID %d\n", rtd 536 sound/soc/intel/haswell/sst-haswell-pcm.c rtd->cpu_dai->id); rtd 543 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: failed to set format %d\n", ret); rtd 550 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: could not set rate %d\n", rate); rtd 572 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: invalid format %d\n", rtd 579 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: could not set bits %d\n", bits); rtd 590 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: could not set channels %d\n", rtd 597 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: could not allocate %d bytes for PCM %d\n", rtd 604 sound/soc/intel/haswell/sst-haswell-pcm.c ret = create_adsp_page_table(substream, pdata, rtd, runtime->dma_area, rtd 605 sound/soc/intel/haswell/sst-haswell-pcm.c runtime->dma_bytes, rtd->cpu_dai->id); rtd 618 sound/soc/intel/haswell/sst-haswell-pcm.c pdata->dmab[rtd->cpu_dai->id][substream->stream].addr, rtd 622 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: failed to set DMA buffer %d\n", ret); rtd 630 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: failed to get module config\n"); rtd 639 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: failed to commit stream %d\n", ret); rtd 654 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: failed to pause %d\n", ret); rtd 667 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 668 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 677 sound/soc/intel/haswell/sst-haswell-pcm.c dai = mod_map[rtd->cpu_dai->id].dai_id; rtd 711 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 712 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 727 sound/soc/intel/haswell/sst-haswell-pcm.c dev_vdbg(rtd->dev, "PCM: App pointer %d bytes\n", pos); rtd 748 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "PCM: position is wrong\n"); rtd 758 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "PCM: dma_bytes is wrong\n"); rtd 764 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "PCM: position is wrong\n"); rtd 775 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 777 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 786 sound/soc/intel/haswell/sst-haswell-pcm.c dai = mod_map[rtd->cpu_dai->id].dai_id; rtd 793 sound/soc/intel/haswell/sst-haswell-pcm.c dev_vdbg(rtd->dev, "PCM: DMA pointer %du bytes, pos %llu\n", rtd 800 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 801 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 807 sound/soc/intel/haswell/sst-haswell-pcm.c dai = mod_map[rtd->cpu_dai->id].dai_id; rtd 817 sound/soc/intel/haswell/sst-haswell-pcm.c pcm_data->stream = sst_hsw_stream_new(hsw, rtd->cpu_dai->id, rtd 820 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: failed to create stream\n"); rtd 833 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 834 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 840 sound/soc/intel/haswell/sst-haswell-pcm.c dai = mod_map[rtd->cpu_dai->id].dai_id; rtd 846 sound/soc/intel/haswell/sst-haswell-pcm.c dev_dbg(rtd->dev, "error: reset stream failed %d\n", ret); rtd 852 sound/soc/intel/haswell/sst-haswell-pcm.c dev_dbg(rtd->dev, "error: free stream failed %d\n", ret); rtd 933 sound/soc/intel/haswell/sst-haswell-pcm.c static int hsw_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 935 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_pcm *pcm = rtd->pcm; rtd 936 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 950 sound/soc/intel/haswell/sst-haswell-pcm.c priv_data->pcm[rtd->cpu_dai->id][SNDRV_PCM_STREAM_PLAYBACK].hsw_pcm = pcm; rtd 952 sound/soc/intel/haswell/sst-haswell-pcm.c priv_data->pcm[rtd->cpu_dai->id][SNDRV_PCM_STREAM_CAPTURE].hsw_pcm = pcm; rtd 560 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_pcm_runtime *rtd = snd_pcm_substream_chip(substream); rtd 561 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 650 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_pcm_runtime *rtd = snd_pcm_substream_chip(substream); rtd 660 sound/soc/intel/skylake/skl-pcm.c link = snd_hdac_ext_bus_get_link(bus, rtd->codec_dai->component->name); rtd 1086 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 1087 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai_link *dai_link = rtd->dai_link; rtd 1089 sound/soc/intel/skylake/skl-pcm.c dev_dbg(rtd->cpu_dai->dev, "In %s:%s\n", __func__, rtd 1231 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_pcm_runtime *rtd = snd_pcm_substream_chip(substream); rtd 1232 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 1297 sound/soc/intel/skylake/skl-pcm.c static int skl_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 1299 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *dai = rtd->cpu_dai; rtd 1301 sound/soc/intel/skylake/skl-pcm.c struct snd_pcm *pcm = rtd->pcm; rtd 21 sound/soc/kirkwood/armada-370-db.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 22 sound/soc/kirkwood/armada-370-db.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 270 sound/soc/kirkwood/kirkwood-dma.c static int kirkwood_dma_new(struct snd_soc_pcm_runtime *rtd) rtd 272 sound/soc/kirkwood/kirkwood-dma.c struct snd_card *card = rtd->card->snd_card; rtd 273 sound/soc/kirkwood/kirkwood-dma.c struct snd_pcm *pcm = rtd->pcm; rtd 38 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 41 sound/soc/mediatek/common/mtk-afe-fe-dai.c int memif_num = rtd->cpu_dai->id; rtd 99 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 101 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; rtd 121 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 123 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; rtd 182 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 185 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; rtd 240 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 242 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; rtd 83 sound/soc/mediatek/common/mtk-afe-platform-driver.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 84 sound/soc/mediatek/common/mtk-afe-platform-driver.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, AFE_PCM_NAME); rtd 86 sound/soc/mediatek/common/mtk-afe-platform-driver.c struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; rtd 121 sound/soc/mediatek/common/mtk-afe-platform-driver.c int mtk_afe_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 124 sound/soc/mediatek/common/mtk-afe-platform-driver.c struct snd_pcm *pcm = rtd->pcm; rtd 125 sound/soc/mediatek/common/mtk-afe-platform-driver.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, AFE_PCM_NAME); rtd 22 sound/soc/mediatek/common/mtk-afe-platform-driver.h int mtk_afe_pcm_new(struct snd_soc_pcm_runtime *rtd); rtd 880 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 882 sound/soc/mediatek/common/mtk-btcvsd.c snd_soc_rtdcom_lookup(rtd, BTCVSD_SND_NAME); rtd 904 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 906 sound/soc/mediatek/common/mtk-btcvsd.c snd_soc_rtdcom_lookup(rtd, BTCVSD_SND_NAME); rtd 920 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 922 sound/soc/mediatek/common/mtk-btcvsd.c snd_soc_rtdcom_lookup(rtd, BTCVSD_SND_NAME); rtd 939 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 941 sound/soc/mediatek/common/mtk-btcvsd.c snd_soc_rtdcom_lookup(rtd, BTCVSD_SND_NAME); rtd 952 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 954 sound/soc/mediatek/common/mtk-btcvsd.c snd_soc_rtdcom_lookup(rtd, BTCVSD_SND_NAME); rtd 966 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 968 sound/soc/mediatek/common/mtk-btcvsd.c snd_soc_rtdcom_lookup(rtd, BTCVSD_SND_NAME); rtd 999 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 1001 sound/soc/mediatek/common/mtk-btcvsd.c snd_soc_rtdcom_lookup(rtd, BTCVSD_SND_NAME); rtd 1051 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 1053 sound/soc/mediatek/common/mtk-btcvsd.c snd_soc_rtdcom_lookup(rtd, BTCVSD_SND_NAME); rtd 497 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 500 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c if (rtd->cpu_dai->id != MT2701_MEMIF_ULBT) rtd 130 sound/soc/mediatek/mt2701/mt2701-cs42448.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 131 sound/soc/mediatek/mt2701/mt2701-cs42448.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 132 sound/soc/mediatek/mt2701/mt2701-cs42448.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 27 sound/soc/mediatek/mt2701/mt2701-wm8960.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 28 sound/soc/mediatek/mt2701/mt2701-wm8960.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 29 sound/soc/mediatek/mt2701/mt2701-wm8960.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 142 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 144 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c snd_soc_rtdcom_lookup(rtd, AFE_PCM_NAME); rtd 146 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c int id = rtd->cpu_dai->id; rtd 153 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 155 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c snd_soc_rtdcom_lookup(rtd, AFE_PCM_NAME); rtd 485 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 486 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, AFE_PCM_NAME); rtd 488 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; rtd 55 sound/soc/mediatek/mt8173/mt8173-max98090.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 56 sound/soc/mediatek/mt8173/mt8173-max98090.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 46 sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 50 sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 50 sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 54 sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 60 sound/soc/mediatek/mt8173/mt8173-rt5650.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 80 sound/soc/mediatek/mt8173/mt8173-rt5650.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 144 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 146 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c snd_soc_rtdcom_lookup(rtd, AFE_PCM_NAME); rtd 148 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c int id = rtd->cpu_dai->id; rtd 155 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 157 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c snd_soc_rtdcom_lookup(rtd, AFE_PCM_NAME); rtd 24 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 29 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c return snd_soc_dai_set_sysclk(rtd->cpu_dai, rtd 40 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 47 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c ret = snd_soc_dai_set_sysclk(rtd->cpu_dai, 0, rtd 50 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c dev_err(rtd->dev, "failed to set cpu dai sysclk\n"); rtd 52 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c for (j = 0; j < rtd->num_codecs; j++) { rtd 53 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c struct snd_soc_dai *codec_dai = rtd->codec_dais[j]; rtd 61 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c dev_err(rtd->dev, "failed to set sysclk\n"); rtd 72 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c dev_err(rtd->dev, "failed to start PLL: %d\n", rtd 82 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 85 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c for (j = 0; j < rtd->num_codecs; j++) { rtd 86 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c struct snd_soc_dai *codec_dai = rtd->codec_dais[j]; rtd 92 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c dev_err(rtd->dev, "failed to stop PLL: %d\n", rtd 107 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c static int mt8183_i2s_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, rtd 38 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 43 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c return snd_soc_dai_set_sysclk(rtd->cpu_dai, rtd 51 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c static int mt8183_i2s_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, rtd 54 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c dev_dbg(rtd->dev, "%s(), fix format to 32bit\n", __func__); rtd 193 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 195 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c snd_soc_card_get_drvdata(rtd->card); rtd 204 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c dev_err(rtd->card->dev, "%s failed to select state %d\n", rtd 212 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 214 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c snd_soc_card_get_drvdata(rtd->card); rtd 223 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c dev_err(rtd->card->dev, "%s failed to select state %d\n", rtd 174 sound/soc/meson/axg-card.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 175 sound/soc/meson/axg-card.c struct axg_card *priv = snd_soc_card_get_drvdata(rtd->card); rtd 177 sound/soc/meson/axg-card.c (struct axg_dai_link_tdm_data *)priv->link_data[rtd->num]; rtd 185 sound/soc/meson/axg-card.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 192 sound/soc/meson/axg-card.c ret = snd_soc_dai_set_sysclk(rtd->cpu_dai, 0, mclk, rtd 205 sound/soc/meson/axg-card.c static int axg_card_tdm_dai_init(struct snd_soc_pcm_runtime *rtd) rtd 207 sound/soc/meson/axg-card.c struct axg_card *priv = snd_soc_card_get_drvdata(rtd->card); rtd 209 sound/soc/meson/axg-card.c (struct axg_dai_link_tdm_data *)priv->link_data[rtd->num]; rtd 213 sound/soc/meson/axg-card.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 225 sound/soc/meson/axg-card.c ret = axg_tdm_set_tdm_slots(rtd->cpu_dai, be->tx_mask, be->rx_mask, rtd 228 sound/soc/meson/axg-card.c dev_err(rtd->cpu_dai->dev, "setting tdm link slots failed\n"); rtd 235 sound/soc/meson/axg-card.c static int axg_card_tdm_dai_lb_init(struct snd_soc_pcm_runtime *rtd) rtd 237 sound/soc/meson/axg-card.c struct axg_card *priv = snd_soc_card_get_drvdata(rtd->card); rtd 239 sound/soc/meson/axg-card.c (struct axg_dai_link_tdm_data *)priv->link_data[rtd->num]; rtd 243 sound/soc/meson/axg-card.c ret = axg_tdm_set_tdm_slots(rtd->cpu_dai, NULL, be->tx_mask, rtd 246 sound/soc/meson/axg-card.c dev_err(rtd->cpu_dai->dev, "setting tdm link slots failed\n"); rtd 48 sound/soc/meson/axg-fifo.c struct snd_soc_pcm_runtime *rtd = ss->private_data; rtd 50 sound/soc/meson/axg-fifo.c return rtd->cpu_dai; rtd 311 sound/soc/meson/axg-fifo.c int axg_fifo_pcm_new(struct snd_soc_pcm_runtime *rtd, unsigned int type) rtd 313 sound/soc/meson/axg-fifo.c struct snd_card *card = rtd->card->snd_card; rtd 316 sound/soc/meson/axg-fifo.c snd_pcm_lib_preallocate_pages(rtd->pcm->streams[type].substream, rtd 83 sound/soc/meson/axg-fifo.h int axg_fifo_pcm_new(struct snd_soc_pcm_runtime *rtd, unsigned int type); rtd 85 sound/soc/meson/axg-frddr.c static int axg_frddr_pcm_new(struct snd_soc_pcm_runtime *rtd, rtd 88 sound/soc/meson/axg-frddr.c return axg_fifo_pcm_new(rtd, SNDRV_PCM_STREAM_PLAYBACK); rtd 32 sound/soc/meson/axg-toddr.c static int axg_toddr_pcm_new(struct snd_soc_pcm_runtime *rtd, rtd 35 sound/soc/meson/axg-toddr.c return axg_fifo_pcm_new(rtd, SNDRV_PCM_STREAM_CAPTURE); rtd 253 sound/soc/meson/g12a-tohdmitx.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 260 sound/soc/meson/g12a-tohdmitx.c if (WARN_ON(!rtd->dai_link->params)) { rtd 266 sound/soc/meson/g12a-tohdmitx.c rtd->dai_link->params = &in_data->params; rtd 271 sound/soc/meson/g12a-tohdmitx.c return snd_soc_runtime_set_dai_fmt(rtd, in_data->fmt); rtd 22 sound/soc/mxs/mxs-sgtl5000.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 23 sound/soc/mxs/mxs-sgtl5000.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 24 sound/soc/mxs/mxs-sgtl5000.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 46 sound/soc/pxa/brownstone.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 47 sound/soc/pxa/brownstone.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 48 sound/soc/pxa/brownstone.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 99 sound/soc/pxa/corgi.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 102 sound/soc/pxa/corgi.c corgi_ext_control(&rtd->card->dapm); rtd 118 sound/soc/pxa/corgi.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 119 sound/soc/pxa/corgi.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 120 sound/soc/pxa/corgi.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 56 sound/soc/pxa/hx4700.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 57 sound/soc/pxa/hx4700.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 58 sound/soc/pxa/hx4700.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 120 sound/soc/pxa/hx4700.c static int hx4700_ak4641_init(struct snd_soc_pcm_runtime *rtd) rtd 125 sound/soc/pxa/hx4700.c err = snd_soc_card_jack_new(rtd->card, "Headphone Jack", rtd 14 sound/soc/pxa/imote2.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 15 sound/soc/pxa/imote2.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 16 sound/soc/pxa/imote2.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 71 sound/soc/pxa/magician.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 74 sound/soc/pxa/magician.c magician_ext_control(&rtd->card->dapm); rtd 85 sound/soc/pxa/magician.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 86 sound/soc/pxa/magician.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 87 sound/soc/pxa/magician.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 123 sound/soc/pxa/magician.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 124 sound/soc/pxa/magician.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 125 sound/soc/pxa/magician.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 72 sound/soc/pxa/mioa701_wm9713.c struct snd_soc_pcm_runtime *rtd; rtd 75 sound/soc/pxa/mioa701_wm9713.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[0].name); rtd 76 sound/soc/pxa/mioa701_wm9713.c component = rtd->codec_dai->component; rtd 118 sound/soc/pxa/mioa701_wm9713.c static int mioa701_wm9713_init(struct snd_soc_pcm_runtime *rtd) rtd 120 sound/soc/pxa/mioa701_wm9713.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 99 sound/soc/pxa/mmp-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 100 sound/soc/pxa/mmp-pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 102 sound/soc/pxa/mmp-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 191 sound/soc/pxa/mmp-pcm.c static int mmp_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 194 sound/soc/pxa/mmp-pcm.c struct snd_pcm *pcm = rtd->pcm; rtd 253 sound/soc/pxa/mmp-sspa.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 254 sound/soc/pxa/mmp-sspa.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 69 sound/soc/pxa/palm27x.c static int palm27x_ac97_init(struct snd_soc_pcm_runtime *rtd) rtd 74 sound/soc/pxa/palm27x.c err = snd_soc_card_jack_new(rtd->card, "Headphone Jack", rtd 71 sound/soc/pxa/poodle.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 74 sound/soc/pxa/poodle.c poodle_ext_control(&rtd->card->dapm); rtd 92 sound/soc/pxa/poodle.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 93 sound/soc/pxa/poodle.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 94 sound/soc/pxa/poodle.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 98 sound/soc/pxa/pxa2xx-i2s.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 99 sound/soc/pxa/pxa2xx-i2s.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 108 sound/soc/pxa/spitz.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 111 sound/soc/pxa/spitz.c spitz_ext_control(&rtd->card->dapm); rtd 119 sound/soc/pxa/spitz.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 120 sound/soc/pxa/spitz.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 121 sound/soc/pxa/spitz.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 75 sound/soc/pxa/tosa.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 78 sound/soc/pxa/tosa.c tosa_ext_control(&rtd->card->dapm); rtd 62 sound/soc/pxa/ttc-dkb.c static int ttc_pm860x_init(struct snd_soc_pcm_runtime *rtd) rtd 64 sound/soc/pxa/ttc-dkb.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 67 sound/soc/pxa/ttc-dkb.c snd_soc_card_jack_new(rtd->card, "Headphone Jack", SND_JACK_HEADPHONE | rtd 70 sound/soc/pxa/ttc-dkb.c snd_soc_card_jack_new(rtd->card, "Microphone Jack", SND_JACK_MICROPHONE, rtd 36 sound/soc/pxa/z2.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 37 sound/soc/pxa/z2.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 38 sound/soc/pxa/z2.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 130 sound/soc/pxa/z2.c static int z2_wm8750_init(struct snd_soc_pcm_runtime *rtd) rtd 135 sound/soc/pxa/z2.c ret = snd_soc_card_jack_new(rtd->card, "Headset Jack", SND_JACK_HEADSET, rtd 66 sound/soc/pxa/zylonite.c static int zylonite_wm9713_init(struct snd_soc_pcm_runtime *rtd) rtd 69 sound/soc/pxa/zylonite.c snd_soc_dai_set_pll(rtd->codec_dai, 0, 0, rtd 78 sound/soc/pxa/zylonite.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 79 sound/soc/pxa/zylonite.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 80 sound/soc/pxa/zylonite.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 34 sound/soc/qcom/apq8016_sbc.c static int apq8016_sbc_dai_init(struct snd_soc_pcm_runtime *rtd) rtd 36 sound/soc/qcom/apq8016_sbc.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 38 sound/soc/qcom/apq8016_sbc.c struct snd_soc_dai_link *dai_link = rtd->dai_link; rtd 39 sound/soc/qcom/apq8016_sbc.c struct snd_soc_card *card = rtd->card; rtd 94 sound/soc/qcom/apq8016_sbc.c struct snd_soc_dai *dai = rtd->codec_dais[i]; rtd 16 sound/soc/qcom/apq8096.c static int apq8096_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, rtd 33 sound/soc/qcom/apq8096.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 34 sound/soc/qcom/apq8096.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 35 sound/soc/qcom/apq8096.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 67 sound/soc/qcom/apq8096.c static int apq8096_init(struct snd_soc_pcm_runtime *rtd) rtd 69 sound/soc/qcom/apq8096.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 549 sound/soc/qcom/qdsp6/q6asm-dai.c struct snd_soc_pcm_runtime *rtd = stream->private_data; rtd 550 sound/soc/qcom/qdsp6/q6asm-dai.c struct snd_soc_component *c = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 552 sound/soc/qcom/qdsp6/q6asm-dai.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 611 sound/soc/qcom/qdsp6/q6asm-dai.c struct snd_soc_pcm_runtime *rtd = stream->private_data; rtd 623 sound/soc/qcom/qdsp6/q6asm-dai.c q6routing_stream_close(rtd->dai_link->id, stream->direction); rtd 634 sound/soc/qcom/qdsp6/q6asm-dai.c struct snd_soc_pcm_runtime *rtd = stream->private_data; rtd 635 sound/soc/qcom/qdsp6/q6asm-dai.c struct snd_soc_component *c = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 669 sound/soc/qcom/qdsp6/q6asm-dai.c ret = q6routing_stream_open(rtd->dai_link->id, LEGACY_PCM_MODE, rtd 754 sound/soc/qcom/qdsp6/q6asm-dai.c struct snd_soc_pcm_runtime *rtd = stream->private_data; rtd 755 sound/soc/qcom/qdsp6/q6asm-dai.c struct snd_soc_component *c = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 803 sound/soc/qcom/qdsp6/q6asm-dai.c static int q6asm_dai_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 806 sound/soc/qcom/qdsp6/q6asm-dai.c struct snd_soc_component *c = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 807 sound/soc/qcom/qdsp6/q6asm-dai.c struct snd_pcm *pcm = rtd->pcm; rtd 945 sound/soc/qcom/qdsp6/q6routing.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 946 sound/soc/qcom/qdsp6/q6routing.c struct snd_soc_component *c = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 948 sound/soc/qcom/qdsp6/q6routing.c unsigned int be_id = rtd->cpu_dai->id; rtd 42 sound/soc/qcom/sdm845.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 43 sound/soc/qcom/sdm845.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 52 sound/soc/qcom/sdm845.c dev_err(rtd->dev, "%s: invalid param format 0x%x\n", rtd 62 sound/soc/qcom/sdm845.c dev_err(rtd->dev, "%s: failed to set tdm slot, err:%d\n", rtd 70 sound/soc/qcom/sdm845.c dev_err(rtd->dev, "%s: failed to set channel map, err:%d\n", rtd 78 sound/soc/qcom/sdm845.c dev_err(rtd->dev, "%s: failed to set tdm slot, err:%d\n", rtd 86 sound/soc/qcom/sdm845.c dev_err(rtd->dev, "%s: failed to set channel map, err:%d\n", rtd 92 sound/soc/qcom/sdm845.c for (j = 0; j < rtd->num_codecs; j++) { rtd 93 sound/soc/qcom/sdm845.c struct snd_soc_dai *codec_dai = rtd->codec_dais[j]; rtd 101 sound/soc/qcom/sdm845.c dev_err(rtd->dev, rtd 113 sound/soc/qcom/sdm845.c dev_err(rtd->dev, rtd 127 sound/soc/qcom/sdm845.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 128 sound/soc/qcom/sdm845.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 129 sound/soc/qcom/sdm845.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 147 sound/soc/qcom/sdm845.c dev_err(rtd->dev, rtd 168 sound/soc/qcom/sdm845.c static int sdm845_dai_init(struct snd_soc_pcm_runtime *rtd) rtd 171 sound/soc/qcom/sdm845.c struct snd_soc_card *card = rtd->card; rtd 172 sound/soc/qcom/sdm845.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 173 sound/soc/qcom/sdm845.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 226 sound/soc/qcom/sdm845.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 227 sound/soc/qcom/sdm845.c struct snd_soc_card *card = rtd->card; rtd 229 sound/soc/qcom/sdm845.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 230 sound/soc/qcom/sdm845.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 271 sound/soc/qcom/sdm845.c for (j = 0; j < rtd->num_codecs; j++) { rtd 272 sound/soc/qcom/sdm845.c codec_dai = rtd->codec_dais[j]; rtd 279 sound/soc/qcom/sdm845.c dev_err(rtd->dev, rtd 290 sound/soc/qcom/sdm845.c dev_err(rtd->dev, rtd 307 sound/soc/qcom/sdm845.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 308 sound/soc/qcom/sdm845.c struct snd_soc_card *card = rtd->card; rtd 310 sound/soc/qcom/sdm845.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 354 sound/soc/qcom/sdm845.c static int sdm845_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, rtd 69 sound/soc/rockchip/rk3288_hdmi_analog.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 70 sound/soc/rockchip/rk3288_hdmi_analog.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 71 sound/soc/rockchip/rk3288_hdmi_analog.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 54 sound/soc/rockchip/rk3399_gru_sound.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 60 sound/soc/rockchip/rk3399_gru_sound.c ret = snd_soc_dai_set_sysclk(rtd->cpu_dai, 0, mclk, 0); rtd 62 sound/soc/rockchip/rk3399_gru_sound.c dev_err(rtd->card->dev, "%s() error setting sysclk to %u: %d\n", rtd 73 sound/soc/rockchip/rk3399_gru_sound.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 74 sound/soc/rockchip/rk3399_gru_sound.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 75 sound/soc/rockchip/rk3399_gru_sound.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 84 sound/soc/rockchip/rk3399_gru_sound.c dev_err(rtd->card->dev, "Can't set cpu clock out %d\n", ret); rtd 91 sound/soc/rockchip/rk3399_gru_sound.c dev_err(rtd->card->dev, "%s() error setting sysclk to %u: %d\n", rtd 105 sound/soc/rockchip/rk3399_gru_sound.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 106 sound/soc/rockchip/rk3399_gru_sound.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 107 sound/soc/rockchip/rk3399_gru_sound.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 154 sound/soc/rockchip/rk3399_gru_sound.c static int rockchip_sound_da7219_init(struct snd_soc_pcm_runtime *rtd) rtd 156 sound/soc/rockchip/rk3399_gru_sound.c struct snd_soc_component *component = rtd->codec_dais[0]->component; rtd 157 sound/soc/rockchip/rk3399_gru_sound.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 175 sound/soc/rockchip/rk3399_gru_sound.c ret = snd_soc_card_jack_new(rtd->card, "Headset Jack", rtd 182 sound/soc/rockchip/rk3399_gru_sound.c dev_err(rtd->card->dev, "New Headset Jack failed! (%d)\n", ret); rtd 203 sound/soc/rockchip/rk3399_gru_sound.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 209 sound/soc/rockchip/rk3399_gru_sound.c ret = snd_soc_dai_set_sysclk(rtd->cpu_dai, 0, mclk, 0); rtd 211 sound/soc/rockchip/rk3399_gru_sound.c dev_err(rtd->card->dev, "%s() error setting sysclk to %u: %d\n", rtd 275 sound/soc/rockchip/rockchip_i2s.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 376 sound/soc/rockchip/rockchip_i2s.c if (dai->driver->symmetric_rates && rtd->dai_link->symmetric_rates) rtd 101 sound/soc/rockchip/rockchip_max98090.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 102 sound/soc/rockchip/rockchip_max98090.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 103 sound/soc/rockchip/rockchip_max98090.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 58 sound/soc/rockchip/rockchip_rt5645.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 59 sound/soc/rockchip/rockchip_rt5645.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 60 sound/soc/rockchip/rockchip_rt5645.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 22 sound/soc/samsung/arndale_rt5631.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 23 sound/soc/samsung/arndale_rt5631.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 24 sound/soc/samsung/arndale_rt5631.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 56 sound/soc/samsung/bells.c struct snd_soc_pcm_runtime *rtd; rtd 62 sound/soc/samsung/bells.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[DAI_DSP_CODEC].name); rtd 63 sound/soc/samsung/bells.c codec_dai = rtd->codec_dai; rtd 102 sound/soc/samsung/bells.c struct snd_soc_pcm_runtime *rtd; rtd 108 sound/soc/samsung/bells.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[DAI_DSP_CODEC].name); rtd 109 sound/soc/samsung/bells.c codec_dai = rtd->codec_dai; rtd 145 sound/soc/samsung/bells.c struct snd_soc_pcm_runtime *rtd; rtd 154 sound/soc/samsung/bells.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[DAI_AP_DSP].name); rtd 155 sound/soc/samsung/bells.c wm0010 = rtd->codec_dai->component; rtd 157 sound/soc/samsung/bells.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[DAI_DSP_CODEC].name); rtd 158 sound/soc/samsung/bells.c component = rtd->codec_dai->component; rtd 159 sound/soc/samsung/bells.c aif1_dai = rtd->codec_dai; rtd 197 sound/soc/samsung/bells.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[DAI_CODEC_CP].name); rtd 198 sound/soc/samsung/bells.c aif2_dai = rtd->cpu_dai; rtd 209 sound/soc/samsung/bells.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[DAI_CODEC_SUB].name); rtd 210 sound/soc/samsung/bells.c aif3_dai = rtd->cpu_dai; rtd 211 sound/soc/samsung/bells.c wm9081_dai = rtd->codec_dai; rtd 70 sound/soc/samsung/h1940_uda1380.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 71 sound/soc/samsung/h1940_uda1380.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 85 sound/soc/samsung/h1940_uda1380.c dev_err(rtd->dev, "%s: rate %d is not supported\n", rtd 156 sound/soc/samsung/h1940_uda1380.c static int h1940_uda1380_init(struct snd_soc_pcm_runtime *rtd) rtd 158 sound/soc/samsung/h1940_uda1380.c snd_soc_card_jack_new(rtd->card, "Headphone Jack", SND_JACK_HEADPHONE, rtd 934 sound/soc/samsung/i2s.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 935 sound/soc/samsung/i2s.c struct i2s_dai *i2s = to_info(rtd->cpu_dai); rtd 370 sound/soc/samsung/idma.c static int idma_new(struct snd_soc_pcm_runtime *rtd) rtd 372 sound/soc/samsung/idma.c struct snd_card *card = rtd->card->snd_card; rtd 373 sound/soc/samsung/idma.c struct snd_pcm *pcm = rtd->pcm; rtd 35 sound/soc/samsung/jive_wm8750.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 36 sound/soc/samsung/jive_wm8750.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 37 sound/soc/samsung/jive_wm8750.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 21 sound/soc/samsung/littlemill.c struct snd_soc_pcm_runtime *rtd; rtd 25 sound/soc/samsung/littlemill.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[0].name); rtd 26 sound/soc/samsung/littlemill.c aif1_dai = rtd->codec_dai; rtd 68 sound/soc/samsung/littlemill.c struct snd_soc_pcm_runtime *rtd; rtd 72 sound/soc/samsung/littlemill.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[0].name); rtd 73 sound/soc/samsung/littlemill.c aif1_dai = rtd->codec_dai; rtd 107 sound/soc/samsung/littlemill.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 108 sound/soc/samsung/littlemill.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 179 sound/soc/samsung/littlemill.c struct snd_soc_pcm_runtime *rtd; rtd 183 sound/soc/samsung/littlemill.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[1].name); rtd 184 sound/soc/samsung/littlemill.c aif2_dai = rtd->cpu_dai; rtd 260 sound/soc/samsung/littlemill.c struct snd_soc_pcm_runtime *rtd; rtd 266 sound/soc/samsung/littlemill.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[0].name); rtd 267 sound/soc/samsung/littlemill.c component = rtd->codec_dai->component; rtd 268 sound/soc/samsung/littlemill.c aif1_dai = rtd->codec_dai; rtd 270 sound/soc/samsung/littlemill.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[1].name); rtd 271 sound/soc/samsung/littlemill.c aif2_dai = rtd->cpu_dai; rtd 33 sound/soc/samsung/lowland.c static int lowland_wm5100_init(struct snd_soc_pcm_runtime *rtd) rtd 35 sound/soc/samsung/lowland.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 54 sound/soc/samsung/lowland.c ret = snd_soc_card_jack_new(rtd->card, "Headset", SND_JACK_LINEOUT | rtd 66 sound/soc/samsung/lowland.c static int lowland_wm9081_init(struct snd_soc_pcm_runtime *rtd) rtd 68 sound/soc/samsung/lowland.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 70 sound/soc/samsung/lowland.c snd_soc_dapm_nc_pin(&rtd->card->dapm, "LINEOUT"); rtd 28 sound/soc/samsung/neo1973_wm8753.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 29 sound/soc/samsung/neo1973_wm8753.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 30 sound/soc/samsung/neo1973_wm8753.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 102 sound/soc/samsung/neo1973_wm8753.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 103 sound/soc/samsung/neo1973_wm8753.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 120 sound/soc/samsung/neo1973_wm8753.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 121 sound/soc/samsung/neo1973_wm8753.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 157 sound/soc/samsung/neo1973_wm8753.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 158 sound/soc/samsung/neo1973_wm8753.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 246 sound/soc/samsung/neo1973_wm8753.c static int neo1973_wm8753_init(struct snd_soc_pcm_runtime *rtd) rtd 248 sound/soc/samsung/neo1973_wm8753.c struct snd_soc_card *card = rtd->card; rtd 38 sound/soc/samsung/odroid.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 39 sound/soc/samsung/odroid.c struct odroid_priv *priv = snd_soc_card_get_drvdata(rtd->card); rtd 59 sound/soc/samsung/odroid.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 60 sound/soc/samsung/odroid.c struct odroid_priv *priv = snd_soc_card_get_drvdata(rtd->card); rtd 100 sound/soc/samsung/odroid.c if (rtd->num_codecs > 1) { rtd 101 sound/soc/samsung/odroid.c struct snd_soc_dai *codec_dai = rtd->codec_dais[1]; rtd 118 sound/soc/samsung/odroid.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 119 sound/soc/samsung/odroid.c struct odroid_priv *priv = snd_soc_card_get_drvdata(rtd->card); rtd 214 sound/soc/samsung/pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 215 sound/soc/samsung/pcm.c struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 258 sound/soc/samsung/pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 259 sound/soc/samsung/pcm.c struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 27 sound/soc/samsung/rx1950_uda1380.c static int rx1950_uda1380_init(struct snd_soc_pcm_runtime *rtd); rtd 151 sound/soc/samsung/rx1950_uda1380.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 152 sound/soc/samsung/rx1950_uda1380.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 206 sound/soc/samsung/rx1950_uda1380.c static int rx1950_uda1380_init(struct snd_soc_pcm_runtime *rtd) rtd 208 sound/soc/samsung/rx1950_uda1380.c snd_soc_card_jack_new(rtd->card, "Headphone Jack", SND_JACK_HEADPHONE, rtd 382 sound/soc/samsung/s3c-i2s-v2.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 383 sound/soc/samsung/s3c-i2s-v2.c struct s3c_i2sv2_info *i2s = to_info(rtd->cpu_dai); rtd 130 sound/soc/samsung/s3c24xx_simtec.c void simtec_audio_init(struct snd_soc_pcm_runtime *rtd) rtd 132 sound/soc/samsung/s3c24xx_simtec.c struct snd_soc_card *card = rtd->card; rtd 162 sound/soc/samsung/s3c24xx_simtec.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 163 sound/soc/samsung/s3c24xx_simtec.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 164 sound/soc/samsung/s3c24xx_simtec.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 6 sound/soc/samsung/s3c24xx_simtec.h extern void simtec_audio_init(struct snd_soc_pcm_runtime *rtd); rtd 59 sound/soc/samsung/s3c24xx_simtec_hermes.c static int simtec_hermes_init(struct snd_soc_pcm_runtime *rtd) rtd 61 sound/soc/samsung/s3c24xx_simtec_hermes.c simtec_audio_init(rtd); rtd 48 sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c static int simtec_tlv320aic23_init(struct snd_soc_pcm_runtime *rtd) rtd 50 sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c simtec_audio_init(rtd); rtd 52 sound/soc/samsung/s3c24xx_uda134x.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 53 sound/soc/samsung/s3c24xx_uda134x.c struct s3c24xx_uda134x *priv = snd_soc_card_get_drvdata(rtd->card); rtd 54 sound/soc/samsung/s3c24xx_uda134x.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 60 sound/soc/samsung/s3c24xx_uda134x.c priv->xtal = clk_get(rtd->dev, "xtal"); rtd 62 sound/soc/samsung/s3c24xx_uda134x.c dev_err(rtd->dev, "%s cannot get xtal\n", __func__); rtd 67 sound/soc/samsung/s3c24xx_uda134x.c dev_err(rtd->dev, "%s cannot get pclk\n", rtd 95 sound/soc/samsung/s3c24xx_uda134x.c dev_err(rtd->dev, "%s cannot set constraints\n", rtd 104 sound/soc/samsung/s3c24xx_uda134x.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 105 sound/soc/samsung/s3c24xx_uda134x.c struct s3c24xx_uda134x *priv = snd_soc_card_get_drvdata(rtd->card); rtd 121 sound/soc/samsung/s3c24xx_uda134x.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 122 sound/soc/samsung/s3c24xx_uda134x.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 123 sound/soc/samsung/s3c24xx_uda134x.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 155 sound/soc/samsung/s3c24xx_uda134x.c dev_dbg(rtd->dev, "%s desired rate %lu, %d\n", __func__, rate, bi); rtd 159 sound/soc/samsung/s3c24xx_uda134x.c dev_dbg(rtd->dev, "%s will use: %s %s %d sysclk %d err %ld\n", __func__, rtd 165 sound/soc/samsung/s3c24xx_uda134x.c dev_err(rtd->dev, "effective frequency too different " rtd 27 sound/soc/samsung/smartq_wm8987.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 28 sound/soc/samsung/smartq_wm8987.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 29 sound/soc/samsung/smartq_wm8987.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 130 sound/soc/samsung/smartq_wm8987.c static int smartq_wm8987_init(struct snd_soc_pcm_runtime *rtd) rtd 132 sound/soc/samsung/smartq_wm8987.c struct snd_soc_dapm_context *dapm = &rtd->card->dapm; rtd 142 sound/soc/samsung/smartq_wm8987.c err = snd_soc_card_jack_new(rtd->card, "Headphone Jack", rtd 103 sound/soc/samsung/smdk_spdif.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 104 sound/soc/samsung/smdk_spdif.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 25 sound/soc/samsung/smdk_wm8580.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 26 sound/soc/samsung/smdk_wm8580.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 125 sound/soc/samsung/smdk_wm8580.c static int smdk_wm8580_init_paiftx(struct snd_soc_pcm_runtime *rtd) rtd 130 sound/soc/samsung/smdk_wm8580.c snd_soc_dapm_disable_pin(&rtd->card->dapm, "MicIn"); rtd 47 sound/soc/samsung/smdk_wm8994.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 48 sound/soc/samsung/smdk_wm8994.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 80 sound/soc/samsung/smdk_wm8994.c static int smdk_wm8994_init_paiftx(struct snd_soc_pcm_runtime *rtd) rtd 82 sound/soc/samsung/smdk_wm8994.c struct snd_soc_dapm_context *dapm = &rtd->card->dapm; rtd 46 sound/soc/samsung/smdk_wm8994pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 47 sound/soc/samsung/smdk_wm8994pcm.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 48 sound/soc/samsung/smdk_wm8994pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 33 sound/soc/samsung/snow.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 34 sound/soc/samsung/snow.c struct snow_priv *priv = snd_soc_card_get_drvdata(rtd->card); rtd 42 sound/soc/samsung/snow.c dev_err(rtd->card->dev, "Invalid bit-width: %d\n", bitwidth); rtd 47 sound/soc/samsung/snow.c dev_err(rtd->card->dev, "Unsupported bit-width: %d\n", bitwidth); rtd 87 sound/soc/samsung/snow.c dev_err(rtd->card->dev, "Unsupported RCLK rate: %lu\n", rclk); rtd 93 sound/soc/samsung/snow.c dev_err(rtd->card->dev, "I2S bus clock rate set failed\n"); rtd 106 sound/soc/samsung/snow.c struct snd_soc_pcm_runtime *rtd; rtd 109 sound/soc/samsung/snow.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[0].name); rtd 112 sound/soc/samsung/snow.c if (rtd->num_codecs > 1) rtd 113 sound/soc/samsung/snow.c codec_dai = rtd->codec_dais[0]; rtd 115 sound/soc/samsung/snow.c codec_dai = rtd->codec_dai; rtd 138 sound/soc/samsung/spdif.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 139 sound/soc/samsung/spdif.c struct samsung_spdif_info *spdif = to_info(rtd->cpu_dai); rtd 174 sound/soc/samsung/spdif.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 175 sound/soc/samsung/spdif.c struct samsung_spdif_info *spdif = to_info(rtd->cpu_dai); rtd 191 sound/soc/samsung/spdif.c snd_soc_dai_set_dma_data(rtd->cpu_dai, substream, dma_data); rtd 276 sound/soc/samsung/spdif.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 277 sound/soc/samsung/spdif.c struct samsung_spdif_info *spdif = to_info(rtd->cpu_dai); rtd 23 sound/soc/samsung/speyside.c struct snd_soc_pcm_runtime *rtd; rtd 27 sound/soc/samsung/speyside.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[1].name); rtd 28 sound/soc/samsung/speyside.c codec_dai = rtd->codec_dai; rtd 59 sound/soc/samsung/speyside.c struct snd_soc_pcm_runtime *rtd; rtd 63 sound/soc/samsung/speyside.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[1].name); rtd 64 sound/soc/samsung/speyside.c codec_dai = rtd->codec_dai; rtd 132 sound/soc/samsung/speyside.c static int speyside_wm0010_init(struct snd_soc_pcm_runtime *rtd) rtd 134 sound/soc/samsung/speyside.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 144 sound/soc/samsung/speyside.c static int speyside_wm8996_init(struct snd_soc_pcm_runtime *rtd) rtd 146 sound/soc/samsung/speyside.c struct snd_soc_dai *dai = rtd->codec_dai; rtd 159 sound/soc/samsung/speyside.c ret = snd_soc_card_jack_new(rtd->card, "Headset", SND_JACK_LINEOUT | rtd 95 sound/soc/samsung/tm2_wm5110.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 96 sound/soc/samsung/tm2_wm5110.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 97 sound/soc/samsung/tm2_wm5110.c struct tm2_machine_priv *priv = snd_soc_card_get_drvdata(rtd->card); rtd 126 sound/soc/samsung/tm2_wm5110.c return tm2_start_sysclk(rtd->card); rtd 136 sound/soc/samsung/tm2_wm5110.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 137 sound/soc/samsung/tm2_wm5110.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 190 sound/soc/samsung/tm2_wm5110.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 191 sound/soc/samsung/tm2_wm5110.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 211 sound/soc/samsung/tm2_wm5110.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 212 sound/soc/samsung/tm2_wm5110.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 218 sound/soc/samsung/tm2_wm5110.c dev_err(rtd->card->dev, "Invalid bit-width: %d\n", bitwidth); rtd 230 sound/soc/samsung/tm2_wm5110.c dev_err(rtd->card->dev, "Unsupported bit-width: %d\n", bitwidth); rtd 240 sound/soc/samsung/tm2_wm5110.c dev_err(rtd->card->dev, "Unsupported sample rate: %d\n", rtd 283 sound/soc/samsung/tm2_wm5110.c struct snd_soc_pcm_runtime *rtd; rtd 285 sound/soc/samsung/tm2_wm5110.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[0].name); rtd 287 sound/soc/samsung/tm2_wm5110.c if (dapm->dev != rtd->codec_dai->dev) rtd 312 sound/soc/samsung/tm2_wm5110.c struct snd_soc_pcm_runtime *rtd; rtd 317 sound/soc/samsung/tm2_wm5110.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[TM2_DAI_AIF1].name); rtd 318 sound/soc/samsung/tm2_wm5110.c aif1_dai = rtd->codec_dai; rtd 319 sound/soc/samsung/tm2_wm5110.c priv->component = rtd->codec_dai->component; rtd 327 sound/soc/samsung/tm2_wm5110.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[TM2_DAI_AIF2].name); rtd 328 sound/soc/samsung/tm2_wm5110.c aif2_dai = rtd->codec_dai; rtd 21 sound/soc/samsung/tobermory.c struct snd_soc_pcm_runtime *rtd; rtd 25 sound/soc/samsung/tobermory.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[0].name); rtd 26 sound/soc/samsung/tobermory.c codec_dai = rtd->codec_dai; rtd 64 sound/soc/samsung/tobermory.c struct snd_soc_pcm_runtime *rtd; rtd 68 sound/soc/samsung/tobermory.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[0].name); rtd 69 sound/soc/samsung/tobermory.c codec_dai = rtd->codec_dai; rtd 178 sound/soc/samsung/tobermory.c struct snd_soc_pcm_runtime *rtd; rtd 183 sound/soc/samsung/tobermory.c rtd = snd_soc_get_pcm_runtime(card, card->dai_link[0].name); rtd 184 sound/soc/samsung/tobermory.c component = rtd->codec_dai->component; rtd 185 sound/soc/samsung/tobermory.c codec_dai = rtd->codec_dai; rtd 120 sound/soc/sh/dma-sh7760.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 121 sound/soc/sh/dma-sh7760.c struct camelot_pcm *cam = &cam_pcm_data[rtd->cpu_dai->id]; rtd 134 sound/soc/sh/dma-sh7760.c rtd->cpu_dai->id); rtd 143 sound/soc/sh/dma-sh7760.c rtd->cpu_dai->id); rtd 153 sound/soc/sh/dma-sh7760.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 154 sound/soc/sh/dma-sh7760.c struct camelot_pcm *cam = &cam_pcm_data[rtd->cpu_dai->id]; rtd 174 sound/soc/sh/dma-sh7760.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 175 sound/soc/sh/dma-sh7760.c struct camelot_pcm *cam = &cam_pcm_data[rtd->cpu_dai->id]; rtd 202 sound/soc/sh/dma-sh7760.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 203 sound/soc/sh/dma-sh7760.c struct camelot_pcm *cam = &cam_pcm_data[rtd->cpu_dai->id]; rtd 249 sound/soc/sh/dma-sh7760.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 250 sound/soc/sh/dma-sh7760.c struct camelot_pcm *cam = &cam_pcm_data[rtd->cpu_dai->id]; rtd 276 sound/soc/sh/dma-sh7760.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 277 sound/soc/sh/dma-sh7760.c struct camelot_pcm *cam = &cam_pcm_data[rtd->cpu_dai->id]; rtd 306 sound/soc/sh/dma-sh7760.c static int camelot_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 308 sound/soc/sh/dma-sh7760.c struct snd_pcm *pcm = rtd->pcm; rtd 409 sound/soc/sh/fsi.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 411 sound/soc/sh/fsi.c return rtd->cpu_dai; rtd 1769 sound/soc/sh/fsi.c static int fsi_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 1772 sound/soc/sh/fsi.c rtd->pcm, rtd 1774 sound/soc/sh/fsi.c rtd->card->snd_card->dev, rtd 48 sound/soc/sh/migor.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 49 sound/soc/sh/migor.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 70 sound/soc/sh/migor.c ret = snd_soc_dai_set_sysclk(rtd->cpu_dai, SIU_CLKB_EXT, rtd 81 sound/soc/sh/migor.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 82 sound/soc/sh/migor.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 702 sound/soc/sh/rcar/core.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 704 sound/soc/sh/rcar/core.c return rtd->cpu_dai; rtd 1200 sound/soc/sh/rcar/core.c static int rsnd_preallocate_pages(struct snd_soc_pcm_runtime *rtd, rtd 1216 sound/soc/sh/rcar/core.c for (substream = rtd->pcm->streams[stream].substream; rtd 1228 sound/soc/sh/rcar/core.c static int rsnd_pcm_new(struct snd_soc_pcm_runtime *rtd, rtd 1234 sound/soc/sh/rcar/core.c ret = rsnd_dai_call(pcm_new, &rdai->playback, rtd); rtd 1238 sound/soc/sh/rcar/core.c ret = rsnd_dai_call(pcm_new, &rdai->capture, rtd); rtd 1242 sound/soc/sh/rcar/core.c ret = rsnd_preallocate_pages(rtd, &rdai->playback, rtd 1247 sound/soc/sh/rcar/core.c ret = rsnd_preallocate_pages(rtd, &rdai->capture, rtd 1605 sound/soc/sh/rcar/core.c struct snd_soc_pcm_runtime *rtd, rtd 1615 sound/soc/sh/rcar/core.c struct snd_card *card = rtd->card->snd_card; rtd 1621 sound/soc/sh/rcar/core.c .index = rtd->num, rtd 196 sound/soc/sh/rcar/ctu.c struct snd_soc_pcm_runtime *rtd) rtd 205 sound/soc/sh/rcar/ctu.c ret = rsnd_kctrl_new_m(mod, io, rtd, "CTU Pass", rtd 212 sound/soc/sh/rcar/ctu.c ret = rsnd_kctrl_new_m(mod, io, rtd, "CTU SV0", rtd 221 sound/soc/sh/rcar/ctu.c ret = rsnd_kctrl_new_m(mod, io, rtd, "CTU SV1", rtd 230 sound/soc/sh/rcar/ctu.c ret = rsnd_kctrl_new_m(mod, io, rtd, "CTU SV2", rtd 239 sound/soc/sh/rcar/ctu.c ret = rsnd_kctrl_new_m(mod, io, rtd, "CTU SV3", rtd 248 sound/soc/sh/rcar/ctu.c ret = rsnd_kctrl_new_s(mod, io, rtd, "CTU Reset", rtd 213 sound/soc/sh/rcar/dvc.c struct snd_soc_pcm_runtime *rtd) rtd 222 sound/soc/sh/rcar/dvc.c ret = rsnd_kctrl_new_m(mod, io, rtd, rtd 233 sound/soc/sh/rcar/dvc.c ret = rsnd_kctrl_new_m(mod, io, rtd, rtd 244 sound/soc/sh/rcar/dvc.c ret = rsnd_kctrl_new_s(mod, io, rtd, rtd 253 sound/soc/sh/rcar/dvc.c ret = rsnd_kctrl_new_e(mod, io, rtd, rtd 264 sound/soc/sh/rcar/dvc.c ret = rsnd_kctrl_new_e(mod, io, rtd, rtd 173 sound/soc/sh/rcar/mix.c struct snd_soc_pcm_runtime *rtd) rtd 209 sound/soc/sh/rcar/mix.c ret = rsnd_kctrl_new_s(mod, io, rtd, rtd 222 sound/soc/sh/rcar/mix.c ret = rsnd_kctrl_new_s(mod, io, rtd, rtd 230 sound/soc/sh/rcar/mix.c ret = rsnd_kctrl_new_e(mod, io, rtd, rtd 240 sound/soc/sh/rcar/mix.c ret = rsnd_kctrl_new_e(mod, io, rtd, rtd 313 sound/soc/sh/rcar/rsnd.h struct snd_soc_pcm_runtime *rtd); rtd 736 sound/soc/sh/rcar/rsnd.h struct snd_soc_pcm_runtime *rtd, rtd 746 sound/soc/sh/rcar/rsnd.h #define rsnd_kctrl_new_m(mod, io, rtd, name, accept, update, cfg, size, max) \ rtd 747 sound/soc/sh/rcar/rsnd.h rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_m(cfg), \ rtd 750 sound/soc/sh/rcar/rsnd.h #define rsnd_kctrl_new_s(mod, io, rtd, name, accept, update, cfg, max) \ rtd 751 sound/soc/sh/rcar/rsnd.h rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \ rtd 754 sound/soc/sh/rcar/rsnd.h #define rsnd_kctrl_new_e(mod, io, rtd, name, accept, update, cfg, texts, size) \ rtd 755 sound/soc/sh/rcar/rsnd.h rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \ rtd 551 sound/soc/sh/rcar/src.c struct snd_soc_pcm_runtime *rtd) rtd 570 sound/soc/sh/rcar/src.c ret = rsnd_kctrl_new_s(mod, io, rtd, rtd 580 sound/soc/sh/rcar/src.c ret = rsnd_kctrl_new_s(mod, io, rtd, rtd 766 sound/soc/sh/rcar/ssi.c struct snd_soc_pcm_runtime *rtd) rtd 330 sound/soc/sh/siu_pcm.c struct snd_soc_pcm_runtime *rtd = ss->private_data; rtd 331 sound/soc/sh/siu_pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 515 sound/soc/sh/siu_pcm.c static int siu_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 518 sound/soc/sh/siu_pcm.c struct snd_card *card = rtd->card->snd_card; rtd 519 sound/soc/sh/siu_pcm.c struct snd_pcm *pcm = rtd->pcm; rtd 430 sound/soc/soc-component.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 434 sound/soc/soc-component.c for_each_rtdcom(rtd, rtdcom) { rtd 449 sound/soc/soc-component.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 453 sound/soc/soc-component.c for_each_rtdcom(rtd, rtdcom) { rtd 470 sound/soc/soc-component.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 474 sound/soc/soc-component.c for_each_rtdcom(rtd, rtdcom) { rtd 490 sound/soc/soc-component.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 495 sound/soc/soc-component.c for_each_rtdcom(rtd, rtdcom) { rtd 513 sound/soc/soc-component.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 517 sound/soc/soc-component.c for_each_rtdcom(rtd, rtdcom) { rtd 531 sound/soc/soc-component.c struct snd_soc_pcm_runtime *rtd = pcm->private_data; rtd 536 sound/soc/soc-component.c for_each_rtdcom(rtd, rtdcom) { rtd 540 sound/soc/soc-component.c ret = component->driver->pcm_new(rtd); rtd 551 sound/soc/soc-component.c struct snd_soc_pcm_runtime *rtd = pcm->private_data; rtd 555 sound/soc/soc-component.c for_each_rtdcom(rtd, rtdcom) { rtd 26 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 31 sound/soc/soc-compress.c for_each_rtdcom(rtd, rtdcom) { rtd 56 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 60 sound/soc/soc-compress.c for_each_rtdcom(rtd, rtdcom) { rtd 78 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 80 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 83 sound/soc/soc-compress.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 99 sound/soc/soc-compress.c if (rtd->dai_link->compr_ops && rtd->dai_link->compr_ops->startup) { rtd 100 sound/soc/soc-compress.c ret = rtd->dai_link->compr_ops->startup(cstream); rtd 102 sound/soc/soc-compress.c dev_err(rtd->dev, rtd 104 sound/soc/soc-compress.c rtd->dai_link->name, ret); rtd 109 sound/soc/soc-compress.c snd_soc_runtime_activate(rtd, cstream->direction); rtd 111 sound/soc/soc-compress.c mutex_unlock(&rtd->card->pcm_mutex); rtd 121 sound/soc/soc-compress.c mutex_unlock(&rtd->card->pcm_mutex); rtd 223 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = rtd 225 sound/soc/soc-compress.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 227 sound/soc/soc-compress.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 229 sound/soc/soc-compress.c dev_dbg(rtd->dev, rtd 233 sound/soc/soc-compress.c rtd->pop_wait ? "yes" : "no"); rtd 236 sound/soc/soc-compress.c if (rtd->pop_wait == 1) { rtd 237 sound/soc/soc-compress.c rtd->pop_wait = 0; rtd 238 sound/soc/soc-compress.c snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_PLAYBACK, rtd 242 sound/soc/soc-compress.c mutex_unlock(&rtd->card->pcm_mutex); rtd 247 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 248 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 249 sound/soc/soc-compress.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 252 sound/soc/soc-compress.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 259 sound/soc/soc-compress.c snd_soc_runtime_deactivate(rtd, stream); rtd 269 sound/soc/soc-compress.c if (rtd->dai_link->compr_ops && rtd->dai_link->compr_ops->shutdown) rtd 270 sound/soc/soc-compress.c rtd->dai_link->compr_ops->shutdown(cstream); rtd 278 sound/soc/soc-compress.c if (snd_soc_runtime_ignore_pmdown_time(rtd)) { rtd 279 sound/soc/soc-compress.c snd_soc_dapm_stream_event(rtd, rtd 283 sound/soc/soc-compress.c rtd->pop_wait = 1; rtd 285 sound/soc/soc-compress.c &rtd->delayed_work, rtd 286 sound/soc/soc-compress.c msecs_to_jiffies(rtd->pmdown_time)); rtd 290 sound/soc/soc-compress.c snd_soc_dapm_stream_event(rtd, rtd 295 sound/soc/soc-compress.c mutex_unlock(&rtd->card->pcm_mutex); rtd 351 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 356 sound/soc/soc-compress.c for_each_rtdcom(rtd, rtdcom) { rtd 373 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 374 sound/soc/soc-compress.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 375 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 378 sound/soc/soc-compress.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 397 sound/soc/soc-compress.c mutex_unlock(&rtd->card->pcm_mutex); rtd 456 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 461 sound/soc/soc-compress.c for_each_rtdcom(rtd, rtdcom) { rtd 479 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 480 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 483 sound/soc/soc-compress.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 502 sound/soc/soc-compress.c if (rtd->dai_link->compr_ops && rtd->dai_link->compr_ops->set_params) { rtd 503 sound/soc/soc-compress.c ret = rtd->dai_link->compr_ops->set_params(cstream); rtd 509 sound/soc/soc-compress.c snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_PLAYBACK, rtd 512 sound/soc/soc-compress.c snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_CAPTURE, rtd 516 sound/soc/soc-compress.c rtd->pop_wait = 0; rtd 517 sound/soc/soc-compress.c mutex_unlock(&rtd->card->pcm_mutex); rtd 519 sound/soc/soc-compress.c cancel_delayed_work_sync(&rtd->delayed_work); rtd 524 sound/soc/soc-compress.c mutex_unlock(&rtd->card->pcm_mutex); rtd 590 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 593 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 596 sound/soc/soc-compress.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 604 sound/soc/soc-compress.c for_each_rtdcom(rtd, rtdcom) { rtd 616 sound/soc/soc-compress.c mutex_unlock(&rtd->card->pcm_mutex); rtd 623 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 628 sound/soc/soc-compress.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 630 sound/soc/soc-compress.c for_each_rtdcom(rtd, rtdcom) { rtd 641 sound/soc/soc-compress.c mutex_unlock(&rtd->card->pcm_mutex); rtd 648 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 653 sound/soc/soc-compress.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 655 sound/soc/soc-compress.c for_each_rtdcom(rtd, rtdcom) { rtd 667 sound/soc/soc-compress.c mutex_unlock(&rtd->card->pcm_mutex); rtd 673 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 676 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 679 sound/soc/soc-compress.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 687 sound/soc/soc-compress.c for_each_rtdcom(rtd, rtdcom) { rtd 700 sound/soc/soc-compress.c mutex_unlock(&rtd->card->pcm_mutex); rtd 707 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 711 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 713 sound/soc/soc-compress.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 718 sound/soc/soc-compress.c for_each_rtdcom(rtd, rtdcom) { rtd 729 sound/soc/soc-compress.c mutex_unlock(&rtd->card->pcm_mutex); rtd 736 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 741 sound/soc/soc-compress.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 743 sound/soc/soc-compress.c for_each_rtdcom(rtd, rtdcom) { rtd 754 sound/soc/soc-compress.c mutex_unlock(&rtd->card->pcm_mutex); rtd 761 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 764 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 773 sound/soc/soc-compress.c for_each_rtdcom(rtd, rtdcom) { rtd 792 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 795 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 804 sound/soc/soc-compress.c for_each_rtdcom(rtd, rtdcom) { rtd 856 sound/soc/soc-compress.c int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num) rtd 860 sound/soc/soc-compress.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 861 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 868 sound/soc/soc-compress.c if (rtd->num_codecs > 1) { rtd 869 sound/soc/soc-compress.c dev_err(rtd->card->dev, rtd 887 sound/soc/soc-compress.c dev_err(rtd->card->dev, rtd 898 sound/soc/soc-compress.c compr = devm_kzalloc(rtd->card->dev, sizeof(*compr), GFP_KERNEL); rtd 902 sound/soc/soc-compress.c compr->ops = devm_kzalloc(rtd->card->dev, sizeof(soc_compr_ops), rtd 907 sound/soc/soc-compress.c if (rtd->dai_link->dynamic) { rtd 909 sound/soc/soc-compress.c rtd->dai_link->stream_name); rtd 911 sound/soc/soc-compress.c ret = snd_pcm_new_internal(rtd->card->snd_card, new_name, num, rtd 912 sound/soc/soc-compress.c rtd->dai_link->dpcm_playback, rtd 913 sound/soc/soc-compress.c rtd->dai_link->dpcm_capture, &be_pcm); rtd 915 sound/soc/soc-compress.c dev_err(rtd->card->dev, rtd 917 sound/soc/soc-compress.c rtd->dai_link->name, ret); rtd 921 sound/soc/soc-compress.c rtd->pcm = be_pcm; rtd 922 sound/soc/soc-compress.c rtd->fe_compr = 1; rtd 923 sound/soc/soc-compress.c if (rtd->dai_link->dpcm_playback) rtd 924 sound/soc/soc-compress.c be_pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->private_data = rtd; rtd 925 sound/soc/soc-compress.c else if (rtd->dai_link->dpcm_capture) rtd 926 sound/soc/soc-compress.c be_pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream->private_data = rtd; rtd 930 sound/soc/soc-compress.c rtd->dai_link->stream_name, codec_dai->name, num); rtd 935 sound/soc/soc-compress.c for_each_rtdcom(rtd, rtdcom) { rtd 947 sound/soc/soc-compress.c ret = snd_compress_new(rtd->card->snd_card, num, direction, rtd 950 sound/soc/soc-compress.c component = rtd->codec_dai->component; rtd 958 sound/soc/soc-compress.c INIT_DELAYED_WORK(&rtd->delayed_work, close_delayed_work); rtd 960 sound/soc/soc-compress.c rtd->compr = compr; rtd 961 sound/soc/soc-compress.c compr->private_data = rtd; rtd 963 sound/soc/soc-compress.c dev_info(rtd->card->dev, "Compress ASoC: %s <-> %s mapping ok\n", rtd 96 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); rtd 98 sound/soc/soc-core.c return sprintf(buf, "%ld\n", rtd->pmdown_time); rtd 105 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); rtd 108 sound/soc/soc-core.c ret = kstrtol(buf, 10, &rtd->pmdown_time); rtd 126 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); rtd 130 sound/soc/soc-core.c return rtd->num_codecs ? attr->mode : 0; /* enabled only with codec */ rtd 277 sound/soc/soc-core.c static int snd_soc_rtdcom_add(struct snd_soc_pcm_runtime *rtd, rtd 282 sound/soc/soc-core.c for_each_rtdcom(rtd, rtdcom) { rtd 295 sound/soc/soc-core.c list_add_tail(&rtdcom->list, &rtd->component_list); rtd 300 sound/soc/soc-core.c static void snd_soc_rtdcom_del_all(struct snd_soc_pcm_runtime *rtd) rtd 304 sound/soc/soc-core.c for_each_rtdcom_safe(rtd, rtdcom1, rtdcom2) rtd 307 sound/soc/soc-core.c INIT_LIST_HEAD(&rtd->component_list); rtd 310 sound/soc/soc-core.c struct snd_soc_component *snd_soc_rtdcom_lookup(struct snd_soc_pcm_runtime *rtd, rtd 326 sound/soc/soc-core.c for_each_rtdcom(rtd, rtdcom) { rtd 344 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 346 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 347 sound/soc/soc-core.c if (rtd->dai_link->no_pcm && rtd 348 sound/soc/soc-core.c !strcmp(rtd->dai_link->name, dai_link)) rtd 349 sound/soc/soc-core.c return rtd->pcm->streams[stream].substream; rtd 361 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 363 sound/soc/soc-core.c rtd = kzalloc(sizeof(struct snd_soc_pcm_runtime), GFP_KERNEL); rtd 364 sound/soc/soc-core.c if (!rtd) rtd 367 sound/soc/soc-core.c INIT_LIST_HEAD(&rtd->component_list); rtd 368 sound/soc/soc-core.c rtd->card = card; rtd 369 sound/soc/soc-core.c rtd->dai_link = dai_link; rtd 370 sound/soc/soc-core.c if (!rtd->dai_link->ops) rtd 371 sound/soc/soc-core.c rtd->dai_link->ops = &null_snd_soc_ops; rtd 373 sound/soc/soc-core.c rtd->codec_dais = kcalloc(dai_link->num_codecs, rtd 376 sound/soc/soc-core.c if (!rtd->codec_dais) { rtd 377 sound/soc/soc-core.c kfree(rtd); rtd 381 sound/soc/soc-core.c return rtd; rtd 384 sound/soc/soc-core.c static void soc_free_pcm_runtime(struct snd_soc_pcm_runtime *rtd) rtd 386 sound/soc/soc-core.c kfree(rtd->codec_dais); rtd 387 sound/soc/soc-core.c snd_soc_rtdcom_del_all(rtd); rtd 388 sound/soc/soc-core.c kfree(rtd); rtd 392 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd) rtd 395 sound/soc/soc-core.c list_add_tail(&rtd->list, &card->rtd_list); rtd 396 sound/soc/soc-core.c rtd->num = card->num_rtd; rtd 402 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd, *_rtd; rtd 404 sound/soc/soc-core.c for_each_card_rtds_safe(card, rtd, _rtd) { rtd 405 sound/soc/soc-core.c list_del(&rtd->list); rtd 406 sound/soc/soc-core.c soc_free_pcm_runtime(rtd); rtd 415 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 417 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 418 sound/soc/soc-core.c if (!strcmp(rtd->dai_link->name, dai_link)) rtd 419 sound/soc/soc-core.c return rtd; rtd 428 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 430 sound/soc/soc-core.c for_each_card_rtds(card, rtd) rtd 431 sound/soc/soc-core.c flush_delayed_work(&rtd->delayed_work); rtd 440 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 457 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 460 sound/soc/soc-core.c if (rtd->dai_link->ignore_suspend) rtd 463 sound/soc/soc-core.c for_each_rtd_codec_dai(rtd, i, dai) { rtd 471 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 472 sound/soc/soc-core.c if (rtd->dai_link->ignore_suspend) rtd 475 sound/soc/soc-core.c snd_pcm_suspend_all(rtd->pcm); rtd 481 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 482 sound/soc/soc-core.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 484 sound/soc/soc-core.c if (rtd->dai_link->ignore_suspend) rtd 494 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 496 sound/soc/soc-core.c if (rtd->dai_link->ignore_suspend) rtd 499 sound/soc/soc-core.c snd_soc_dapm_stream_event(rtd, rtd 503 sound/soc/soc-core.c snd_soc_dapm_stream_event(rtd, rtd 552 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 553 sound/soc/soc-core.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 555 sound/soc/soc-core.c if (rtd->dai_link->ignore_suspend) rtd 581 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 599 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 600 sound/soc/soc-core.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 602 sound/soc/soc-core.c if (rtd->dai_link->ignore_suspend) rtd 614 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 616 sound/soc/soc-core.c if (rtd->dai_link->ignore_suspend) rtd 619 sound/soc/soc-core.c snd_soc_dapm_stream_event(rtd, rtd 623 sound/soc/soc-core.c snd_soc_dapm_stream_event(rtd, rtd 629 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 632 sound/soc/soc-core.c if (rtd->dai_link->ignore_suspend) rtd 635 sound/soc/soc-core.c for_each_rtd_codec_dai(rtd, i, dai) { rtd 642 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 643 sound/soc/soc-core.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 645 sound/soc/soc-core.c if (rtd->dai_link->ignore_suspend) rtd 670 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 679 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 680 sound/soc/soc-core.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 685 sound/soc/soc-core.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 697 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 698 sound/soc/soc-core.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 865 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 867 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 868 sound/soc/soc-core.c if (rtd->dai_link == dai_link) rtd 878 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 894 sound/soc/soc-core.c rtd = soc_new_pcm_runtime(card, dai_link); rtd 895 sound/soc/soc-core.c if (!rtd) rtd 899 sound/soc/soc-core.c rtd->cpu_dai = snd_soc_find_dai(dai_link->cpus); rtd 900 sound/soc/soc-core.c if (!rtd->cpu_dai) { rtd 905 sound/soc/soc-core.c snd_soc_rtdcom_add(rtd, rtd->cpu_dai->component); rtd 908 sound/soc/soc-core.c rtd->num_codecs = dai_link->num_codecs; rtd 910 sound/soc/soc-core.c rtd->codec_dais[i] = snd_soc_find_dai(codec); rtd 911 sound/soc/soc-core.c if (!rtd->codec_dais[i]) { rtd 917 sound/soc/soc-core.c snd_soc_rtdcom_add(rtd, rtd->codec_dais[i]->component); rtd 921 sound/soc/soc-core.c rtd->codec_dai = rtd->codec_dais[0]; rtd 929 sound/soc/soc-core.c snd_soc_rtdcom_add(rtd, component); rtd 933 sound/soc/soc-core.c soc_add_pcm_runtime(card, rtd); rtd 937 sound/soc/soc-core.c soc_free_pcm_runtime(rtd); rtd 1139 sound/soc/soc-core.c static void soc_rtd_free(struct snd_soc_pcm_runtime *rtd); /* remove me */ rtd 1144 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 1148 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 1151 sound/soc/soc-core.c soc_rtd_free(rtd); rtd 1154 sound/soc/soc-core.c for_each_rtd_codec_dai(rtd, i, codec_dai) rtd 1157 sound/soc/soc-core.c soc_remove_dai(rtd->cpu_dai, order); rtd 1165 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 1169 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 1173 sound/soc/soc-core.c card->name, rtd->num, order); rtd 1175 sound/soc/soc-core.c ret = soc_probe_dai(rtd->cpu_dai, order); rtd 1180 sound/soc/soc-core.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 1194 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 1199 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 1200 sound/soc/soc-core.c for_each_rtdcom(rtd, rtdcom) { rtd 1215 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 1220 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 1221 sound/soc/soc-core.c for_each_rtdcom(rtd, rtdcom) { rtd 1430 sound/soc/soc-core.c static void soc_rtd_free(struct snd_soc_pcm_runtime *rtd) rtd 1432 sound/soc/soc-core.c if (rtd->dev_registered) { rtd 1434 sound/soc/soc-core.c device_unregister(rtd->dev); rtd 1435 sound/soc/soc-core.c rtd->dev_registered = 0; rtd 1444 sound/soc/soc-core.c static int soc_rtd_init(struct snd_soc_pcm_runtime *rtd, const char *name) rtd 1449 sound/soc/soc-core.c rtd->dev = kzalloc(sizeof(struct device), GFP_KERNEL); rtd 1450 sound/soc/soc-core.c if (!rtd->dev) rtd 1452 sound/soc/soc-core.c rtd->dev->parent = rtd->card->dev; rtd 1453 sound/soc/soc-core.c rtd->dev->release = soc_rtd_release; rtd 1454 sound/soc/soc-core.c rtd->dev->groups = soc_dev_attr_groups; rtd 1455 sound/soc/soc-core.c dev_set_name(rtd->dev, "%s", name); rtd 1456 sound/soc/soc-core.c dev_set_drvdata(rtd->dev, rtd); rtd 1457 sound/soc/soc-core.c INIT_LIST_HEAD(&rtd->dpcm[SNDRV_PCM_STREAM_PLAYBACK].be_clients); rtd 1458 sound/soc/soc-core.c INIT_LIST_HEAD(&rtd->dpcm[SNDRV_PCM_STREAM_CAPTURE].be_clients); rtd 1459 sound/soc/soc-core.c INIT_LIST_HEAD(&rtd->dpcm[SNDRV_PCM_STREAM_PLAYBACK].fe_clients); rtd 1460 sound/soc/soc-core.c INIT_LIST_HEAD(&rtd->dpcm[SNDRV_PCM_STREAM_CAPTURE].fe_clients); rtd 1461 sound/soc/soc-core.c ret = device_register(rtd->dev); rtd 1464 sound/soc/soc-core.c put_device(rtd->dev); rtd 1465 sound/soc/soc-core.c dev_err(rtd->card->dev, rtd 1469 sound/soc/soc-core.c rtd->dev_registered = 1; rtd 1474 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd) rtd 1482 sound/soc/soc-core.c ret = drv->pcm_new(rtd, dais[i]); rtd 1495 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd) rtd 1497 sound/soc/soc-core.c struct snd_soc_dai_link *dai_link = rtd->dai_link; rtd 1498 sound/soc/soc-core.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 1504 sound/soc/soc-core.c rtd->pmdown_time = pmdown_time; rtd 1508 sound/soc/soc-core.c ret = dai_link->init(rtd); rtd 1517 sound/soc/soc-core.c ret = snd_soc_runtime_set_dai_fmt(rtd, dai_link->dai_fmt); rtd 1522 sound/soc/soc-core.c ret = soc_rtd_init(rtd, dai_link->name); rtd 1527 sound/soc/soc-core.c soc_dpcm_debugfs_add(rtd); rtd 1529 sound/soc/soc-core.c num = rtd->num; rtd 1536 sound/soc/soc-core.c for_each_rtdcom(rtd, rtdcom) { rtd 1542 sound/soc/soc-core.c if (rtd->dai_link->no_pcm) rtd 1545 sound/soc/soc-core.c num = rtd->dai_link->id; rtd 1549 sound/soc/soc-core.c ret = snd_soc_dai_compress_new(cpu_dai, rtd, num); rtd 1558 sound/soc/soc-core.c ret = soc_new_pcm(rtd, num); rtd 1564 sound/soc/soc-core.c ret = soc_link_dai_pcm_new(&cpu_dai, 1, rtd); rtd 1567 sound/soc/soc-core.c ret = soc_link_dai_pcm_new(rtd->codec_dais, rtd 1568 sound/soc/soc-core.c rtd->num_codecs, rtd); rtd 1650 sound/soc/soc-core.c int snd_soc_runtime_set_dai_fmt(struct snd_soc_pcm_runtime *rtd, rtd 1653 sound/soc/soc-core.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 1658 sound/soc/soc-core.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 1959 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 2067 sound/soc/soc-core.c for_each_card_rtds(card, rtd) rtd 2068 sound/soc/soc-core.c soc_link_init(card, rtd); rtd 2186 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 2200 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 2201 sound/soc/soc-core.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 2206 sound/soc/soc-core.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 2376 sound/soc/soc-core.c struct snd_soc_pcm_runtime *rtd; rtd 2384 sound/soc/soc-core.c for_each_card_rtds(card, rtd) { rtd 2385 sound/soc/soc-core.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 2389 sound/soc/soc-core.c for_each_rtd_codec_dai(rtd, j, codec_dai) { rtd 260 sound/soc/soc-dai.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 264 sound/soc/soc-dai.c if (rtd->dai_link->be_hw_params_fixup) { rtd 265 sound/soc/soc-dai.c ret = rtd->dai_link->be_hw_params_fixup(rtd, params); rtd 267 sound/soc/soc-dai.c dev_err(rtd->dev, rtd 384 sound/soc/soc-dai.c struct snd_soc_pcm_runtime *rtd, int num) rtd 387 sound/soc/soc-dai.c return dai->driver->compress_new(rtd, num); rtd 1084 sound/soc/soc-dapm.c struct snd_soc_pcm_runtime *rtd = w->priv; rtd 1087 sound/soc/soc-dapm.c if (rtd->dai_link->num_params <= 1) rtd 2448 sound/soc/soc-dapm.c struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); rtd 2452 sound/soc/soc-dapm.c mutex_lock(&rtd->card->dapm_mutex); rtd 2454 sound/soc/soc-dapm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 2460 sound/soc/soc-dapm.c mutex_unlock(&rtd->card->dapm_mutex); rtd 2677 sound/soc/soc-dapm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 2680 sound/soc/soc-dapm.c mutex_lock_nested(&rtd->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); rtd 2682 sound/soc/soc-dapm.c mutex_unlock(&rtd->card->dapm_mutex); rtd 3803 sound/soc/soc-dapm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 3855 sound/soc/soc-dapm.c config = rtd->dai_link->params + rtd->params_select; rtd 4006 sound/soc/soc-dapm.c struct snd_soc_pcm_runtime *rtd = w->priv; rtd 4008 sound/soc/soc-dapm.c ucontrol->value.enumerated.item[0] = rtd->params_select; rtd 4017 sound/soc/soc-dapm.c struct snd_soc_pcm_runtime *rtd = w->priv; rtd 4023 sound/soc/soc-dapm.c if (ucontrol->value.enumerated.item[0] == rtd->params_select) rtd 4026 sound/soc/soc-dapm.c if (ucontrol->value.enumerated.item[0] >= rtd->dai_link->num_params) rtd 4029 sound/soc/soc-dapm.c rtd->params_select = ucontrol->value.enumerated.item[0]; rtd 4125 sound/soc/soc-dapm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 4134 sound/soc/soc-dapm.c rtd->dai_link->name, id); rtd 4148 sound/soc/soc-dapm.c if (rtd->dai_link->num_params > 1) { rtd 4150 sound/soc/soc-dapm.c rtd->dai_link->num_params, rtd 4161 sound/soc/soc-dapm.c rtd->dai_link->params, rtd 4162 sound/soc/soc-dapm.c rtd->dai_link->num_params, rtd 4186 sound/soc/soc-dapm.c rtd->dai_link->num_params, w_param_text); rtd 4295 sound/soc/soc-dapm.c struct snd_soc_pcm_runtime *rtd) rtd 4297 sound/soc/soc-dapm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 4302 sound/soc/soc-dapm.c struct snd_pcm_str *streams = rtd->pcm->streams; rtd 4305 sound/soc/soc-dapm.c if (rtd->dai_link->params) { rtd 4315 sound/soc/soc-dapm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 4325 sound/soc/soc-dapm.c dev_err(rtd->dev, rtd 4336 sound/soc/soc-dapm.c dev_dbg(rtd->dev, "connected DAI link %s:%s -> %s:%s\n", rtd 4345 sound/soc/soc-dapm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 4355 sound/soc/soc-dapm.c dev_err(rtd->dev, rtd 4366 sound/soc/soc-dapm.c dev_dbg(rtd->dev, "connected DAI link %s:%s -> %s:%s\n", rtd 4418 sound/soc/soc-dapm.c struct snd_soc_pcm_runtime *rtd; rtd 4421 sound/soc/soc-dapm.c for_each_card_rtds(card, rtd) { rtd 4426 sound/soc/soc-dapm.c if (rtd->dai_link->dynamic) rtd 4429 sound/soc/soc-dapm.c dapm_connect_dai_link_widgets(card, rtd); rtd 4433 sound/soc/soc-dapm.c static void soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream, rtd 4439 sound/soc/soc-dapm.c soc_dapm_dai_stream_event(rtd->cpu_dai, stream, event); rtd 4440 sound/soc/soc-dapm.c for_each_rtd_codec_dai(rtd, i, codec_dai) rtd 4443 sound/soc/soc-dapm.c dapm_power_widgets(rtd->card, event); rtd 4457 sound/soc/soc-dapm.c void snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream, rtd 4460 sound/soc/soc-dapm.c struct snd_soc_card *card = rtd->card; rtd 4463 sound/soc/soc-dapm.c soc_dapm_stream_event(rtd, stream, event); rtd 61 sound/soc/soc-generic-dmaengine-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 65 sound/soc/soc-generic-dmaengine-pcm.c dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 81 sound/soc/soc-generic-dmaengine-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 83 sound/soc/soc-generic-dmaengine-pcm.c snd_soc_rtdcom_lookup(rtd, SND_DMAENGINE_PCM_DRV_NAME); rtd 114 sound/soc/soc-generic-dmaengine-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 116 sound/soc/soc-generic-dmaengine-pcm.c snd_soc_rtdcom_lookup(rtd, SND_DMAENGINE_PCM_DRV_NAME); rtd 133 sound/soc/soc-generic-dmaengine-pcm.c dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 204 sound/soc/soc-generic-dmaengine-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 206 sound/soc/soc-generic-dmaengine-pcm.c snd_soc_rtdcom_lookup(rtd, SND_DMAENGINE_PCM_DRV_NAME); rtd 219 sound/soc/soc-generic-dmaengine-pcm.c struct snd_soc_pcm_runtime *rtd, rtd 223 sound/soc/soc-generic-dmaengine-pcm.c snd_soc_rtdcom_lookup(rtd, SND_DMAENGINE_PCM_DRV_NAME); rtd 228 sound/soc/soc-generic-dmaengine-pcm.c dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 234 sound/soc/soc-generic-dmaengine-pcm.c return pcm->config->compat_request_channel(rtd, substream); rtd 261 sound/soc/soc-generic-dmaengine-pcm.c static int dmaengine_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 264 sound/soc/soc-generic-dmaengine-pcm.c snd_soc_rtdcom_lookup(rtd, SND_DMAENGINE_PCM_DRV_NAME); rtd 282 sound/soc/soc-generic-dmaengine-pcm.c substream = rtd->pcm->streams[i].substream; rtd 291 sound/soc/soc-generic-dmaengine-pcm.c pcm->chan[i] = dmaengine_pcm_compat_request_channel(rtd, rtd 310 sound/soc/soc-generic-dmaengine-pcm.c if (rtd->pcm->streams[i].pcm->name[0] == '\0') { rtd 311 sound/soc/soc-generic-dmaengine-pcm.c strscpy_pad(rtd->pcm->streams[i].pcm->name, rtd 312 sound/soc/soc-generic-dmaengine-pcm.c rtd->pcm->streams[i].pcm->id, rtd 313 sound/soc/soc-generic-dmaengine-pcm.c sizeof(rtd->pcm->streams[i].pcm->name)); rtd 323 sound/soc/soc-generic-dmaengine-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 325 sound/soc/soc-generic-dmaengine-pcm.c snd_soc_rtdcom_lookup(rtd, SND_DMAENGINE_PCM_DRV_NAME); rtd 338 sound/soc/soc-generic-dmaengine-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 340 sound/soc/soc-generic-dmaengine-pcm.c snd_soc_rtdcom_lookup(rtd, SND_DMAENGINE_PCM_DRV_NAME); rtd 41 sound/soc/soc-pcm.c void snd_soc_runtime_activate(struct snd_soc_pcm_runtime *rtd, int stream) rtd 43 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 47 sound/soc/soc-pcm.c lockdep_assert_held(&rtd->card->pcm_mutex); rtd 51 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) rtd 55 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) rtd 61 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 77 sound/soc/soc-pcm.c void snd_soc_runtime_deactivate(struct snd_soc_pcm_runtime *rtd, int stream) rtd 79 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 83 sound/soc/soc-pcm.c lockdep_assert_held(&rtd->card->pcm_mutex); rtd 87 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) rtd 91 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) rtd 97 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 112 sound/soc/soc-pcm.c bool snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd) rtd 118 sound/soc/soc-pcm.c if (!rtd->pmdown_time || rtd->dai_link->ignore_pmdown_time) rtd 121 sound/soc/soc-pcm.c for_each_rtdcom(rtd, rtdcom) { rtd 181 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 185 sound/soc/soc-pcm.c rtd->dai_link->symmetric_rates)) { rtd 201 sound/soc/soc-pcm.c rtd->dai_link->symmetric_channels)) { rtd 217 sound/soc/soc-pcm.c rtd->dai_link->symmetric_samplebits)) { rtd 238 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 239 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 249 sound/soc/soc-pcm.c rtd->dai_link->symmetric_rates; rtd 251 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) rtd 255 sound/soc/soc-pcm.c dev_err(rtd->dev, "ASoC: unmatched rate symmetry: %d - %d\n", rtd 261 sound/soc/soc-pcm.c rtd->dai_link->symmetric_channels; rtd 263 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) rtd 267 sound/soc/soc-pcm.c dev_err(rtd->dev, "ASoC: unmatched channel symmetry: %d - %d\n", rtd 273 sound/soc/soc-pcm.c rtd->dai_link->symmetric_samplebits; rtd 275 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) rtd 279 sound/soc/soc-pcm.c dev_err(rtd->dev, "ASoC: unmatched sample bits symmetry: %d - %d\n", rtd 289 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 290 sound/soc/soc-pcm.c struct snd_soc_dai_driver *cpu_driver = rtd->cpu_dai->driver; rtd 291 sound/soc/soc-pcm.c struct snd_soc_dai_link *link = rtd->dai_link; rtd 299 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) rtd 310 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 318 sound/soc/soc-pcm.c dev_warn(rtd->dev, "ASoC: Failed to set MSB %d: %d\n", rtd 324 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 325 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 331 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 340 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 358 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 360 sound/soc/soc-pcm.c struct snd_soc_dai_driver *cpu_dai_drv = rtd->cpu_dai->driver; rtd 376 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 409 sound/soc/soc-pcm.c if (rtd->num_codecs > 1) { rtd 433 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 438 sound/soc/soc-pcm.c for_each_rtdcom(rtd, rtdcom) { rtd 465 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 470 sound/soc/soc-pcm.c for_each_rtdcom(rtd, rtdcom) { rtd 490 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 494 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 500 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) rtd 503 sound/soc/soc-pcm.c for_each_rtdcom(rtd, rtdcom) { rtd 509 sound/soc/soc-pcm.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 523 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 538 sound/soc/soc-pcm.c if (rtd->dai_link->ops->startup) { rtd 539 sound/soc/soc-pcm.c ret = rtd->dai_link->ops->startup(substream); rtd 542 sound/soc/soc-pcm.c rtd->dai_link->name, ret); rtd 548 sound/soc/soc-pcm.c if (rtd->dai_link->dynamic || rtd->dai_link->no_pcm) rtd 554 sound/soc/soc-pcm.c if (rtd->num_codecs == 1) rtd 555 sound/soc/soc-pcm.c codec_dai_name = rtd->codec_dai->name; rtd 587 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 605 sound/soc/soc-pcm.c snd_soc_runtime_activate(rtd, substream->stream); rtd 607 sound/soc/soc-pcm.c mutex_unlock(&rtd->card->pcm_mutex); rtd 611 sound/soc/soc-pcm.c if (rtd->dai_link->ops->shutdown) rtd 612 sound/soc/soc-pcm.c rtd->dai_link->ops->shutdown(substream); rtd 615 sound/soc/soc-pcm.c i = rtd->num_codecs; rtd 618 sound/soc/soc-pcm.c for_each_rtd_codec_dai_rollback(rtd, i, codec_dai) rtd 626 sound/soc/soc-pcm.c mutex_unlock(&rtd->card->pcm_mutex); rtd 628 sound/soc/soc-pcm.c for_each_rtdcom(rtd, rtdcom) { rtd 635 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 652 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = rtd 654 sound/soc/soc-pcm.c struct snd_soc_dai *codec_dai = rtd->codec_dais[0]; rtd 656 sound/soc/soc-pcm.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 658 sound/soc/soc-pcm.c dev_dbg(rtd->dev, "ASoC: pop wq checking: %s status: %s waiting: %s\n", rtd 661 sound/soc/soc-pcm.c rtd->pop_wait ? "yes" : "no"); rtd 664 sound/soc/soc-pcm.c if (rtd->pop_wait == 1) { rtd 665 sound/soc/soc-pcm.c rtd->pop_wait = 0; rtd 666 sound/soc/soc-pcm.c snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_PLAYBACK, rtd 670 sound/soc/soc-pcm.c mutex_unlock(&rtd->card->pcm_mutex); rtd 690 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 693 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 697 sound/soc/soc-pcm.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 699 sound/soc/soc-pcm.c snd_soc_runtime_deactivate(rtd, substream->stream); rtd 705 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 714 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) rtd 717 sound/soc/soc-pcm.c if (rtd->dai_link->ops->shutdown) rtd 718 sound/soc/soc-pcm.c rtd->dai_link->ops->shutdown(substream); rtd 723 sound/soc/soc-pcm.c if (snd_soc_runtime_ignore_pmdown_time(rtd)) { rtd 725 sound/soc/soc-pcm.c snd_soc_dapm_stream_event(rtd, rtd 730 sound/soc/soc-pcm.c rtd->pop_wait = 1; rtd 732 sound/soc/soc-pcm.c &rtd->delayed_work, rtd 733 sound/soc/soc-pcm.c msecs_to_jiffies(rtd->pmdown_time)); rtd 737 sound/soc/soc-pcm.c snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_CAPTURE, rtd 741 sound/soc/soc-pcm.c mutex_unlock(&rtd->card->pcm_mutex); rtd 743 sound/soc/soc-pcm.c for_each_rtdcom(rtd, rtdcom) { rtd 750 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 767 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 770 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 774 sound/soc/soc-pcm.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 776 sound/soc/soc-pcm.c if (rtd->dai_link->ops->prepare) { rtd 777 sound/soc/soc-pcm.c ret = rtd->dai_link->ops->prepare(substream); rtd 779 sound/soc/soc-pcm.c dev_err(rtd->card->dev, "ASoC: machine prepare error:" rtd 785 sound/soc/soc-pcm.c for_each_rtdcom(rtd, rtdcom) { rtd 796 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 815 sound/soc/soc-pcm.c rtd->pop_wait) { rtd 816 sound/soc/soc-pcm.c rtd->pop_wait = 0; rtd 817 sound/soc/soc-pcm.c cancel_delayed_work(&rtd->delayed_work); rtd 820 sound/soc/soc-pcm.c snd_soc_dapm_stream_event(rtd, substream->stream, rtd 823 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) rtd 829 sound/soc/soc-pcm.c mutex_unlock(&rtd->card->pcm_mutex); rtd 847 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 852 sound/soc/soc-pcm.c for_each_rtdcom(rtd, rtdcom) { rtd 872 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 875 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 879 sound/soc/soc-pcm.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 885 sound/soc/soc-pcm.c if (rtd->dai_link->ops->hw_params) { rtd 886 sound/soc/soc-pcm.c ret = rtd->dai_link->ops->hw_params(substream, params); rtd 888 sound/soc/soc-pcm.c dev_err(rtd->card->dev, "ASoC: machine hw_params" rtd 894 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 953 sound/soc/soc-pcm.c for_each_rtdcom(rtd, rtdcom) { rtd 967 sound/soc/soc-pcm.c mutex_unlock(&rtd->card->pcm_mutex); rtd 977 sound/soc/soc-pcm.c i = rtd->num_codecs; rtd 980 sound/soc/soc-pcm.c for_each_rtd_codec_dai_rollback(rtd, i, codec_dai) { rtd 988 sound/soc/soc-pcm.c if (rtd->dai_link->ops->hw_free) rtd 989 sound/soc/soc-pcm.c rtd->dai_link->ops->hw_free(substream); rtd 991 sound/soc/soc-pcm.c mutex_unlock(&rtd->card->pcm_mutex); rtd 1000 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 1001 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 1006 sound/soc/soc-pcm.c mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); rtd 1015 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 1024 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 1032 sound/soc/soc-pcm.c if (rtd->dai_link->ops->hw_free) rtd 1033 sound/soc/soc-pcm.c rtd->dai_link->ops->hw_free(substream); rtd 1039 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 1048 sound/soc/soc-pcm.c mutex_unlock(&rtd->card->pcm_mutex); rtd 1054 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 1057 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 1061 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 1067 sound/soc/soc-pcm.c for_each_rtdcom(rtd, rtdcom) { rtd 1079 sound/soc/soc-pcm.c if (rtd->dai_link->ops->trigger) { rtd 1080 sound/soc/soc-pcm.c ret = rtd->dai_link->ops->trigger(substream, cmd); rtd 1091 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 1092 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 1096 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 1115 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 1116 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 1134 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 1333 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd; rtd 1338 sound/soc/soc-pcm.c for_each_card_rtds(card, rtd) { rtd 1339 sound/soc/soc-pcm.c if (!rtd->dai_link->no_pcm) rtd 1342 sound/soc/soc-pcm.c if (rtd->cpu_dai->playback_widget == widget) rtd 1345 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, dai) { rtd 1351 sound/soc/soc-pcm.c for_each_card_rtds(card, rtd) { rtd 1352 sound/soc/soc-pcm.c if (!rtd->dai_link->no_pcm) rtd 1355 sound/soc/soc-pcm.c if (rtd->cpu_dai->capture_widget == widget) rtd 1358 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, dai) { rtd 1795 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 1796 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 1858 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd; rtd 1866 sound/soc/soc-pcm.c rtd = be_substream->private_data; rtd 1867 sound/soc/soc-pcm.c if (rtd->dai_link->be_hw_params_fixup) rtd 1874 sound/soc/soc-pcm.c if (rtd->cpu_dai->active) { rtd 1876 sound/soc/soc-pcm.c rtd->cpu_dai); rtd 1881 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 2865 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *rtd = pcm->private_data; rtd 2868 sound/soc/soc-pcm.c flush_delayed_work(&rtd->delayed_work); rtd 2873 sound/soc/soc-pcm.c int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) rtd 2876 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 2883 sound/soc/soc-pcm.c if (rtd->dai_link->dynamic || rtd->dai_link->no_pcm) { rtd 2884 sound/soc/soc-pcm.c playback = rtd->dai_link->dpcm_playback; rtd 2885 sound/soc/soc-pcm.c capture = rtd->dai_link->dpcm_capture; rtd 2888 sound/soc/soc-pcm.c struct snd_soc_pcm_stream *cpu_capture = rtd->dai_link->params ? rtd 2890 sound/soc/soc-pcm.c struct snd_soc_pcm_stream *cpu_playback = rtd->dai_link->params ? rtd 2893 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, codec_dai) { rtd 2906 sound/soc/soc-pcm.c if (rtd->dai_link->playback_only) { rtd 2911 sound/soc/soc-pcm.c if (rtd->dai_link->capture_only) { rtd 2917 sound/soc/soc-pcm.c if (rtd->dai_link->params) { rtd 2919 sound/soc/soc-pcm.c rtd->dai_link->stream_name); rtd 2921 sound/soc/soc-pcm.c ret = snd_pcm_new_internal(rtd->card->snd_card, new_name, num, rtd 2923 sound/soc/soc-pcm.c } else if (rtd->dai_link->no_pcm) { rtd 2925 sound/soc/soc-pcm.c rtd->dai_link->stream_name); rtd 2927 sound/soc/soc-pcm.c ret = snd_pcm_new_internal(rtd->card->snd_card, new_name, num, rtd 2930 sound/soc/soc-pcm.c if (rtd->dai_link->dynamic) rtd 2932 sound/soc/soc-pcm.c rtd->dai_link->stream_name); rtd 2935 sound/soc/soc-pcm.c rtd->dai_link->stream_name, rtd 2936 sound/soc/soc-pcm.c (rtd->num_codecs > 1) ? rtd 2937 sound/soc/soc-pcm.c "multicodec" : rtd->codec_dai->name, num); rtd 2939 sound/soc/soc-pcm.c ret = snd_pcm_new(rtd->card->snd_card, new_name, num, playback, rtd 2943 sound/soc/soc-pcm.c dev_err(rtd->card->dev, "ASoC: can't create pcm for %s\n", rtd 2944 sound/soc/soc-pcm.c rtd->dai_link->name); rtd 2947 sound/soc/soc-pcm.c dev_dbg(rtd->card->dev, "ASoC: registered pcm #%d %s\n",num, new_name); rtd 2950 sound/soc/soc-pcm.c if (rtd->dai_link->params) rtd 2951 sound/soc/soc-pcm.c INIT_DELAYED_WORK(&rtd->delayed_work, rtd 2954 sound/soc/soc-pcm.c INIT_DELAYED_WORK(&rtd->delayed_work, close_delayed_work); rtd 2956 sound/soc/soc-pcm.c pcm->nonatomic = rtd->dai_link->nonatomic; rtd 2957 sound/soc/soc-pcm.c rtd->pcm = pcm; rtd 2958 sound/soc/soc-pcm.c pcm->private_data = rtd; rtd 2960 sound/soc/soc-pcm.c if (rtd->dai_link->no_pcm || rtd->dai_link->params) { rtd 2962 sound/soc/soc-pcm.c pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->private_data = rtd; rtd 2964 sound/soc/soc-pcm.c pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream->private_data = rtd; rtd 2969 sound/soc/soc-pcm.c if (rtd->dai_link->dynamic) { rtd 2970 sound/soc/soc-pcm.c rtd->ops.open = dpcm_fe_dai_open; rtd 2971 sound/soc/soc-pcm.c rtd->ops.hw_params = dpcm_fe_dai_hw_params; rtd 2972 sound/soc/soc-pcm.c rtd->ops.prepare = dpcm_fe_dai_prepare; rtd 2973 sound/soc/soc-pcm.c rtd->ops.trigger = dpcm_fe_dai_trigger; rtd 2974 sound/soc/soc-pcm.c rtd->ops.hw_free = dpcm_fe_dai_hw_free; rtd 2975 sound/soc/soc-pcm.c rtd->ops.close = dpcm_fe_dai_close; rtd 2976 sound/soc/soc-pcm.c rtd->ops.pointer = soc_pcm_pointer; rtd 2977 sound/soc/soc-pcm.c rtd->ops.ioctl = snd_soc_pcm_component_ioctl; rtd 2979 sound/soc/soc-pcm.c rtd->ops.open = soc_pcm_open; rtd 2980 sound/soc/soc-pcm.c rtd->ops.hw_params = soc_pcm_hw_params; rtd 2981 sound/soc/soc-pcm.c rtd->ops.prepare = soc_pcm_prepare; rtd 2982 sound/soc/soc-pcm.c rtd->ops.trigger = soc_pcm_trigger; rtd 2983 sound/soc/soc-pcm.c rtd->ops.hw_free = soc_pcm_hw_free; rtd 2984 sound/soc/soc-pcm.c rtd->ops.close = soc_pcm_close; rtd 2985 sound/soc/soc-pcm.c rtd->ops.pointer = soc_pcm_pointer; rtd 2986 sound/soc/soc-pcm.c rtd->ops.ioctl = snd_soc_pcm_component_ioctl; rtd 2989 sound/soc/soc-pcm.c for_each_rtdcom(rtd, rtdcom) { rtd 2996 sound/soc/soc-pcm.c rtd->ops.copy_user = snd_soc_pcm_component_copy_user; rtd 2998 sound/soc/soc-pcm.c rtd->ops.page = snd_soc_pcm_component_page; rtd 3000 sound/soc/soc-pcm.c rtd->ops.mmap = snd_soc_pcm_component_mmap; rtd 3004 sound/soc/soc-pcm.c snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &rtd->ops); rtd 3007 sound/soc/soc-pcm.c snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &rtd->ops); rtd 3011 sound/soc/soc-pcm.c dev_err(rtd->dev, "ASoC: pcm constructor failed: %d\n", ret); rtd 3018 sound/soc/soc-pcm.c dev_info(rtd->card->dev, "%s <-> %s mapping ok\n", rtd 3019 sound/soc/soc-pcm.c (rtd->num_codecs > 1) ? "multicodec" : rtd->codec_dai->name, rtd 3256 sound/soc/soc-pcm.c void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) rtd 3258 sound/soc/soc-pcm.c if (!rtd->dai_link) rtd 3261 sound/soc/soc-pcm.c if (!rtd->dai_link->dynamic) rtd 3264 sound/soc/soc-pcm.c if (!rtd->card->debugfs_card_root) rtd 3267 sound/soc/soc-pcm.c rtd->debugfs_dpcm_root = debugfs_create_dir(rtd->dai_link->name, rtd 3268 sound/soc/soc-pcm.c rtd->card->debugfs_card_root); rtd 3270 sound/soc/soc-pcm.c debugfs_create_file("state", 0444, rtd->debugfs_dpcm_root, rtd 3271 sound/soc/soc-pcm.c rtd, &dpcm_state_fops); rtd 68 sound/soc/soc-utils.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 71 sound/soc/soc-utils.c if (!rtd->dai_link->no_pcm) rtd 37 sound/soc/sof/intel/hda-dai.c static bool hda_check_fes(struct snd_soc_pcm_runtime *rtd, rtd 44 sound/soc/sof/intel/hda-dai.c for_each_dpcm_fe(rtd, dir, dpcm) { rtd 58 sound/soc/sof/intel/hda-dai.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 85 sound/soc/sof/intel/hda-dai.c if (hda_check_fes(rtd, stream_dir, rtd 205 sound/soc/sof/intel/hda-dai.c struct snd_soc_pcm_runtime *rtd = snd_pcm_substream_chip(substream); rtd 206 sound/soc/sof/intel/hda-dai.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 266 sound/soc/sof/intel/hda-dai.c struct snd_soc_pcm_runtime *rtd = snd_pcm_substream_chip(substream); rtd 274 sound/soc/sof/intel/hda-dai.c return hda_link_hw_params(substream, &rtd->dpcm[stream].hw_params, rtd 284 sound/soc/sof/intel/hda-dai.c struct snd_soc_pcm_runtime *rtd; rtd 293 sound/soc/sof/intel/hda-dai.c rtd = snd_pcm_substream_chip(substream); rtd 295 sound/soc/sof/intel/hda-dai.c link = snd_hdac_ext_bus_get_link(bus, rtd->codec_dai->component->name); rtd 353 sound/soc/sof/intel/hda-dai.c struct snd_soc_pcm_runtime *rtd; rtd 359 sound/soc/sof/intel/hda-dai.c rtd = snd_pcm_substream_chip(substream); rtd 376 sound/soc/sof/intel/hda-dai.c link = snd_hdac_ext_bus_get_link(bus, rtd->codec_dai->component->name); rtd 430 sound/soc/sof/intel/hda-dsp.c struct snd_soc_pcm_runtime *rtd; rtd 448 sound/soc/sof/intel/hda-dsp.c rtd = snd_pcm_substream_chip(stream->link_substream); rtd 449 sound/soc/sof/intel/hda-dsp.c name = rtd->codec_dai->component->name; rtd 140 sound/soc/sof/intel/hda-pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 146 sound/soc/sof/intel/hda-pcm.c spcm = snd_sof_find_spcm_dai(sdev, rtd); rtd 149 sound/soc/sof/intel/hda-pcm.c rtd->dai_link->id); rtd 25 sound/soc/sof/pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 27 sound/soc/sof/pcm.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 33 sound/soc/sof/pcm.c spcm = snd_sof_find_spcm_dai(sdev, rtd); rtd 72 sound/soc/sof/pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 74 sound/soc/sof/pcm.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 78 sound/soc/sof/pcm.c spcm = snd_sof_find_spcm_dai(sdev, rtd); rtd 101 sound/soc/sof/pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 104 sound/soc/sof/pcm.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 112 sound/soc/sof/pcm.c if (rtd->dai_link->no_pcm) rtd 115 sound/soc/sof/pcm.c spcm = snd_sof_find_spcm_dai(sdev, rtd); rtd 242 sound/soc/sof/pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 244 sound/soc/sof/pcm.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 250 sound/soc/sof/pcm.c if (rtd->dai_link->no_pcm) rtd 253 sound/soc/sof/pcm.c spcm = snd_sof_find_spcm_dai(sdev, rtd); rtd 281 sound/soc/sof/pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 283 sound/soc/sof/pcm.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 289 sound/soc/sof/pcm.c if (rtd->dai_link->no_pcm) rtd 292 sound/soc/sof/pcm.c spcm = snd_sof_find_spcm_dai(sdev, rtd); rtd 318 sound/soc/sof/pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 320 sound/soc/sof/pcm.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 330 sound/soc/sof/pcm.c if (rtd->dai_link->no_pcm) rtd 333 sound/soc/sof/pcm.c spcm = snd_sof_find_spcm_dai(sdev, rtd); rtd 400 sound/soc/sof/pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 402 sound/soc/sof/pcm.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 408 sound/soc/sof/pcm.c if (rtd->dai_link->no_pcm) rtd 415 sound/soc/sof/pcm.c spcm = snd_sof_find_spcm_dai(sdev, rtd); rtd 433 sound/soc/sof/pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 436 sound/soc/sof/pcm.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 443 sound/soc/sof/pcm.c if (rtd->dai_link->no_pcm) rtd 446 sound/soc/sof/pcm.c spcm = snd_sof_find_spcm_dai(sdev, rtd); rtd 510 sound/soc/sof/pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 512 sound/soc/sof/pcm.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 518 sound/soc/sof/pcm.c if (rtd->dai_link->no_pcm) rtd 521 sound/soc/sof/pcm.c spcm = snd_sof_find_spcm_dai(sdev, rtd); rtd 558 sound/soc/sof/pcm.c static int sof_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 561 sound/soc/sof/pcm.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 564 sound/soc/sof/pcm.c struct snd_pcm *pcm = rtd->pcm; rtd 569 sound/soc/sof/pcm.c spcm = snd_sof_find_spcm_dai(sdev, rtd); rtd 572 sound/soc/sof/pcm.c rtd->dai_link->id); rtd 614 sound/soc/sof/pcm.c static int sof_pcm_dai_link_fixup(struct snd_soc_pcm_runtime *rtd, rtd 623 sound/soc/sof/pcm.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 626 sound/soc/sof/pcm.c snd_sof_find_dai(sdev, (char *)rtd->dai_link->name); rtd 631 sound/soc/sof/pcm.c rtd->dai_link->name); rtd 512 sound/soc/sof/sof-priv.h struct snd_soc_pcm_runtime *rtd) rtd 517 sound/soc/sof/sof-priv.h if (le32_to_cpu(spcm->pcm.dai_id) == rtd->dai_link->id) rtd 1136 sound/soc/sof/topology.c struct snd_soc_pcm_runtime *rtd; rtd 1138 sound/soc/sof/topology.c list_for_each_entry(rtd, &card->rtd_list, list) { rtd 1140 sound/soc/sof/topology.c w->name, w->sname, rtd->dai_link->stream_name); rtd 1142 sound/soc/sof/topology.c if (!w->sname || !rtd->dai_link->stream_name) rtd 1146 sound/soc/sof/topology.c if (strcmp(w->sname, rtd->dai_link->stream_name)) rtd 1151 sound/soc/sof/topology.c rtd->cpu_dai->capture_widget = w; rtd 1152 sound/soc/sof/topology.c dai->name = rtd->dai_link->name; rtd 1154 sound/soc/sof/topology.c w->name, rtd->dai_link->name); rtd 1157 sound/soc/sof/topology.c rtd->cpu_dai->playback_widget = w; rtd 1158 sound/soc/sof/topology.c dai->name = rtd->dai_link->name; rtd 1160 sound/soc/sof/topology.c w->name, rtd->dai_link->name); rtd 134 sound/soc/sprd/sprd-pcm-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 136 sound/soc/sprd/sprd-pcm-compress.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 138 sound/soc/sprd/sprd-pcm-compress.c struct sprd_compr_data *data = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 269 sound/soc/sprd/sprd-pcm-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 271 sound/soc/sprd/sprd-pcm-compress.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 320 sound/soc/sprd/sprd-pcm-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 322 sound/soc/sprd/sprd-pcm-compress.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 324 sound/soc/sprd/sprd-pcm-compress.c struct sprd_compr_data *data = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 399 sound/soc/sprd/sprd-pcm-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 401 sound/soc/sprd/sprd-pcm-compress.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 428 sound/soc/sprd/sprd-pcm-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 430 sound/soc/sprd/sprd-pcm-compress.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 52 sound/soc/sprd/sprd-pcm-dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 54 sound/soc/sprd/sprd-pcm-dma.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 117 sound/soc/sprd/sprd-pcm-dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 120 sound/soc/sprd/sprd-pcm-dma.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 165 sound/soc/sprd/sprd-pcm-dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 167 sound/soc/sprd/sprd-pcm-dma.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 198 sound/soc/sprd/sprd-pcm-dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 200 sound/soc/sprd/sprd-pcm-dma.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 210 sound/soc/sprd/sprd-pcm-dma.c dma_params = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 328 sound/soc/sprd/sprd-pcm-dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 330 sound/soc/sprd/sprd-pcm-dma.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 393 sound/soc/sprd/sprd-pcm-dma.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 396 sound/soc/sprd/sprd-pcm-dma.c snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 470 sound/soc/sprd/sprd-pcm-dma.c static int sprd_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 472 sound/soc/sprd/sprd-pcm-dma.c struct snd_card *card = rtd->card->snd_card; rtd 473 sound/soc/sprd/sprd-pcm-dma.c struct snd_pcm *pcm = rtd->pcm; rtd 171 sound/soc/stm/stm32_adfsdm.c struct snd_soc_pcm_runtime *rtd = priv->substream->private_data; rtd 184 sound/soc/stm/stm32_adfsdm.c dev_dbg(rtd->dev, "%s: buff_add :%pK, pos = %d, size = %zu\n", rtd 215 sound/soc/stm/stm32_adfsdm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 217 sound/soc/stm/stm32_adfsdm.c snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 235 sound/soc/stm/stm32_adfsdm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 236 sound/soc/stm/stm32_adfsdm.c struct stm32_adfsdm_priv *priv = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 248 sound/soc/stm/stm32_adfsdm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 250 sound/soc/stm/stm32_adfsdm.c snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 261 sound/soc/stm/stm32_adfsdm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 263 sound/soc/stm/stm32_adfsdm.c snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 271 sound/soc/stm/stm32_adfsdm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 273 sound/soc/stm/stm32_adfsdm.c snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 301 sound/soc/stm/stm32_adfsdm.c static int stm32_adfsdm_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 303 sound/soc/stm/stm32_adfsdm.c struct snd_pcm *pcm = rtd->pcm; rtd 305 sound/soc/stm/stm32_adfsdm.c snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 1163 sound/soc/stm/stm32_sai_sub.c static int stm32_sai_pcm_new(struct snd_soc_pcm_runtime *rtd, rtd 1171 sound/soc/stm/stm32_sai_sub.c knew.device = rtd->pcm->device; rtd 1172 sound/soc/stm/stm32_sai_sub.c return snd_ctl_add(rtd->pcm->card, snd_ctl_new1(&knew, sai)); rtd 1240 sound/soc/stm/stm32_sai_sub.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 1241 sound/soc/stm/stm32_sai_sub.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 289 sound/soc/sunxi/sun4i-codec.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 290 sound/soc/sunxi/sun4i-codec.c struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); rtd 321 sound/soc/sunxi/sun4i-codec.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 322 sound/soc/sunxi/sun4i-codec.c struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); rtd 363 sound/soc/sunxi/sun4i-codec.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 364 sound/soc/sunxi/sun4i-codec.c struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); rtd 576 sound/soc/sunxi/sun4i-codec.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 577 sound/soc/sunxi/sun4i-codec.c struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); rtd 617 sound/soc/sunxi/sun4i-codec.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 618 sound/soc/sunxi/sun4i-codec.c struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); rtd 637 sound/soc/sunxi/sun4i-codec.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 638 sound/soc/sunxi/sun4i-codec.c struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); rtd 246 sound/soc/sunxi/sun4i-spdif.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 247 sound/soc/sunxi/sun4i-spdif.c struct sun4i_spdif_dev *host = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 39 sound/soc/tegra/tegra_alc5632.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 40 sound/soc/tegra/tegra_alc5632.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 41 sound/soc/tegra/tegra_alc5632.c struct snd_soc_card *card = rtd->card; rtd 99 sound/soc/tegra/tegra_alc5632.c static int tegra_alc5632_asoc_init(struct snd_soc_pcm_runtime *rtd) rtd 102 sound/soc/tegra/tegra_alc5632.c struct tegra_alc5632 *machine = snd_soc_card_get_drvdata(rtd->card); rtd 104 sound/soc/tegra/tegra_alc5632.c ret = snd_soc_card_jack_new(rtd->card, "Headset Jack", rtd 119 sound/soc/tegra/tegra_alc5632.c snd_soc_dapm_force_enable_pin(&rtd->card->dapm, "MICBIAS1"); rtd 40 sound/soc/tegra/tegra_max98090.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 41 sound/soc/tegra/tegra_max98090.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 42 sound/soc/tegra/tegra_max98090.c struct snd_soc_card *card = rtd->card; rtd 135 sound/soc/tegra/tegra_max98090.c static int tegra_max98090_asoc_init(struct snd_soc_pcm_runtime *rtd) rtd 137 sound/soc/tegra/tegra_max98090.c struct tegra_max98090 *machine = snd_soc_card_get_drvdata(rtd->card); rtd 140 sound/soc/tegra/tegra_max98090.c snd_soc_card_jack_new(rtd->card, "Headphones", rtd 153 sound/soc/tegra/tegra_max98090.c snd_soc_card_jack_new(rtd->card, "Mic Jack", rtd 42 sound/soc/tegra/tegra_rt5640.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 43 sound/soc/tegra/tegra_rt5640.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 44 sound/soc/tegra/tegra_rt5640.c struct snd_soc_card *card = rtd->card; rtd 98 sound/soc/tegra/tegra_rt5640.c static int tegra_rt5640_asoc_init(struct snd_soc_pcm_runtime *rtd) rtd 100 sound/soc/tegra/tegra_rt5640.c struct tegra_rt5640 *machine = snd_soc_card_get_drvdata(rtd->card); rtd 102 sound/soc/tegra/tegra_rt5640.c snd_soc_card_jack_new(rtd->card, "Headphones", SND_JACK_HEADPHONE, rtd 44 sound/soc/tegra/tegra_rt5677.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 45 sound/soc/tegra/tegra_rt5677.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 46 sound/soc/tegra/tegra_rt5677.c struct snd_soc_card *card = rtd->card; rtd 131 sound/soc/tegra/tegra_rt5677.c static int tegra_rt5677_asoc_init(struct snd_soc_pcm_runtime *rtd) rtd 133 sound/soc/tegra/tegra_rt5677.c struct tegra_rt5677 *machine = snd_soc_card_get_drvdata(rtd->card); rtd 135 sound/soc/tegra/tegra_rt5677.c snd_soc_card_jack_new(rtd->card, "Headphone Jack", SND_JACK_HEADPHONE, rtd 146 sound/soc/tegra/tegra_rt5677.c snd_soc_card_jack_new(rtd->card, "Mic Jack", SND_JACK_MICROPHONE, rtd 156 sound/soc/tegra/tegra_rt5677.c snd_soc_dapm_force_enable_pin(&rtd->card->dapm, "MICBIAS1"); rtd 38 sound/soc/tegra/tegra_sgtl5000.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 39 sound/soc/tegra/tegra_sgtl5000.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 40 sound/soc/tegra/tegra_sgtl5000.c struct snd_soc_card *card = rtd->card; rtd 42 sound/soc/tegra/tegra_wm8753.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 43 sound/soc/tegra/tegra_wm8753.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 44 sound/soc/tegra/tegra_wm8753.c struct snd_soc_card *card = rtd->card; rtd 47 sound/soc/tegra/tegra_wm8903.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 48 sound/soc/tegra/tegra_wm8903.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 49 sound/soc/tegra/tegra_wm8903.c struct snd_soc_card *card = rtd->card; rtd 156 sound/soc/tegra/tegra_wm8903.c static int tegra_wm8903_init(struct snd_soc_pcm_runtime *rtd) rtd 158 sound/soc/tegra/tegra_wm8903.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 160 sound/soc/tegra/tegra_wm8903.c struct snd_soc_card *card = rtd->card; rtd 165 sound/soc/tegra/tegra_wm8903.c snd_soc_card_jack_new(rtd->card, "Headphone Jack", rtd 174 sound/soc/tegra/tegra_wm8903.c snd_soc_card_jack_new(rtd->card, "Mic Jack", SND_JACK_MICROPHONE, rtd 188 sound/soc/tegra/tegra_wm8903.c struct snd_soc_pcm_runtime *rtd = rtd 190 sound/soc/tegra/tegra_wm8903.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 38 sound/soc/tegra/tegra_wm9712.c static int tegra_wm9712_init(struct snd_soc_pcm_runtime *rtd) rtd 40 sound/soc/tegra/tegra_wm9712.c return snd_soc_dapm_force_enable_pin(&rtd->card->dapm, "Mic Bias"); rtd 37 sound/soc/tegra/trimslice.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 38 sound/soc/tegra/trimslice.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 39 sound/soc/tegra/trimslice.c struct snd_soc_card *card = rtd->card; rtd 461 sound/soc/ti/ams-delta.c static int ams_delta_cx20442_init(struct snd_soc_pcm_runtime *rtd) rtd 463 sound/soc/ti/ams-delta.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 464 sound/soc/ti/ams-delta.c struct snd_soc_card *card = rtd->card; rtd 470 sound/soc/ti/ams-delta.c cx20442_codec = rtd->codec_dai->component; rtd 31 sound/soc/ti/davinci-evm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 32 sound/soc/ti/davinci-evm.c struct snd_soc_card *soc_card = rtd->card; rtd 44 sound/soc/ti/davinci-evm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 45 sound/soc/ti/davinci-evm.c struct snd_soc_card *soc_card = rtd->card; rtd 56 sound/soc/ti/davinci-evm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 57 sound/soc/ti/davinci-evm.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 58 sound/soc/ti/davinci-evm.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 59 sound/soc/ti/davinci-evm.c struct snd_soc_card *soc_card = rtd->card; rtd 114 sound/soc/ti/davinci-evm.c static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd) rtd 116 sound/soc/ti/davinci-evm.c struct snd_soc_card *card = rtd->card; rtd 44 sound/soc/ti/davinci-vcif.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 46 sound/soc/ti/davinci-vcif.c snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 63 sound/soc/ti/davinci-vcif.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 65 sound/soc/ti/davinci-vcif.c snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 87 sound/soc/ti/n810.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 91 sound/soc/ti/n810.c n810_ext_control(&rtd->card->dapm); rtd 103 sound/soc/ti/n810.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 104 sound/soc/ti/n810.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 48 sound/soc/ti/omap-abe-twl6040.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 49 sound/soc/ti/omap-abe-twl6040.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 50 sound/soc/ti/omap-abe-twl6040.c struct snd_soc_card *card = rtd->card; rtd 80 sound/soc/ti/omap-abe-twl6040.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 81 sound/soc/ti/omap-abe-twl6040.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 167 sound/soc/ti/omap-abe-twl6040.c static int omap_abe_twl6040_init(struct snd_soc_pcm_runtime *rtd) rtd 169 sound/soc/ti/omap-abe-twl6040.c struct snd_soc_component *component = rtd->codec_dai->component; rtd 170 sound/soc/ti/omap-abe-twl6040.c struct snd_soc_card *card = rtd->card; rtd 180 sound/soc/ti/omap-abe-twl6040.c omap_mcpdm_configure_dn_offsets(rtd, TWL6040_HSF_TRIM_LEFT(hs_trim), rtd 185 sound/soc/ti/omap-abe-twl6040.c ret = snd_soc_card_jack_new(rtd->card, "Headset Jack", rtd 203 sound/soc/ti/omap-abe-twl6040.c static int omap_abe_dmic_init(struct snd_soc_pcm_runtime *rtd) rtd 205 sound/soc/ti/omap-abe-twl6040.c struct snd_soc_dapm_context *dapm = &rtd->card->dapm; rtd 43 sound/soc/ti/omap-hdmi.c struct snd_soc_pcm_runtime *rtd = ss->private_data; rtd 45 sound/soc/ti/omap-hdmi.c return snd_soc_card_get_drvdata(rtd->card); rtd 490 sound/soc/ti/omap-mcbsp-st.c int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd, int port_id) rtd 492 sound/soc/ti/omap-mcbsp-st.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 739 sound/soc/ti/omap-mcbsp.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 740 sound/soc/ti/omap-mcbsp.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 904 sound/soc/ti/omap-mcbsp.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 905 sound/soc/ti/omap-mcbsp.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 30 sound/soc/ti/omap-mcbsp.h int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd, int port_id); rtd 532 sound/soc/ti/omap-mcpdm.c void omap_mcpdm_configure_dn_offsets(struct snd_soc_pcm_runtime *rtd, rtd 535 sound/soc/ti/omap-mcpdm.c struct omap_mcpdm *mcpdm = snd_soc_dai_get_drvdata(rtd->cpu_dai); rtd 90 sound/soc/ti/omap-mcpdm.h void omap_mcpdm_configure_dn_offsets(struct snd_soc_pcm_runtime *rtd, rtd 41 sound/soc/ti/omap-twl4030.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 59 sound/soc/ti/omap-twl4030.c return snd_soc_runtime_set_dai_fmt(rtd, fmt); rtd 146 sound/soc/ti/omap-twl4030.c static int omap_twl4030_init(struct snd_soc_pcm_runtime *rtd) rtd 148 sound/soc/ti/omap-twl4030.c struct snd_soc_card *card = rtd->card; rtd 158 sound/soc/ti/omap-twl4030.c ret = snd_soc_card_jack_new(rtd->card, "Headset Jack", rtd 34 sound/soc/ti/omap3pandora.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 35 sound/soc/ti/omap3pandora.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 36 sound/soc/ti/omap3pandora.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 141 sound/soc/ti/omap3pandora.c static int omap3pandora_out_init(struct snd_soc_pcm_runtime *rtd) rtd 143 sound/soc/ti/omap3pandora.c struct snd_soc_dapm_context *dapm = &rtd->card->dapm; rtd 160 sound/soc/ti/omap3pandora.c static int omap3pandora_in_init(struct snd_soc_pcm_runtime *rtd) rtd 162 sound/soc/ti/omap3pandora.c struct snd_soc_dapm_context *dapm = &rtd->card->dapm; rtd 41 sound/soc/ti/osk5912.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 42 sound/soc/ti/osk5912.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 93 sound/soc/ti/rx51.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 94 sound/soc/ti/rx51.c struct snd_soc_card *card = rtd->card; rtd 105 sound/soc/ti/rx51.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 106 sound/soc/ti/rx51.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 263 sound/soc/ti/rx51.c static int rx51_aic34_init(struct snd_soc_pcm_runtime *rtd) rtd 265 sound/soc/ti/rx51.c struct snd_soc_card *card = rtd->card; rtd 271 sound/soc/ti/rx51.c err = omap_mcbsp_st_add_controls(rtd, 2); rtd 278 sound/soc/ti/rx51.c err = snd_soc_card_jack_new(rtd->card, "AV Jack", rtd 53 sound/soc/txx9/txx9aclc.c struct snd_soc_pcm_runtime *rtd = snd_pcm_substream_chip(substream); rtd 55 sound/soc/txx9/txx9aclc.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 285 sound/soc/txx9/txx9aclc.c static int txx9aclc_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 287 sound/soc/txx9/txx9aclc.c struct snd_card *card = rtd->card->snd_card; rtd 288 sound/soc/txx9/txx9aclc.c struct snd_soc_dai *dai = rtd->cpu_dai; rtd 289 sound/soc/txx9/txx9aclc.c struct snd_pcm *pcm = rtd->pcm; rtd 290 sound/soc/txx9/txx9aclc.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); rtd 22 sound/soc/uniphier/aio-compress.c static int uniphier_aio_comprdma_new(struct snd_soc_pcm_runtime *rtd) rtd 24 sound/soc/uniphier/aio-compress.c struct snd_compr *compr = rtd->compr; rtd 26 sound/soc/uniphier/aio-compress.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 55 sound/soc/uniphier/aio-compress.c static int uniphier_aio_comprdma_free(struct snd_soc_pcm_runtime *rtd) rtd 57 sound/soc/uniphier/aio-compress.c struct snd_compr *compr = rtd->compr; rtd 59 sound/soc/uniphier/aio-compress.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 75 sound/soc/uniphier/aio-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 76 sound/soc/uniphier/aio-compress.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 87 sound/soc/uniphier/aio-compress.c ret = uniphier_aio_comprdma_new(rtd); rtd 100 sound/soc/uniphier/aio-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 101 sound/soc/uniphier/aio-compress.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 108 sound/soc/uniphier/aio-compress.c ret = uniphier_aio_comprdma_free(rtd); rtd 120 sound/soc/uniphier/aio-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 121 sound/soc/uniphier/aio-compress.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 132 sound/soc/uniphier/aio-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 133 sound/soc/uniphier/aio-compress.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 167 sound/soc/uniphier/aio-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 168 sound/soc/uniphier/aio-compress.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 178 sound/soc/uniphier/aio-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 180 sound/soc/uniphier/aio-compress.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 216 sound/soc/uniphier/aio-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 218 sound/soc/uniphier/aio-compress.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 249 sound/soc/uniphier/aio-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 251 sound/soc/uniphier/aio-compress.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 322 sound/soc/uniphier/aio-compress.c struct snd_soc_pcm_runtime *rtd = cstream->private_data; rtd 324 sound/soc/uniphier/aio-compress.c struct device *carddev = rtd->compr->card->dev; rtd 325 sound/soc/uniphier/aio-compress.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 126 sound/soc/uniphier/aio-dma.c struct snd_soc_pcm_runtime *rtd = snd_pcm_substream_chip(substream); rtd 127 sound/soc/uniphier/aio-dma.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 152 sound/soc/uniphier/aio-dma.c struct snd_soc_pcm_runtime *rtd = snd_pcm_substream_chip(substream); rtd 153 sound/soc/uniphier/aio-dma.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 187 sound/soc/uniphier/aio-dma.c struct snd_soc_pcm_runtime *rtd = snd_pcm_substream_chip(substream); rtd 188 sound/soc/uniphier/aio-dma.c struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); rtd 228 sound/soc/uniphier/aio-dma.c static int uniphier_aiodma_new(struct snd_soc_pcm_runtime *rtd) rtd 230 sound/soc/uniphier/aio-dma.c struct device *dev = rtd->card->snd_card->dev; rtd 231 sound/soc/uniphier/aio-dma.c struct snd_pcm *pcm = rtd->pcm; rtd 193 sound/soc/ux500/mop500_ab8500.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 196 sound/soc/ux500/mop500_ab8500.c return mop500_ab8500_set_mclk(rtd->card->dev, rtd 197 sound/soc/ux500/mop500_ab8500.c snd_soc_card_get_drvdata(rtd->card)); rtd 202 sound/soc/ux500/mop500_ab8500.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 203 sound/soc/ux500/mop500_ab8500.c struct device *dev = rtd->card->dev; rtd 217 sound/soc/ux500/mop500_ab8500.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 218 sound/soc/ux500/mop500_ab8500.c struct snd_soc_dai *codec_dai = rtd->codec_dai; rtd 219 sound/soc/ux500/mop500_ab8500.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 220 sound/soc/ux500/mop500_ab8500.c struct device *dev = rtd->card->dev; rtd 290 sound/soc/ux500/mop500_ab8500.c ret = snd_soc_runtime_set_dai_fmt(rtd, fmt); rtd 341 sound/soc/ux500/mop500_ab8500.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 342 sound/soc/ux500/mop500_ab8500.c struct snd_soc_dai *cpu_dai = rtd->cpu_dai; rtd 360 sound/soc/ux500/mop500_ab8500.c int mop500_ab8500_machine_init(struct snd_soc_pcm_runtime *rtd) rtd 362 sound/soc/ux500/mop500_ab8500.c struct snd_soc_dapm_context *dapm = &rtd->card->dapm; rtd 363 sound/soc/ux500/mop500_ab8500.c struct device *dev = rtd->card->dev; rtd 376 sound/soc/ux500/mop500_ab8500.c snd_soc_card_set_drvdata(rtd->card, drvdata); rtd 403 sound/soc/ux500/mop500_ab8500.c ret = snd_soc_add_card_controls(rtd->card, mop500_ab8500_ctrls, rtd 46 sound/soc/ux500/ux500_pcm.c static struct dma_chan *ux500_pcm_request_chan(struct snd_soc_pcm_runtime *rtd, rtd 49 sound/soc/ux500/ux500_pcm.c struct snd_soc_dai *dai = rtd->cpu_dai; rtd 88 sound/soc/ux500/ux500_pcm.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 89 sound/soc/ux500/ux500_pcm.c struct msp_i2s_platform_data *pdata = rtd->cpu_dai->dev->platform_data; rtd 97 sound/soc/ux500/ux500_pcm.c snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 101 sound/soc/ux500/ux500_pcm.c snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 535 sound/soc/xilinx/xlnx_formatter_pcm.c static int xlnx_formatter_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 537 sound/soc/xilinx/xlnx_formatter_pcm.c struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, rtd 539 sound/soc/xilinx/xlnx_formatter_pcm.c snd_pcm_lib_preallocate_pages_for_all(rtd->pcm, rtd 371 sound/soc/xtensa/xtfpga-i2s.c struct snd_soc_pcm_runtime *rtd = substream->private_data; rtd 375 sound/soc/xtensa/xtfpga-i2s.c p = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); rtd 464 sound/soc/xtensa/xtfpga-i2s.c static int xtfpga_pcm_new(struct snd_soc_pcm_runtime *rtd) rtd 466 sound/soc/xtensa/xtfpga-i2s.c struct snd_card *card = rtd->card->snd_card; rtd 469 sound/soc/xtensa/xtfpga-i2s.c snd_pcm_lib_preallocate_pages_for_all(rtd->pcm, SNDRV_DMA_TYPE_DEV,