8#ifndef __SOF_MODULE_INTERFACE__
9#define __SOF_MODULE_INTERFACE__
20#define SOF_MODULE_API_PRIVATE
80#if CONFIG_ZEPHYR_NATIVE_DRIVERS
110 int frag_position = (last_block << 1) | first_block;
Dynamic module interface, lifecycle callbacks, and buffer contracts.
module_cfg_fragment_position
Fragment position in config MODULE_CFG_FRAGMENT_FIRST: first fragment of the large configuration MODU...
Definition interface.h:29
static enum module_cfg_fragment_position first_last_block_to_frag_pos(bool first_block, bool last_block)
Definition module_interface.h:108
Audio sink API helpers and stream configuration.
Audio source API helpers and stream configuration.
Audio component base device "class" used by all other component types.
Definition component.h:587
Ops relevant only for the endpoint devices such as the host copier or DAI copier.
Definition module_interface.h:34
int(* trigger)(struct comp_dev *dev, int cmd)
Triggers device state.
Definition module_interface.h:103
int(* dai_ts_stop)(struct comp_dev *dev)
Stops timestamping.
Definition module_interface.h:71
int(* dai_get_hw_params)(struct comp_dev *dev, struct sof_ipc_stream_params *params, int dir)
Fetches hardware stream parameters.
Definition module_interface.h:95
uint64_t(* get_total_data_processed)(struct comp_dev *dev, uint32_t stream_no, bool input)
Returns total data processed in number bytes.
Definition module_interface.h:42
int(* dai_ts_start)(struct comp_dev *dev)
Starts timestamping.
Definition module_interface.h:63
int(* dai_ts_config)(struct comp_dev *dev)
Configures timestamping in attached DAI.
Definition module_interface.h:55
int(* position)(struct comp_dev *dev, struct sof_ipc_stream_posn *posn)
Retrieves component rendering position.
Definition module_interface.h:48
int(* dai_ts_get)(struct comp_dev *dev, struct timestamp_data *tsd)
Gets timestamp.
Definition module_interface.h:83