Home
last modified time | relevance | path

Searched refs:properties (Results 1 – 9 of 9) sorted by relevance

/sound/usb/line6/
Ddriver.c66 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()
[all …]
Dpodhd.c242 if (pod->line6.properties->capabilities & LINE6_CAP_CONTROL_INFO) { in podhd_disconnect()
246 pod->line6.properties->ctrl_if); in podhd_disconnect()
375 if (pod->line6.properties->capabilities & LINE6_CAP_CONTROL) { in podhd_init()
378 pod->line6.properties->ctrl_if); in podhd_init()
381 pod->line6.properties->ctrl_if); in podhd_init()
388 pod->line6.properties->ctrl_if, err); in podhd_init()
393 if (pod->line6.properties->capabilities & LINE6_CAP_CONTROL_INFO) { in podhd_init()
400 if (pod->line6.properties->capabilities & LINE6_CAP_PCM) { in podhd_init()
410 if (pod->line6.properties->capabilities & LINE6_CAP_HWMON_CTL) { in podhd_init()
419 if (!(pod->line6.properties->capabilities & LINE6_CAP_CONTROL_INFO)) { in podhd_init()
Dplayback.c146 line6pcm->properties->bytes_per_channel * in submit_audio_out_urb()
147 line6pcm->properties->playback_hw.channels_max; in submit_audio_out_urb()
149 line6pcm->properties->rates.rats[0].num_min; in submit_audio_out_urb()
151 line6pcm->properties->rates.rats[0].den * in submit_audio_out_urb()
260 if (!(line6pcm->line6->properties->capabilities & LINE6_CAP_HWMON) in submit_audio_out_urb()
310 line6pcm->properties->bytes_per_channel * in audio_out_callback()
311 line6pcm->properties->playback_hw.channels_max; in audio_out_callback()
377 &line6pcm->properties->rates); in snd_line6_playback_open()
381 runtime->hw = line6pcm->properties->playback_hw; in snd_line6_playback_open()
426 line6->properties->ep_audio_w & in line6_create_audio_out_urbs()
Dcapture.c90 line6pcm->properties->bytes_per_channel * in line6_capture_copy()
91 line6pcm->properties->capture_hw.channels_max; in line6_capture_copy()
193 (line6pcm->properties->bytes_per_channel * in audio_in_callback()
194 line6pcm->properties->capture_hw.channels_max); in audio_in_callback()
227 &line6pcm->properties->rates); in snd_line6_capture_open()
233 runtime->hw = line6pcm->properties->capture_hw; in snd_line6_capture_open()
281 line6->properties->ep_audio_r & in line6_create_audio_in_urbs()
Dpcm.c244 (line6pcm->line6->properties->capabilities & in snd_line6_trigger()
260 (line6pcm->line6->properties->capabilities & in snd_line6_trigger()
484 err = snd_pcm_new(line6->card, (char *)line6->properties->name, in snd_line6_new_pcm()
489 strcpy(pcm->name, line6->properties->name); in snd_line6_new_pcm()
518 struct line6_pcm_properties *properties) in line6_init_pcm() argument
521 unsigned ep_read = line6->properties->ep_audio_r; in line6_init_pcm()
522 unsigned ep_write = line6->properties->ep_audio_w; in line6_init_pcm()
526 if (!(line6->properties->capabilities & LINE6_CAP_PCM)) in line6_init_pcm()
539 line6pcm->properties = properties; in line6_init_pcm()
Dmidi.c127 line6->properties->ep_ctrl_w), in send_midi_async()
231 strcpy(rmidi->id, line6->properties->id); in snd_line6_new_midi()
232 strcpy(rmidi->name, line6->properties->name); in snd_line6_new_midi()
264 if (!(line6->properties->capabilities & LINE6_CAP_CONTROL_MIDI)) { in line6_init_midi()
Dpcm.h141 struct line6_pcm_properties *properties; member
183 struct line6_pcm_properties *properties);
Ddriver.h124 const struct line6_properties *properties; member
205 const struct line6_properties *properties,
Dpod.c397 if (pod->line6.properties->capabilities & LINE6_CAP_CONTROL) { in pod_init()