Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 42) sorted by relevance

12

/sound/soc/intel/skylake/
Dcnl-sst-dsp.c35 cnl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_set_reset_state()
52 cnl_dsp_core_unset_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_unset_reset_state()
67 static bool is_cnl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask) in is_cnl_dsp_core_enable()
85 static int cnl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_reset_core()
96 static int cnl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_start_core()
119 static int cnl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_power_up()
134 static int cnl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_core_power_down()
149 int cnl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_enable_core()
164 int cnl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask) in cnl_dsp_disable_core()
194 struct sst_dsp *ctx = dev_id; in cnl_dsp_sst_interrupt() local
[all …]
Dskl-sst-dsp.c30 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state) in skl_dsp_set_state_locked()
42 void skl_dsp_init_core_state(struct sst_dsp *ctx) in skl_dsp_init_core_state()
57 unsigned int skl_dsp_get_enabled_cores(struct sst_dsp *ctx) in skl_dsp_get_enabled_cores()
86 skl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_set_reset_state()
114 struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_unset_reset_state()
143 is_skl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask) in is_skl_dsp_core_enable()
161 static int skl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_reset_core()
172 int skl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_start_core()
196 int skl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_power_up()
224 int skl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask) in skl_dsp_core_power_down()
[all …]
Dskl-sst-cldma.c24 static void skl_cldma_int_enable(struct sst_dsp *ctx) in skl_cldma_int_enable()
30 void skl_cldma_int_disable(struct sst_dsp *ctx) in skl_cldma_int_disable()
36 static void skl_cldma_stream_run(struct sst_dsp *ctx, bool enable) in skl_cldma_stream_run()
62 static void skl_cldma_stream_clear(struct sst_dsp *ctx) in skl_cldma_stream_clear()
84 static void skl_cldma_setup_bdle(struct sst_dsp *ctx, in skl_cldma_setup_bdle()
114 static void skl_cldma_setup_controller(struct sst_dsp *ctx, in skl_cldma_setup_controller()
136 static void skl_cldma_setup_spb(struct sst_dsp *ctx, in skl_cldma_setup_spb()
148 static void skl_cldma_cleanup_spb(struct sst_dsp *ctx) in skl_cldma_cleanup_spb()
158 static void skl_cldma_cleanup(struct sst_dsp *ctx) in skl_cldma_cleanup()
167 int skl_cldma_wait_interruptible(struct sst_dsp *ctx) in skl_cldma_wait_interruptible()
[all …]
Dskl-sst.c41 static bool skl_check_fw_status(struct sst_dsp *ctx, u32 status) in skl_check_fw_status()
50 static int skl_transfer_firmware(struct sst_dsp *ctx, in skl_transfer_firmware()
74 static int skl_load_base_firmware(struct sst_dsp *ctx) in skl_load_base_firmware()
168 static int skl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in skl_set_dsp_D0()
222 static int skl_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id) in skl_set_dsp_D3()
252 static unsigned int skl_get_errorcode(struct sst_dsp *ctx) in skl_get_errorcode()
261 static int skl_get_module(struct sst_dsp *ctx, u16 mod_id) in skl_get_module()
273 static int skl_put_module(struct sst_dsp *ctx, u16 mod_id) in skl_put_module()
285 static struct skl_module_table *skl_fill_module_table(struct sst_dsp *ctx, in skl_fill_module_table()
322 struct sst_dsp *ctx, u16 mod_id) in skl_module_get_from_id()
[all …]
Dskl-messages.c62 void skl_dsp_enable_notification(struct skl_sst *ctx, bool enable) in skl_dsp_enable_notification()
327 struct skl_sst *ctx = skl->skl_sst; in skl_free_dsp() local
352 struct skl_sst *ctx = skl->skl_sst; in skl_suspend_late_dsp() local
372 struct skl_sst *ctx = skl->skl_sst; in skl_suspend_dsp() local
392 struct skl_sst *ctx = skl->skl_sst; in skl_resume_dsp() local
446 static void skl_set_base_module_format(struct skl_sst *ctx, in skl_set_base_module_format()
499 static u32 skl_get_node_id(struct skl_sst *ctx, in skl_get_node_id()
556 static void skl_setup_cpr_gateway_cfg(struct skl_sst *ctx, in skl_setup_cpr_gateway_cfg()
621 int skl_dsp_set_dma_control(struct skl_sst *ctx, struct skl_module_cfg *mconfig) in skl_dsp_set_dma_control()
656 static void skl_setup_out_format(struct skl_sst *ctx, in skl_setup_out_format()
[all …]
Dbxt-sst.c51 static unsigned int bxt_get_errorcode(struct sst_dsp *ctx) in bxt_get_errorcode()
57 bxt_load_library(struct sst_dsp *ctx, struct skl_lib_info *linfo, int lib_count) in bxt_load_library()
105 static int sst_bxt_prepare_fw(struct sst_dsp *ctx, in sst_bxt_prepare_fw()
178 static int sst_transfer_fw_host_dma(struct sst_dsp *ctx) in sst_transfer_fw_host_dma()
192 static int bxt_load_base_firmware(struct sst_dsp *ctx) in bxt_load_base_firmware()
277 static int bxt_d0i3_target_state(struct sst_dsp *ctx) in bxt_d0i3_target_state()
301 struct sst_dsp *ctx = skl->dsp; in bxt_set_dsp_D0i3() local
340 static int bxt_schedule_dsp_D0i3(struct sst_dsp *ctx) in bxt_schedule_dsp_D0i3()
357 static int bxt_set_dsp_D0i0(struct sst_dsp *ctx) in bxt_set_dsp_D0i0()
398 static int bxt_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in bxt_set_dsp_D0()
[all …]
Dcnl-sst.c55 static int cnl_prepare_fw(struct sst_dsp *ctx, const void *fwdata, u32 fwsize) in cnl_prepare_fw()
102 static int sst_transfer_fw_host_dma(struct sst_dsp *ctx) in sst_transfer_fw_host_dma()
117 static int cnl_load_base_firmware(struct sst_dsp *ctx) in cnl_load_base_firmware()
176 static int cnl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in cnl_set_dsp_D0()
238 static int cnl_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id) in cnl_set_dsp_D3()
275 static unsigned int cnl_get_errno(struct sst_dsp *ctx) in cnl_get_errno()
465 int cnl_sst_init_fw(struct device *dev, struct skl_sst *ctx) in cnl_sst_init_fw()
484 void cnl_sst_dsp_cleanup(struct device *dev, struct skl_sst *ctx) in cnl_sst_dsp_cleanup()
Dskl-topology.c119 struct skl_sst *ctx = skl->skl_sst; in skl_is_pipe_mem_avail() local
158 struct skl_sst *ctx = skl->skl_sst; in skl_is_pipe_mcps_avail() local
207 static void skl_dump_mconfig(struct skl_sst *ctx, in skl_dump_mconfig()
326 static void skl_tplg_update_buffer_size(struct skl_sst *ctx, in skl_tplg_update_buffer_size()
378 struct skl_sst *ctx) in skl_tplg_update_be_blob()
440 struct skl_sst *ctx) in skl_tplg_update_module_params()
475 struct skl_sst *ctx) in skl_tplg_set_module_params()
546 static int skl_tplg_module_prepare(struct skl_sst *ctx, struct skl_pipe *pipe, in skl_tplg_module_prepare()
571 struct skl_sst *ctx = skl->skl_sst; in skl_tplg_init_pipe_modules() local
649 static int skl_tplg_unload_pipe_modules(struct skl_sst *ctx, in skl_tplg_unload_pipe_modules()
[all …]
Dskl-sst-utils.c116 int skl_get_pvt_instance_id_map(struct skl_sst *ctx, in skl_get_pvt_instance_id_map()
186 int skl_get_pvt_id(struct skl_sst *ctx, uuid_le *uuid_mod, int instance_id) in skl_get_pvt_id()
215 int skl_put_pvt_id(struct skl_sst *ctx, uuid_le *uuid_mod, int *pvt_id) in skl_put_pvt_id()
242 int snd_skl_parse_uuids(struct sst_dsp *ctx, const struct firmware *fw, in snd_skl_parse_uuids()
335 void skl_freeup_uuid_list(struct skl_sst *ctx) in skl_freeup_uuid_list()
/sound/soc/intel/atom/sst/
Dsst_drv_interface.c51 int free_stream_context(struct intel_sst_drv *ctx, unsigned int str_id) in free_stream_context()
69 int sst_get_stream_allocated(struct intel_sst_drv *ctx, in sst_get_stream_allocated()
125 int sst_get_stream(struct intel_sst_drv *ctx, in sst_get_stream()
145 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_power_control() local
186 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_open_pcm_stream() local
205 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_open() local
233 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_close() local
269 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_ack() local
300 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_set_metadata() local
319 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_stream_pause() local
[all …]
Dsst.c202 struct intel_sst_drv *ctx = container_of(work, in sst_process_pending_msg() local
208 static int sst_workqueue_init(struct intel_sst_drv *ctx) in sst_workqueue_init()
224 static void sst_init_locks(struct intel_sst_drv *ctx) in sst_init_locks()
232 int sst_alloc_drv_context(struct intel_sst_drv **ctx, in sst_alloc_drv_context()
249 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in firmware_version_show() local
272 int sst_context_init(struct intel_sst_drv *ctx) in sst_context_init()
365 void sst_context_cleanup(struct intel_sst_drv *ctx) in sst_context_cleanup()
385 void sst_configure_runtime_pm(struct intel_sst_drv *ctx) in sst_configure_runtime_pm()
410 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in intel_sst_runtime_suspend() local
433 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in intel_sst_suspend() local
[all …]
Dsst_loader.c115 static int sst_validate_fw_image(struct intel_sst_drv *ctx, unsigned long size, in sst_validate_fw_image()
239 static int sst_parse_fw_memcpy(struct intel_sst_drv *ctx, unsigned long size, in sst_parse_fw_memcpy()
322 struct intel_sst_drv *ctx = context; in sst_firmware_load_cb() local
390 void sst_post_download_mrfld(struct intel_sst_drv *ctx) in sst_post_download_mrfld()
Dsst_ipc.c37 struct sst_block *sst_create_block(struct intel_sst_drv *ctx, in sst_create_block()
72 int sst_wake_up_block(struct intel_sst_drv *ctx, int result, in sst_wake_up_block()
101 int sst_free_block(struct intel_sst_drv *ctx, struct sst_block *freed) in sst_free_block()
Dsst_acpi.c159 static int sst_platform_get_resources(struct intel_sst_drv *ctx) in sst_platform_get_resources()
286 struct intel_sst_drv *ctx; in sst_acpi_probe() local
376 struct intel_sst_drv *ctx; in sst_acpi_remove() local
/sound/soc/au1x/
Dac97c.c71 static inline unsigned long RD(struct au1xpsc_audio_data *ctx, int reg) in RD()
76 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR()
85 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_read() local
127 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_write() local
156 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_warm_reset() local
166 struct au1xpsc_audio_data *ctx = ac97_to_ctx(ac97); in au1xac97c_ac97_cold_reset() local
192 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in alchemy_ac97c_startup() local
233 struct au1xpsc_audio_data *ctx; in au1xac97c_drvprobe() local
289 struct au1xpsc_audio_data *ctx = platform_get_drvdata(pdev); in au1xac97c_drvremove() local
303 struct au1xpsc_audio_data *ctx = dev_get_drvdata(dev); in au1xac97c_drvsuspend() local
[all …]
Di2sc.c69 static inline unsigned long RD(struct au1xpsc_audio_data *ctx, int reg) in RD()
74 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR()
82 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(cpu_dai); in au1xi2s_set_fmt() local
138 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_trigger() local
184 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_hw_params() local
199 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_startup() local
235 struct au1xpsc_audio_data *ctx; in au1xi2s_drvprobe() local
273 struct au1xpsc_audio_data *ctx = platform_get_drvdata(pdev); in au1xi2s_drvremove() local
285 struct au1xpsc_audio_data *ctx = dev_get_drvdata(dev); in au1xi2s_drvsuspend() local
Ddma.c182 struct alchemy_pcm_ctx *ctx = ss_to_ctx(ss); in ss_to_as() local
188 struct alchemy_pcm_ctx *ctx = ss_to_ctx(substream); in alchemy_pcm_open() local
214 struct alchemy_pcm_ctx *ctx = ss_to_ctx(substream); in alchemy_pcm_close() local
307 struct alchemy_pcm_ctx *ctx; in alchemy_pcm_drvprobe() local
/sound/x86/
Dintel_hdmi_audio.c223 static void had_read_register(struct snd_intelhad *ctx, u32 reg, u32 *val) in had_read_register()
231 static void had_write_register(struct snd_intelhad *ctx, u32 reg, u32 val) in had_write_register()
262 static void had_ack_irqs(struct snd_intelhad *ctx) in had_ack_irqs()
1561 struct snd_intelhad *ctx = &card_ctx->pcm_ctx[port]; in display_pipe_interrupt_handler() local
1582 struct snd_intelhad *ctx = &card_ctx->pcm_ctx[port]; in notify_audio_lpe() local
1590 struct snd_intelhad *ctx = in had_audio_wq() local
1646 static int had_create_jack(struct snd_intelhad *ctx, in had_create_jack()
1674 struct snd_intelhad *ctx = &card_ctx->pcm_ctx[port]; in hdmi_lpe_audio_runtime_suspend() local
1725 struct snd_intelhad *ctx = &card_ctx->pcm_ctx[port]; in hdmi_lpe_audio_free() local
1822 struct snd_intelhad *ctx = &card_ctx->pcm_ctx[port]; in hdmi_lpe_audio_probe() local
[all …]
/sound/soc/intel/boards/
Dskl_nau88l25_ssm4567.c236 struct skl_nau88125_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi1_init() local
254 struct skl_nau88125_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi2_init() local
273 struct skl_nau88125_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi3_init() local
658 struct skl_nau88125_private *ctx = snd_soc_card_get_drvdata(card); in skylake_card_late_probe() local
710 struct skl_nau88125_private *ctx; in skylake_audio_probe() local
Dskl_nau88l25_max98357a.c206 struct skl_nau8825_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi1_init() local
224 struct skl_nau8825_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi2_init() local
242 struct skl_nau8825_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi3_init() local
607 struct skl_nau8825_private *ctx = snd_soc_card_get_drvdata(card); in skylake_card_late_probe() local
657 struct skl_nau8825_private *ctx; in skylake_audio_probe() local
Dkbl_rt5663_rt5514_max98927.c180 struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); in kabylake_rt5663_codec_init() local
214 struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card); in kabylake_hdmi_init() local
602 struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(card); in kabylake_card_late_probe() local
653 struct kbl_codec_private *ctx; in kabylake_audio_probe() local
Dskl_rt286.c153 struct skl_rt286_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi_init() local
479 struct skl_rt286_private *ctx = snd_soc_card_get_drvdata(card); in skylake_card_late_probe() local
528 struct skl_rt286_private *ctx; in skylake_audio_probe() local
Dkbl_rt5663_max98927.c209 struct kbl_rt5663_private *ctx = snd_soc_card_get_drvdata(rtd->card); in kabylake_rt5663_codec_init() local
247 struct kbl_rt5663_private *ctx = snd_soc_card_get_drvdata(rtd->card); in kabylake_hdmi_init() local
773 struct kbl_rt5663_private *ctx = snd_soc_card_get_drvdata(card); in kabylake_card_late_probe() local
840 struct kbl_rt5663_private *ctx; in kabylake_audio_probe() local
Dbxt_rt298.c190 struct bxt_rt286_private *ctx = snd_soc_card_get_drvdata(rtd->card); in broxton_hdmi_init() local
497 struct bxt_rt286_private *ctx = snd_soc_card_get_drvdata(card); in bxt_card_late_probe() local
561 struct bxt_rt286_private *ctx; in broxton_audio_probe() local
/sound/usb/
Dendpoint.c187 struct snd_urb_ctx *ctx) in prepare_silent_urb()
231 struct snd_urb_ctx *ctx) in prepare_outbound_urb()
327 struct snd_urb_ctx *ctx = NULL; in queue_pending_output_urbs() local
372 struct snd_urb_ctx *ctx = urb->context; in snd_complete_urb() local
968 struct snd_urb_ctx *ctx = ep->urb + i; in snd_usb_endpoint_start() local

12