Searched refs:MAX_VOLUME_CAL_STEPS (Results 1 – 3 of 3) sorted by relevance
159 struct amp_db_and_gain_table volume_curve_gain_mapping_table[MAX_VOLUME_CAL_STEPS] =647 … max_table_ent = get_custom_gain_table(volume_curve_gain_mapping_table, MAX_VOLUME_CAL_STEPS); in init_once()652 if (max_table_ent > 0 && max_table_ent <= MAX_VOLUME_CAL_STEPS) { in init_once()669 for (int i = 0; i < MAX_VOLUME_CAL_STEPS ; i++) in init_once()
21 #define MAX_VOLUME_CAL_STEPS 15 macro
4048 static struct amp_db_and_gain_table tbl_mapping[MAX_VOLUME_CAL_STEPS];4060 if (num_gain_tbl_entry >= MAX_VOLUME_CAL_STEPS) { in platform_add_gain_level_mapping()4062 MAX_VOLUME_CAL_STEPS, num_gain_tbl_entry); in platform_add_gain_level_mapping()4084 if (num_gain_tbl_entry <= 0 || num_gain_tbl_entry > MAX_VOLUME_CAL_STEPS) { in platform_get_gain_level_mapping()