Home
last modified time | relevance | path

Searched refs:chanv (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/sound/soc/sof/ !
Dipc4-control.c65 value = cdata->chanv[0].value; in sof_ipc4_set_volume_data()
67 if (cdata->chanv[i].value != value) { in sof_ipc4_set_volume_data()
80 data.init_val = cdata->chanv[0].value; in sof_ipc4_set_volume_data()
82 data.channels = cdata->chanv[i].channel; in sof_ipc4_set_volume_data()
83 data.init_val = cdata->chanv[i].value; in sof_ipc4_set_volume_data()
127 change = change || (value != cdata->chanv[i].value); in sof_ipc4_volume_put()
128 cdata->chanv[i].channel = i; in sof_ipc4_volume_put()
129 cdata->chanv[i].value = value; in sof_ipc4_volume_put()
163 ucontrol->value.integer.value[i] = ipc_to_mixer(cdata->chanv[i].value, in sof_ipc4_volume_get()
Dipc3-control.c131 ucontrol->value.integer.value[i] = ipc_to_mixer(cdata->chanv[i].value, in sof_ipc3_volume_get()
152 change = change || (value != cdata->chanv[i].value); in sof_ipc3_volume_put()
153 cdata->chanv[i].channel = i; in sof_ipc3_volume_put()
154 cdata->chanv[i].value = value; in sof_ipc3_volume_put()
182 ucontrol->value.integer.value[i] = cdata->chanv[i].value; in sof_ipc3_switch_get()
200 change = change || (value != cdata->chanv[i].value); in sof_ipc3_switch_put()
201 cdata->chanv[i].channel = i; in sof_ipc3_switch_put()
202 cdata->chanv[i].value = value; in sof_ipc3_switch_put()
230 ucontrol->value.enumerated.item[i] = cdata->chanv[i].value; in sof_ipc3_enum_get()
248 change = change || (value != cdata->chanv[i].value); in sof_ipc3_enum_put()
[all …]
Dipc4-topology.h209 struct sof_ipc4_ctrl_value_chan chanv[0]; member
Dipc3.c418 src = (u8 *)cdata->chanv; in sof_ipc3_set_get_data()
419 dst = (u8 *)cdata_chunk->chanv; in sof_ipc3_set_get_data()
421 src = (u8 *)cdata_chunk->chanv; in sof_ipc3_set_get_data()
422 dst = (u8 *)cdata->chanv; in sof_ipc3_set_get_data()
Dipc3-topology.c812 wdata[i].pdata = cdata->chanv; in sof_get_control_data()
1697 scontrol->size = struct_size(cdata, chanv, scontrol->num_channels); in sof_ipc3_control_load_volume()
1716 cdata->chanv[i].channel = i; in sof_ipc3_control_load_volume()
1717 cdata->chanv[i].value = VOL_ZERO_DB; in sof_ipc3_control_load_volume()
1728 scontrol->size = struct_size(cdata, chanv, scontrol->num_channels); in sof_ipc3_control_load_enum()
Dipc4-topology.c1408 scontrol->size = struct_size(control_data, chanv, scontrol->num_channels); in sof_ipc4_control_load_volume()
1427 control_data->chanv[i].channel = i; in sof_ipc4_control_load_volume()
1428 control_data->chanv[i].value = SOF_IPC4_VOL_ZERO_DB; in sof_ipc4_control_load_volume()
/linux-6.1.9/include/sound/sof/ !
Dcontrol.h120 DECLARE_FLEX_ARRAY(struct sof_ipc_ctrl_value_chan, chanv);