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()
161 if (line6->properties->capabilities & LINE6_CAP_CONTROL_MIDI) { in line6_send_raw_message_async_part()
163 usb_sndintpipe(line6->usbdev, line6->properties->ep_ctrl_w), in line6_send_raw_message_async_part()
168 usb_sndbulkpipe(line6->usbdev, line6->properties->ep_ctrl_w), in line6_send_raw_message_async_part()
293 if (line6->properties->capabilities & LINE6_CAP_CONTROL_MIDI) { in line6_data_received()
507 const struct line6_properties *properties = line6->properties; in line6_get_usb_properties() local
511 if (properties->capabilities & LINE6_CAP_CONTROL) { in line6_get_usb_properties()
512 if (properties->capabilities & LINE6_CAP_CONTROL_MIDI) { in line6_get_usb_properties()
514 line6->properties->ep_ctrl_r); in line6_get_usb_properties()
517 line6->properties->ep_ctrl_r); in line6_get_usb_properties()
527 if (properties->capabilities & LINE6_CAP_CONTROL) { in line6_get_usb_properties()
689 if (line6->properties->capabilities & LINE6_CAP_CONTROL_MIDI) { in line6_init_cap_control()
723 const struct line6_properties *properties, in line6_probe() argument
749 line6->properties = properties; in line6_probe()
754 strcpy(card->id, properties->id); in line6_probe()
756 strcpy(card->shortname, properties->name); in line6_probe()
757 sprintf(card->longname, "Line 6 %s at USB %s", properties->name, in line6_probe()
767 dev_info(&interface->dev, "Line 6 %s found\n", properties->name); in line6_probe()
774 properties->altsetting); in line6_probe()
782 if (properties->capabilities & LINE6_CAP_CONTROL) { in line6_probe()
796 properties->name); in line6_probe()
835 line6->properties->name); in line6_disconnect()
856 if (line6->properties->capabilities & LINE6_CAP_CONTROL) in line6_suspend()
873 if (line6->properties->capabilities & LINE6_CAP_CONTROL) in line6_resume()