Searched refs:port_cfg (Results 1 – 1 of 1) sorted by relevance
842 static inline bool audio_port_config_has_input_direction(const struct audio_port_config *port_cfg) { in audio_port_config_has_input_direction() argument843 return audio_has_input_direction(port_cfg->type, port_cfg->role); in audio_port_config_has_input_direction()1946 static inline bool audio_port_config_has_hw_av_sync(const struct audio_port_config *port_cfg) { in audio_port_config_has_hw_av_sync() argument1947 if (!(port_cfg->config_mask & AUDIO_PORT_CONFIG_FLAGS)) { in audio_port_config_has_hw_av_sync()1950 return audio_port_config_has_input_direction(port_cfg) ? in audio_port_config_has_hw_av_sync()1951 port_cfg->flags.input & AUDIO_INPUT_FLAG_HW_AV_SYNC in audio_port_config_has_hw_av_sync()1952 : port_cfg->flags.output & AUDIO_OUTPUT_FLAG_HW_AV_SYNC; in audio_port_config_has_hw_av_sync()