Lines Matching refs:jack
1676 struct usb_midi_in_jack_descriptor *jack = in append_midi1_in_jack() local
1681 jack->bLength = 0x06; in append_midi1_in_jack()
1682 jack->bDescriptorType = USB_DT_CS_INTERFACE; in append_midi1_in_jack()
1683 jack->bDescriptorSubtype = USB_MS_MIDI_IN_JACK; in append_midi1_in_jack()
1684 jack->bJackType = type; in append_midi1_in_jack()
1685 jack->bJackID = id; in append_midi1_in_jack()
1688 jack->iJack = map->ep->blks[map->block].string_id; in append_midi1_in_jack()
1690 err = append_config(config, jack); in append_midi1_in_jack()
1701 struct usb_midi_out_jack_descriptor_1 *jack = in append_midi1_out_jack() local
1706 jack->bLength = 0x09; in append_midi1_out_jack()
1707 jack->bDescriptorType = USB_DT_CS_INTERFACE; in append_midi1_out_jack()
1708 jack->bDescriptorSubtype = USB_MS_MIDI_OUT_JACK; in append_midi1_out_jack()
1709 jack->bJackType = type; in append_midi1_out_jack()
1710 jack->bJackID = id; in append_midi1_out_jack()
1711 jack->bNrInputPins = 1; in append_midi1_out_jack()
1712 jack->pins[0].baSourceID = source; in append_midi1_out_jack()
1713 jack->pins[0].baSourcePin = 0x01; in append_midi1_out_jack()
1716 jack->iJack = map->ep->blks[map->block].string_id; in append_midi1_out_jack()
1718 err = append_config(config, jack); in append_midi1_out_jack()
1729 int i, jack, total; in f_midi2_create_usb_configs() local
1779 jack = append_midi1_in_jack(midi2, config, in f_midi2_create_usb_configs()
1782 if (jack < 0) in f_midi2_create_usb_configs()
1783 return jack; in f_midi2_create_usb_configs()
1784 midi2_midi1_ep_out_class_desc.baAssocJackID[i] = jack; in f_midi2_create_usb_configs()
1785 jack = append_midi1_out_jack(midi2, config, in f_midi2_create_usb_configs()
1787 USB_MS_EXTERNAL, jack); in f_midi2_create_usb_configs()
1788 if (jack < 0) in f_midi2_create_usb_configs()
1789 return jack; in f_midi2_create_usb_configs()
1802 jack = append_midi1_in_jack(midi2, config, in f_midi2_create_usb_configs()
1805 if (jack < 0) in f_midi2_create_usb_configs()
1806 return jack; in f_midi2_create_usb_configs()
1807 jack = append_midi1_out_jack(midi2, config, in f_midi2_create_usb_configs()
1809 USB_MS_EMBEDDED, jack); in f_midi2_create_usb_configs()
1810 if (jack < 0) in f_midi2_create_usb_configs()
1811 return jack; in f_midi2_create_usb_configs()
1812 midi2_midi1_ep_in_class_desc.baAssocJackID[i] = jack; in f_midi2_create_usb_configs()