Lines Matching defs:snd_sof_dev
366 struct snd_sof_dev { struct
367 struct device *dev;
368 spinlock_t ipc_lock; /* lock for IPC users */
369 spinlock_t hw_lock; /* lock for HW IO access */
375 struct snd_soc_component_driver plat_drv;
378 struct sof_dsp_power_state dsp_power_state;
380 struct mutex power_state_access;
383 enum sof_system_suspend_state system_suspend_target;
386 wait_queue_head_t boot_wait;
387 enum snd_sof_fw_state fw_state;
388 bool first_boot;
391 struct work_struct probe_work;
392 bool probe_completed;
395 struct snd_sof_pdata *pdata;
398 struct snd_sof_ipc *ipc;
399 struct snd_sof_mailbox dsp_box; /* DSP initiated IPC */
400 struct snd_sof_mailbox host_box; /* Host initiated IPC */
401 struct snd_sof_mailbox stream_box; /* Stream position update */
402 struct snd_sof_mailbox debug_box; /* Debug info updates */
403 struct snd_sof_ipc_msg *msg;
404 int ipc_irq;
405 u32 next_comp_id; /* monotonic - reset during S3 */
408 void __iomem *bar[SND_SOF_BARS]; /* DSP base address */
409 int mmio_bar;
410 int mailbox_bar;
411 size_t dsp_oops_offset;
414 struct dentry *debugfs_root;
415 struct list_head dfsentry_list;
418 struct snd_dma_buffer dmab;
419 struct snd_dma_buffer dmab_bdl;
420 struct sof_ipc_fw_ready fw_ready;
421 struct sof_ipc_fw_version fw_version;
422 struct sof_ipc_cc_version *cc_version;
425 struct snd_soc_tplg_ops *tplg_ops;
426 struct list_head pcm_list;
427 struct list_head kcontrol_list;
428 struct list_head widget_list;
429 struct list_head dai_list;
430 struct list_head route_list;
431 struct snd_soc_component *component;
432 u32 enabled_cores_mask; /* keep track of enabled cores */
435 struct sof_ipc_window *info_window;
438 int ipc_timeout;
439 int boot_timeout;
465 int snd_sof_device_probe(struct device *dev, struct snd_sof_pdata *plat_data); argument
475 int snd_sof_dsp_power_down_notify(struct snd_sof_dev *sdev); argument