/sound/isa/sb/ |
H A D | sb8_midi.c | 38 int max = 64; local 51 while (max-- > 0) { 181 int max = 32; local 185 while (max-- > 0) {
|
/sound/isa/gus/ |
H A D | gus_mixer.c | 86 uinfo->value.integer.max = 127; 161 unsigned int idx, max; local 181 max = gus->ess_flag ? 1 : ARRAY_SIZE(snd_gf1_controls); 182 for (idx = 0; idx < max; idx++) {
|
H A D | gusmax.c | 108 int loop, max = 5; local 123 } while (loop && --max > 0);
|
H A D | interwave.c | 302 int loop, max = 5; local 317 } while (loop && --max > 0);
|
/sound/isa/wavefront/ |
H A D | wavefront_midi.c | 121 int max = 256, mask = 1; local 139 while (max > 0) { 159 max--; 182 while (max > 0) { 213 max--; 413 int max = 128; local 424 while (--max) {
|
/sound/pci/ca0106/ |
H A D | ca_midi.c | 229 int max = 4; local 235 while (max > 0) { 244 max--;
|
/sound/usb/ |
H A D | format.c | 227 int max = combine_quad(&data[6 + 12 * i]); local 231 if ((max < 0) || (min < 0) || (res < 0) || (max < min)) 241 fp->rate_max = max; 246 for (rate = min; rate <= max; rate += res) { 453 snd_printd(KERN_INFO "found format II with max.bitrate = %d, frame size=%d\n", brate, framesize); 462 snd_printd(KERN_INFO "found format II with max.bitrate = %d, frame size=%d\n", brate, framesize);
|
H A D | mixer_maps.c | 24 u32 max; member in struct:usbmix_dB_map
|
H A D | mixer.h | 28 #define MAX_CHANNELS 16 /* max logical channels */ 50 int min, max, res; member in struct:usb_mixer_elem_info
|
/sound/core/ |
H A D | control_compat.c | 74 s32 max; member in struct:snd_ctl_elem_info32::__anon4::__anon5 79 u64 max; member in struct:snd_ctl_elem_info32::__anon4::__anon6 132 put_user(data->value.integer.max, &data32->value.integer.max) || 360 get_user(data->value.integer.max, &data32->value.integer.max) ||
|
H A D | pcm_memory.c | 238 size_t size, size_t max) 246 substream->dma_max = max; 258 * @max: the max. allowed pre-allocation size 271 size_t size, size_t max) 275 return snd_pcm_lib_preallocate_pages1(substream, size, max); 286 * @max: the max. allowed pre-allocation size 295 size_t size, size_t max) 302 if ((err = snd_pcm_lib_preallocate_pages(substream, type, data, size, max)) < 237 snd_pcm_lib_preallocate_pages1(struct snd_pcm_substream *substream, size_t size, size_t max) argument 269 snd_pcm_lib_preallocate_pages(struct snd_pcm_substream *substream, int type, struct device *data, size_t size, size_t max) argument 293 snd_pcm_lib_preallocate_pages_for_all(struct snd_pcm *pcm, int type, void *data, size_t size, size_t max) argument [all...] |
H A D | pcm_lib.c | 608 * The interval status (min, max, integer, etc.) are evaluated. 625 if (i->max > v->max) { 626 i->max = v->max; 629 } else if (i->max == v->max && !i->openmax && v->openmax) { 643 i->max--; 646 } else if (!i->openmin && !i->openmax && i->min == i->max) 663 i->max 1201 snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, unsigned int min, unsigned int max) argument [all...] |
/sound/drivers/mpu401/ |
H A D | mpu401_uart.c | 368 int max = 64; local 375 while (max-- > 0) 399 int max = 128; local 402 while (max-- > 0) { 426 int max = 256; local 444 } while (--max > 0);
|
/sound/pci/emu10k1/ |
H A D | emumpu401.c | 278 int max = 4; local 283 while (max > 0) { 292 max--;
|
/sound/soc/codecs/ |
H A D | tpa6130a2.c | 187 int max = mc->max; local 188 unsigned int mask = (1 << fls(max)) - 1; 201 max - ucontrol->value.integer.value[0]; 215 int max = mc->max; local 216 unsigned int mask = (1 << fls(max)) - 1; 225 val = max - val;
|
H A D | tlv320aic3x.c | 166 int max = mc->max; local 167 unsigned int mask = (1 << fls(max)) - 1; 368 * adjust PGA to max value when ADC is on and will never go back.
|
H A D | wm9081.c | 406 unsigned int max; member in struct:__anon299 461 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
|
/sound/pci/hda/ |
H A D | hda_proc.c | 510 int i, max; local 518 max = gpio & AC_GPIO_IO_COUNT; 519 if (!max || max > 8) 533 for (i = 0; i < max; ++i)
|
/sound/oss/ |
H A D | dmabuf.c | 714 int len, max, tmp; local 729 max = dmap->max_fragments; 730 if (max > lim) 731 max = lim; 743 if (len >= max) 745 return max - len; 799 active_offs = max(DMAbuf_get_buffer_pointer(dev, dmap, DMODE_OUTPUT), 0);
|
H A D | waveartist.c | 879 unsigned char max; member in struct:mix_ent 928 #define SCALE(lev,max) ((lev) * (max) / 100) 937 mask = mix->max << mix->shift; 938 lev_left = SCALE(lev_left, mix->max) << mix->shift; 939 lev_right = SCALE(lev_right, mix->max) << mix->shift;
|
/sound/soc/omap/ |
H A D | omap-mcbsp.c | 47 {.min = xmin, .max = xmax} } 631 int max = mc->max; local 637 uinfo->value.integer.max = max; 648 int max = mc->max; \ 652 if (val < min || val > max) \
|
/sound/core/oss/ |
H A D | mixer_oss.c | 425 static long snd_mixer_oss_conv1(long val, long min, long max, int *old) argument 427 if (val == snd_mixer_oss_conv(*old, 0, 100, min, max)) 429 return snd_mixer_oss_conv(val, min, max, 0, 100); 433 static long snd_mixer_oss_conv2(long val, long min, long max) argument 435 return snd_mixer_oss_conv(val, 0, 100, min, max); 533 uinfo->value.integer.min == 0 && uinfo->value.integer.max == 1) 535 *left = snd_mixer_oss_conv1(uctl->value.integer.value[0], uinfo->value.integer.min, uinfo->value.integer.max, &pslot->volume[0]); 537 *right = snd_mixer_oss_conv1(uctl->value.integer.value[1], uinfo->value.integer.min, uinfo->value.integer.max, &pslot->volume[1]); 634 uinfo->value.integer.min == 0 && uinfo->value.integer.max == 1) 636 uctl->value.integer.value[0] = snd_mixer_oss_conv2(left, uinfo->value.integer.min, uinfo->value.integer.max); [all...] |
H A D | pcm_oss.c | 107 static int snd_interval_refine_max(struct snd_interval *i, unsigned int max, int openmax) argument 110 if (i->max > max) { 111 i->max = max; 114 } else if (i->max == max && !i->openmax && openmax) { 120 i->max--; 135 t.min = t.max = val; 374 /* Return 1 if min is nearer to best than max */ 375 boundary_nearer(int min, int mindir, int best, int bestdir, int max, int maxdir) argument 409 int min, max; local [all...] |
/sound/pci/oxygen/ |
H A D | xonar_wm87x6.c | 577 u8 max; local 580 max = (ctl->private_value >> 12) & 0xf; 604 return snd_ctl_enum_info(info, 1, max + 1, names); 613 info->value.integer.max = (ctl->private_value >> 12) & 0xf; 622 u8 min, max, shift; local 636 max = (ctl->private_value >> 12) & 0xf; 643 value = max - (value - min); 653 u8 min, max; local 657 max = (ctl->private_value >> 12) & 0xf; 658 if (value < min || value > max) [all...] |
/sound/soc/ |
H A D | soc-cache.c | 1306 unsigned int min, max, index; local 1310 max = codec_drv->reg_access_size - 1; 1312 index = (min + max) / 2; 1318 max = index; 1319 } while (min <= max);
|