Lines Matching refs:quirk
335 const struct snd_usb_audio_quirk *quirk, in snd_usb_audio_create() argument
400 if (quirk && quirk->product_name && *quirk->product_name) { in snd_usb_audio_create()
401 strlcpy(card->shortname, quirk->product_name, sizeof(card->shortname)); in snd_usb_audio_create()
415 if (quirk && quirk->vendor_name && *quirk->vendor_name) { in snd_usb_audio_create()
416 len = strlcpy(card->longname, quirk->vendor_name, sizeof(card->longname)); in snd_usb_audio_create()
476 const struct snd_usb_audio_quirk *quirk = (const struct snd_usb_audio_quirk *)usb_id->driver_info; in snd_usb_audio_probe() local
487 if (quirk && quirk->ifnum >= 0 && ifnum != quirk->ifnum) in snd_usb_audio_probe()
490 if (snd_usb_apply_boot_quirk(dev, intf, quirk) < 0) in snd_usb_audio_probe()
519 if (snd_usb_audio_create(dev, i, quirk, &chip) < 0) { in snd_usb_audio_probe()
542 if (quirk && quirk->ifnum != QUIRK_NO_INTERFACE) { in snd_usb_audio_probe()
544 if ((err = snd_usb_create_quirk(chip, intf, &usb_audio_driver, quirk)) < 0) in snd_usb_audio_probe()