quirk 3550 arch/arm/mach-omap2/omap_hwmod.c const struct omap_hwmod_reset *quirk; quirk 3554 arch/arm/mach-omap2/omap_hwmod.c quirk = &quirks[i]; quirk 3555 arch/arm/mach-omap2/omap_hwmod.c if (!strncmp(data->name, quirk->match, quirk->len)) { quirk 3556 arch/arm/mach-omap2/omap_hwmod.c oh->class->reset = quirk->reset; quirk 142 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c struct regulator_quirk *quirk, *pos, *tmp; quirk 164 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c quirk = kzalloc(sizeof(*quirk), GFP_KERNEL); quirk 165 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c if (!quirk) { quirk 170 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c argsa = &quirk->irq_args; quirk 171 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c memcpy(&quirk->i2c_msg, id->data, sizeof(quirk->i2c_msg)); quirk 173 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c quirk->id = id; quirk 174 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c quirk->np = np; quirk 175 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c quirk->i2c_msg.addr = addr; quirk 179 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c kfree(quirk); quirk 194 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c quirk->shared = true; quirk 198 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c list_add_tail(&quirk->list, &quirk_list); quirk 1781 arch/x86/events/core.c struct x86_pmu_quirk *quirk; quirk 1815 arch/x86/events/core.c for (quirk = x86_pmu.quirks; quirk; quirk = quirk->next) quirk 1816 arch/x86/events/core.c quirk->func(); quirk 258 arch/x86/kvm/x86.h static inline bool kvm_check_has_quirk(struct kvm *kvm, u64 quirk) quirk 260 arch/x86/kvm/x86.h return !(kvm->arch.disabled_quirks & quirk); quirk 116 drivers/acpi/pci_irq.c const struct prt_quirk *quirk; quirk 119 drivers/acpi/pci_irq.c quirk = &prt_quirks[i]; quirk 122 drivers/acpi/pci_irq.c if (dmi_check_system(quirk->system) && quirk 123 drivers/acpi/pci_irq.c entry->id.segment == quirk->segment && quirk 124 drivers/acpi/pci_irq.c entry->id.bus == quirk->bus && quirk 125 drivers/acpi/pci_irq.c entry->id.device == quirk->device && quirk 126 drivers/acpi/pci_irq.c entry->pin == quirk->pin && quirk 127 drivers/acpi/pci_irq.c !strcmp(prt->source, quirk->source) && quirk 128 drivers/acpi/pci_irq.c strlen(prt->source) >= strlen(quirk->actual_source)) { quirk 134 drivers/acpi/pci_irq.c prt->source, quirk->actual_source); quirk 135 drivers/acpi/pci_irq.c strcpy(prt->source, quirk->actual_source); quirk 797 drivers/ata/pata_arasan_cf.c u32 quirk; quirk 816 drivers/ata/pata_arasan_cf.c quirk = pdata->quirk; quirk 818 drivers/ata/pata_arasan_cf.c quirk = CF_BROKEN_UDMA; /* as it is on spear1340 */ quirk 825 drivers/ata/pata_arasan_cf.c quirk |= CF_BROKEN_MWDMA | CF_BROKEN_UDMA; quirk 863 drivers/ata/pata_arasan_cf.c if (quirk) { quirk 864 drivers/ata/pata_arasan_cf.c if (quirk & CF_BROKEN_PIO) { quirk 868 drivers/ata/pata_arasan_cf.c if (quirk & CF_BROKEN_MWDMA) quirk 870 drivers/ata/pata_arasan_cf.c if (quirk & CF_BROKEN_UDMA) quirk 130 drivers/ata/sata_sil.c unsigned int quirk; quirk 624 drivers/ata/sata_sil.c quirks = sil_blacklist[n].quirk; quirk 506 drivers/dma/pl330.c char *quirk; quirk 510 drivers/dma/pl330.c .quirk = "arm,pl330-broken-no-flushp", quirk 3022 drivers/dma/pl330.c if (of_property_read_bool(np, of_quirks[i].quirk)) quirk 86 drivers/firmware/qcom_scm-64.c struct arm_smccc_quirk quirk = {.id = ARM_SMCCC_QUIRK_QCOM_A6}; quirk 127 drivers/firmware/qcom_scm-64.c quirk.state.a6 = 0; quirk 132 drivers/firmware/qcom_scm-64.c quirk.state.a6, 0, res, &quirk); quirk 1453 drivers/gpio/gpiolib-acpi.c const struct acpi_gpiolib_dmi_quirk *quirk = NULL; quirk 1458 drivers/gpio/gpiolib-acpi.c quirk = id->driver_data; quirk 1461 drivers/gpio/gpiolib-acpi.c if (quirk && quirk->no_edge_events_on_boot) quirk 1467 drivers/gpio/gpiolib-acpi.c if (ignore_wake == NULL && quirk && quirk->ignore_wake) quirk 1468 drivers/gpio/gpiolib-acpi.c ignore_wake = quirk->ignore_wake; quirk 1278 drivers/gpu/drm/drm_dp_helper.c const struct dpcd_quirk *quirk; quirk 1284 drivers/gpu/drm/drm_dp_helper.c quirk = &dpcd_quirk_list[i]; quirk 1286 drivers/gpu/drm/drm_dp_helper.c if (quirk->is_branch != is_branch) quirk 1289 drivers/gpu/drm/drm_dp_helper.c if (memcmp(quirk->oui, ident->oui, sizeof(ident->oui)) != 0) quirk 1292 drivers/gpu/drm/drm_dp_helper.c if (memcmp(quirk->device_id, any_device, sizeof(any_device)) != 0 && quirk 1293 drivers/gpu/drm/drm_dp_helper.c memcmp(quirk->device_id, ident->device_id, sizeof(ident->device_id)) != 0) quirk 1296 drivers/gpu/drm/drm_dp_helper.c quirks |= quirk->quirks; quirk 1847 drivers/gpu/drm/drm_edid.c const struct edid_quirk *quirk; quirk 1851 drivers/gpu/drm/drm_edid.c quirk = &edid_quirk_list[i]; quirk 1853 drivers/gpu/drm/drm_edid.c if (edid_vendor(edid, quirk->vendor) && quirk 1854 drivers/gpu/drm/drm_edid.c (EDID_PRODUCT_ID(edid) == quirk->product_id)) quirk 1855 drivers/gpu/drm/drm_edid.c return quirk->quirks; quirk 12695 drivers/gpu/drm/i915/display/intel_display.c #define PIPE_CONF_QUIRK(quirk) \ quirk 12696 drivers/gpu/drm/i915/display/intel_display.c ((current_config->quirks | pipe_config->quirks) & (quirk)) quirk 135 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c if (device->quirk && device->quirk->tv_pin_mask) { quirk 136 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c *pin_mask = device->quirk->tv_pin_mask; quirk 89 drivers/gpu/drm/nouveau/include/nvkm/core/device.h const struct nvkm_device_quirk *quirk; quirk 2887 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c const struct nvkm_device_quirk *quirk, quirk 2905 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c device->quirk = quirk; quirk 37 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c const struct nvkm_device_quirk quirk; quirk 1625 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c const struct nvkm_device_quirk *quirk = NULL; quirk 1648 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c quirk = &pciv->quirk; quirk 1668 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c ret = nvkm_device_ctor(&nvkm_device_pci_func, quirk, &pci_dev->dev, quirk 65 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c if (device->quirk && device->quirk->tv_gpio) { quirk 69 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c .line = device->quirk->tv_gpio, quirk 106 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c const struct nvkm_device_agp_quirk *quirk = nvkm_device_agp_quirks; quirk 139 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c while (quirk->hostbridge_vendor) { quirk 140 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c if (info.device->vendor == quirk->hostbridge_vendor && quirk 141 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c info.device->device == quirk->hostbridge_device && quirk 142 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c (quirk->chip_vendor == (u16)PCI_ANY_ID || quirk 143 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->pdev->vendor == quirk->chip_vendor) && quirk 144 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c (quirk->chip_device == (u16)PCI_ANY_ID || quirk 145 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->pdev->device == quirk->chip_device)) { quirk 148 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c quirk->mode); quirk 149 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c mode = quirk->mode; quirk 152 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c quirk++; quirk 106 drivers/gpu/drm/rcar-du/rcar_du_drv.h unsigned int quirk) quirk 108 drivers/gpu/drm/rcar-du/rcar_du_drv.h return rcdu->info->quirks & quirk; quirk 1890 drivers/i2c/i2c-core-base.c #define i2c_quirk_exceeded(val, quirk) ((quirk) && ((val) > (quirk))) quirk 2485 drivers/media/i2c/smiapp/smiapp-core.c minfo->quirk = smiapp_module_idents[i].quirk; quirk 68 drivers/media/i2c/smiapp/smiapp-quirk.h ((sensor)->minfo.quirk && \ quirk 69 drivers/media/i2c/smiapp/smiapp-quirk.h (sensor)->minfo.quirk->_quirk ? \ quirk 70 drivers/media/i2c/smiapp/smiapp-quirk.h (sensor)->minfo.quirk->_quirk(sensor, ##__VA_ARGS__) : 0) quirk 73 drivers/media/i2c/smiapp/smiapp-quirk.h ((sensor)->minfo.quirk ? \ quirk 74 drivers/media/i2c/smiapp/smiapp-quirk.h (sensor)->minfo.quirk->flags & _quirk : 0) quirk 59 drivers/media/i2c/smiapp/smiapp.h const struct smiapp_quirk *quirk; quirk 83 drivers/media/i2c/smiapp/smiapp.h const struct smiapp_quirk *quirk; quirk 92 drivers/media/i2c/smiapp/smiapp.h .quirk = _quirk, } quirk 100 drivers/media/i2c/smiapp/smiapp.h .quirk = _quirk, } quirk 115 drivers/media/i2c/smiapp/smiapp.h .quirk = _quirk, } quirk 256 drivers/media/pci/saa7134/saa7134-i2c.c int quirk = 0xfe; quirk 257 drivers/media/pci/saa7134/saa7134-i2c.c i2c_cont(1, " [%02x quirk]", quirk); quirk 258 drivers/media/pci/saa7134/saa7134-i2c.c i2c_send_byte(dev,START,quirk); quirk 322 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c enum brcmf_feat_quirk quirk) quirk 324 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c return (ifp->drvr->chip_quirks & BIT(quirk)); quirk 115 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h enum brcmf_feat_quirk quirk); quirk 735 drivers/ps3/ps3av.c const struct ps3av_monitor_quirk *quirk; quirk 738 drivers/ps3/ps3av.c quirk = &ps3av_monitor_quirks[i]; quirk 739 drivers/ps3/ps3av.c if (!strncmp(info->monitor_name, quirk->monitor_name, quirk 742 drivers/ps3/ps3av.c quirk->monitor_name); quirk 743 drivers/ps3/ps3av.c info->res_60.res_bits &= ~quirk->clear_60; quirk 744 drivers/ps3/ps3av.c info->res_60.native &= ~quirk->clear_60; quirk 26 drivers/scsi/ufs/ufs_quirks.h unsigned int quirk; quirk 35 drivers/scsi/ufs/ufs_quirks.h .quirk = (_quirk), \ quirk 6574 drivers/scsi/ufs/ufshcd.c for (f = ufs_fixups; f->quirk; f++) { quirk 6580 drivers/scsi/ufs/ufshcd.c hba->dev_quirks |= f->quirk; quirk 56 drivers/tty/serial/8250/8250_pci.c struct pci_serial_quirk *quirk; quirk 2751 drivers/tty/serial/8250/8250_pci.c struct pci_serial_quirk *quirk; quirk 2753 drivers/tty/serial/8250/8250_pci.c for (quirk = pci_serial_quirks; ; quirk++) quirk 2754 drivers/tty/serial/8250/8250_pci.c if (quirk_id_matches(quirk->vendor, dev->vendor) && quirk 2755 drivers/tty/serial/8250/8250_pci.c quirk_id_matches(quirk->device, dev->device) && quirk 2756 drivers/tty/serial/8250/8250_pci.c quirk_id_matches(quirk->subvendor, dev->subsystem_vendor) && quirk 2757 drivers/tty/serial/8250/8250_pci.c quirk_id_matches(quirk->subdevice, dev->subsystem_device)) quirk 2759 drivers/tty/serial/8250/8250_pci.c return quirk; quirk 3870 drivers/tty/serial/8250/8250_pci.c struct pci_serial_quirk *quirk; quirk 3878 drivers/tty/serial/8250/8250_pci.c quirk = find_quirk(dev); quirk 3887 drivers/tty/serial/8250/8250_pci.c if (quirk->init) { quirk 3888 drivers/tty/serial/8250/8250_pci.c rc = quirk->init(dev); quirk 3906 drivers/tty/serial/8250/8250_pci.c priv->quirk = quirk; quirk 3930 drivers/tty/serial/8250/8250_pci.c if (quirk->setup(priv, board, &uart, i)) quirk 3950 drivers/tty/serial/8250/8250_pci.c if (quirk->exit) quirk 3951 drivers/tty/serial/8250/8250_pci.c quirk->exit(dev); quirk 3959 drivers/tty/serial/8250/8250_pci.c struct pci_serial_quirk *quirk; quirk 3968 drivers/tty/serial/8250/8250_pci.c quirk = find_quirk(priv->dev); quirk 3969 drivers/tty/serial/8250/8250_pci.c if (quirk->exit) quirk 3970 drivers/tty/serial/8250/8250_pci.c quirk->exit(priv->dev); quirk 3991 drivers/tty/serial/8250/8250_pci.c if (priv->quirk->exit) quirk 3992 drivers/tty/serial/8250/8250_pci.c priv->quirk->exit(priv->dev); quirk 4003 drivers/tty/serial/8250/8250_pci.c if (priv->quirk->init) quirk 4004 drivers/tty/serial/8250/8250_pci.c priv->quirk->init(priv->dev); quirk 4019 drivers/tty/serial/8250/8250_pci.c struct pci_serial_quirk *quirk; quirk 4026 drivers/tty/serial/8250/8250_pci.c quirk = find_quirk(dev); quirk 4027 drivers/tty/serial/8250/8250_pci.c if (quirk->probe) { quirk 4028 drivers/tty/serial/8250/8250_pci.c rc = quirk->probe(dev); quirk 90 drivers/tty/serial/8250/serial_cs.c const struct serial_quirk *quirk; quirk 300 drivers/tty/serial/8250/serial_cs.c if (info->quirk && info->quirk->wakeup) quirk 301 drivers/tty/serial/8250/serial_cs.c info->quirk->wakeup(link); quirk 358 drivers/tty/serial/8250/serial_cs.c if (info->quirk && info->quirk->setup) quirk 359 drivers/tty/serial/8250/serial_cs.c info->quirk->setup(handle, &uart); quirk 472 drivers/tty/serial/8250/serial_cs.c if (info->quirk && info->quirk->config) quirk 473 drivers/tty/serial/8250/serial_cs.c info->quirk->config(link); quirk 549 drivers/tty/serial/8250/serial_cs.c if (info->quirk && info->quirk->config) quirk 550 drivers/tty/serial/8250/serial_cs.c info->quirk->config(link); quirk 579 drivers/tty/serial/8250/serial_cs.c if (info->quirk && info->quirk->wakeup) quirk 580 drivers/tty/serial/8250/serial_cs.c info->quirk->wakeup(link); quirk 629 drivers/tty/serial/8250/serial_cs.c info->quirk = &quirks[i]; quirk 649 drivers/tty/serial/8250/serial_cs.c if (info->quirk && info->quirk->multi != -1) quirk 650 drivers/tty/serial/8250/serial_cs.c info->multi = info->quirk->multi; quirk 655 drivers/tty/serial/8250/serial_cs.c link->socket->pcmcia_pfc, info->multi, info->quirk); quirk 670 drivers/tty/serial/8250/serial_cs.c if (info->quirk && info->quirk->post) quirk 671 drivers/tty/serial/8250/serial_cs.c if (info->quirk->post(link)) quirk 253 drivers/usb/host/ohci-pci.c int (*quirk)(struct usb_hcd *ohci); quirk 254 drivers/usb/host/ohci-pci.c quirk = (void *)quirk_id->driver_data; quirk 255 drivers/usb/host/ohci-pci.c ret = quirk(hcd); quirk 2191 drivers/usb/misc/ftdi-elan.c static int ftdi_elan_check_controller(struct usb_ftdi *ftdi, int quirk) quirk 2286 drivers/usb/misc/ftdi-elan.c if (quirk & OHCI_QUIRK_INITRESET) { quirk 2321 drivers/usb/misc/ftdi-elan.c if (!(quirk & OHCI_QUIRK_INITRESET)) { quirk 2322 drivers/usb/misc/ftdi-elan.c quirk |= OHCI_QUIRK_INITRESET; quirk 2358 drivers/usb/misc/ftdi-elan.c if (quirk & OHCI_QUIRK_SUPERIO) { quirk 2364 drivers/usb/misc/ftdi-elan.c } else if ((quirk & OHCI_QUIRK_AMD756) || distrust_firmware) { quirk 2502 drivers/usb/misc/ftdi-elan.c static int ftdi_elan_found_controller(struct usb_ftdi *ftdi, int fn, int quirk) quirk 2509 drivers/usb/misc/ftdi-elan.c result = ftdi_elan_check_controller(ftdi, quirk); quirk 2223 drivers/usb/serial/ftdi_sio.c const struct ftdi_sio_quirk *quirk = quirk 2226 drivers/usb/serial/ftdi_sio.c if (quirk && quirk->probe) { quirk 2227 drivers/usb/serial/ftdi_sio.c int ret = quirk->probe(serial); quirk 2240 drivers/usb/serial/ftdi_sio.c const struct ftdi_sio_quirk *quirk = usb_get_serial_data(port->serial); quirk 2249 drivers/usb/serial/ftdi_sio.c if (quirk && quirk->port_probe) quirk 2250 drivers/usb/serial/ftdi_sio.c quirk->port_probe(priv); quirk 44 drivers/xen/xen-pciback/conf_space_quirks.c static inline void register_quirk(struct xen_pcibk_config_quirk *quirk) quirk 46 drivers/xen/xen-pciback/conf_space_quirks.c list_add_tail(&quirk->quirks_list, &xen_pcibk_quirks); quirk 95 drivers/xen/xen-pciback/conf_space_quirks.c struct xen_pcibk_config_quirk *quirk; quirk 98 drivers/xen/xen-pciback/conf_space_quirks.c quirk = kzalloc(sizeof(*quirk), GFP_KERNEL); quirk 99 drivers/xen/xen-pciback/conf_space_quirks.c if (!quirk) { quirk 104 drivers/xen/xen-pciback/conf_space_quirks.c quirk->devid.vendor = dev->vendor; quirk 105 drivers/xen/xen-pciback/conf_space_quirks.c quirk->devid.device = dev->device; quirk 106 drivers/xen/xen-pciback/conf_space_quirks.c quirk->devid.subvendor = dev->subsystem_vendor; quirk 107 drivers/xen/xen-pciback/conf_space_quirks.c quirk->devid.subdevice = dev->subsystem_device; quirk 108 drivers/xen/xen-pciback/conf_space_quirks.c quirk->devid.class = 0; quirk 109 drivers/xen/xen-pciback/conf_space_quirks.c quirk->devid.class_mask = 0; quirk 110 drivers/xen/xen-pciback/conf_space_quirks.c quirk->devid.driver_data = 0UL; quirk 112 drivers/xen/xen-pciback/conf_space_quirks.c quirk->pdev = dev; quirk 114 drivers/xen/xen-pciback/conf_space_quirks.c register_quirk(quirk); quirk 126 drivers/xen/xen-pciback/conf_space_quirks.c struct xen_pcibk_config_quirk *quirk; quirk 129 drivers/xen/xen-pciback/conf_space_quirks.c quirk = xen_pcibk_find_quirk(dev); quirk 130 drivers/xen/xen-pciback/conf_space_quirks.c if (!quirk) { quirk 135 drivers/xen/xen-pciback/conf_space_quirks.c list_del(&quirk->quirks_list); quirk 136 drivers/xen/xen-pciback/conf_space_quirks.c kfree(quirk); quirk 1329 drivers/xen/xen-pciback/pci_stub.c struct xen_pcibk_config_quirk *quirk; quirk 1335 drivers/xen/xen-pciback/pci_stub.c list_for_each_entry(quirk, &xen_pcibk_quirks, quirks_list) { quirk 1341 drivers/xen/xen-pciback/pci_stub.c quirk->pdev->bus->number, quirk 1342 drivers/xen/xen-pciback/pci_stub.c PCI_SLOT(quirk->pdev->devfn), quirk 1343 drivers/xen/xen-pciback/pci_stub.c PCI_FUNC(quirk->pdev->devfn), quirk 1344 drivers/xen/xen-pciback/pci_stub.c quirk->devid.vendor, quirk->devid.device, quirk 1345 drivers/xen/xen-pciback/pci_stub.c quirk->devid.subvendor, quirk 1346 drivers/xen/xen-pciback/pci_stub.c quirk->devid.subdevice); quirk 1348 drivers/xen/xen-pciback/pci_stub.c dev_data = pci_get_drvdata(quirk->pdev); quirk 1447 include/drm/drm_dp_helper.h drm_dp_has_quirk(const struct drm_dp_desc *desc, enum drm_dp_quirk quirk) quirk 1449 include/drm/drm_dp_helper.h return desc->quirks & BIT(quirk); quirk 122 include/linux/arm-smccc.h struct arm_smccc_res *res, struct arm_smccc_quirk *quirk); quirk 139 include/linux/arm-smccc.h struct arm_smccc_res *res, struct arm_smccc_quirk *quirk); quirk 36 include/linux/pata_arasan_cf_data.h u32 quirk; quirk 365 include/sound/ac97_codec.h const struct ac97_quirk *quirk, quirk 2886 sound/pci/ac97/ac97_codec.c const struct ac97_quirk *quirk, const char *override) quirk 2899 sound/pci/ac97/ac97_codec.c if (! quirk) quirk 2902 sound/pci/ac97/ac97_codec.c for (; quirk->subvendor; quirk++) { quirk 2903 sound/pci/ac97/ac97_codec.c if (quirk->subvendor != ac97->subsystem_vendor) quirk 2905 sound/pci/ac97/ac97_codec.c if ((! quirk->mask && quirk->subdevice == ac97->subsystem_device) || quirk 2906 sound/pci/ac97/ac97_codec.c quirk->subdevice == (quirk->mask & ac97->subsystem_device)) { quirk 2907 sound/pci/ac97/ac97_codec.c if (quirk->codec_id && quirk->codec_id != ac97->id) quirk 2910 sound/pci/ac97/ac97_codec.c quirk->name, ac97->subsystem_vendor, quirk 2912 sound/pci/ac97/ac97_codec.c result = apply_quirk(ac97, quirk->type); quirk 2916 sound/pci/ac97/ac97_codec.c quirk->type, quirk->name, result); quirk 973 sound/pci/hda/hda_auto_parser.c const struct snd_pci_quirk *quirk, quirk 1006 sound/pci/hda/hda_auto_parser.c if (quirk) { quirk 1007 sound/pci/hda/hda_auto_parser.c q = snd_pci_quirk_lookup(codec->bus->pci, quirk); quirk 1017 sound/pci/hda/hda_auto_parser.c if (id < 0 && quirk) { quirk 1018 sound/pci/hda/hda_auto_parser.c for (q = quirk; q->subvendor || q->subdevice; q++) { quirk 362 sound/pci/hda/hda_local.h const struct snd_pci_quirk *quirk, quirk 1027 sound/pci/hda/patch_ca0132.c int quirk; quirk 1071 sound/pci/hda/patch_ca0132.c #define ca0132_quirk(spec) ((spec)->quirk) quirk 8739 sound/pci/hda/patch_ca0132.c spec->quirk = QUIRK_ZXR; quirk 8742 sound/pci/hda/patch_ca0132.c spec->quirk = QUIRK_ZXR_DBPRO; quirk 8745 sound/pci/hda/patch_ca0132.c spec->quirk = QUIRK_SBZ; quirk 8754 sound/pci/hda/patch_ca0132.c const struct snd_pci_quirk *quirk; quirk 8765 sound/pci/hda/patch_ca0132.c quirk = snd_pci_quirk_lookup(codec->bus->pci, ca0132_quirks); quirk 8766 sound/pci/hda/patch_ca0132.c if (quirk) quirk 8767 sound/pci/hda/patch_ca0132.c spec->quirk = quirk->value; quirk 8769 sound/pci/hda/patch_ca0132.c spec->quirk = QUIRK_NONE; quirk 8841 sound/pci/hda/patch_ca0132.c spec->quirk = QUIRK_NONE; quirk 2530 sound/pci/maestro3.c const struct snd_pci_quirk *quirk; quirk 2575 sound/pci/maestro3.c quirk = snd_pci_quirk_lookup(pci, m3_amp_quirk_list); quirk 2576 sound/pci/maestro3.c if (quirk) { quirk 2578 sound/pci/maestro3.c snd_pci_quirk_name(quirk)); quirk 2579 sound/pci/maestro3.c chip->amp_gpio = quirk->value; quirk 2586 sound/pci/maestro3.c quirk = snd_pci_quirk_lookup(pci, m3_irda_quirk_list); quirk 2587 sound/pci/maestro3.c if (quirk) { quirk 2589 sound/pci/maestro3.c snd_pci_quirk_name(quirk)); quirk 2592 sound/pci/maestro3.c quirk = snd_pci_quirk_lookup(pci, m3_hv_quirk_list); quirk 2593 sound/pci/maestro3.c if (quirk) quirk 2594 sound/pci/maestro3.c chip->hv_config = quirk->value; quirk 41 sound/soc/codecs/rt5645.c static unsigned int quirk = -1; quirk 42 sound/soc/codecs/rt5645.c module_param(quirk, uint, 0444); quirk 43 sound/soc/codecs/rt5645.c MODULE_PARM_DESC(quirk, "RT5645 pdata quirk override"); quirk 3807 sound/soc/codecs/rt5645.c if (quirk != -1) { quirk 3808 sound/soc/codecs/rt5645.c rt5645->pdata.in2_diff = QUIRK_IN2_DIFF(quirk); quirk 3809 sound/soc/codecs/rt5645.c rt5645->pdata.level_trigger_irq = QUIRK_LEVEL_IRQ(quirk); quirk 3810 sound/soc/codecs/rt5645.c rt5645->pdata.inv_jd1_1 = QUIRK_INV_JD1_1(quirk); quirk 3811 sound/soc/codecs/rt5645.c rt5645->pdata.jd_mode = QUIRK_JD_MODE(quirk); quirk 3812 sound/soc/codecs/rt5645.c rt5645->pdata.dmic1_data_pin = QUIRK_DMIC1_DATA_PIN(quirk); quirk 3813 sound/soc/codecs/rt5645.c rt5645->pdata.dmic2_data_pin = QUIRK_DMIC2_DATA_PIN(quirk); quirk 49 sound/soc/codecs/rt5670.c module_param_named(quirk, quirk_override, uint, 0444); quirk 50 sound/soc/codecs/rt5670.c MODULE_PARM_DESC(quirk, "Board-specific quirk override"); quirk 59 sound/soc/intel/boards/byt-rt5640.c #define BYT_RT5640_MAP(quirk) ((quirk) & 0xff) quirk 49 sound/soc/intel/boards/bytcht_es8316.c #define BYT_CHT_ES8316_MAP(quirk) ((quirk) & GENMASK(3, 0)) quirk 54 sound/soc/intel/boards/bytcht_es8316.c static unsigned long quirk; quirk 57 sound/soc/intel/boards/bytcht_es8316.c module_param_named(quirk, quirk_override, int, 0444); quirk 58 sound/soc/intel/boards/bytcht_es8316.c MODULE_PARM_DESC(quirk, "Board-specific quirk override"); quirk 62 sound/soc/intel/boards/bytcht_es8316.c if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN1_MAP) quirk 64 sound/soc/intel/boards/bytcht_es8316.c if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN2_MAP) quirk 66 sound/soc/intel/boards/bytcht_es8316.c if (quirk & BYT_CHT_ES8316_SSP0) quirk 68 sound/soc/intel/boards/bytcht_es8316.c if (quirk & BYT_CHT_ES8316_MONO_SPEAKER) quirk 70 sound/soc/intel/boards/bytcht_es8316.c if (quirk & BYT_CHT_ES8316_JD_INVERTED) quirk 169 sound/soc/intel/boards/bytcht_es8316.c switch (BYT_CHT_ES8316_MAP(quirk)) { quirk 184 sound/soc/intel/boards/bytcht_es8316.c if (quirk & BYT_CHT_ES8316_SSP0) { quirk 258 sound/soc/intel/boards/bytcht_es8316.c if (quirk & BYT_CHT_ES8316_SSP0) { quirk 511 sound/soc/intel/boards/bytcht_es8316.c quirk = (unsigned long)dmi_id->driver_data; quirk 515 sound/soc/intel/boards/bytcht_es8316.c quirk = BYT_CHT_ES8316_SSP0 | BYT_CHT_ES8316_INTMIC_IN2_MAP | quirk 519 sound/soc/intel/boards/bytcht_es8316.c quirk = BYT_CHT_ES8316_INTMIC_IN1_MAP | quirk 524 sound/soc/intel/boards/bytcht_es8316.c (unsigned int)quirk, quirk 526 sound/soc/intel/boards/bytcht_es8316.c quirk = quirk_override; quirk 530 sound/soc/intel/boards/bytcht_es8316.c if (quirk & BYT_CHT_ES8316_SSP0) quirk 546 sound/soc/intel/boards/bytcht_es8316.c if (quirk & BYT_CHT_ES8316_JD_INVERTED) quirk 578 sound/soc/intel/boards/bytcht_es8316.c (quirk & BYT_CHT_ES8316_MONO_SPEAKER) ? "mono" : "stereo", quirk 579 sound/soc/intel/boards/bytcht_es8316.c mic_name[BYT_CHT_ES8316_MAP(quirk)]); quirk 63 sound/soc/intel/boards/bytcr_rt5640.c #define BYT_RT5640_MAP(quirk) ((quirk) & GENMASK(3, 0)) quirk 64 sound/soc/intel/boards/bytcr_rt5640.c #define BYT_RT5640_JDSRC(quirk) (((quirk) & GENMASK(7, 4)) >> 4) quirk 65 sound/soc/intel/boards/bytcr_rt5640.c #define BYT_RT5640_OVCD_TH(quirk) (((quirk) & GENMASK(12, 8)) >> 8) quirk 66 sound/soc/intel/boards/bytcr_rt5640.c #define BYT_RT5640_OVCD_SF(quirk) (((quirk) & GENMASK(14, 13)) >> 13) quirk 94 sound/soc/intel/boards/bytcr_rt5640.c module_param_named(quirk, quirk_override, int, 0444); quirk 95 sound/soc/intel/boards/bytcr_rt5640.c MODULE_PARM_DESC(quirk, "Board-specific quirk override"); quirk 61 sound/soc/intel/boards/bytcr_rt5651.c #define BYT_RT5651_MAP(quirk) ((quirk) & GENMASK(3, 0)) quirk 62 sound/soc/intel/boards/bytcr_rt5651.c #define BYT_RT5651_JDSRC(quirk) (((quirk) & GENMASK(7, 4)) >> 4) quirk 63 sound/soc/intel/boards/bytcr_rt5651.c #define BYT_RT5651_OVCD_TH(quirk) (((quirk) & GENMASK(12, 8)) >> 8) quirk 64 sound/soc/intel/boards/bytcr_rt5651.c #define BYT_RT5651_OVCD_SF(quirk) (((quirk) & GENMASK(14, 13)) >> 13) quirk 97 sound/soc/intel/boards/bytcr_rt5651.c module_param_named(quirk, quirk_override, int, 0444); quirk 98 sound/soc/intel/boards/bytcr_rt5651.c MODULE_PARM_DESC(quirk, "Board-specific quirk override"); quirk 47 sound/soc/intel/boards/cht_bsw_rt5645.c #define CHT_RT5645_MAP(quirk) ((quirk) & GENMASK(7, 0)) quirk 27 sound/soc/intel/boards/sof_rt5682.c #define SOF_RT5682_SSP_CODEC(quirk) ((quirk) & GENMASK(2, 0)) quirk 34 sound/soc/intel/boards/sof_rt5682.c #define SOF_RT5682_SSP_AMP(quirk) \ quirk 35 sound/soc/intel/boards/sof_rt5682.c (((quirk) << SOF_RT5682_SSP_AMP_SHIFT) & SOF_RT5682_SSP_AMP_MASK) quirk 39 sound/soc/intel/boards/sof_rt5682.c #define SOF_RT5682_NUM_HDMIDEV(quirk) \ quirk 40 sound/soc/intel/boards/sof_rt5682.c ((quirk << SOF_RT5682_NUM_HDMIDEV_SHIFT) & SOF_RT5682_NUM_HDMIDEV_MASK) quirk 351 sound/usb/card.c const struct snd_usb_audio_quirk *quirk) quirk 355 sound/usb/card.c if (quirk && quirk->product_name && *quirk->product_name) { quirk 356 sound/usb/card.c strlcpy(card->shortname, quirk->product_name, quirk 376 sound/usb/card.c const struct snd_usb_audio_quirk *quirk) quirk 382 sound/usb/card.c if (quirk && quirk->profile_name && *quirk->profile_name) { quirk 383 sound/usb/card.c strlcpy(card->longname, quirk->profile_name, quirk 388 sound/usb/card.c if (quirk && quirk->vendor_name && *quirk->vendor_name) { quirk 389 sound/usb/card.c len = strlcpy(card->longname, quirk->vendor_name, sizeof(card->longname)); quirk 438 sound/usb/card.c const struct snd_usb_audio_quirk *quirk, quirk 494 sound/usb/card.c usb_audio_make_shortname(dev, chip, quirk); quirk 495 sound/usb/card.c usb_audio_make_longname(dev, chip, quirk); quirk 559 sound/usb/card.c const struct snd_usb_audio_quirk *quirk = quirk 572 sound/usb/card.c quirk = get_alias_quirk(dev, id); quirk 573 sound/usb/card.c if (quirk && quirk->ifnum >= 0 && ifnum != quirk->ifnum) quirk 576 sound/usb/card.c err = snd_usb_apply_boot_quirk(dev, intf, quirk, id); quirk 600 sound/usb/card.c err = snd_usb_apply_boot_quirk_once(dev, intf, quirk, id); quirk 612 sound/usb/card.c err = snd_usb_audio_create(intf, dev, i, quirk, quirk 645 sound/usb/card.c if (quirk && quirk->ifnum != QUIRK_NO_INTERFACE) { quirk 647 sound/usb/card.c err = snd_usb_create_quirk(chip, intf, &usb_audio_driver, quirk); quirk 667 sound/usb/card.c if (quirk && quirk->shares_media_device) { quirk 65 sound/usb/hiface/chip.c const struct hiface_vendor_quirk *quirk, quirk 85 sound/usb/hiface/chip.c if (quirk && quirk->device_name) quirk 86 sound/usb/hiface/chip.c strlcpy(card->shortname, quirk->device_name, sizeof(card->shortname)); quirk 107 sound/usb/hiface/chip.c const struct hiface_vendor_quirk *quirk = (struct hiface_vendor_quirk *)usb_id->driver_info; quirk 133 sound/usb/hiface/chip.c ret = hiface_chip_create(intf, device, i, quirk, &chip); quirk 137 sound/usb/hiface/chip.c ret = hiface_pcm_init(chip, quirk ? quirk->extra_freq : 0); quirk 113 sound/usb/midi.c const struct snd_usb_audio_quirk *quirk; quirk 2349 sound/usb/midi.c const struct snd_usb_audio_quirk *quirk, quirk 2363 sound/usb/midi.c umidi->quirk = quirk; quirk 2376 sound/usb/midi.c switch (quirk ? quirk->type : QUIRK_MIDI_STANDARD_INTERFACE) { quirk 2387 sound/usb/midi.c memcpy(&endpoints[0], quirk->data, quirk 2399 sound/usb/midi.c memcpy(&endpoints[0], quirk->data, quirk 2424 sound/usb/midi.c memcpy(&endpoints[0], quirk->data, quirk 2455 sound/usb/midi.c quirk->type); quirk 2474 sound/usb/midi.c if (quirk && quirk->type == QUIRK_MIDI_MIDIMAN) quirk 46 sound/usb/midi.h const struct snd_usb_audio_quirk *quirk, quirk 52 sound/usb/midi.h const struct snd_usb_audio_quirk *quirk) quirk 54 sound/usb/midi.h return __snd_usbmidi_create(card, iface, midi_list, quirk, 0); quirk 38 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk; quirk 41 sound/usb/quirks.c for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) { quirk 42 sound/usb/quirks.c iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); quirk 45 sound/usb/quirks.c if (quirk->ifnum != probed_ifnum && quirk 48 sound/usb/quirks.c err = snd_usb_create_quirk(chip, iface, driver, quirk); quirk 53 sound/usb/quirks.c for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) { quirk 54 sound/usb/quirks.c iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); quirk 57 sound/usb/quirks.c if (quirk->ifnum != probed_ifnum && quirk 68 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk) quirk 81 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk) quirk 90 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk) quirk 92 sound/usb/quirks.c return snd_usbmidi_create(chip->card, intf, &chip->midi_list, quirk); quirk 101 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk) quirk 129 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk) quirk 137 sound/usb/quirks.c fp = kmemdup(quirk->data, sizeof(*fp), GFP_KERNEL); quirk 368 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk) quirk 383 sound/usb/quirks.c if (ifnum == probed_ifnum || quirk->ifnum >= 0) quirk 407 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk) quirk 445 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk = quirk 449 sound/usb/quirks.c &chip->midi_list, quirk, quirk 503 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk) quirk 505 sound/usb/quirks.c if (quirk->ifnum < 0) quirk 508 sound/usb/quirks.c return snd_usb_create_mixer(chip, quirk->ifnum, 0); quirk 515 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk) quirk 532 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk) quirk 562 sound/usb/quirks.c if (quirk->type < QUIRK_TYPE_COUNT) { quirk 563 sound/usb/quirks.c return quirk_funcs[quirk->type](chip, iface, driver, quirk); quirk 565 sound/usb/quirks.c usb_audio_err(chip, "invalid quirk type %d\n", quirk->type); quirk 1274 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk, quirk 1327 sound/usb/quirks.c const struct snd_usb_audio_quirk *quirk, quirk 12 sound/usb/quirks.h const struct snd_usb_audio_quirk *quirk); quirk 20 sound/usb/quirks.h const struct snd_usb_audio_quirk *quirk, quirk 25 sound/usb/quirks.h const struct snd_usb_audio_quirk *quirk, quirk 49 sound/usb/usx2y/us122l.c static struct snd_usb_audio_quirk quirk = { quirk 60 sound/usb/usx2y/us122l.c &US122L(card)->midi_list, &quirk); quirk 71 sound/usb/usx2y/us122l.c static struct snd_usb_audio_quirk quirk = { quirk 82 sound/usb/usx2y/us122l.c &US122L(card)->midi_list, &quirk); quirk 157 sound/usb/usx2y/usX2Yhwdep.c struct snd_usb_audio_quirk *quirk = quirk 162 sound/usb/usx2y/usX2Yhwdep.c return snd_usbmidi_create(card, iface, &usX2Y(card)->midi_list, quirk);