/sound/usb/6fire/ |
D | firmware.c | 206 struct usb_interface *intf, const char *fwname, in usb6fire_fw_ezusb_upload() argument 211 struct usb_device *device = interface_to_usbdev(intf); in usb6fire_fw_ezusb_upload() 222 dev_err(&intf->dev, in usb6fire_fw_ezusb_upload() 230 dev_err(&intf->dev, in usb6fire_fw_ezusb_upload() 240 dev_err(&intf->dev, in usb6fire_fw_ezusb_upload() 252 dev_err(&intf->dev, in usb6fire_fw_ezusb_upload() 265 dev_err(&intf->dev, in usb6fire_fw_ezusb_upload() 275 dev_err(&intf->dev, in usb6fire_fw_ezusb_upload() 284 struct usb_interface *intf, const char *fwname) in usb6fire_fw_fpga_upload() argument 288 struct usb_device *device = interface_to_usbdev(intf); in usb6fire_fw_fpga_upload() [all …]
|
D | chip.c | 85 static int usb6fire_chip_probe(struct usb_interface *intf, in usb6fire_chip_probe() argument 91 struct usb_device *device = interface_to_usbdev(intf); in usb6fire_chip_probe() 101 usb_set_intfdata(intf, chips[i]); in usb6fire_chip_probe() 109 dev_err(&intf->dev, "too many cards registered.\n"); in usb6fire_chip_probe() 116 ret = usb6fire_fw_init(intf); in usb6fire_chip_probe() 124 dev_err(&intf->dev, "can't set first interface.\n"); in usb6fire_chip_probe() 127 ret = snd_card_new(&intf->dev, index[regidx], id[regidx], in usb6fire_chip_probe() 130 dev_err(&intf->dev, "cannot create alsa card.\n"); in usb6fire_chip_probe() 171 dev_err(&intf->dev, "cannot register card."); in usb6fire_chip_probe() 175 usb_set_intfdata(intf, chip); in usb6fire_chip_probe() [all …]
|
D | firmware.h | 25 int usb6fire_fw_init(struct usb_interface *intf);
|
/sound/usb/ |
D | card.c | 305 int intf = assoc->bFirstInterface + i; in snd_usb_create_streams() local 307 if (intf != ctrlif) in snd_usb_create_streams() 308 snd_usb_create_stream(chip, ctrlif, intf); in snd_usb_create_streams() 346 static int snd_usb_audio_create(struct usb_interface *intf, in snd_usb_audio_create() argument 373 err = snd_card_new(&intf->dev, index[idx], id[idx], THIS_MODULE, in snd_usb_audio_create() 487 static int usb_audio_probe(struct usb_interface *intf, in usb_audio_probe() argument 490 struct usb_device *dev = interface_to_usbdev(intf); in usb_audio_probe() 499 alts = &intf->altsetting[0]; in usb_audio_probe() 506 err = snd_usb_apply_boot_quirk(dev, intf, quirk); in usb_audio_probe() 537 err = snd_usb_audio_create(intf, dev, i, quirk, in usb_audio_probe() [all …]
|
D | midi.c | 1073 struct usb_interface *intf; in update_roland_altsetting() local 1078 intf = umidi->iface; in update_roland_altsetting() 1079 is_light_load = intf->cur_altsetting != intf->altsetting; in update_roland_altsetting() 1082 hostif = &intf->altsetting[umidi->roland_load_ctl->private_value]; in update_roland_altsetting() 1834 struct usb_interface *intf; in snd_usbmidi_get_ms_info() local 1843 intf = umidi->iface; in snd_usbmidi_get_ms_info() 1844 if (!intf) in snd_usbmidi_get_ms_info() 1846 hostif = &intf->altsetting[0]; in snd_usbmidi_get_ms_info() 1964 struct usb_interface *intf; in snd_usbmidi_switch_roland_altsetting() local 1968 intf = umidi->iface; in snd_usbmidi_switch_roland_altsetting() [all …]
|
D | quirks.h | 18 struct usb_interface *intf,
|
D | quirks.c | 103 struct usb_interface *intf, in create_any_midi_quirk() argument 107 return snd_usbmidi_create(chip->card, intf, &chip->midi_list, quirk); in create_any_midi_quirk() 582 static int snd_usb_extigy_boot_quirk(struct usb_device *dev, struct usb_interface *intf) in snd_usb_extigy_boot_quirk() argument 994 struct usb_interface *intf, in snd_usb_apply_boot_quirk() argument 1004 return snd_usb_extigy_boot_quirk(dev, intf); in snd_usb_apply_boot_quirk()
|
D | quirks-table.h | 244 #define YAMAHA_INTERFACE(id, intf, name) { \ argument 249 .ifnum = intf, \
|
/sound/usb/hiface/ |
D | chip.c | 67 static int hiface_chip_create(struct usb_interface *intf, in hiface_chip_create() argument 80 ret = snd_card_new(&intf->dev, index[idx], id[idx], THIS_MODULE, in hiface_chip_create() 108 static int hiface_chip_probe(struct usb_interface *intf, in hiface_chip_probe() argument 115 struct usb_device *device = interface_to_usbdev(intf); in hiface_chip_probe() 137 ret = hiface_chip_create(intf, device, i, quirk, &chip); in hiface_chip_probe() 153 usb_set_intfdata(intf, chip); in hiface_chip_probe() 163 static void hiface_chip_disconnect(struct usb_interface *intf) in hiface_chip_disconnect() argument 168 chip = usb_get_intfdata(intf); in hiface_chip_disconnect()
|
/sound/usb/usx2y/ |
D | usbusx2y.c | 336 struct usb_interface *intf, in usX2Y_create_card() argument 348 err = snd_card_new(&intf->dev, index[dev], id[dev], THIS_MODULE, in usX2Y_create_card() 373 struct usb_interface *intf, in usX2Y_usb_probe() argument 387 err = usX2Y_create_card(device, intf, &card); in usX2Y_usb_probe() 402 static int snd_usX2Y_probe(struct usb_interface *intf, const struct usb_device_id *id) in snd_usX2Y_probe() argument 407 err = usX2Y_usb_probe(interface_to_usbdev(intf), intf, id, &card); in snd_usX2Y_probe() 410 dev_set_drvdata(&intf->dev, card); in snd_usX2Y_probe() 414 static void snd_usX2Y_disconnect(struct usb_interface *intf) in snd_usX2Y_disconnect() argument 416 usX2Y_usb_disconnect(interface_to_usbdev(intf), in snd_usX2Y_disconnect() 417 usb_get_intfdata(intf)); in snd_usX2Y_disconnect()
|
D | us122l.c | 539 struct usb_interface *intf, in usx2y_create_card() argument 551 err = snd_card_new(&intf->dev, index[dev], id[dev], THIS_MODULE, in usx2y_create_card() 575 static int us122l_usb_probe(struct usb_interface *intf, in us122l_usb_probe() argument 579 struct usb_device *device = interface_to_usbdev(intf); in us122l_usb_probe() 583 err = usx2y_create_card(device, intf, &card); in us122l_usb_probe() 604 static int snd_us122l_probe(struct usb_interface *intf, in snd_us122l_probe() argument 607 struct usb_device *device = interface_to_usbdev(intf); in snd_us122l_probe() 619 intf, intf->cur_altsetting->desc.bInterfaceNumber); in snd_us122l_probe() 620 if (intf->cur_altsetting->desc.bInterfaceNumber != 1) in snd_us122l_probe() 623 err = us122l_usb_probe(usb_get_intf(intf), id, &card); in snd_us122l_probe() [all …]
|
/sound/usb/caiaq/ |
D | device.c | 406 struct usb_interface *intf, in create_card() argument 421 err = snd_card_new(&intf->dev, in create_card() 518 static int snd_probe(struct usb_interface *intf, in snd_probe() argument 523 struct usb_device *usb_dev = interface_to_usbdev(intf); in snd_probe() 525 ret = create_card(usb_dev, intf, &card); in snd_probe() 530 usb_set_intfdata(intf, card); in snd_probe() 541 static void snd_disconnect(struct usb_interface *intf) in snd_disconnect() argument 543 struct snd_card *card = usb_get_intfdata(intf); in snd_disconnect() 544 struct device *dev = intf->usb_dev; in snd_disconnect() 551 dev_dbg(dev, "%s(%p)\n", __func__, intf); in snd_disconnect() [all …]
|
/sound/usb/misc/ |
D | ua101.c | 92 struct usb_interface *intf[INTF_COUNT]; member 470 alts = ua->intf[intf_index]->cur_altsetting; in enable_iso_interface() 488 if (!ua->intf[intf_index]) in disable_iso_interface() 491 alts = ua->intf[intf_index]->cur_altsetting; in disable_iso_interface() 978 fmt_capture = find_format_descriptor(ua->intf[INTF_CAPTURE]); in detect_usb_format() 979 fmt_playback = find_format_descriptor(ua->intf[INTF_PLAYBACK]); in detect_usb_format() 1034 epd = &ua->intf[INTF_CAPTURE]->altsetting[1].endpoint[0].desc; in detect_usb_format() 1042 epd = &ua->intf[INTF_PLAYBACK]->altsetting[1].endpoint[0].desc; in detect_usb_format() 1160 struct usb_interface *intf; in free_usb_related_resources() local 1169 for (i = 0; i < ARRAY_SIZE(ua->intf); ++i) { in free_usb_related_resources() [all …]
|
/sound/usb/bcd2000/ |
D | bcd2000.c | 52 struct usb_interface *intf; member 358 if (bcd2k->intf) { in bcd2000_free_usb_related_resources() 359 usb_set_intfdata(bcd2k->intf, NULL); in bcd2000_free_usb_related_resources() 360 bcd2k->intf = NULL; in bcd2000_free_usb_related_resources() 395 bcd2k->intf = interface; in bcd2000_probe()
|