Lines Matching refs:source
2512 int source; in snd_hdspm_get_mixer() local
2515 source = ucontrol->value.integer.value[0]; in snd_hdspm_get_mixer()
2516 if (source < 0) in snd_hdspm_get_mixer()
2517 source = 0; in snd_hdspm_get_mixer()
2518 else if (source >= 2 * HDSPM_MAX_CHANNELS) in snd_hdspm_get_mixer()
2519 source = 2 * HDSPM_MAX_CHANNELS - 1; in snd_hdspm_get_mixer()
2528 if (source >= HDSPM_MAX_CHANNELS) in snd_hdspm_get_mixer()
2531 source - HDSPM_MAX_CHANNELS); in snd_hdspm_get_mixer()
2534 hdspm_read_in_gain(hdspm, destination, source); in snd_hdspm_get_mixer()
2546 int source; in snd_hdspm_put_mixer() local
2553 source = ucontrol->value.integer.value[0]; in snd_hdspm_put_mixer()
2556 if (source < 0 || source >= 2 * HDSPM_MAX_CHANNELS) in snd_hdspm_put_mixer()
2565 if (source >= HDSPM_MAX_CHANNELS) in snd_hdspm_put_mixer()
2567 source - in snd_hdspm_put_mixer()
2571 source); in snd_hdspm_put_mixer()
2574 if (source >= HDSPM_MAX_CHANNELS) in snd_hdspm_put_mixer()
2576 source - HDSPM_MAX_CHANNELS, in snd_hdspm_put_mixer()
2579 hdspm_write_in_gain(hdspm, destination, source, in snd_hdspm_put_mixer()