Home
last modified time | relevance | path

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

/linux-6.12.1/sound/usb/
Dclock.c165 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()
[all …]
Dmidi.c2148 uint8_t *cs_desc; in snd_usbmidi_detect_yamaha() local
2162 for (cs_desc = hostif->extra; in snd_usbmidi_detect_yamaha()
2163 cs_desc < hostif->extra + hostif->extralen && cs_desc[0] >= 2; in snd_usbmidi_detect_yamaha()
2164 cs_desc += cs_desc[0]) { in snd_usbmidi_detect_yamaha()
2165 if (cs_desc[1] == USB_DT_CS_INTERFACE) { in snd_usbmidi_detect_yamaha()
2166 if (cs_desc[2] == UAC_MIDI_IN_JACK) in snd_usbmidi_detect_yamaha()
2169 else if (cs_desc[2] == UAC_MIDI_OUT_JACK) in snd_usbmidi_detect_yamaha()
2188 u8 *cs_desc; in snd_usbmidi_detect_roland() local
2198 for (cs_desc = hostif->extra; in snd_usbmidi_detect_roland()
2199 cs_desc < hostif->extra + hostif->extralen && cs_desc[0] >= 2; in snd_usbmidi_detect_roland()
[all …]
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()
/linux-6.12.1/arch/x86/kvm/
Dsmm.c590 struct kvm_segment cs_desc; in emulator_leave_smm() local
599 memset(&cs_desc, 0, sizeof(cs_desc)); in emulator_leave_smm()
600 cs_desc.type = 0xb; in emulator_leave_smm()
601 cs_desc.s = cs_desc.g = cs_desc.present = 1; in emulator_leave_smm()
602 kvm_set_segment(vcpu, &cs_desc, VCPU_SREG_CS); in emulator_leave_smm()