Lines Matching full:properties
66 if (line6->properties->capabilities & LINE6_CAP_CONTROL_MIDI) { in line6_start_listen()
68 usb_rcvintpipe(line6->usbdev, line6->properties->ep_ctrl_r), in line6_start_listen()
73 usb_rcvbulkpipe(line6->usbdev, line6->properties->ep_ctrl_r), in line6_start_listen()
104 const struct line6_properties *properties = line6->properties; in line6_send_raw_message() local
112 if (properties->capabilities & LINE6_CAP_CONTROL_MIDI) { in line6_send_raw_message()
114 usb_sndintpipe(line6->usbdev, properties->ep_ctrl_w), in line6_send_raw_message()
119 usb_sndbulkpipe(line6->usbdev, properties->ep_ctrl_w), in line6_send_raw_message()
162 if (line6->properties->capabilities & LINE6_CAP_CONTROL_MIDI) { in line6_send_raw_message_async_part()
164 usb_sndintpipe(line6->usbdev, line6->properties->ep_ctrl_w), in line6_send_raw_message_async_part()
169 usb_sndbulkpipe(line6->usbdev, line6->properties->ep_ctrl_w), in line6_send_raw_message_async_part()
294 if (line6->properties->capabilities & LINE6_CAP_CONTROL_MIDI) { in line6_data_received()
496 const struct line6_properties *properties = line6->properties; in line6_get_usb_properties() local
500 if (properties->capabilities & LINE6_CAP_CONTROL) { in line6_get_usb_properties()
501 if (properties->capabilities & LINE6_CAP_CONTROL_MIDI) { in line6_get_usb_properties()
503 line6->properties->ep_ctrl_r); in line6_get_usb_properties()
506 line6->properties->ep_ctrl_r); in line6_get_usb_properties()
511 /* Control data transfer properties */ in line6_get_usb_properties()
516 if (properties->capabilities & LINE6_CAP_CONTROL) { in line6_get_usb_properties()
524 /* Isochronous transfer properties */ in line6_get_usb_properties()
698 if (line6->properties->capabilities & LINE6_CAP_CONTROL_MIDI) { in line6_init_cap_control()
736 const struct line6_properties *properties, in line6_probe() argument
762 line6->properties = properties; in line6_probe()
767 strcpy(card->id, properties->id); in line6_probe()
769 strcpy(card->shortname, properties->name); in line6_probe()
770 sprintf(card->longname, "Line 6 %s at USB %s", properties->name, in line6_probe()
780 dev_info(&interface->dev, "Line 6 %s found\n", properties->name); in line6_probe()
787 properties->altsetting); in line6_probe()
795 if (properties->capabilities & LINE6_CAP_CONTROL) { in line6_probe()
809 properties->name); in line6_probe()
848 line6->properties->name); in line6_disconnect()
869 if (line6->properties->capabilities & LINE6_CAP_CONTROL) in line6_suspend()
886 if (line6->properties->capabilities & LINE6_CAP_CONTROL) in line6_resume()