Lines Matching defs:profile
61 static void profile_reset(alsa_device_profile* profile) in profile_reset()
77 void profile_init(alsa_device_profile* profile, int direction) in profile_init()
83 bool profile_is_initialized(const alsa_device_profile* profile) in profile_is_initialized()
88 bool profile_is_valid(const alsa_device_profile* profile) { in profile_is_valid()
92 bool profile_is_cached_for(const alsa_device_profile* profile, int card, int device) { in profile_is_cached_for()
96 void profile_decache(alsa_device_profile* profile) { in profile_decache()
111 unsigned profile_calc_min_period_size(const alsa_device_profile* profile, unsigned sample_rate) in profile_calc_min_period_size()
127 unsigned int profile_get_period_size(const alsa_device_profile* profile, unsigned sample_rate) in profile_get_period_size()
137 unsigned profile_get_default_sample_rate(const alsa_device_profile* profile) in profile_get_default_sample_rate()
151 unsigned profile_get_highest_sample_rate(const alsa_device_profile* profile) { in profile_get_highest_sample_rate()
159 bool profile_is_sample_rate_valid(const alsa_device_profile* profile, unsigned rate) in profile_is_sample_rate_valid()
179 enum pcm_format profile_get_default_format(const alsa_device_profile* profile) in profile_get_default_format()
187 bool profile_is_format_valid(const alsa_device_profile* profile, enum pcm_format fmt) { in profile_is_format_valid()
205 unsigned profile_get_default_channel_count(const alsa_device_profile* profile) in profile_get_default_channel_count()
210 unsigned profile_get_closest_channel_count(const alsa_device_profile* profile, unsigned count) in profile_get_closest_channel_count()
225 bool profile_is_channel_count_valid(const alsa_device_profile* profile, unsigned count) in profile_is_channel_count_valid()
234 static bool profile_test_sample_rate(const alsa_device_profile* profile, unsigned rate) in profile_test_sample_rate()
274 static unsigned profile_enum_sample_rates(alsa_device_profile* profile, unsigned min, unsigned max) in profile_enum_sample_rates()
291 static unsigned profile_enum_sample_formats(alsa_device_profile* profile, in profile_enum_sample_formats()
328 static unsigned profile_enum_channel_counts(alsa_device_profile* profile, unsigned min, in profile_enum_channel_counts()
376 static int read_alsa_device_config(alsa_device_profile * profile, struct pcm_config * config) in read_alsa_device_config()
437 bool profile_fill_builtin_device_info(alsa_device_profile* profile, struct pcm_config* config, in profile_fill_builtin_device_info()
468 bool profile_read_device_info(alsa_device_profile* profile) in profile_read_device_info()
508 char * profile_get_sample_rate_strs(const alsa_device_profile* profile) in profile_get_sample_rate_strs()
541 char * profile_get_format_strs(const alsa_device_profile* profile) in profile_get_format_strs()
572 char * profile_get_channel_count_strs(const alsa_device_profile* profile) in profile_get_channel_count_strs()
694 void profile_dump(const alsa_device_profile* profile, int fd) in profile_dump()