Home
last modified time | relevance | path

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

/sound/virtio/
Dvirtio_kctl.c112 struct virtio_snd_ctl_value *kvalue; in virtsnd_kctl_get() local
114 size_t response_size = sizeof(struct virtio_snd_hdr) + sizeof(*kvalue); in virtsnd_kctl_get()
132 kvalue = (void *)((u8 *)virtsnd_ctl_msg_response(msg) + in virtsnd_kctl_get()
140 le32_to_cpu(kvalue->value.integer[i]); in virtsnd_kctl_get()
145 le64_to_cpu(kvalue->value.integer64[i]); in virtsnd_kctl_get()
150 le32_to_cpu(kvalue->value.enumerated[i]); in virtsnd_kctl_get()
153 memcpy(uvalue->value.bytes.data, kvalue->value.bytes, count); in virtsnd_kctl_get()
156 memcpy(&uvalue->value.iec958, &kvalue->value.iec958, in virtsnd_kctl_get()
185 struct virtio_snd_ctl_value *kvalue; in virtsnd_kctl_put() local
186 size_t request_size = sizeof(*hdr) + sizeof(*kvalue); in virtsnd_kctl_put()
[all …]