/freebsd/sys/dev/acpica/ |
H A D | acpi_quirks | 2 # Quirks for ACPI tables can be added here. 5 # Be sure to include a reference to a PR when adding new quirks. Quirks 14 quirks: ACPI_Q_BROKEN 20 quirks: ACPI_Q_BROKEN 26 quirks: ACPI_Q_BROKEN 32 quirks: ACPI_Q_BROKEN 39 quirks: ACPI_Q_BROKEN 46 quirks: ACPI_Q_BROKEN 53 quirks: ACPI_Q_BROKEN 62 quirks: ACPI_Q_TIMER [all …]
|
H A D | acpi_quirk.c | 63 int quirks; member 136 acpi_table_quirks(int *quirks) in acpi_table_quirks() argument 143 /* First, allow the machdep system to set its idea of quirks. */ in acpi_table_quirks() 144 KASSERT(quirks != NULL, ("acpi quirks ptr is NULL")); in acpi_table_quirks() 145 acpi_machdep_quirks(quirks); in acpi_table_quirks() 154 /* Then, override the quirks with any matched from table signatures. */ in acpi_table_quirks() 174 /* If all entries matched, update the quirks and return. */ in acpi_table_quirks() 176 *quirks = entry->quirks; in acpi_table_quirks()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_i2c.c | 170 const struct i2c_adapter_quirks *quirks; in i2c_check_for_quirks() local 176 quirks = adapter->quirks; in i2c_check_for_quirks() 177 if (quirks == NULL) in i2c_check_for_quirks() 181 max_nmsgs = quirks->max_num_msgs; in i2c_check_for_quirks() 183 if (quirks->flags & I2C_AQ_COMB) { in i2c_check_for_quirks() 187 if (quirks->flags & I2C_AQ_COMB_WRITE_FIRST && in i2c_check_for_quirks() 194 if (quirks->flags & I2C_AQ_COMB_READ_SECOND && in i2c_check_for_quirks() 202 if (quirks->flags & I2C_AQ_COMB_SAME_ADDR && in i2c_check_for_quirks() 211 if (quirks->max_comb_1st_msg_len && in i2c_check_for_quirks() 212 msgs[0].len > quirks->max_comb_1st_msg_len) { in i2c_check_for_quirks() [all …]
|
/freebsd/sys/cam/ |
H A D | README.quirks | 13 these devices, we have created a quirks mechanism to indicate to 16 focuses on identifying and committing quirks for storage hardware 28 as possible. If you are a committer, please do NOT commit quirks 37 * cam/cam_xpt.c quirks 47 * cam/scsi/scsi_da.c quirks 69 * cam/scsi/scsi_cd.c quirks 79 * cam/scsi/scsi_ch.c quirks 82 * cam/scsi/scsi_sa.c quirks 100 * dev/usb/umass.c quirks 154 multiple quirks or quirks in different drivers. For example, some [all …]
|
/freebsd/sys/dev/bhnd/cores/pci/ |
H A D | bhnd_pci_hostb.c | 103 /* core revision quirks */ 116 /* core revision quirks */ 146 /* Apple BCM4331 board-specific quirks */ 229 sc->quirks = bhnd_device_quirks(dev, bhnd_pci_devs, in bhnd_pci_hostb_attach() 313 * quirks, but prior to probe/attach of any cores, parsing of 322 if (sc->quirks & BHND_PCI_QUIRK_960NS_LATTIM_OVR) { in bhnd_pci_wars_early_once() 328 if (sc->quirks & BHND_PCIE_QUIRK_ASPM_OVR) { in bhnd_pci_wars_early_once() 343 if (sc->quirks & BHND_PCIE_QUIRK_BFL2_PCIEWAR_EN) in bhnd_pci_wars_early_once() 352 if (sc->quirks & BHND_PCIE_QUIRK_SDR9_POLARITY) { in bhnd_pci_wars_early_once() 366 if (sc->quirks & BHND_PCIE_QUIRK_DEFAULT_MRRS_512) in bhnd_pci_wars_early_once() [all …]
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_da.c | 343 da_quirks quirks; member 407 da_quirks quirks; member 424 /*quirks*/ DA_Q_NO_SYNC_CACHE 429 /*quirks*/ DA_Q_NO_SYNC_CACHE 438 /*quirks*/ DA_Q_NO_SYNC_CACHE 447 /*quirks*/ DA_Q_NO_SYNC_CACHE 456 /*quirks*/ DA_Q_NO_SYNC_CACHE 464 /*quirks*/ DA_Q_NO_SYNC_CACHE 472 /*quirks*/ DA_Q_NO_SYNC_CACHE 479 /*quirks*/ DA_Q_NO_SYNC_CACHE [all …]
|
/freebsd/sys/cam/ata/ |
H A D | ata_da.c | 262 ada_quirks quirks; member 301 ada_quirks quirks; member 309 /*quirks*/ADA_Q_128KB 314 /*quirks*/ADA_Q_4K 319 /*quirks*/ADA_Q_4K 324 /*quirks*/ADA_Q_4K 329 /*quirks*/ADA_Q_4K 334 /*quirks*/ADA_Q_4K 339 /*quirks*/ADA_Q_4K 344 /*quirks*/ADA_Q_4K [all …]
|
/freebsd/share/man/man4/ |
H A D | usb_quirk.4 | 22 .Nd USB quirks module 40 module provides support for dynamically adding and removing quirks for 43 .Sh General quirks: 106 .Sh USB Mass Storage quirks: 153 .Sh 3G Datacard (u3g) quirks: 188 or run "usbconfig dump_quirk_names" for the complete list of supported quirks. 201 Installs the quirks 223 If a matching entry is found in the kernel's internal quirks table, it
|
H A D | hidquirk.4 | 22 .Nd HID quirks module 40 module provides support for adding quirks for HID devices 65 for the complete list of supported quirks. 78 Installs the quirks 103 If a matching entry is found in the kernel's internal quirks table, it
|
/freebsd/sys/dev/bhnd/siba/ |
H A D | siba_bhndb.c | 58 uint32_t quirks; /**< bus-level quirks */ member 61 /* siba_bhndb quirks */ 69 /* Bus-level quirks when bridged via a PCI host bridge core */ 74 /* Bus-level quirks when bridged via a PCIe host bridge core */ 81 /* Bus-level quirks specific to a particular host bridge core */ 117 sc->quirks = 0; in siba_bhndb_attach() 123 /* Fetch bus-level quirks required by the host bridge core */ in siba_bhndb_attach() 125 sc->quirks |= bhnd_device_quirks(hostb, bridge_devs, in siba_bhndb_attach() 266 if (sc->quirks & SIBA_QUIRK_PCIE_D11_SB_TIMEOUT) { in siba_bhndb_wars_hwup()
|
/freebsd/sys/tools/ |
H A D | acpi_quirks2h.awk | 131 # QUIRKS field: This is the last line of every entry 133 $1 == "quirks:" { 136 QUIRKS = $0; 137 sub(/^quirks:[ ]*/ , "", QUIRKS); 140 QUIRK_LIST[QUIRK_COUNT] = QUIRKS; 152 # Array of all quirks
|
/freebsd/sys/dev/sdhci/ |
H A D | sdhci_pci.c | 80 u_int quirks; member 158 u_int quirks; /* Chip specific quirks */ member 341 /* Apply chip specific quirks. */ in sdhci_pci_attach() 346 sc->quirks = sdhci_devices[i].quirks; in sdhci_pci_attach() 350 sc->quirks &= ~sdhci_quirk_clear; in sdhci_pci_attach() 351 sc->quirks |= sdhci_quirk_set; in sdhci_pci_attach() 354 if (sc->quirks & SDHCI_QUIRK_LOWER_FREQUENCY) in sdhci_pci_attach() 391 slot->quirks = sc->quirks; in sdhci_pci_attach() 429 if (sc->quirks & SDHCI_QUIRK_LOWER_FREQUENCY) in sdhci_pci_detach() 439 if (sc->quirks & SDHCI_QUIRK_LOWER_FREQUENCY) in sdhci_pci_shutdown() [all …]
|
H A D | sdhci_acpi.c | 58 u_int quirks; member 287 u_int quirks; in sdhci_acpi_attach() local 295 quirks = acpi_dev->quirks; in sdhci_acpi_attach() 323 quirks |= SDHCI_QUIRK_MMC_DDR52 | SDHCI_QUIRK_DATA_TIMEOUT_1MHZ; in sdhci_acpi_attach() 324 quirks &= ~sdhci_quirk_clear; in sdhci_acpi_attach() 325 quirks |= sdhci_quirk_set; in sdhci_acpi_attach() 326 sc->slot.quirks = quirks; in sdhci_acpi_attach()
|
H A D | sdhci.c | 76 0, "Mask of quirks to clear"); 79 "Mask of quirks to set"); 398 if (!(slot->quirks & SDHCI_QUIRK_POLL_CARD_PRESENT) && in sdhci_init() 431 if (slot->quirks & SDHCI_QUIRK_BCM577XX_400KHZ_CLKSRC) { in sdhci_set_clock() 451 if (slot->quirks & SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK) in sdhci_set_clock() 555 if (slot->quirks & SDHCI_QUIRK_INTEL_POWER_UP_RESET) { in sdhci_set_power() 583 if (slot->quirks & SDHCI_QUIRK_BROKEN_TIMINGS) in sdhci_read_block_pio() 795 if (!(slot->quirks & SDHCI_QUIRK_BROKEN_SDMA_BOUNDARY)) { 882 if (slot->quirks & SDHCI_QUIRK_MISSING_CAPS) { 925 if (slot->quirks & SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK) { [all …]
|
H A D | sdhci_fdt.c | 127 u_int quirks; /* Chip specific quirks */ member 510 sc->quirks = 0; in sdhci_fdt_probe() 519 sc->quirks = SDHCI_QUIRK_BROKEN_AUTO_STOP; in sdhci_fdt_probe() 523 sc->quirks = SDHCI_QUIRK_ALL_SLOTS_NON_REMOVABLE | in sdhci_fdt_probe() 532 sc->quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK; in sdhci_fdt_probe() 547 /* Allow dts to patch quirks, slots, and max-frequency. */ in sdhci_fdt_probe() 548 if ((OF_getencprop(node, "quirks", &cid, sizeof(cid))) > 0) in sdhci_fdt_probe() 549 sc->quirks = cid; in sdhci_fdt_probe() 636 slot->quirks = sc->quirks; in sdhci_fdt_attach()
|
/freebsd/sys/dev/bhnd/bhndb/ |
H A D | bhndb_pcivar.h | 55 * PCI/PCIe bridge-level device quirks 58 /** No quirks */ 79 uint32_t quirks; /**< quirk flags */ member 94 (_q)->quirks == 0) 99 struct bhndb_pci_quirk *quirks; /**< quirk table */ member 114 uint32_t pci_quirks; /**< PCI bridge-level quirks */
|
/freebsd/sys/dev/usb/quirk/ |
H A D | usb_quirk.c | 72 uint16_t quirks[USB_SUB_QUIRKS_MAX]; member 79 .hi_rev = 0xffff, .quirks = { __VA_ARGS__ } \ 85 .quirks = { UQ_MATCH_VENDOR_ONLY, __VA_ARGS__ } \ 91 .hi_rev = (h), .quirks = { __VA_ARGS__ } \ 114 /* Quirks for printer devices */ 190 /* umodem(4) device quirks */ 203 /* USB Mass Storage Class Quirks */ 346 * Not all quirks apply to all models. The commented-out entries are 572 * Quirks for manufacturers which USB devices does not respond 736 if (usb_quirks[x].quirks[y] == UQ_MATCH_VENDOR_ONLY) in usb_test_quirk_by_info() [all …]
|
/freebsd/stand/i386/libi386/ |
H A D | biosmem.c | 59 * Products in this list need quirks to detect 72 static struct bios_getmem_quirks quirks[] = { variable 83 for (i = 0; quirks[i].quirk != 0; ++i) { in bios_getquirks() 84 if (smbios_match(quirks[i].bios_vendor, quirks[i].maker, in bios_getquirks() 85 quirks[i].product)) in bios_getquirks() 86 return (quirks[i].quirk); in bios_getquirks()
|
/freebsd/sys/dev/hid/ |
H A D | hidquirk.c | 71 uint16_t quirks[HID_SUB_QUIRKS_MAX]; member 78 .quirks = { __VA_ARGS__ } } 235 if (hidquirks[x].quirks[y] == HQ_MATCH_VENDOR_ONLY) in hid_test_quirk_by_info() 243 if (hidquirks[x].quirks[y] == quirk) { in hid_test_quirk_by_info() 360 /* skip whitespace before quirks */ in hidquirk_add_entry_from_str() 372 entry.quirks[quirk_idx++] = quirk; in hidquirk_add_entry_from_str() 387 printf("%s: Too many HID quirks, only %d allowed!\n", in hidquirk_add_entry_from_str() 394 printf("%s: HID quirks table is full!\n", name); in hidquirk_add_entry_from_str() 396 memcpy(new->quirks, entry.quirks, sizeof(entry.quirks)); in hidquirk_add_entry_from_str() 399 printf("%s: No USB quirks found!\n", name); in hidquirk_add_entry_from_str() [all …]
|
/freebsd/sys/dev/bwn/ |
H A D | if_bwn_pci.c | 160 if (ident->quirks & BWN_QUIRK_UNTESTED && !attach_untested) in bwn_pci_probe() 182 sc->quirks = ident->quirks; in bwn_pci_attach() 246 if (core->unit > 0 && !(sc->quirks & BWN_QUIRK_WLAN_DUALCORE)) in bwn_pci_is_core_disabled() 254 return ((sc->quirks & BWN_QUIRK_ENET_HW_UNPOPULATED) != 0); in bwn_pci_is_core_disabled() 257 return ((sc->quirks & BWN_QUIRK_USBH_UNPOPULATED) != 0); in bwn_pci_is_core_disabled() 260 return ((sc->quirks & BWN_QUIRK_SOFTMODEM_UNPOPULATED) != 0); in bwn_pci_is_core_disabled()
|
H A D | if_bwn_pcivar.h | 40 uint32_t quirks; /**< quirk flags */ member 43 /* bwn device quirks */ 45 /** No quirks */ 90 uint32_t quirks; member
|
/freebsd/share/man/man9/ |
H A D | cd.9 | 43 .Sx QUIRKS 45 .Sh QUIRKS 52 The following is a list of quirks that the driver recognizes. 80 In general these types of quirks should not be
|
/freebsd/sys/arm/nvidia/ |
H A D | tegra_sdhci.c | 105 u_int quirks; /* Chip specific quirks */ member 251 /* Allow dts to patch quirks, slots, and max-frequency. */ in tegra_sdhci_probe() 252 if ((OF_getencprop(node, "quirks", &cid, sizeof(cid))) > 0) in tegra_sdhci_probe() 253 sc->quirks = cid; in tegra_sdhci_probe() 342 sc->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL | in tegra_sdhci_attach() 372 sc->slot.quirks = sc->quirks; in tegra_sdhci_attach()
|
/freebsd/sys/dev/mvs/ |
H A D | mvs_soc.c | 62 int quirks; member 114 ctlr->quirks = mvs_ids[i].quirks; in mvs_attach() 129 ((ctlr->quirks & MVS_Q_GENI) ? "I" : in mvs_attach() 130 ((ctlr->quirks & MVS_Q_GENII) ? "II" : "IIe")), in mvs_attach() 132 ((ctlr->quirks & MVS_Q_GENI) ? "1.5" : "3"), in mvs_attach() 133 ((ctlr->quirks & MVS_Q_GENI) ? in mvs_attach() 135 ((ctlr->quirks & MVS_Q_GENIIE) ? in mvs_attach() 144 ctlr->quirks |= MVS_Q_SOC65; in mvs_attach()
|
/freebsd/lib/libkiconv/ |
H A D | quirks.c | 37 * Why do we need quirks? 39 * we need some quirks until iconv(3) supports them. 50 * but we won't require these quirks here, because HFS doesn't have 61 #include "quirks.h" 91 * All entries of quirks
|