Lines Matching refs:info

15  * a subset of information returned via ctl info callback
25 * identical types, i.e. info returns the same value type and value
33 struct link_ctl_info info;
50 struct link_ctl_info info;
69 for (ch = 0; ch < follower->info.count; ch++)
76 /* get the follower ctl info and save the initial values */
82 if (follower->info.count) {
93 err = follower->follower.info(&follower->follower, uinfo);
98 follower->info.type = uinfo->type;
99 follower->info.count = uinfo->count;
100 if (follower->info.count > 2 ||
101 (follower->info.type != SNDRV_CTL_ELEM_TYPE_INTEGER &&
102 follower->info.type != SNDRV_CTL_ELEM_TYPE_BOOLEAN)) {
107 follower->info.min_val = uinfo->value.integer.min;
108 follower->info.max_val = uinfo->value.integer.max;
119 if (master->info.count)
126 master->info = follower->info;
127 master->info.count = 1; /* always mono */
129 master->val = master->info.max_val;
145 for (ch = 0; ch < follower->info.count; ch++)
159 switch (follower->info.type) {
161 for (ch = 0; ch < follower->info.count; ch++)
166 for (ch = 0; ch < follower->info.count; ch++) {
169 vol += follower->master->val - follower->master->info.max_val;
170 if (vol < follower->info.min_val)
171 vol = follower->info.min_val;
172 else if (vol > follower->info.max_val)
173 vol = follower->info.max_val;
188 return follower->follower.info(&follower->follower, uinfo);
207 for (ch = 0; ch < follower->info.count; ch++) {
244 * via info callback). The function doesn't check it, so it's your
270 follower->info = follower_info;
323 uinfo->type = master->info.type;
324 uinfo->count = master->info.count;
325 uinfo->value.integer.min = master->info.min_val;
326 uinfo->value.integer.max = master->info.max_val;
430 knew.info = master_info;
443 kctl->info = master_info;