Searched refs:valid (Results 1 – 8 of 8) sorted by relevance
/sound/usb/ |
D | validate.c | 326 bool valid; in snd_usb_validate_audio_desc() local 328 valid = validate_desc(p, protocol, audio_validators); in snd_usb_validate_audio_desc() 329 if (!valid && snd_usb_skip_validation) { in snd_usb_validate_audio_desc() 332 valid = true; in snd_usb_validate_audio_desc() 334 return valid; in snd_usb_validate_audio_desc() 340 bool valid; in snd_usb_validate_midi_desc() local 342 valid = validate_desc(p, UAC_VERSION_1, midi_validators); in snd_usb_validate_midi_desc() 343 if (!valid && snd_usb_skip_validation) { in snd_usb_validate_midi_desc() 346 valid = true; in snd_usb_validate_midi_desc() 348 return valid; in snd_usb_validate_midi_desc()
|
/sound/pci/lola/ |
D | lola_clock.c | 263 bool valid = false; in lola_set_clock() local 268 valid = chip->clock.cur_valid; in lola_set_clock() 273 valid = true; in lola_set_clock() 276 if (!freq || !valid) in lola_set_clock()
|
/sound/drivers/ |
D | aloop.c | 103 unsigned int valid; member 327 if (cable->valid != CABLE_VALID_BOTH) { in loopback_check_format() 489 if (!(cable->valid & ~(1 << substream->stream)) || in loopback_prepare() 493 cable->valid |= 1 << substream->stream; in loopback_prepare() 915 cable->valid &= ~(1 << substream->stream); in loopback_hw_free() 1637 snd_iprintf(buffer, " valid: %u\n", cable->valid); in print_substream_info()
|
/sound/x86/ |
D | intel_hdmi_lpe_audio.h | 231 u32 valid:1; member
|
/sound/pci/au88x0/ |
D | au88x0_core.c | 797 int empty, int valid, int f) in vortex_fifo_setadbctrl() argument 819 if (valid) { in vortex_fifo_setadbctrl() 830 temp = (temp & 0xffffffef) | ((valid & 1) << 4); in vortex_fifo_setadbctrl() 898 int empty, int valid, int f) in vortex_fifo_setwtctrl() argument 913 if (valid) { in vortex_fifo_setwtctrl() 923 temp = (temp & 0xffffffef) | ((valid & 1) << 4); in vortex_fifo_setwtctrl()
|
/sound/core/ |
D | pcm_native.c | 1012 runtime->audio_tstamp_report.valid = 0; in snd_pcm_status64() 1014 runtime->audio_tstamp_report.valid = 1; in snd_pcm_status64() 1036 if (runtime->audio_tstamp_report.valid == 1) in snd_pcm_status64()
|
/sound/pci/emu10k1/ |
D | emufx.c | 1055 pcm->valid = 0; in snd_emu10k1_ipcm_poke() 1062 pcm->valid = 1; in snd_emu10k1_ipcm_poke()
|
D | emupcm.c | 1748 if (pcm->valid == 0) { in snd_emu10k1_fx8010_playback_open()
|