Lines Matching defs:snd_sof_dev

485 struct snd_sof_dev {  struct
486 struct device *dev;
487 spinlock_t ipc_lock; /* lock for IPC users */
488 spinlock_t hw_lock; /* lock for HW IO access */
494 struct snd_soc_component_driver plat_drv;
497 struct sof_dsp_power_state dsp_power_state;
499 struct mutex power_state_access;
502 enum sof_system_suspend_state system_suspend_target;
505 wait_queue_head_t boot_wait;
506 enum sof_fw_state fw_state;
507 bool first_boot;
510 struct work_struct probe_work;
511 bool probe_completed;
514 struct snd_sof_pdata *pdata;
517 struct snd_sof_ipc *ipc;
518 struct snd_sof_mailbox dsp_box; /* DSP initiated IPC */
519 struct snd_sof_mailbox host_box; /* Host initiated IPC */
520 struct snd_sof_mailbox stream_box; /* Stream position update */
521 struct snd_sof_mailbox debug_box; /* Debug info updates */
522 struct snd_sof_ipc_msg *msg;
523 int ipc_irq;
524 u32 next_comp_id; /* monotonic - reset during S3 */
527 void __iomem *bar[SND_SOF_BARS]; /* DSP base address */
528 int mmio_bar;
529 int mailbox_bar;
530 size_t dsp_oops_offset;
533 struct dentry *debugfs_root;
534 struct list_head dfsentry_list;
535 bool dbg_dump_printed;
536 bool ipc_dump_printed;
539 struct sof_ipc_fw_ready fw_ready;
540 struct sof_ipc_fw_version fw_version;
541 struct sof_ipc_cc_version *cc_version;
544 struct snd_soc_tplg_ops *tplg_ops;
545 struct list_head pcm_list;
546 struct list_head kcontrol_list;
547 struct list_head widget_list;
548 struct list_head dai_list;
549 struct list_head dai_link_list;
550 struct list_head route_list;
551 struct snd_soc_component *component;
552 u32 enabled_cores_mask; /* keep track of enabled cores */
553 bool led_present;
556 struct sof_ipc_window *info_window;
559 int ipc_timeout;
560 int boot_timeout;
563 bool fw_trace_is_supported; /* set with Kconfig or module parameter */
564 void *fw_trace_data; /* private data used by firmware tracing implementation */
566 bool msi_enabled;
569 u32 num_cores;
578 int dsp_core_ref_count[SOF_MAX_DSP_NUM_CORES];
584 struct list_head ipc_client_list;
587 struct mutex ipc_client_mutex;
615 int snd_sof_device_probe(struct device *dev, struct snd_sof_pdata *plat_data); argument
625 int snd_sof_dsp_power_down_notify(struct snd_sof_dev *sdev); argument