Lines Matching full:optional
168 int (*probe_early)(struct snd_sof_dev *sof_dev); /* optional */
170 void (*remove)(struct snd_sof_dev *sof_dev); /* optional */
171 void (*remove_late)(struct snd_sof_dev *sof_dev); /* optional */
172 int (*shutdown)(struct snd_sof_dev *sof_dev); /* optional */
176 int (*stall)(struct snd_sof_dev *sof_dev, unsigned int core_mask); /* optional */
177 int (*reset)(struct snd_sof_dev *sof_dev); /* optional */
178 int (*core_get)(struct snd_sof_dev *sof_dev, int core); /* optional */
179 int (*core_put)(struct snd_sof_dev *sof_dev, int core); /* optional */
187 u8 value); /* optional */
189 void __iomem *addr); /* optional */
191 u32 value); /* optional */
193 void __iomem *addr); /* optional */
195 u64 value); /* optional */
197 void __iomem *addr); /* optional */
210 size_t size); /* optional */
213 size_t size); /* optional */
216 irqreturn_t (*irq_handler)(int irq, void *context); /* optional */
217 irqreturn_t (*irq_thread)(int irq, void *context); /* optional */
226 struct snd_sof_mod_hdr *hdr); /* optional */
230 struct snd_pcm_substream *substream); /* optional */
233 struct snd_pcm_substream *substream); /* optional */
239 struct snd_sof_platform_stream_params *platform_params); /* optional */
243 struct snd_pcm_substream *substream); /* optional */
248 int cmd); /* optional */
252 struct snd_pcm_substream *substream); /* optional */
255 int (*pcm_ack)(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream); /* optional */
258 * optional callback to retrieve the number of frames left/arrived from/to
266 struct snd_pcm_substream *substream); /* optional */
269 * Optional callback to retrieve the number of bytes left/arrived from/to
276 struct snd_pcm_substream *substream); /* optional */
286 size_t posn_offset); /* optional */
289 int (*pre_fw_run)(struct snd_sof_dev *sof_dev); /* optional */
290 int (*post_fw_run)(struct snd_sof_dev *sof_dev); /* optional */
292 /* parse platform specific extended manifest, optional */
298 u32 target_state); /* optional */
299 int (*resume)(struct snd_sof_dev *sof_dev); /* optional */
300 int (*runtime_suspend)(struct snd_sof_dev *sof_dev); /* optional */
301 int (*runtime_resume)(struct snd_sof_dev *sof_dev); /* optional */
302 int (*runtime_idle)(struct snd_sof_dev *sof_dev); /* optional */
303 int (*set_hw_params_upon_resume)(struct snd_sof_dev *sdev); /* optional */
305 const struct sof_dsp_power_state *target_state); /* optional */
308 int (*set_clk)(struct snd_sof_dev *sof_dev, u32 freq); /* optional */
311 const struct snd_sof_debugfs_map *debug_map; /* optional */
312 int debug_map_count; /* optional */
314 u32 flags); /* optional */
315 void (*ipc_dump)(struct snd_sof_dev *sof_dev); /* optional */
319 enum sof_debugfs_access_type access_type); /* optional */
324 struct sof_ipc_dma_trace_params_ext *dtrace_params); /* optional */
325 int (*trace_release)(struct snd_sof_dev *sdev); /* optional */
327 int cmd); /* optional */
331 u32 type); /* optional */
338 void *pdata); /* optional */
340 void *pdata); /* optional */
341 struct snd_soc_acpi_mach * (*machine_select)(struct snd_sof_dev *sdev); /* optional */
343 struct snd_sof_dev *sdev); /* optional */
346 int (*register_ipc_clients)(struct snd_sof_dev *sdev); /* optional */
347 void (*unregister_ipc_clients)(struct snd_sof_dev *sdev); /* optional */
353 bool (*is_chain_dma_supported)(struct snd_sof_dev *sdev, u32 dai_type); /* optional */
431 * @free: Optional function pointer for freeing of the tracing
432 * @fw_crashed: Optional function pointer to notify the tracing of a firmware crash
446 * @ctx_save: Optional function pointer for context save
447 * @ctx_restore: Optional function pointer for context restore
448 * @set_core_state: Optional function pointer for turning on/off a DSP core
449 * @set_pm_gate: Optional function pointer for pm gate settings
462 * @load_fw_to_dsp: Optional function pointer for loading the firmware to the
482 * @fw_tracing: Optional pointer to Firmware tracing ops
484 * @init: Optional pointer for IPC related initialization
485 * @exit: Optional pointer for IPC related cleanup
486 * @post_fw_boot: Optional pointer to execute IPC related tasks after firmware