/drivers/xen/xen-pciback/ |
D | conf_space_quirks.c | 43 static inline void register_quirk(struct xen_pcibk_config_quirk *quirk) in register_quirk() argument 45 list_add_tail(&quirk->quirks_list, &xen_pcibk_quirks); in register_quirk() 94 struct xen_pcibk_config_quirk *quirk; in xen_pcibk_config_quirks_init() local 97 quirk = kzalloc(sizeof(*quirk), GFP_ATOMIC); in xen_pcibk_config_quirks_init() 98 if (!quirk) { in xen_pcibk_config_quirks_init() 103 quirk->devid.vendor = dev->vendor; in xen_pcibk_config_quirks_init() 104 quirk->devid.device = dev->device; in xen_pcibk_config_quirks_init() 105 quirk->devid.subvendor = dev->subsystem_vendor; in xen_pcibk_config_quirks_init() 106 quirk->devid.subdevice = dev->subsystem_device; in xen_pcibk_config_quirks_init() 107 quirk->devid.class = 0; in xen_pcibk_config_quirks_init() [all …]
|
D | pci_stub.c | 1253 struct xen_pcibk_config_quirk *quirk; in pcistub_quirk_show() local 1259 list_for_each_entry(quirk, &xen_pcibk_quirks, quirks_list) { in pcistub_quirk_show() 1265 quirk->pdev->bus->number, in pcistub_quirk_show() 1266 PCI_SLOT(quirk->pdev->devfn), in pcistub_quirk_show() 1267 PCI_FUNC(quirk->pdev->devfn), in pcistub_quirk_show() 1268 quirk->devid.vendor, quirk->devid.device, in pcistub_quirk_show() 1269 quirk->devid.subvendor, in pcistub_quirk_show() 1270 quirk->devid.subdevice); in pcistub_quirk_show() 1272 dev_data = pci_get_drvdata(quirk->pdev); in pcistub_quirk_show()
|
/drivers/tty/serial/8250/ |
D | serial_cs.c | 90 const struct serial_quirk *quirk; member 300 if (info->quirk && info->quirk->wakeup) in serial_resume() 301 info->quirk->wakeup(link); in serial_resume() 358 if (info->quirk && info->quirk->setup) in setup_serial() 359 info->quirk->setup(handle, &uart); in setup_serial() 468 if (info->quirk && info->quirk->config) in simple_config() 469 info->quirk->config(link); in simple_config() 543 if (info->quirk && info->quirk->config) in multi_config() 544 info->quirk->config(link); in multi_config() 573 if (info->quirk && info->quirk->wakeup) in multi_config() [all …]
|
D | 8250_pci.c | 57 struct pci_serial_quirk *quirk; member 2277 struct pci_serial_quirk *quirk; in find_quirk() local 2279 for (quirk = pci_serial_quirks; ; quirk++) in find_quirk() 2280 if (quirk_id_matches(quirk->vendor, dev->vendor) && in find_quirk() 2281 quirk_id_matches(quirk->device, dev->device) && in find_quirk() 2282 quirk_id_matches(quirk->subvendor, dev->subsystem_vendor) && in find_quirk() 2283 quirk_id_matches(quirk->subdevice, dev->subsystem_device)) in find_quirk() 2285 return quirk; in find_quirk() 3316 struct pci_serial_quirk *quirk; in pciserial_init_ports() local 3324 quirk = find_quirk(dev); in pciserial_init_ports() [all …]
|
/drivers/acpi/ |
D | pci_irq.c | 135 const struct prt_quirk *quirk; in do_prt_fixups() local 138 quirk = &prt_quirks[i]; in do_prt_fixups() 144 if (dmi_check_system(quirk->system) && in do_prt_fixups() 145 entry->id.segment == quirk->segment && in do_prt_fixups() 146 entry->id.bus == quirk->bus && in do_prt_fixups() 147 entry->id.device == quirk->device && in do_prt_fixups() 148 entry->pin == quirk->pin && in do_prt_fixups() 149 !strcmp(prt->source, quirk->source) && in do_prt_fixups() 150 strlen(prt->source) >= strlen(quirk->actual_source)) { in do_prt_fixups() 156 prt->source, quirk->actual_source); in do_prt_fixups() [all …]
|
/drivers/media/i2c/smiapp/ |
D | smiapp-quirk.h | 70 (_sensor->minfo.quirk && \ 71 _sensor->minfo.quirk->_quirk ? \ 72 _sensor->minfo.quirk->_quirk(_sensor, ##__VA_ARGS__) : 0) 75 (_sensor->minfo.quirk ? \ 76 _sensor->minfo.quirk->flags & _quirk : 0)
|
D | smiapp.h | 71 const struct smiapp_quirk *quirk; member 95 const struct smiapp_quirk *quirk; member 104 .quirk = _quirk, } 112 .quirk = _quirk, } 127 .quirk = _quirk, }
|
D | smiapp-quirk.c | 70 if (!sensor->minfo.quirk) in smiapp_quirk_reg() 73 sreg = sensor->minfo.quirk->regs; in smiapp_quirk_reg()
|
D | Makefile | 2 smiapp-quirk.o smiapp-limits.o
|
D | smiapp-core.c | 2328 minfo->quirk = smiapp_module_idents[i].quirk; in smiapp_identify_module()
|
/drivers/ata/ |
D | pata_arasan_cf.c | 797 u32 quirk; in arasan_cf_probe() local 818 quirk = pdata->quirk; in arasan_cf_probe() 820 quirk = CF_BROKEN_UDMA; /* as it is on spear1340 */ in arasan_cf_probe() 827 quirk |= CF_BROKEN_MWDMA | CF_BROKEN_UDMA; in arasan_cf_probe() 866 if (quirk) { in arasan_cf_probe() 867 if (quirk & CF_BROKEN_PIO) { in arasan_cf_probe() 871 if (quirk & CF_BROKEN_MWDMA) in arasan_cf_probe() 873 if (quirk & CF_BROKEN_UDMA) in arasan_cf_probe()
|
D | sata_sil.c | 147 unsigned int quirk; member 637 quirks = sil_blacklist[n].quirk; in sil_dev_config()
|
/drivers/usb/host/ |
D | ohci-pci.c | 260 int (*quirk)(struct usb_hcd *ohci); in ohci_pci_reset() local 261 quirk = (void *)quirk_id->driver_data; in ohci_pci_reset() 262 ret = quirk(hcd); in ohci_pci_reset()
|
/drivers/media/pci/saa7134/ |
D | saa7134-i2c.c | 264 int quirk = 0xfe; in saa7134_i2c_xfer() local 265 d1printk(" [%02x quirk]",quirk); in saa7134_i2c_xfer() 266 i2c_send_byte(dev,START,quirk); in saa7134_i2c_xfer()
|
/drivers/ps3/ |
D | ps3av.c | 748 const struct ps3av_monitor_quirk *quirk; in ps3av_fixup_monitor_info() local 751 quirk = &ps3av_monitor_quirks[i]; in ps3av_fixup_monitor_info() 752 if (!strncmp(info->monitor_name, quirk->monitor_name, in ps3av_fixup_monitor_info() 755 quirk->monitor_name); in ps3av_fixup_monitor_info() 756 info->res_60.res_bits &= ~quirk->clear_60; in ps3av_fixup_monitor_info() 757 info->res_60.native &= ~quirk->clear_60; in ps3av_fixup_monitor_info()
|
/drivers/usb/serial/ |
D | ftdi_sio.c | 1664 struct ftdi_sio_quirk *quirk = in ftdi_sio_probe() local 1667 if (quirk && quirk->probe) { in ftdi_sio_probe() 1668 int ret = quirk->probe(serial); in ftdi_sio_probe() 1681 struct ftdi_sio_quirk *quirk = usb_get_serial_data(port->serial); in ftdi_sio_port_probe() local 1695 if (quirk && quirk->port_probe) in ftdi_sio_port_probe() 1696 quirk->port_probe(priv); in ftdi_sio_port_probe()
|
/drivers/mmc/host/ |
D | dw_mmc.c | 1814 char *quirk; member 1818 .quirk = "disable-wp", 1831 if (of_get_property(np, of_slot_quirks[idx].quirk, NULL)) in dw_mci_of_get_slot_quirks() 2108 char *quirk; member 2112 .quirk = "supports-highspeed", 2115 .quirk = "broken-cd", 2144 if (of_get_property(np, of_quirks[idx].quirk, NULL)) in dw_mci_parse_dt()
|
D | Kconfig | 75 This adds a pci quirk to disable Ricoh MMC Controller. This
|
/drivers/usb/misc/ |
D | ftdi-elan.c | 2294 static int ftdi_elan_check_controller(struct usb_ftdi *ftdi, int quirk) in ftdi_elan_check_controller() argument 2390 if (quirk & OHCI_QUIRK_INITRESET) { in ftdi_elan_check_controller() 2425 if (!(quirk & OHCI_QUIRK_INITRESET)) { in ftdi_elan_check_controller() 2426 quirk |= OHCI_QUIRK_INITRESET; in ftdi_elan_check_controller() 2462 if (quirk & OHCI_QUIRK_SUPERIO) { in ftdi_elan_check_controller() 2468 } else if ((quirk & OHCI_QUIRK_AMD756) || distrust_firmware) { in ftdi_elan_check_controller() 2610 static int ftdi_elan_found_controller(struct usb_ftdi *ftdi, int fn, int quirk) in ftdi_elan_found_controller() argument 2617 result = ftdi_elan_check_controller(ftdi, quirk); in ftdi_elan_found_controller()
|
/drivers/gpu/drm/ |
D | drm_edid.c | 1260 struct edid_quirk *quirk; in edid_get_quirks() local 1264 quirk = &edid_quirk_list[i]; in edid_get_quirks() 1266 if (edid_vendor(edid, quirk->vendor) && in edid_get_quirks() 1267 (EDID_PRODUCT_ID(edid) == quirk->product_id)) in edid_get_quirks() 1268 return quirk->quirks; in edid_get_quirks()
|