Home
last modified time | relevance | path

Searched refs:clock_items (Results 1 – 1 of 1) sorted by relevance

/linux/sound/pci/pcxhr/
H A Dpcxhr_mixer.c726 int clock_items = 2; /* at least Internal and AES Sync clock */ in pcxhr_clock_type_info() local
728 clock_items += mgr->capture_chips; /* add AES x */ in pcxhr_clock_type_info()
730 clock_items += 1; /* add word clock */ in pcxhr_clock_type_info()
734 snd_BUG_ON(clock_items > (HR22_CLOCK_TYPE_MAX+1)); in pcxhr_clock_type_info()
737 snd_BUG_ON(clock_items > (PCXHR_CLOCK_TYPE_MAX+1)); in pcxhr_clock_type_info()
739 return snd_ctl_enum_info(uinfo, 1, clock_items, texts); in pcxhr_clock_type_info()
755 unsigned int clock_items = 2; /* at least Internal and AES Sync clock */ in pcxhr_clock_type_put() local
757 clock_items += mgr->capture_chips; /* add AES x */ in pcxhr_clock_type_put()
759 clock_items += 1; /* add word clock */ in pcxhr_clock_type_put()
761 if (ucontrol->value.enumerated.item[0] >= clock_items) in pcxhr_clock_type_put()