Lines Matching defs:snd_sof_dev
530 struct snd_sof_dev { struct
531 struct device *dev;
532 spinlock_t ipc_lock; /* lock for IPC users */
533 spinlock_t hw_lock; /* lock for HW IO access */
543 bool dspless_mode_selected;
546 struct sof_firmware basefw;
552 struct snd_soc_component_driver plat_drv;
555 struct sof_dsp_power_state dsp_power_state;
557 struct mutex power_state_access;
560 enum sof_system_suspend_state system_suspend_target;
563 wait_queue_head_t boot_wait;
564 enum sof_fw_state fw_state;
565 bool first_boot;
568 struct work_struct probe_work;
569 bool probe_completed;
572 struct snd_sof_pdata *pdata;
575 struct snd_sof_ipc *ipc;
576 struct snd_sof_mailbox fw_info_box; /* FW shared memory */
577 struct snd_sof_mailbox dsp_box; /* DSP initiated IPC */
578 struct snd_sof_mailbox host_box; /* Host initiated IPC */
579 struct snd_sof_mailbox stream_box; /* Stream position update */
580 struct snd_sof_mailbox debug_box; /* Debug info updates */
581 struct snd_sof_ipc_msg *msg;
582 int ipc_irq;
583 u32 next_comp_id; /* monotonic - reset during S3 */
586 void __iomem *bar[SND_SOF_BARS]; /* DSP base address */
587 int mmio_bar;
588 int mailbox_bar;
589 size_t dsp_oops_offset;
592 struct dentry *debugfs_root;
593 struct list_head dfsentry_list;
594 bool dbg_dump_printed;
595 bool ipc_dump_printed;
598 struct sof_ipc_fw_ready fw_ready;
599 struct sof_ipc_fw_version fw_version;
600 struct sof_ipc_cc_version *cc_version;
603 struct snd_soc_tplg_ops *tplg_ops;
604 struct list_head pcm_list;
605 struct list_head kcontrol_list;
606 struct list_head widget_list;
607 struct list_head pipeline_list;
608 struct list_head dai_list;
609 struct list_head dai_link_list;
610 struct list_head route_list;
611 struct snd_soc_component *component;
612 u32 enabled_cores_mask; /* keep track of enabled cores */
613 bool led_present;
616 struct sof_ipc_window *info_window;
619 int ipc_timeout;
620 int boot_timeout;
623 bool fw_trace_is_supported; /* set with Kconfig or module parameter */
624 void *fw_trace_data; /* private data used by firmware tracing implementation */
626 bool msi_enabled;
629 u32 num_cores;
638 int dsp_core_ref_count[SOF_MAX_DSP_NUM_CORES];
644 struct list_head ipc_client_list;
647 struct mutex ipc_client_mutex;
675 int snd_sof_device_probe(struct device *dev, struct snd_sof_pdata *plat_data); argument
685 int snd_sof_dsp_power_down_notify(struct snd_sof_dev *sdev); argument