Home
last modified time | relevance | path

Searched refs:intel_sst_drv (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/sound/soc/intel/atom/sst/
H A Dsst.h355 struct intel_sst_drv { struct
420 void (*clear_interrupt)(struct intel_sst_drv *ctx); argument
421 int (*start)(struct intel_sst_drv *ctx);
422 int (*reset)(struct intel_sst_drv *ctx);
424 int (*post_message)(struct intel_sst_drv *ctx,
431 void (*post_download)(struct intel_sst_drv *sst);
444 int sst_get_stream(struct intel_sst_drv *ctx,
458 int sst_load_fw(struct intel_sst_drv *sst_drv_ctx);
488 int sst_driver_ops(struct intel_sst_drv *sst);
497 int sst_assign_pvt_id(struct intel_sst_drv *drv);
[all …]
H A Dsst_drv_interface.c114 int sst_get_stream(struct intel_sst_drv *ctx, in sst_get_stream()
134 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_power_control()
174 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_open_pcm_stream()
193 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_open()
219 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_close()
245 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_ack()
274 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_set_metadata()
293 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_stream_pause()
301 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_stream_pause_release()
309 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_stream_start()
[all …]
H A Dsst.c53 struct intel_sst_drv *drv = (struct intel_sst_drv *) context; in intel_sst_interrupt_mrfld()
117 struct intel_sst_drv *drv = (struct intel_sst_drv *) context; in intel_sst_irq_thread_mrfld()
174 int sst_driver_ops(struct intel_sst_drv *sst) in sst_driver_ops()
195 struct intel_sst_drv *ctx = container_of(work, in sst_process_pending_msg()
196 struct intel_sst_drv, ipc_post_msg_wq); in sst_process_pending_msg()
247 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in firmware_version_show()
270 int sst_context_init(struct intel_sst_drv *ctx) in sst_context_init()
362 void sst_context_cleanup(struct intel_sst_drv *ctx) in sst_context_cleanup()
405 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in intel_sst_runtime_suspend()
428 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in intel_sst_suspend()
[all …]
H A Dsst_pvt.c65 struct intel_sst_drv *sst_drv_ctx, int sst_state) in sst_set_fw_state_locked()
81 int sst_wait_interruptible(struct intel_sst_drv *sst_drv_ctx, in sst_wait_interruptible()
114 int sst_wait_timeout(struct intel_sst_drv *sst_drv_ctx, struct sst_block *block) in sst_wait_timeout()
187 struct intel_sst_drv *sst_drv_ctx, struct sst_block **block, in sst_create_block_and_ipc_msg()
220 int sst_prepare_and_post_msg(struct intel_sst_drv *sst, in sst_prepare_and_post_msg()
291 int sst_pm_runtime_put(struct intel_sst_drv *sst_drv) in sst_pm_runtime_put()
335 int sst_assign_pvt_id(struct intel_sst_drv *drv) in sst_assign_pvt_id()
355 struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_validate_strid()
368 struct intel_sst_drv *sst_drv_ctx, int str_id) in get_stream_info()
375 int get_stream_id_mrfld(struct intel_sst_drv *sst_drv_ctx, in get_stream_id_mrfld()
[all …]
H A Dsst_loader.c54 int intel_sst_reset_dsp_mrfld(struct intel_sst_drv *sst_drv_ctx) in intel_sst_reset_dsp_mrfld()
83 int sst_start_mrfld(struct intel_sst_drv *sst_drv_ctx) in sst_start_mrfld()
107 static int sst_validate_fw_image(struct intel_sst_drv *ctx, unsigned long size, in sst_validate_fw_image()
172 static int sst_parse_module_memcpy(struct intel_sst_drv *sst_drv_ctx, in sst_parse_module_memcpy()
231 static int sst_parse_fw_memcpy(struct intel_sst_drv *ctx, unsigned long size, in sst_parse_fw_memcpy()
272 void sst_memcpy_free_resources(struct intel_sst_drv *sst_drv_ctx) in sst_memcpy_free_resources()
284 static int sst_cache_and_parse_fw(struct intel_sst_drv *sst, in sst_cache_and_parse_fw()
312 struct intel_sst_drv *ctx = context; in sst_firmware_load_cb()
341 static int sst_request_fw(struct intel_sst_drv *sst) in sst_request_fw()
380 void sst_post_download_mrfld(struct intel_sst_drv *ctx) in sst_post_download_mrfld()
[all …]
H A Dsst_stream.c26 int sst_alloc_stream_mrfld(struct intel_sst_drv *sst_drv_ctx, void *params) in sst_alloc_stream_mrfld()
100 int sst_realloc_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_realloc_stream()
150 int sst_start_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_start_stream()
170 int sst_send_byte_stream_mrfld(struct intel_sst_drv *sst_drv_ctx, in sst_send_byte_stream_mrfld()
243 int sst_pause_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_pause_stream()
288 int sst_resume_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_resume_stream()
356 int sst_drop_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_drop_stream()
391 int sst_drain_stream(struct intel_sst_drv *sst_drv_ctx, in sst_drain_stream()
429 int sst_free_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_free_stream()
H A Dsst_ipc.c27 struct sst_block *sst_create_block(struct intel_sst_drv *ctx, in sst_create_block()
62 int sst_wake_up_block(struct intel_sst_drv *ctx, int result, in sst_wake_up_block()
91 int sst_free_block(struct intel_sst_drv *ctx, struct sst_block *freed) in sst_free_block()
114 int sst_post_message_mrfld(struct intel_sst_drv *sst_drv_ctx, in sst_post_message_mrfld()
177 void intel_sst_clear_intr_mrfld(struct intel_sst_drv *sst_drv_ctx) in intel_sst_clear_intr_mrfld()
214 static void process_fw_init(struct intel_sst_drv *sst_drv_ctx, in process_fw_init()
247 static void process_fw_async_msg(struct intel_sst_drv *sst_drv_ctx, in process_fw_async_msg()
317 void sst_process_reply_mrfld(struct intel_sst_drv *sst_drv_ctx, in sst_process_reply_mrfld()
H A Dsst_pci.c24 static int sst_platform_get_resources(struct intel_sst_drv *ctx) in sst_platform_get_resources()
115 struct intel_sst_drv *sst_drv_ctx; in intel_sst_probe()
166 struct intel_sst_drv *sst_drv_ctx = pci_get_drvdata(pci); in intel_sst_remove()
H A Dsst_acpi.c148 static int sst_platform_get_resources(struct intel_sst_drv *ctx) in sst_platform_get_resources()
238 struct intel_sst_drv *ctx; in sst_acpi_probe()
339 struct intel_sst_drv *ctx; in sst_acpi_remove()