Lines Matching refs:control2
478 snd_ctl_elem_value_t control2; in remap_map_elem_read() local
490 snd_ctl_elem_value_clear(&control2); in remap_map_elem_read()
491 control2.id = mctl->id_child; in remap_map_elem_read()
492 debug_id(&control2.id, "%s controls[%zd]\n", __func__, item); in remap_map_elem_read()
493 err = snd_ctl_elem_read(priv->child, &control2); in remap_map_elem_read()
501 control->value.integer.value[index] = control2.value.integer.value[src]; in remap_map_elem_read()
507 control->value.integer64.value[index] = control2.value.integer64.value[src]; in remap_map_elem_read()
513 control->value.bytes.data[index] = control2.value.bytes.data[src]; in remap_map_elem_read()
541 snd_ctl_elem_value_t control2; in remap_map_elem_write() local
552 snd_ctl_elem_value_clear(&control2); in remap_map_elem_write()
553 control2.id = mctl->id_child; in remap_map_elem_write()
554 debug_id(&control2.id, "%s controls[%zd]\n", __func__, item); in remap_map_elem_write()
555 err = snd_ctl_elem_read(priv->child, &control2); in remap_map_elem_write()
564 changes |= control2.value.integer.value[dst] != control->value.integer.value[index]; in remap_map_elem_write()
565 control2.value.integer.value[dst] = control->value.integer.value[index]; in remap_map_elem_write()
572 changes |= control2.value.integer64.value[dst] != control->value.integer64.value[index]; in remap_map_elem_write()
573 control2.value.integer64.value[dst] = control->value.integer64.value[index]; in remap_map_elem_write()
580 changes |= control2.value.bytes.data[dst] != control->value.bytes.data[index]; in remap_map_elem_write()
581 control2.value.bytes.data[dst] = control->value.bytes.data[index]; in remap_map_elem_write()
585 debug_id(&control2.id, "%s changes %d\n", __func__, changes); in remap_map_elem_write()
587 err = snd_ctl_elem_write(priv->child, &control2); in remap_map_elem_write()