Home
last modified time | relevance | path

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

/sound/soc/intel/atom/sst/
Dsst.h351 struct intel_sst_drv { struct
416 void (*clear_interrupt)(struct intel_sst_drv *ctx); argument
417 int (*start)(struct intel_sst_drv *ctx);
418 int (*reset)(struct intel_sst_drv *ctx);
419 void (*process_reply)(struct intel_sst_drv *ctx, struct ipc_post *msg);
420 int (*post_message)(struct intel_sst_drv *ctx,
424 int (*save_dsp_context)(struct intel_sst_drv *sst);
426 int (*alloc_stream)(struct intel_sst_drv *ctx, void *params);
427 void (*post_download)(struct intel_sst_drv *sst);
430 int sst_realloc_stream(struct intel_sst_drv *sst_drv_ctx, int str_id);
[all …]
Dsst_drv_interface.c43 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()
178 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_open_pcm_stream()
197 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_open()
225 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_close()
251 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_ack()
280 struct intel_sst_drv *ctx = dev_get_drvdata(dev); in sst_cdev_set_metadata()
299 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.c66 struct intel_sst_drv *sst_drv_ctx, int sst_state) in sst_set_fw_state_locked()
82 int sst_wait_interruptible(struct intel_sst_drv *sst_drv_ctx, in sst_wait_interruptible()
115 int sst_wait_timeout(struct intel_sst_drv *sst_drv_ctx, struct sst_block *block) in sst_wait_timeout()
188 struct intel_sst_drv *sst_drv_ctx, struct sst_block **block, in sst_create_block_and_ipc_msg()
221 int sst_prepare_and_post_msg(struct intel_sst_drv *sst, in sst_prepare_and_post_msg()
292 int sst_pm_runtime_put(struct intel_sst_drv *sst_drv) in sst_pm_runtime_put()
336 int sst_assign_pvt_id(struct intel_sst_drv *drv) in sst_assign_pvt_id()
356 struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_validate_strid()
369 struct intel_sst_drv *sst_drv_ctx, int str_id) in get_stream_info()
376 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()
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()
286 static int sst_cache_and_parse_fw(struct intel_sst_drv *sst, in sst_cache_and_parse_fw()
314 struct intel_sst_drv *ctx = context; in sst_firmware_load_cb()
343 static int sst_request_fw(struct intel_sst_drv *sst) in sst_request_fw()
382 void sst_post_download_mrfld(struct intel_sst_drv *ctx) in sst_post_download_mrfld()
[all …]
Dsst_stream.c28 int sst_alloc_stream_mrfld(struct intel_sst_drv *sst_drv_ctx, void *params) in sst_alloc_stream_mrfld()
102 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()
242 int sst_pause_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_pause_stream()
286 int sst_resume_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_resume_stream()
353 int sst_drop_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_drop_stream()
386 int sst_drain_stream(struct intel_sst_drv *sst_drv_ctx, in sst_drain_stream()
423 int sst_free_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_free_stream()
Dsst_ipc.c29 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()
116 int sst_post_message_mrfld(struct intel_sst_drv *sst_drv_ctx, in sst_post_message_mrfld()
179 void intel_sst_clear_intr_mrfld(struct intel_sst_drv *sst_drv_ctx) in intel_sst_clear_intr_mrfld()
216 static void process_fw_init(struct intel_sst_drv *sst_drv_ctx, in process_fw_init()
249 static void process_fw_async_msg(struct intel_sst_drv *sst_drv_ctx, in process_fw_async_msg()
319 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.c149 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()
333 struct intel_sst_drv *ctx; in sst_acpi_remove()