Lines Matching defs:snd_sof_dev

547 struct snd_sof_dev {  struct
548 struct device *dev;
549 spinlock_t ipc_lock; /* lock for IPC users */
550 spinlock_t hw_lock; /* lock for HW IO access */
560 bool dspless_mode_selected;
563 struct sof_firmware basefw;
569 struct snd_soc_component_driver plat_drv;
572 struct sof_dsp_power_state dsp_power_state;
574 struct mutex power_state_access;
577 enum sof_system_suspend_state system_suspend_target;
580 wait_queue_head_t boot_wait;
581 enum sof_fw_state fw_state;
582 bool first_boot;
585 struct work_struct probe_work;
586 bool probe_completed;
589 struct snd_sof_pdata *pdata;
592 struct snd_sof_ipc *ipc;
593 struct snd_sof_mailbox fw_info_box; /* FW shared memory */
594 struct snd_sof_mailbox dsp_box; /* DSP initiated IPC */
595 struct snd_sof_mailbox host_box; /* Host initiated IPC */
596 struct snd_sof_mailbox stream_box; /* Stream position update */
597 struct snd_sof_mailbox debug_box; /* Debug info updates */
598 struct snd_sof_ipc_msg *msg;
599 int ipc_irq;
600 u32 next_comp_id; /* monotonic - reset during S3 */
603 void __iomem *bar[SND_SOF_BARS]; /* DSP base address */
604 int mmio_bar;
605 int mailbox_bar;
606 size_t dsp_oops_offset;
609 struct dentry *debugfs_root;
610 struct list_head dfsentry_list;
611 bool dbg_dump_printed;
612 bool ipc_dump_printed;
613 bool d3_prevented; /* runtime pm use count incremented to prevent context lost */
616 struct sof_ipc_fw_ready fw_ready;
617 struct sof_ipc_fw_version fw_version;
618 struct sof_ipc_cc_version *cc_version;
621 struct snd_soc_tplg_ops *tplg_ops;
622 struct list_head pcm_list;
623 struct list_head kcontrol_list;
624 struct list_head widget_list;
625 struct list_head pipeline_list;
626 struct list_head dai_list;
627 struct list_head dai_link_list;
628 struct list_head route_list;
629 struct snd_soc_component *component;
630 u32 enabled_cores_mask; /* keep track of enabled cores */
631 bool led_present;
634 struct sof_ipc_window *info_window;
637 int ipc_timeout;
638 int boot_timeout;
641 bool fw_trace_is_supported; /* set with Kconfig or module parameter */
642 void *fw_trace_data; /* private data used by firmware tracing implementation */
644 bool msi_enabled;
647 u32 num_cores;
656 int dsp_core_ref_count[SOF_MAX_DSP_NUM_CORES];
662 struct list_head ipc_client_list;
665 struct mutex ipc_client_mutex;
693 int snd_sof_device_probe(struct device *dev, struct snd_sof_pdata *plat_data); argument
703 int snd_sof_dsp_power_down_notify(struct snd_sof_dev *sdev); argument