Searched refs:port_cfg (Results 1 – 1 of 1) sorted by relevance
1264 static inline bool audio_port_config_has_input_direction(const struct audio_port_config *port_cfg) { in audio_port_config_has_input_direction() argument1265 switch (port_cfg->type) { in audio_port_config_has_input_direction()1267 switch (port_cfg->role) { in audio_port_config_has_input_direction()1273 switch (port_cfg->role) { in audio_port_config_has_input_direction()1323 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() argument1324 if (!(port_cfg->config_mask & AUDIO_PORT_CONFIG_FLAGS)) { in audio_port_config_has_hw_av_sync()1327 return audio_port_config_has_input_direction(port_cfg) ? in audio_port_config_has_hw_av_sync()1328 port_cfg->flags.input & AUDIO_INPUT_FLAG_HW_AV_SYNC in audio_port_config_has_hw_av_sync()1329 : port_cfg->flags.output & AUDIO_OUTPUT_FLAG_HW_AV_SYNC; in audio_port_config_has_hw_av_sync()