Searched refs:quirk (Results 1 - 25 of 27) sorted by relevance

12

/freebsd-10-stable/sys/modules/usb/quirk/
H A DMakefile30 .PATH: $S/dev/usb/quirk
/freebsd-10-stable/sys/x86/iommu/
H A Dintel_quirks.c70 dmar_quirk_fun quirk; member in struct:intel_dmar_quirk_cpu
77 dmar_quirk_fun quirk; member in struct:intel_dmar_quirk_nb
105 "NB IOMMU quirk %s\n",
108 nb_quirk->quirk(dmar);
132 "CPU IOMMU quirk %s\n",
135 cpu_quirk->quirk(dmar);
151 .quirk = nb_5400_no_low_high_prot_mem,
156 .quirk = nb_5400_no_low_high_prot_mem,
172 .stepping = 6, .quirk = cpu_e5_am9,
/freebsd-10-stable/sys/dev/usb/
H A Dusb_dynamic.h41 uint16_t quirk);
H A Dusb_dynamic.c81 usb_test_quirk_w(const struct usbd_lookup_info *info, uint16_t quirk) argument
H A Dusb_device.c80 #include <dev/usb/quirk/usb_quirk.h>
2475 * usb_test_quirk - test a device for a given quirk
2478 * 0: The USB device does not have the given quirk.
2479 * Else: The USB device has the given quirk.
2482 usb_test_quirk(const struct usb_attach_arg *uaa, uint16_t quirk) argument
2487 if (quirk == UQ_NONE)
2493 if (uaa->device->autoQuirk[x] == quirk)
2497 /* search global quirk table, if any */
2499 found = (usb_test_quirk_p) (&uaa->info, quirk);
2896 usbd_add_dynamic_quirk(struct usb_device *udev, uint16_t quirk) argument
[all...]
H A Dusbdi.h498 uint16_t quirk);
H A Dusb_msctest.c71 #include <dev/usb/quirk/usb_quirk.h>
/freebsd-10-stable/sys/dev/usb/quirk/
H A Dusb_quirk.h1 /* $FreeBSD: stable/10/sys/dev/usb/quirk/usb_quirk.h 315249 2017-03-14 15:21:41Z hselasky $ */
35 UQ_NONE, /* not a valid quirk */
37 UQ_MATCH_VENDOR_ONLY, /* match quirk on vendor only */
117 uint8_t usb_test_quirk(const struct usb_attach_arg *uaa, uint16_t quirk);
H A Dusb_quirk.c1 /* $FreeBSD: stable/10/sys/dev/usb/quirk/usb_quirk.c 345546 2019-03-26 13:53:33Z hselasky $ */
57 #include <dev/usb/quirk/usb_quirk.h>
64 #define USB_QUIRK_ENVROOT "hw.usb.quirk."
622 * This function converts an USB quirk code into a string.
625 usb_quirkstr(uint16_t quirk) argument
627 return ((quirk < USB_QUIRK_MAX && usb_quirk_str[quirk] != NULL) ?
628 usb_quirk_str[quirk] : "UQ_UNKNOWN");
634 * This function converts a string into a USB quirk code.
643 const char *quirk; local
663 usb_test_quirk_by_info(const struct usbd_lookup_info *info, uint16_t quirk) argument
928 uint16_t quirk; local
[all...]
/freebsd-10-stable/sys/cam/
H A DREADME.quirks35 be supported but hangs while attaching, it's possible a quirk can
36 help. The types of things a quirk can fix are:
54 console is NOT sufficient to add this quirk. The warning messages
56 this quirk.
60 literally and crash when receiving 6-byte commands. This quirk
63 other transports that don't support SBC, this quirk should be very
110 the initial INQUIRY data. This quirk signifies that after a unit
135 when receiving this command so this quirk disables it.
142 at all on other OS's.) This quirk fakes up a valid but generic
159 * umass(4) device (sys/dev/usb/umass.c) -- this quirk matche
[all...]
H A Dcam_xpt_internal.h74 void *quirk; /* Oddities about this device */ member in struct:cam_ed
/freebsd-10-stable/sys/boot/usb/
H A Dbsd_global.h60 #include <dev/usb/quirk/usb_quirk.h>
/freebsd-10-stable/sbin/mount_msdosfs/
H A Dmount_msdosfs.c113 const char *quirk = NULL; local
119 quirk = kiconv_quirkcs(csp + 1, KICONV_VENDOR_MICSFT);
120 build_iovec_argf(&iov, &iovlen, "cs_local", quirk);
121 cs_local = strdup(quirk);
/freebsd-10-stable/sys/modules/usb/
H A DMakefile44 SUBDIR += quirk template
/freebsd-10-stable/sys/cam/scsi/
H A Dscsi_xpt.c78 #define SCSI_QUIRK(dev) ((struct scsi_quirk_entry *)((dev)->quirk))
249 * firmware revisions. If that happens, the quirk entry
334 * this quirk entries disables tagged queueing for all
402 /* I can't believe we need a quirk for DPT volumes. */
1854 struct scsi_quirk_entry *quirk; local
1866 quirk = (struct scsi_quirk_entry *)match;
1867 device->quirk = quirk;
1868 device->mintags = quirk->mintags;
1869 device->maxtags = quirk
2371 struct scsi_quirk_entry *quirk; local
[all...]
H A Dscsi_all.c154 * feel free to change this quirk entry.
659 * wasn't covered in the quirk table.
3285 struct scsi_sense_quirk_entry *quirk; local
3287 quirk = (struct scsi_sense_quirk_entry *)match;
3288 asc_tables[0] = quirk->asc_info;
3289 asc_tables_size[0] = quirk->num_ascs;
3293 sense_tables[0] = quirk->sense_key_info;
3294 sense_tables_size[0] = quirk->num_sense_keys;
/freebsd-10-stable/sys/cam/ata/
H A Data_xpt.c1305 struct ata_quirk_entry *quirk; local
1316 quirk = (struct ata_quirk_entry *)match;
1317 device->quirk = quirk;
1318 if (quirk->quirks & CAM_QUIRK_MAXTAGS) {
1319 device->mintags = quirk->mintags;
1320 device->maxtags = quirk->maxtags;
1594 struct ata_quirk_entry *quirk; local
1602 * Take the default quirk entry until we have inquiry
1603 * data and can determine a better quirk t
[all...]
/freebsd-10-stable/sys/dev/mmc/
H A Dmmc.c1595 const struct mmc_quirk *quirk; local
1896 for (quirk = &mmc_quirks[0]; quirk->mid != 0x0; quirk++) {
1897 if ((quirk->mid == MMC_QUIRK_MID_ANY ||
1898 quirk->mid == ivar->cid.mid) &&
1899 (quirk->oid == MMC_QUIRK_OID_ANY ||
1900 quirk->oid == ivar->cid.oid) &&
1901 strncmp(quirk->pnm, ivar->cid.pnm,
1903 ivar->quirks = quirk
[all...]
/freebsd-10-stable/sys/dev/drm2/
H A Ddrm_edid.c466 * edid_get_quirks - return quirk flags for a given EDID
473 struct edid_quirk *quirk; local
477 quirk = &edid_quirk_list[i];
479 if (edid_vendor(edid, quirk->vendor) &&
480 (EDID_PRODUCT_ID(edid) == quirk->product_id))
481 return quirk->quirks;
491 * edid_fixup_preferred - set preferred modes based on quirk list
/freebsd-10-stable/sys/dev/usb/serial/
H A Dumodem.c108 #include <dev/usb/quirk/usb_quirk.h>
H A Du3g.c65 #include <dev/usb/quirk/usb_quirk.h>
/freebsd-10-stable/sys/dev/usb/input/
H A Duhid.c76 #include <dev/usb/quirk/usb_quirk.h>
H A Dums.c69 #include <dev/usb/quirk/usb_quirk.h>
H A Dukbd.c74 #include <dev/usb/quirk/usb_quirk.h>
/freebsd-10-stable/sys/dev/pci/
H A Dpci.c78 static int pci_has_quirk(uint32_t devid, int quirk);
266 * Note this quirk only affects SB600 revision A13 and earlier.
394 pci_has_quirk(uint32_t devid, int quirk) argument
399 if (q->devid == devid && q->type == quirk)
4020 * table quirk will not work as expected.

Completed in 373 milliseconds

12