Lines Matching full:optional
176 int (*probe_early)(struct snd_sof_dev *sof_dev); /* optional */
178 void (*remove)(struct snd_sof_dev *sof_dev); /* optional */
179 void (*remove_late)(struct snd_sof_dev *sof_dev); /* optional */
180 int (*shutdown)(struct snd_sof_dev *sof_dev); /* optional */
184 int (*stall)(struct snd_sof_dev *sof_dev, unsigned int core_mask); /* optional */
185 int (*reset)(struct snd_sof_dev *sof_dev); /* optional */
186 int (*core_get)(struct snd_sof_dev *sof_dev, int core); /* optional */
187 int (*core_put)(struct snd_sof_dev *sof_dev, int core); /* optional */
195 u8 value); /* optional */
197 void __iomem *addr); /* optional */
199 u32 value); /* optional */
201 void __iomem *addr); /* optional */
203 u64 value); /* optional */
205 void __iomem *addr); /* optional */
218 size_t size); /* optional */
221 size_t size); /* optional */
224 irqreturn_t (*irq_handler)(int irq, void *context); /* optional */
225 irqreturn_t (*irq_thread)(int irq, void *context); /* optional */
234 struct snd_sof_mod_hdr *hdr); /* optional */
238 struct snd_pcm_substream *substream); /* optional */
241 struct snd_pcm_substream *substream); /* optional */
247 struct snd_sof_platform_stream_params *platform_params); /* optional */
251 struct snd_pcm_substream *substream); /* optional */
256 int cmd); /* optional */
260 struct snd_pcm_substream *substream); /* optional */
263 int (*pcm_ack)(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream); /* optional */
266 * optional callback to retrieve the number of frames left/arrived from/to
274 struct snd_pcm_substream *substream); /* optional */
277 * Optional callback to retrieve the number of bytes left/arrived from/to
284 struct snd_pcm_substream *substream); /* optional */
294 size_t posn_offset); /* optional */
297 int (*pre_fw_run)(struct snd_sof_dev *sof_dev); /* optional */
298 int (*post_fw_run)(struct snd_sof_dev *sof_dev); /* optional */
300 /* parse platform specific extended manifest, optional */
306 u32 target_state); /* optional */
307 int (*resume)(struct snd_sof_dev *sof_dev); /* optional */
308 int (*runtime_suspend)(struct snd_sof_dev *sof_dev); /* optional */
309 int (*runtime_resume)(struct snd_sof_dev *sof_dev); /* optional */
310 int (*runtime_idle)(struct snd_sof_dev *sof_dev); /* optional */
311 int (*set_hw_params_upon_resume)(struct snd_sof_dev *sdev); /* optional */
313 const struct sof_dsp_power_state *target_state); /* optional */
316 int (*set_clk)(struct snd_sof_dev *sof_dev, u32 freq); /* optional */
319 const struct snd_sof_debugfs_map *debug_map; /* optional */
320 int debug_map_count; /* optional */
322 u32 flags); /* optional */
323 void (*ipc_dump)(struct snd_sof_dev *sof_dev); /* optional */
327 enum sof_debugfs_access_type access_type); /* optional */
332 struct sof_ipc_dma_trace_params_ext *dtrace_params); /* optional */
333 int (*trace_release)(struct snd_sof_dev *sdev); /* optional */
335 int cmd); /* optional */
339 u32 type); /* optional */
346 void *pdata); /* optional */
348 void *pdata); /* optional */
349 struct snd_soc_acpi_mach * (*machine_select)(struct snd_sof_dev *sdev); /* optional */
351 struct snd_sof_dev *sdev); /* optional */
354 int (*register_ipc_clients)(struct snd_sof_dev *sdev); /* optional */
355 void (*unregister_ipc_clients)(struct snd_sof_dev *sdev); /* optional */
361 bool (*is_chain_dma_supported)(struct snd_sof_dev *sdev, u32 dai_type); /* optional */
439 * @free: Optional function pointer for freeing of the tracing
440 * @fw_crashed: Optional function pointer to notify the tracing of a firmware crash
454 * @ctx_save: Optional function pointer for context save
455 * @ctx_restore: Optional function pointer for context restore
456 * @set_core_state: Optional function pointer for turning on/off a DSP core
457 * @set_pm_gate: Optional function pointer for pm gate settings
470 * @load_fw_to_dsp: Optional function pointer for loading the firmware to the
490 * @fw_tracing: Optional pointer to Firmware tracing ops
492 * @init: Optional pointer for IPC related initialization
493 * @exit: Optional pointer for IPC related cleanup
494 * @post_fw_boot: Optional pointer to execute IPC related tasks after firmware