Lines Matching refs:cs_desc
165 union uac23_clock_source_desc *cs_desc; in uac_clock_source_is_valid_quirk() local
169 cs_desc = snd_usb_find_clock_source(chip, source_id, fmt); in uac_clock_source_is_valid_quirk()
170 if (!cs_desc) in uac_clock_source_is_valid_quirk()
182 (fmt->clock & 0xff) == cs_desc->v2.bClockID && in uac_clock_source_is_valid_quirk()
183 (cs_desc->v2.bmAttributes & 0x3) != in uac_clock_source_is_valid_quirk()
229 union uac23_clock_source_desc *cs_desc; in uac_clock_source_is_valid() local
233 cs_desc = snd_usb_find_clock_source(chip, source_id, fmt); in uac_clock_source_is_valid()
234 if (!cs_desc) in uac_clock_source_is_valid()
238 bmControls = le32_to_cpu(cs_desc->v3.bmControls); in uac_clock_source_is_valid()
240 bmControls = cs_desc->v2.bmControls; in uac_clock_source_is_valid()
540 union uac23_clock_source_desc *cs_desc; in snd_usb_set_sample_rate_v2v3() local
544 cs_desc = snd_usb_find_clock_source(chip, clock, fmt); in snd_usb_set_sample_rate_v2v3()
546 if (!cs_desc) in snd_usb_set_sample_rate_v2v3()
550 bmControls = le32_to_cpu(cs_desc->v3.bmControls); in snd_usb_set_sample_rate_v2v3()
552 bmControls = cs_desc->v2.bmControls; in snd_usb_set_sample_rate_v2v3()