Home
last modified time | relevance | path

Searched refs:quirk (Results 1 – 24 of 24) sorted by relevance

/drivers/xen/xen-pciback/
Dconf_space_quirks.c43 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 …]
Dpci_stub.c1269 struct xen_pcibk_config_quirk *quirk; in pcistub_quirk_show() local
1275 list_for_each_entry(quirk, &xen_pcibk_quirks, quirks_list) { in pcistub_quirk_show()
1281 quirk->pdev->bus->number, in pcistub_quirk_show()
1282 PCI_SLOT(quirk->pdev->devfn), in pcistub_quirk_show()
1283 PCI_FUNC(quirk->pdev->devfn), in pcistub_quirk_show()
1284 quirk->devid.vendor, quirk->devid.device, in pcistub_quirk_show()
1285 quirk->devid.subvendor, in pcistub_quirk_show()
1286 quirk->devid.subdevice); in pcistub_quirk_show()
1288 dev_data = pci_get_drvdata(quirk->pdev); in pcistub_quirk_show()
/drivers/tty/serial/8250/
Dserial_cs.c89 const struct serial_quirk *quirk; member
299 if (info->quirk && info->quirk->wakeup) in serial_resume()
300 info->quirk->wakeup(link); in serial_resume()
357 if (info->quirk && info->quirk->setup) in setup_serial()
358 info->quirk->setup(handle, &uart); in setup_serial()
467 if (info->quirk && info->quirk->config) in simple_config()
468 info->quirk->config(link); in simple_config()
542 if (info->quirk && info->quirk->config) in multi_config()
543 info->quirk->config(link); in multi_config()
572 if (info->quirk && info->quirk->wakeup) in multi_config()
[all …]
D8250_pci.c58 struct pci_serial_quirk *quirk; member
2686 struct pci_serial_quirk *quirk; in find_quirk() local
2688 for (quirk = pci_serial_quirks; ; quirk++) in find_quirk()
2689 if (quirk_id_matches(quirk->vendor, dev->vendor) && in find_quirk()
2690 quirk_id_matches(quirk->device, dev->device) && in find_quirk()
2691 quirk_id_matches(quirk->subvendor, dev->subsystem_vendor) && in find_quirk()
2692 quirk_id_matches(quirk->subdevice, dev->subsystem_device)) in find_quirk()
2694 return quirk; in find_quirk()
3811 struct pci_serial_quirk *quirk; in pciserial_init_ports() local
3819 quirk = find_quirk(dev); in pciserial_init_ports()
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_agp.c31 struct nouveau_agpmode_quirk *quirk = nouveau_agpmode_quirk_list; in get_agp_mode() local
45 while (agpmode == -1 && quirk->hostbridge_vendor) { in get_agp_mode()
46 if (info->id_vendor == quirk->hostbridge_vendor && in get_agp_mode()
47 info->id_device == quirk->hostbridge_device && in get_agp_mode()
48 nvkm_device(device)->pdev->vendor == quirk->chip_vendor && in get_agp_mode()
49 nvkm_device(device)->pdev->device == quirk->chip_device) { in get_agp_mode()
50 agpmode = quirk->mode; in get_agp_mode()
55 ++quirk; in get_agp_mode()
/drivers/media/i2c/smiapp/
Dsmiapp-quirk.h78 (_sensor->minfo.quirk && \
79 _sensor->minfo.quirk->_quirk ? \
80 _sensor->minfo.quirk->_quirk(_sensor, ##__VA_ARGS__) : 0)
83 (_sensor->minfo.quirk ? \
84 _sensor->minfo.quirk->flags & _quirk : 0)
Dsmiapp.h73 const struct smiapp_quirk *quirk; member
97 const struct smiapp_quirk *quirk; member
106 .quirk = _quirk, }
114 .quirk = _quirk, }
129 .quirk = _quirk, }
DMakefile2 smiapp-quirk.o smiapp-limits.o
Dsmiapp-core.c2379 minfo->quirk = smiapp_module_idents[i].quirk; in smiapp_identify_module()
/drivers/acpi/
Dpci_irq.c133 const struct prt_quirk *quirk; in do_prt_fixups() local
136 quirk = &prt_quirks[i]; in do_prt_fixups()
142 if (dmi_check_system(quirk->system) && in do_prt_fixups()
143 entry->id.segment == quirk->segment && in do_prt_fixups()
144 entry->id.bus == quirk->bus && in do_prt_fixups()
145 entry->id.device == quirk->device && in do_prt_fixups()
146 entry->pin == quirk->pin && in do_prt_fixups()
147 !strcmp(prt->source, quirk->source) && in do_prt_fixups()
148 strlen(prt->source) >= strlen(quirk->actual_source)) { in do_prt_fixups()
154 prt->source, quirk->actual_source); in do_prt_fixups()
[all …]
/drivers/gpu/drm/rcar-du/
Drcar_du_drv.h94 unsigned int quirk) in rcar_du_needs() argument
96 return rcdu->info->quirks & quirk; in rcar_du_needs()
/drivers/usb/host/
Dohci-pci.c236 int (*quirk)(struct usb_hcd *ohci); in ohci_pci_reset() local
237 quirk = (void *)quirk_id->driver_data; in ohci_pci_reset()
238 ret = quirk(hcd); in ohci_pci_reset()
/drivers/ata/
Dpata_arasan_cf.c797 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()
Dsata_sil.c146 unsigned int quirk; member
637 quirks = sil_blacklist[n].quirk; in sil_dev_config()
/drivers/net/wireless/brcm80211/brcmfmac/
Dfeature.c135 enum brcmf_feat_quirk quirk) in brcmf_feat_is_quirk_enabled() argument
137 return (ifp->drvr->chip_quirks & BIT(quirk)); in brcmf_feat_is_quirk_enabled()
Dfeature.h85 enum brcmf_feat_quirk quirk);
/drivers/media/pci/saa7134/
Dsaa7134-i2c.c264 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/
Dps3av.c748 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/
Dftdi_sio.c1786 struct ftdi_sio_quirk *quirk = in ftdi_sio_probe() local
1789 if (quirk && quirk->probe) { in ftdi_sio_probe()
1790 int ret = quirk->probe(serial); in ftdi_sio_probe()
1803 struct ftdi_sio_quirk *quirk = usb_get_serial_data(port->serial); in ftdi_sio_port_probe() local
1814 if (quirk && quirk->port_probe) in ftdi_sio_port_probe()
1815 quirk->port_probe(priv); in ftdi_sio_port_probe()
/drivers/mmc/host/
Ddw_mmc.c2170 char *quirk; member
2174 .quirk = "disable-wp",
2187 if (of_get_property(np, of_slot_quirks[idx].quirk, NULL)) { in dw_mci_of_get_slot_quirks()
2189 of_slot_quirks[idx].quirk); in dw_mci_of_get_slot_quirks()
2453 char *quirk; member
2457 .quirk = "broken-cd",
2460 .quirk = "disable-wp",
2490 if (of_get_property(np, of_quirks[idx].quirk, NULL)) in dw_mci_parse_dt()
DKconfig86 This adds a pci quirk to disable Ricoh MMC Controller. This
/drivers/usb/misc/
Dftdi-elan.c2263 static int ftdi_elan_check_controller(struct usb_ftdi *ftdi, int quirk) in ftdi_elan_check_controller() argument
2358 if (quirk & OHCI_QUIRK_INITRESET) { in ftdi_elan_check_controller()
2393 if (!(quirk & OHCI_QUIRK_INITRESET)) { in ftdi_elan_check_controller()
2394 quirk |= OHCI_QUIRK_INITRESET; in ftdi_elan_check_controller()
2430 if (quirk & OHCI_QUIRK_SUPERIO) { in ftdi_elan_check_controller()
2436 } else if ((quirk & OHCI_QUIRK_AMD756) || distrust_firmware) { in ftdi_elan_check_controller()
2578 static int ftdi_elan_found_controller(struct usb_ftdi *ftdi, int fn, int quirk) in ftdi_elan_found_controller() argument
2585 result = ftdi_elan_check_controller(ftdi, quirk); in ftdi_elan_found_controller()
/drivers/gpu/drm/
Ddrm_edid.c1342 struct edid_quirk *quirk; in edid_get_quirks() local
1346 quirk = &edid_quirk_list[i]; in edid_get_quirks()
1348 if (edid_vendor(edid, quirk->vendor) && in edid_get_quirks()
1349 (EDID_PRODUCT_ID(edid) == quirk->product_id)) in edid_get_quirks()
1350 return quirk->quirks; in edid_get_quirks()
/drivers/gpu/drm/i915/
Dintel_display.c10717 #define PIPE_CONF_QUIRK(quirk) \ in intel_pipe_config_compare() argument
10718 ((current_config->quirks | pipe_config->quirks) & (quirk)) in intel_pipe_config_compare()