Searched refs:volume_table (Results 1 – 5 of 5) sorted by relevance
166 scontrol->volume_table, in sof_ipc3_volume_get()184 scontrol->volume_table, scontrol->max + 1); in sof_ipc3_volume_put()705 scontrol->volume_table = kcalloc(size, sizeof(u32), GFP_KERNEL); in sof_ipc3_set_up_volume_table()706 if (!scontrol->volume_table) in sof_ipc3_set_up_volume_table()711 scontrol->volume_table[i] = vol_compute_gain(i, tlv); in sof_ipc3_set_up_volume_table()
159 scontrol->volume_table, scontrol->max + 1); in sof_ipc4_volume_put()198 scontrol->volume_table, in sof_ipc4_volume_get()827 scontrol->volume_table = kcalloc(size, sizeof(u32), GFP_KERNEL); in sof_ipc4_set_up_volume_table()828 if (!scontrol->volume_table) in sof_ipc4_set_up_volume_table()836 scontrol->volume_table[i] = q31val > SOF_IPC4_VOL_ZERO_DB ? in sof_ipc4_set_up_volume_table()
384 u32 *volume_table; /* volume table computed from tlv data*/ member
779 scontrol->volume_table) { in sof_ipc3_widget_setup_comp_pga()782 volume->min_value = scontrol->volume_table[min_step]; in sof_ipc3_widget_setup_comp_pga()783 volume->max_value = scontrol->volume_table[max_step]; in sof_ipc3_widget_setup_comp_pga()
893 kfree(scontrol->volume_table); in sof_control_load_volume()1658 kfree(scontrol->volume_table); in sof_widget_unload()