Lines Matching refs:list

69 	free(parm->list);
70 parm->list = NULL;
78 * set the list of available values for the given parameter
85 int snd_ext_parm_set_list(struct snd_ext_parm *parm, unsigned int num_list, const unsigned int *list)
92 memcpy(new_list, list, sizeof(*new_list) * num_list);
95 free(parm->list);
97 parm->list = new_list;
104 free(parm->list);
109 * limit the interval to the given list
111 int snd_interval_list(snd_interval_t *ival, int num_list, unsigned int *list)
119 if (ival->min == list[imin] && ! ival->openmin)
121 if (ival->min <= list[imin]) {
122 ival->min = list[imin];
131 if (ival->max == list[imax] && ! ival->openmax)
133 if (ival->max >= list[imax]) {
134 ival->max = list[imax];
155 return snd_interval_list(ival, parm->num_list, parm->list);
179 bits.bits[parm->list[i] / 32] |= 1U << (parm->list[i] % 32);
633 function specifies the available parameter values as the list.
769 * \brief Set slave parameter as the list
773 * \param list the list of available values
776 * Sets the slave parameter as the list.
778 * to the ones of the given list.
780 int snd_pcm_extplug_set_slave_param_list(snd_pcm_extplug_t *extplug, int type, unsigned int num_list, const unsigned int *list)
787 return snd_ext_parm_set_list(&ext->sparams[type], num_list, list);
817 * \brief Set master parameter as the list
821 * \param list the list of available values
824 * Sets the master parameter as the list.
826 * to the ones of the given list.
828 int snd_pcm_extplug_set_param_list(snd_pcm_extplug_t *extplug, int type, unsigned int num_list, const unsigned int *list)
835 return snd_ext_parm_set_list(&ext->params[type], num_list, list);