/sound/soc/intel/skylake/ |
D | cnl-sst-dsp.c | 27 cnl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_set_reset_state() 44 cnl_dsp_core_unset_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_unset_reset_state() 59 static bool is_cnl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask) in is_cnl_dsp_core_enable() 77 static int cnl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_reset_core() 88 static int cnl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_start_core() 111 static int cnl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_power_up() 126 static int cnl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_power_down() 141 int cnl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_enable_core() 156 int cnl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_disable_core() 186 struct sst_dsp *ctx = dev_id; in cnl_dsp_sst_interrupt() local [all …]
|
D | skl-sst-dsp.c | 22 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state) in skl_dsp_set_state_locked() 34 void skl_dsp_init_core_state(struct sst_dsp *ctx) in skl_dsp_init_core_state() 49 unsigned int skl_dsp_get_enabled_cores(struct sst_dsp *ctx) in skl_dsp_get_enabled_cores() 78 skl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_set_reset_state() 106 struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_unset_reset_state() 135 is_skl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask) in is_skl_dsp_core_enable() 153 static int skl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_reset_core() 164 int skl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_start_core() 188 int skl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_power_up() 216 int skl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_power_down() [all …]
|
D | skl-sst-cldma.c | 16 static void skl_cldma_int_enable(struct sst_dsp *ctx) in skl_cldma_int_enable() 22 void skl_cldma_int_disable(struct sst_dsp *ctx) in skl_cldma_int_disable() 28 static void skl_cldma_stream_run(struct sst_dsp *ctx, bool enable) in skl_cldma_stream_run() 54 static void skl_cldma_stream_clear(struct sst_dsp *ctx) in skl_cldma_stream_clear() 76 static void skl_cldma_setup_bdle(struct sst_dsp *ctx, in skl_cldma_setup_bdle() 106 static void skl_cldma_setup_controller(struct sst_dsp *ctx, in skl_cldma_setup_controller() 128 static void skl_cldma_setup_spb(struct sst_dsp *ctx, in skl_cldma_setup_spb() 140 static void skl_cldma_cleanup_spb(struct sst_dsp *ctx) in skl_cldma_cleanup_spb() 150 static void skl_cldma_cleanup(struct sst_dsp *ctx) in skl_cldma_cleanup() 159 int skl_cldma_wait_interruptible(struct sst_dsp *ctx) in skl_cldma_wait_interruptible() [all …]
|
D | skl-sst.c | 33 static bool skl_check_fw_status(struct sst_dsp *ctx, u32 status) in skl_check_fw_status() 42 static int skl_transfer_firmware(struct sst_dsp *ctx, in skl_transfer_firmware() 66 static int skl_load_base_firmware(struct sst_dsp *ctx) in skl_load_base_firmware() 160 static int skl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in skl_set_dsp_D0() 214 static int skl_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id) in skl_set_dsp_D3() 244 static unsigned int skl_get_errorcode(struct sst_dsp *ctx) in skl_get_errorcode() 253 static int skl_get_module(struct sst_dsp *ctx, u16 mod_id) in skl_get_module() 265 static int skl_put_module(struct sst_dsp *ctx, u16 mod_id) in skl_put_module() 277 static struct skl_module_table *skl_fill_module_table(struct sst_dsp *ctx, in skl_fill_module_table() 314 struct sst_dsp *ctx, u16 mod_id) in skl_module_get_from_id() [all …]
|
D | bxt-sst.c | 40 static unsigned int bxt_get_errorcode(struct sst_dsp *ctx) in bxt_get_errorcode() 46 bxt_load_library(struct sst_dsp *ctx, struct skl_lib_info *linfo, int lib_count) in bxt_load_library() 94 static int sst_bxt_prepare_fw(struct sst_dsp *ctx, in sst_bxt_prepare_fw() 167 static int sst_transfer_fw_host_dma(struct sst_dsp *ctx) in sst_transfer_fw_host_dma() 181 static int bxt_load_base_firmware(struct sst_dsp *ctx) in bxt_load_base_firmware() 266 static int bxt_d0i3_target_state(struct sst_dsp *ctx) in bxt_d0i3_target_state() 290 struct sst_dsp *ctx = skl->dsp; in bxt_set_dsp_D0i3() local 329 static int bxt_schedule_dsp_D0i3(struct sst_dsp *ctx) in bxt_schedule_dsp_D0i3() 346 static int bxt_set_dsp_D0i0(struct sst_dsp *ctx) in bxt_set_dsp_D0i0() 387 static int bxt_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in bxt_set_dsp_D0() [all …]
|
D | cnl-sst.c | 46 static int cnl_prepare_fw(struct sst_dsp *ctx, const void *fwdata, u32 fwsize) in cnl_prepare_fw() 109 static int sst_transfer_fw_host_dma(struct sst_dsp *ctx) in sst_transfer_fw_host_dma() 124 static int cnl_load_base_firmware(struct sst_dsp *ctx) in cnl_load_base_firmware() 188 static int cnl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in cnl_set_dsp_D0() 251 static int cnl_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id) in cnl_set_dsp_D3() 288 static unsigned int cnl_get_errno(struct sst_dsp *ctx) in cnl_get_errno()
|
/sound/soc/intel/atom/sst/ |
D | sst_drv_interface.c | 43 int free_stream_context(struct intel_sst_drv *ctx, unsigned int str_id) in free_stream_context() 61 int sst_get_stream_allocated(struct intel_sst_drv *ctx, in sst_get_stream_allocated() 117 int sst_get_stream(struct intel_sst_drv *ctx, in sst_get_stream() 137 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_power_control() local 178 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_open_pcm_stream() local 197 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_open() local 225 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_close() local 251 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_ack() local 280 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_set_metadata() local 299 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_stream_pause() local [all …]
|
D | sst.c | 194 struct intel_sst_drv *ctx = container_of(work, in sst_process_pending_msg() local 200 static int sst_workqueue_init(struct intel_sst_drv *ctx) in sst_workqueue_init() 216 static void sst_init_locks(struct intel_sst_drv *ctx) in sst_init_locks() 224 int sst_alloc_drv_context(struct intel_sst_drv **ctx, in sst_alloc_drv_context() 241 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in firmware_version_show() local 264 int sst_context_init(struct intel_sst_drv *ctx) in sst_context_init() 357 void sst_context_cleanup(struct intel_sst_drv *ctx) in sst_context_cleanup() 377 void sst_configure_runtime_pm(struct intel_sst_drv *ctx) in sst_configure_runtime_pm() 402 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in intel_sst_runtime_suspend() local 425 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in intel_sst_suspend() local [all …]
|
D | sst_acpi.c | 149 static int sst_platform_get_resources(struct intel_sst_drv *ctx) in sst_platform_get_resources() 239 struct intel_sst_drv *ctx; in sst_acpi_probe() local 333 struct intel_sst_drv *ctx; in sst_acpi_remove() local
|
D | sst_loader.c | 107 static int sst_validate_fw_image(struct intel_sst_drv *ctx, unsigned long size, in sst_validate_fw_image() 231 static int sst_parse_fw_memcpy(struct intel_sst_drv *ctx, unsigned long size, in sst_parse_fw_memcpy() 314 struct intel_sst_drv *ctx = context; in sst_firmware_load_cb() local 382 void sst_post_download_mrfld(struct intel_sst_drv *ctx) in sst_post_download_mrfld()
|
D | sst_ipc.c | 29 struct sst_block *sst_create_block(struct intel_sst_drv *ctx, in sst_create_block() 64 int sst_wake_up_block(struct intel_sst_drv *ctx, int result, in sst_wake_up_block() 93 int sst_free_block(struct intel_sst_drv *ctx, struct sst_block *freed) in sst_free_block()
|
/sound/soc/au1x/ |
D | ac97c.c | 72 static inline unsigned long RD(struct au1xpsc_audio_data *ctx, int reg) in RD() 77 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR() 86 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_read() local 128 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_write() local 157 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_warm_reset() local 167 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_cold_reset() local 193 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in alchemy_ac97c_startup() local 234 struct au1xpsc_audio_data *ctx; in au1xac97c_drvprobe() local 290 struct au1xpsc_audio_data *ctx = platform_get_drvdata(pdev); in au1xac97c_drvremove() local 304 struct au1xpsc_audio_data *ctx = dev_get_drvdata(dev); in au1xac97c_drvsuspend() local [all …]
|
D | i2sc.c | 70 static inline unsigned long RD(struct au1xpsc_audio_data *ctx, int reg) in RD() 75 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR() 83 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(cpu_dai); in au1xi2s_set_fmt() local 139 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_trigger() local 185 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_hw_params() local 200 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_startup() local 236 struct au1xpsc_audio_data *ctx; in au1xi2s_drvprobe() local 274 struct au1xpsc_audio_data *ctx = platform_get_drvdata(pdev); in au1xi2s_drvremove() local 286 struct au1xpsc_audio_data *ctx = dev_get_drvdata(dev); in au1xi2s_drvsuspend() local
|
D | dma.c | 186 struct alchemy_pcm_ctx *ctx = ss_to_ctx(ss); in ss_to_as() local 192 struct alchemy_pcm_ctx *ctx = ss_to_ctx(substream); in alchemy_pcm_open() local 218 struct alchemy_pcm_ctx *ctx = ss_to_ctx(substream); in alchemy_pcm_close() local 312 struct alchemy_pcm_ctx *ctx; in alchemy_pcm_drvprobe() local
|
/sound/soc/xilinx/ |
D | xlnx_spdif.c | 58 struct spdif_dev_data *ctx = arg; in xlnx_spdifrx_irq_handler() local 81 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); in xlnx_spdif_startup() local 100 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); in xlnx_spdif_shutdown() local 110 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); in xlnx_spdif_hw_params() local 152 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); in rx_stream_detect() local 173 struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); in xlnx_spdif_trigger() local 242 struct spdif_dev_data *ctx; in xlnx_spdif_probe() local 320 struct spdif_dev_data *ctx = dev_get_drvdata(&pdev->dev); in xlnx_spdif_remove() local
|
/sound/soc/intel/boards/ |
D | cht_bsw_rt5672.c | 54 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(card); in platform_clock_control() local 181 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(runtime->card); in cht_codec_init() local 350 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(card); in cht_suspend_pre() local 367 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(card); in cht_resume_post() local
|
D | skl_hda_dsp_common.c | 21 struct skl_hda_private *ctx = snd_soc_card_get_drvdata(card); in skl_hda_hdmi_add_pcm() local 136 struct skl_hda_private *ctx = snd_soc_card_get_drvdata(card); in skl_hda_hdmi_jack_init() local
|
D | skl_nau88l25_max98357a.c | 184 struct skl_nau8825_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi1_init() local 202 struct skl_nau8825_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi2_init() local 220 struct skl_nau8825_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi3_init() local 601 struct skl_nau8825_private *ctx = snd_soc_card_get_drvdata(card); in skylake_card_late_probe() local 651 struct skl_nau8825_private *ctx; in skylake_audio_probe() local
|
D | sof_rt5682.c | 120 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in sof_hdmi_init() local 139 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in sof_rt5682_codec_init() local 207 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in sof_rt5682_hw_params() local 270 struct sof_card_private *ctx = snd_soc_card_get_drvdata(card); in sof_card_late_probe() local 584 struct sof_card_private *ctx; in sof_audio_probe() local
|
D | cht_bsw_max98090_ti.c | 48 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(card); in platform_clock_control() local 190 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(runtime->card); in cht_codec_init() local 293 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(card); in cht_max98090_headset_init() local 608 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(card); in snd_cht_mc_remove() local
|
D | skl_nau88l25_ssm4567.c | 203 struct skl_nau88125_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi1_init() local 221 struct skl_nau88125_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi2_init() local 240 struct skl_nau88125_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi3_init() local 642 struct skl_nau88125_private *ctx = snd_soc_card_get_drvdata(card); in skylake_card_late_probe() local 694 struct skl_nau88125_private *ctx; in skylake_audio_probe() local
|
D | kbl_da7219_max98357a.c | 161 struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); in kabylake_da7219_codec_init() local 205 struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); in kabylake_hdmi_init() local 542 struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(card); in kabylake_card_late_probe() local 592 struct kbl_codec_private *ctx; in kabylake_audio_probe() local
|
D | glk_rt5682_max98357a.c | 136 struct glk_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in geminilake_rt5682_codec_init() local 208 struct glk_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in geminilake_hdmi_init() local 541 struct glk_card_private *ctx = snd_soc_card_get_drvdata(card); in glk_card_late_probe() local 591 struct glk_card_private *ctx; in geminilake_audio_probe() local
|
D | kbl_rt5660.c | 159 struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); in kabylake_rt5660_codec_init() local 212 struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); in kabylake_hdmi_init() local 464 struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(card); in kabylake_card_late_probe() local 514 struct kbl_codec_private *ctx; in kabylake_audio_probe() local
|
/sound/x86/ |
D | intel_hdmi_audio.c | 218 static void had_read_register(struct snd_intelhad *ctx, u32 reg, u32 *val) in had_read_register() 226 static void had_write_register(struct snd_intelhad *ctx, u32 reg, u32 val) in had_write_register() 257 static void had_ack_irqs(struct snd_intelhad *ctx) in had_ack_irqs() 1532 struct snd_intelhad *ctx = &card_ctx->pcm_ctx[port]; in display_pipe_interrupt_handler() local 1553 struct snd_intelhad *ctx; in notify_audio_lpe() local 1565 struct snd_intelhad *ctx = in had_audio_wq() local 1621 static int had_create_jack(struct snd_intelhad *ctx, in had_create_jack() 1675 struct snd_intelhad *ctx = &card_ctx->pcm_ctx[port]; in hdmi_lpe_audio_free() local 1696 struct snd_intelhad *ctx; in hdmi_lpe_audio_probe() local 1851 struct snd_intelhad *ctx = &card_ctx->pcm_ctx[port]; in hdmi_lpe_audio_probe() local
|