• Home
  • Raw
  • Download

Lines Matching refs:value

75 	} value;  member
96 if (get_user(data->value.enumerated.item, &data32->value.enumerated.item)) in snd_ctl_elem_info_compat()
116 if (put_user(data->value.integer.min, &data32->value.integer.min) || in snd_ctl_elem_info_compat()
117 put_user(data->value.integer.max, &data32->value.integer.max) || in snd_ctl_elem_info_compat()
118 put_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_info_compat()
122 if (copy_to_user(&data32->value.integer64, in snd_ctl_elem_info_compat()
123 &data->value.integer64, in snd_ctl_elem_info_compat()
124 sizeof(data->value.integer64))) in snd_ctl_elem_info_compat()
128 if (copy_to_user(&data32->value.enumerated, in snd_ctl_elem_info_compat()
129 &data->value.enumerated, in snd_ctl_elem_info_compat()
130 sizeof(data->value.enumerated))) in snd_ctl_elem_info_compat()
152 } value; member
165 } value; member
244 data->value.integer.value[i] = val; in copy_ctl_value_from_user()
252 if (copy_from_user(data->value.bytes.data, valuep, size)) in copy_ctl_value_from_user()
275 val = data->value.integer.value[i]; in copy_ctl_value_to_user()
281 if (copy_to_user(valuep, data->value.bytes.data, size)) in copy_ctl_value_to_user()
351 return ctl_elem_read_user(card, data32, &data32->value); in snd_ctl_elem_read_user_compat()
357 return ctl_elem_write_user(file, data32, &data32->value); in snd_ctl_elem_write_user_compat()
364 return ctl_elem_read_user(card, data32, &data32->value); in snd_ctl_elem_read_user_x32()
370 return ctl_elem_write_user(file, data32, &data32->value); in snd_ctl_elem_write_user_x32()
396 if (get_user(data->value.integer.min, &data32->value.integer.min) || in snd_ctl_elem_add_compat()
397 get_user(data->value.integer.max, &data32->value.integer.max) || in snd_ctl_elem_add_compat()
398 get_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_add_compat()
402 if (copy_from_user(&data->value.integer64, in snd_ctl_elem_add_compat()
403 &data32->value.integer64, in snd_ctl_elem_add_compat()
404 sizeof(data->value.integer64))) in snd_ctl_elem_add_compat()
408 if (copy_from_user(&data->value.enumerated, in snd_ctl_elem_add_compat()
409 &data32->value.enumerated, in snd_ctl_elem_add_compat()
410 sizeof(data->value.enumerated))) in snd_ctl_elem_add_compat()
412 data->value.enumerated.names_ptr = in snd_ctl_elem_add_compat()
413 (uintptr_t)compat_ptr(data->value.enumerated.names_ptr); in snd_ctl_elem_add_compat()