Home
last modified time | relevance | path

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

/openbmc/linux/sound/usb/
H A Dclock.c157 union uac23_clock_source_desc *cs_desc; in uac_clock_source_is_valid_quirk() local
160 if (!cs_desc) in uac_clock_source_is_valid_quirk()
172 (fmt->clock & 0xff) == cs_desc->v2.bClockID && in uac_clock_source_is_valid_quirk()
173 (cs_desc->v2.bmAttributes & 0x3) != in uac_clock_source_is_valid_quirk()
219 union uac23_clock_source_desc *cs_desc; in uac_clock_source_is_valid() local
222 if (!cs_desc) in uac_clock_source_is_valid()
226 bmControls = le32_to_cpu(cs_desc->v3.bmControls); in uac_clock_source_is_valid()
228 bmControls = cs_desc->v2.bmControls; in uac_clock_source_is_valid()
504 union uac23_clock_source_desc *cs_desc; in snd_usb_set_sample_rate_v2v3() local
508 if (!cs_desc) in snd_usb_set_sample_rate_v2v3()
[all …]
H A Dmidi.c2171 uint8_t *cs_desc; in snd_usbmidi_detect_yamaha() local
2185 for (cs_desc = hostif->extra; in snd_usbmidi_detect_yamaha()
2186 cs_desc < hostif->extra + hostif->extralen && cs_desc[0] >= 2; in snd_usbmidi_detect_yamaha()
2187 cs_desc += cs_desc[0]) { in snd_usbmidi_detect_yamaha()
2211 u8 *cs_desc; in snd_usbmidi_detect_roland() local
2222 cs_desc < hostif->extra + hostif->extralen && cs_desc[0] >= 2; in snd_usbmidi_detect_roland()
2223 cs_desc += cs_desc[0]) { in snd_usbmidi_detect_roland()
2224 if (cs_desc[0] >= 6 && in snd_usbmidi_detect_roland()
2226 cs_desc[2] == 0xf1 && in snd_usbmidi_detect_roland()
2227 cs_desc[3] == 0x02) { in snd_usbmidi_detect_roland()
[all …]
H A Dstream.c347 struct uac3_cluster_segment_descriptor *cs_desc = p; in convert_chmap_v3() local
351 cs_len = le16_to_cpu(cs_desc->wLength); in convert_chmap_v3()
352 cs_type = cs_desc->bSegmentType; in convert_chmap_v3()
/openbmc/linux/arch/x86/kvm/
H A Dsmm.c598 struct kvm_segment cs_desc; in emulator_leave_smm() local
607 memset(&cs_desc, 0, sizeof(cs_desc)); in emulator_leave_smm()
608 cs_desc.type = 0xb; in emulator_leave_smm()
609 cs_desc.s = cs_desc.g = cs_desc.present = 1; in emulator_leave_smm()
610 kvm_set_segment(vcpu, &cs_desc, VCPU_SREG_CS); in emulator_leave_smm()