Lines Matching refs:enumerated
79 uinfo->value.enumerated.items = in virtsnd_kctl_info()
80 le32_to_cpu(kinfo->value.enumerated.items); in virtsnd_kctl_info()
81 i = uinfo->value.enumerated.item; in virtsnd_kctl_info()
82 if (i >= uinfo->value.enumerated.items) in virtsnd_kctl_info()
85 strscpy(uinfo->value.enumerated.name, kctl->items[i].item, in virtsnd_kctl_info()
86 sizeof(uinfo->value.enumerated.name)); in virtsnd_kctl_info()
149 uvalue->value.enumerated.item[i] = in virtsnd_kctl_get()
150 le32_to_cpu(kvalue->value.enumerated[i]); in virtsnd_kctl_get()
214 kvalue->value.enumerated[i] = in virtsnd_kctl_put()
215 cpu_to_le32(uvalue->value.enumerated.item[i]); in virtsnd_kctl_put()
325 unsigned int n = le32_to_cpu(kinfo->value.enumerated.items); in virtsnd_kctl_get_enum_items()