• Home
  • Raw
  • Download

Lines Matching refs:value

77 	} value;  member
98 if (get_user(data->value.enumerated.item, &data32->value.enumerated.item)) in snd_ctl_elem_info_compat()
118 if (put_user(data->value.integer.min, &data32->value.integer.min) || in snd_ctl_elem_info_compat()
119 put_user(data->value.integer.max, &data32->value.integer.max) || in snd_ctl_elem_info_compat()
120 put_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_info_compat()
124 if (copy_to_user(&data32->value.integer64, in snd_ctl_elem_info_compat()
125 &data->value.integer64, in snd_ctl_elem_info_compat()
126 sizeof(data->value.integer64))) in snd_ctl_elem_info_compat()
130 if (copy_to_user(&data32->value.enumerated, in snd_ctl_elem_info_compat()
131 &data->value.enumerated, in snd_ctl_elem_info_compat()
132 sizeof(data->value.enumerated))) in snd_ctl_elem_info_compat()
154 } value; member
167 } value; member
246 data->value.integer.value[i] = val; in copy_ctl_value_from_user()
254 if (copy_from_user(data->value.bytes.data, valuep, size)) in copy_ctl_value_from_user()
276 val = data->value.integer.value[i]; in copy_ctl_value_to_user()
282 if (copy_to_user(valuep, data->value.bytes.data, size)) in copy_ctl_value_to_user()
346 return ctl_elem_read_user(card, data32, &data32->value); in snd_ctl_elem_read_user_compat()
352 return ctl_elem_write_user(file, data32, &data32->value); in snd_ctl_elem_write_user_compat()
359 return ctl_elem_read_user(card, data32, &data32->value); in snd_ctl_elem_read_user_x32()
365 return ctl_elem_write_user(file, data32, &data32->value); in snd_ctl_elem_write_user_x32()
391 if (get_user(data->value.integer.min, &data32->value.integer.min) || in snd_ctl_elem_add_compat()
392 get_user(data->value.integer.max, &data32->value.integer.max) || in snd_ctl_elem_add_compat()
393 get_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_add_compat()
397 if (copy_from_user(&data->value.integer64, in snd_ctl_elem_add_compat()
398 &data32->value.integer64, in snd_ctl_elem_add_compat()
399 sizeof(data->value.integer64))) in snd_ctl_elem_add_compat()
403 if (copy_from_user(&data->value.enumerated, in snd_ctl_elem_add_compat()
404 &data32->value.enumerated, in snd_ctl_elem_add_compat()
405 sizeof(data->value.enumerated))) in snd_ctl_elem_add_compat()
407 data->value.enumerated.names_ptr = in snd_ctl_elem_add_compat()
408 (uintptr_t)compat_ptr(data->value.enumerated.names_ptr); in snd_ctl_elem_add_compat()