Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
Dsst.h358 struct intel_sst_drv { struct
423 void (*clear_interrupt)(struct intel_sst_drv *ctx); argument
424 int (*start)(struct intel_sst_drv *ctx);
425 int (*reset)(struct intel_sst_drv *ctx);
426 void (*process_reply)(struct intel_sst_drv *ctx, struct ipc_post *msg);
427 int (*post_message)(struct intel_sst_drv *ctx,
431 int (*save_dsp_context)(struct intel_sst_drv *sst);
433 int (*alloc_stream)(struct intel_sst_drv *ctx, void *params);
434 void (*post_download)(struct intel_sst_drv *sst);
437 int sst_realloc_stream(struct intel_sst_drv *sst_drv_ctx, int str_id);
[all …]
Dsst_drv_interface.c40 int free_stream_context(struct intel_sst_drv *ctx, unsigned int str_id) in free_stream_context()
58 int sst_get_stream_allocated(struct intel_sst_drv *ctx, in sst_get_stream_allocated()
114 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()
175 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_open_pcm_stream()
194 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_open()
222 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_close()
248 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_ack()
277 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_set_metadata()
296 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_stream_pause()
[all …]
Dsst.c52 struct intel_sst_drv *drv = (struct intel_sst_drv *) context; in intel_sst_interrupt_mrfld()
116 struct intel_sst_drv *drv = (struct intel_sst_drv *) context; in intel_sst_irq_thread_mrfld()
143 static int sst_save_dsp_context_v2(struct intel_sst_drv *sst) in sst_save_dsp_context_v2()
173 int sst_driver_ops(struct intel_sst_drv *sst) in sst_driver_ops()
194 struct intel_sst_drv *ctx = container_of(work, in sst_process_pending_msg()
195 struct intel_sst_drv, ipc_post_msg_wq); in sst_process_pending_msg()
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()
227 *ctx = devm_kzalloc(dev, sizeof(struct intel_sst_drv), GFP_KERNEL); in sst_alloc_drv_context()
[all …]
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 …]
Dsst_loader.c55 int intel_sst_reset_dsp_mrfld(struct intel_sst_drv *sst_drv_ctx) in intel_sst_reset_dsp_mrfld()
84 int sst_start_mrfld(struct intel_sst_drv *sst_drv_ctx) in sst_start_mrfld()
108 static int sst_validate_fw_image(struct intel_sst_drv *ctx, unsigned long size, in sst_validate_fw_image()
173 static int sst_parse_module_memcpy(struct intel_sst_drv *sst_drv_ctx, in sst_parse_module_memcpy()
232 static int sst_parse_fw_memcpy(struct intel_sst_drv *ctx, unsigned long size, in sst_parse_fw_memcpy()
273 void sst_memcpy_free_resources(struct intel_sst_drv *sst_drv_ctx) in sst_memcpy_free_resources()
285 static int sst_cache_and_parse_fw(struct intel_sst_drv *sst, in sst_cache_and_parse_fw()
313 struct intel_sst_drv *ctx = context; in sst_firmware_load_cb()
342 static int sst_request_fw(struct intel_sst_drv *sst) in sst_request_fw()
381 void sst_post_download_mrfld(struct intel_sst_drv *ctx) in sst_post_download_mrfld()
[all …]
Dsst_stream.c27 int sst_alloc_stream_mrfld(struct intel_sst_drv *sst_drv_ctx, void *params) in sst_alloc_stream_mrfld()
101 int sst_realloc_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_realloc_stream()
151 int sst_start_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_start_stream()
171 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()
Dsst_ipc.c28 struct sst_block *sst_create_block(struct intel_sst_drv *ctx, in sst_create_block()
63 int sst_wake_up_block(struct intel_sst_drv *ctx, int result, in sst_wake_up_block()
92 int sst_free_block(struct intel_sst_drv *ctx, struct sst_block *freed) in sst_free_block()
115 int sst_post_message_mrfld(struct intel_sst_drv *sst_drv_ctx, in sst_post_message_mrfld()
178 void intel_sst_clear_intr_mrfld(struct intel_sst_drv *sst_drv_ctx) in intel_sst_clear_intr_mrfld()
215 static void process_fw_init(struct intel_sst_drv *sst_drv_ctx, in process_fw_init()
248 static void process_fw_async_msg(struct intel_sst_drv *sst_drv_ctx, in process_fw_async_msg()
318 void sst_process_reply_mrfld(struct intel_sst_drv *sst_drv_ctx, in sst_process_reply_mrfld()
Dsst_pci.c25 static int sst_platform_get_resources(struct intel_sst_drv *ctx) in sst_platform_get_resources()
116 struct intel_sst_drv *sst_drv_ctx; in intel_sst_probe()
167 struct intel_sst_drv *sst_drv_ctx = pci_get_drvdata(pci); in intel_sst_remove()
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()
332 struct intel_sst_drv *ctx; in sst_acpi_remove()