• Home
  • Raw
  • Download

Lines Matching refs:tlv

30 				     unsigned int **tlv);
76 unsigned int **tlv) in allocate_bool_elem_set_tlv() argument
84 *tlv = malloc(sizeof(range)); in allocate_bool_elem_set_tlv()
85 if (*tlv == NULL) in allocate_bool_elem_set_tlv()
87 memcpy(*tlv, range, sizeof(range)); in allocate_bool_elem_set_tlv()
127 unsigned int **tlv) in allocate_int_elem_set_tlv() argument
140 *tlv = malloc((2 + count) * sizeof(unsigned int)); in allocate_int_elem_set_tlv()
141 if (!*tlv) in allocate_int_elem_set_tlv()
148 (*tlv)[0] = SNDRV_CTL_TLVT_CONTAINER; in allocate_int_elem_set_tlv()
149 (*tlv)[1] = count * sizeof(unsigned int); in allocate_int_elem_set_tlv()
153 entry = (struct chmap_entry *)&(*tlv)[pos]; in allocate_int_elem_set_tlv()
245 unsigned int **tlv) in allocate_bytes_elem_set_tlv() argument
254 *tlv = malloc(sizeof(range)); in allocate_bytes_elem_set_tlv()
255 if (*tlv == NULL) in allocate_bytes_elem_set_tlv()
257 memcpy(*tlv, range, sizeof(range)); in allocate_bytes_elem_set_tlv()
330 unsigned int **tlv) in allocate_int64_elem_set_tlv() argument
360 *tlv = malloc(sizeof(range)); in allocate_int64_elem_set_tlv()
361 if (*tlv == NULL) in allocate_int64_elem_set_tlv()
363 memcpy(*tlv, range, sizeof(range)); in allocate_int64_elem_set_tlv()
652 unsigned int *tlv; in check_tlv() local
659 err = trial->allocate_elem_set_tlv(trial, &tlv); in check_tlv()
663 len = tlv[SNDRV_CTL_TLVO_LEN] + sizeof(unsigned int) * 2; in check_tlv()
666 free(tlv); in check_tlv()
676 (const unsigned int *)tlv); in check_tlv()
714 if (memcmp(curr, tlv, len) != 0) in check_tlv()
717 free(tlv); in check_tlv()