/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() 163 dev_err(&intf->dev, "cannot register card."); in usb6fire_chip_probe() 166 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 | 309 int intf = assoc->bFirstInterface + i; in snd_usb_create_streams() local 311 if (intf != ctrlif) in snd_usb_create_streams() 312 snd_usb_create_stream(chip, ctrlif, intf); in snd_usb_create_streams() 352 static int snd_usb_audio_create(struct usb_interface *intf, in snd_usb_audio_create() argument 381 err = snd_card_new(&intf->dev, index[idx], id[idx], THIS_MODULE, in snd_usb_audio_create() 539 static int usb_audio_probe(struct usb_interface *intf, in usb_audio_probe() argument 542 struct usb_device *dev = interface_to_usbdev(intf); in usb_audio_probe() 551 alts = &intf->altsetting[0]; in usb_audio_probe() 560 err = snd_usb_apply_boot_quirk(dev, intf, quirk, id); in usb_audio_probe() 591 err = snd_usb_audio_create(intf, dev, i, quirk, in usb_audio_probe() [all …]
|
D | midi.c | 1075 struct usb_interface *intf; in update_roland_altsetting() local 1080 intf = umidi->iface; in update_roland_altsetting() 1081 is_light_load = intf->cur_altsetting != intf->altsetting; in update_roland_altsetting() 1084 hostif = &intf->altsetting[umidi->roland_load_ctl->private_value]; in update_roland_altsetting() 1813 struct usb_interface *intf; in snd_usbmidi_get_ms_info() local 1822 intf = umidi->iface; in snd_usbmidi_get_ms_info() 1823 if (!intf) in snd_usbmidi_get_ms_info() 1825 hostif = &intf->altsetting[0]; in snd_usbmidi_get_ms_info() 1940 struct usb_interface *intf; in snd_usbmidi_switch_roland_altsetting() local 1944 intf = umidi->iface; in snd_usbmidi_switch_roland_altsetting() [all …]
|
D | quirks.h | 19 struct usb_interface *intf,
|
D | quirks.c | 99 struct usb_interface *intf, in create_any_midi_quirk() argument 103 return snd_usbmidi_create(chip->card, intf, &chip->midi_list, quirk); in create_any_midi_quirk() 574 static int snd_usb_extigy_boot_quirk(struct usb_device *dev, struct usb_interface *intf) in snd_usb_extigy_boot_quirk() argument 986 struct usb_interface *intf, in snd_usb_apply_boot_quirk() argument 994 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 | us122l.c | 538 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() 576 static int us122l_usb_probe(struct usb_interface *intf, in us122l_usb_probe() argument 580 struct usb_device *device = interface_to_usbdev(intf); in us122l_usb_probe() 584 err = usx2y_create_card(device, intf, &card, device_id->driver_info); in us122l_usb_probe() 605 static int snd_us122l_probe(struct usb_interface *intf, in snd_us122l_probe() argument 608 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 …]
|
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()
|
/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() 525 static int snd_probe(struct usb_interface *intf, in snd_probe() argument 530 struct usb_device *usb_dev = interface_to_usbdev(intf); in snd_probe() 532 ret = create_card(usb_dev, intf, &card); in snd_probe() 537 usb_set_intfdata(intf, card); in snd_probe() 548 static void snd_disconnect(struct usb_interface *intf) in snd_disconnect() argument 550 struct snd_card *card = usb_get_intfdata(intf); in snd_disconnect() 551 struct device *dev = intf->usb_dev; in snd_disconnect() 558 dev_dbg(dev, "%s(%p)\n", __func__, intf); in snd_disconnect() [all …]
|
/sound/usb/line6/ |
D | podhd.c | 300 struct usb_interface *intf; in podhd_disconnect() local 305 intf = usb_ifnum_to_if(line6->usbdev, in podhd_disconnect() 307 if (intf) in podhd_disconnect() 308 usb_driver_release_interface(&podhd_driver, intf); in podhd_disconnect() 320 struct usb_interface *intf; in podhd_init() local 329 intf = usb_ifnum_to_if(line6->usbdev, in podhd_init() 331 if (!intf) { in podhd_init() 337 err = usb_driver_claim_interface(&podhd_driver, intf, NULL); in podhd_init()
|
/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 365 if (bcd2k->intf) { in bcd2000_free_usb_related_resources() 366 usb_set_intfdata(bcd2k->intf, NULL); in bcd2000_free_usb_related_resources() 367 bcd2k->intf = NULL; in bcd2000_free_usb_related_resources() 402 bcd2k->intf = interface; in bcd2000_probe()
|