Lines Matching refs: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()
295 if (line6->properties->capabilities & LINE6_CAP_CONTROL_MIDI) { in line6_data_received()
502 const struct line6_properties *properties = line6->properties; in line6_get_usb_properties() local
506 if (properties->capabilities & LINE6_CAP_CONTROL) { in line6_get_usb_properties()
507 if (properties->capabilities & LINE6_CAP_CONTROL_MIDI) { in line6_get_usb_properties()
509 line6->properties->ep_ctrl_r); in line6_get_usb_properties()
512 line6->properties->ep_ctrl_r); in line6_get_usb_properties()
522 if (properties->capabilities & LINE6_CAP_CONTROL) { in line6_get_usb_properties()
704 if (line6->properties->capabilities & LINE6_CAP_CONTROL_MIDI) { in line6_init_cap_control()
742 const struct line6_properties *properties, in line6_probe() argument
768 line6->properties = properties; in line6_probe()
773 strcpy(card->id, properties->id); in line6_probe()
775 strcpy(card->shortname, properties->name); in line6_probe()
776 sprintf(card->longname, "Line 6 %s at USB %s", properties->name, in line6_probe()
786 dev_info(&interface->dev, "Line 6 %s found\n", properties->name); in line6_probe()
793 properties->altsetting); in line6_probe()
801 if (properties->capabilities & LINE6_CAP_CONTROL) { in line6_probe()
815 properties->name); in line6_probe()
854 line6->properties->name); in line6_disconnect()
875 if (line6->properties->capabilities & LINE6_CAP_CONTROL) in line6_suspend()
892 if (line6->properties->capabilities & LINE6_CAP_CONTROL) in line6_resume()