Lines Matching defs:snd_sof_dev

382 struct snd_sof_dev {  struct
383 struct device *dev;
384 spinlock_t ipc_lock; /* lock for IPC users */
385 spinlock_t hw_lock; /* lock for HW IO access */
391 struct snd_soc_component_driver plat_drv;
394 struct sof_dsp_power_state dsp_power_state;
396 struct mutex power_state_access;
399 enum sof_system_suspend_state system_suspend_target;
402 wait_queue_head_t boot_wait;
403 enum snd_sof_fw_state fw_state;
404 bool first_boot;
407 struct work_struct probe_work;
408 bool probe_completed;
411 struct snd_sof_pdata *pdata;
414 struct snd_sof_ipc *ipc;
415 struct snd_sof_mailbox dsp_box; /* DSP initiated IPC */
416 struct snd_sof_mailbox host_box; /* Host initiated IPC */
417 struct snd_sof_mailbox stream_box; /* Stream position update */
418 struct snd_sof_mailbox debug_box; /* Debug info updates */
419 struct snd_sof_ipc_msg *msg;
420 int ipc_irq;
421 u32 next_comp_id; /* monotonic - reset during S3 */
424 void __iomem *bar[SND_SOF_BARS]; /* DSP base address */
425 int mmio_bar;
426 int mailbox_bar;
427 size_t dsp_oops_offset;
430 struct dentry *debugfs_root;
431 struct list_head dfsentry_list;
432 bool dbg_dump_printed;
433 bool ipc_dump_printed;
436 struct snd_dma_buffer dmab;
437 struct snd_dma_buffer dmab_bdl;
438 struct sof_ipc_fw_ready fw_ready;
439 struct sof_ipc_fw_version fw_version;
440 struct sof_ipc_cc_version *cc_version;
443 struct snd_soc_tplg_ops *tplg_ops;
444 struct list_head pcm_list;
445 struct list_head kcontrol_list;
446 struct list_head widget_list;
447 struct list_head dai_list;
448 struct list_head route_list;
449 struct snd_soc_component *component;
450 u32 enabled_cores_mask; /* keep track of enabled cores */
453 struct sof_ipc_window *info_window;
456 int ipc_timeout;
457 int boot_timeout;
483 int snd_sof_device_probe(struct device *dev, struct snd_sof_pdata *plat_data); argument
493 int snd_sof_dsp_power_down_notify(struct snd_sof_dev *sdev); argument