Lines Matching defs:key

132 	snd_ctl_ext_key_t key;
135 key = get_elem(ext, &info->id);
136 if (key == SND_CTL_EXT_KEY_NOT_FOUND)
138 ret = ext->callback->get_attribute(ext, key, &type, &info->access, &info->count);
152 ret = ext->callback->get_integer_info(ext, key, &info->value.integer.min,
161 ret = ext->callback->get_integer64_info(ext, key,
173 ret = ext->callback->get_enumerated_info(ext, key, &info->value.enumerated.items);
174 ext->callback->get_enumerated_name(ext, key, info->value.enumerated.item,
185 ext->callback->free_key(ext, key);
211 snd_ctl_ext_key_t key;
215 key = get_elem(ext, &control->id);
216 if (key == SND_CTL_EXT_KEY_NOT_FOUND)
218 ret = ext->callback->get_attribute(ext, key, &type, &access, &count);
227 ret = ext->callback->read_integer(ext, key, control->value.integer.value);
232 ret = ext->callback->read_integer64(ext, key,
238 ret = ext->callback->read_enumerated(ext, key, control->value.enumerated.item);
243 ret = ext->callback->read_bytes(ext, key, control->value.bytes.data,
249 ret = ext->callback->read_iec958(ext, key, (snd_aes_iec958_t *)&control->value.iec958);
257 ext->callback->free_key(ext, key);
265 snd_ctl_ext_key_t key;
269 key = get_elem(ext, &control->id);
270 if (key == SND_CTL_EXT_KEY_NOT_FOUND)
272 ret = ext->callback->get_attribute(ext, key, &type, &access, &count);
281 ret = ext->callback->write_integer(ext, key, control->value.integer.value);
286 ret = ext->callback->write_integer64(ext, key, (int64_t *)control->value.integer64.value);
291 ret = ext->callback->write_enumerated(ext, key, control->value.enumerated.item);
296 ret = ext->callback->write_bytes(ext, key, control->value.bytes.data,
302 ret = ext->callback->write_iec958(ext, key, (snd_aes_iec958_t *)&control->value.iec958);
310 ext->callback->free_key(ext, key);
332 snd_ctl_ext_key_t key;
347 key = ext->callback->find_elem(ext, &id);
349 if (key == SND_CTL_EXT_KEY_NOT_FOUND)
351 ret = ext->callback->get_attribute(ext, key, &type, &access, &count);
360 return ext->tlv.c(ext, key, op_flag, numid, tlv, tlv_size);
644 certain key value for the faster access to get, read and write callbacks.
645 The key type is alias of unsigned long, so you can assign some static number
647 assign the pointer (cast to #snd_ctl_ext_key_t). When no key is defined or found,
654 control element given via a key value (converted with find_elem callback).