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

/freebsd-9.3-release/sys/modules/usb/quirk/
H A DMakefile30 .PATH: $S/dev/usb/quirk
/freebsd-9.3-release/sys/dev/usb/
H A Dusb_dynamic.h41 uint16_t quirk);
H A Dusb_dynamic.c76 usb_test_quirk_w(const struct usbd_lookup_info *info, uint16_t quirk) argument
H A Dusb_device.c77 #include <dev/usb/quirk/usb_quirk.h>
2430 * usb_test_quirk - test a device for a given quirk
2433 * 0: The USB device does not have the given quirk.
2434 * Else: The USB device has the given quirk.
2437 usb_test_quirk(const struct usb_attach_arg *uaa, uint16_t quirk) argument
2442 if (quirk == UQ_NONE)
2448 if (uaa->device->autoQuirk[x] == quirk)
2452 /* search global quirk table, if any */
2454 found = (usb_test_quirk_p) (&uaa->info, quirk);
2802 usbd_add_dynamic_quirk(struct usb_device *udev, uint16_t quirk) argument
[all...]
H A Dusbdi.h479 uint16_t quirk);
H A Dusb_msctest.c68 #include <dev/usb/quirk/usb_quirk.h>
/freebsd-9.3-release/sys/dev/usb/quirk/
H A Dusb_quirk.h35 UQ_NONE, /* not a valid quirk */
37 UQ_MATCH_VENDOR_ONLY, /* match quirk on vendor only */
115 uint8_t usb_test_quirk(const struct usb_attach_arg *uaa, uint16_t quirk);
H A Dusb_quirk.c57 #include <dev/usb/quirk/usb_quirk.h>
575 * This function converts an USB quirk code into a string.
578 usb_quirkstr(uint16_t quirk) argument
580 return ((quirk < USB_QUIRK_MAX) ?
581 usb_quirk_str[quirk] : "USB_QUIRK_UNKNOWN");
592 usb_test_quirk_by_info(const struct usbd_lookup_info *info, uint16_t quirk) argument
597 if (quirk == UQ_NONE)
603 /* see if quirk information does not match */
609 /* see if quirk only should match vendor ID */
621 /* lookup quirk */
[all...]
/freebsd-9.3-release/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.h87 void *quirk; /* Oddities about this device */ member in struct:cam_ed
/freebsd-9.3-release/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-9.3-release/sys/modules/usb/
H A DMakefile42 SUBDIR += quirk template
/freebsd-9.3-release/sys/cam/scsi/
H A Dscsi_xpt.c78 #define SCSI_QUIRK(dev) ((struct scsi_quirk_entry *)((dev)->quirk))
240 * firmware revisions. If that happens, the quirk entry
325 * this quirk entries disables tagged queueing for all
393 /* I can't believe we need a quirk for DPT volumes. */
1788 struct scsi_quirk_entry *quirk; local
1800 quirk = (struct scsi_quirk_entry *)match;
1801 device->quirk = quirk;
1802 device->mintags = quirk->mintags;
1803 device->maxtags = quirk
2293 struct scsi_quirk_entry *quirk; local
[all...]
H A Dscsi_all.c152 * feel free to change this quirk entry.
654 * wasn't covered in the quirk table.
3109 struct scsi_sense_quirk_entry *quirk; local
3111 quirk = (struct scsi_sense_quirk_entry *)match;
3112 asc_tables[0] = quirk->asc_info;
3113 asc_tables_size[0] = quirk->num_ascs;
3117 sense_tables[0] = quirk->sense_key_info;
3118 sense_tables_size[0] = quirk->num_sense_keys;
/freebsd-9.3-release/sys/cam/ata/
H A Data_xpt.c1287 struct ata_quirk_entry *quirk; local
1298 quirk = (struct ata_quirk_entry *)match;
1299 device->quirk = quirk;
1300 if (quirk->quirks & CAM_QUIRK_MAXTAGS) {
1301 device->mintags = quirk->mintags;
1302 device->maxtags = quirk->maxtags;
1557 struct ata_quirk_entry *quirk; local
1565 * Take the default quirk entry until we have inquiry
1566 * data and can determine a better quirk t
[all...]
/freebsd-9.3-release/sys/dev/drm2/
H A Ddrm_edid.c437 * edid_get_quirks - return quirk flags for a given EDID
444 struct edid_quirk *quirk; local
448 quirk = &edid_quirk_list[i];
450 if (edid_vendor(edid, quirk->vendor) &&
451 (EDID_PRODUCT_ID(edid) == quirk->product_id))
452 return quirk->quirks;
462 * edid_fixup_preferred - set preferred modes based on quirk list
/freebsd-9.3-release/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-9.3-release/sys/dev/usb/serial/
H A Dumodem.c107 #include <dev/usb/quirk/usb_quirk.h>
H A Du3g.c65 #include <dev/usb/quirk/usb_quirk.h>
/freebsd-9.3-release/sys/dev/pci/
H A Dpci.c92 static int pci_has_quirk(uint32_t devid, int quirk);
265 * Note this quirk only affects SB600 revision A13 and earlier.
354 pci_has_quirk(uint32_t devid, int quirk) argument
359 if (q->devid == devid && q->type == quirk)
/freebsd-9.3-release/sys/dev/usb/storage/
H A Dumass.c129 #include <dev/usb/quirk/usb_quirk.h>
362 * this quirk would be handled in the cam layer, but for IDE bridges
363 * we need to associate the quirk with the bridge and not the
/freebsd-9.3-release/sys/dev/sound/usb/
H A Duaudio.c81 #include <dev/usb/quirk/usb_quirk.h>
5694 device_printf(dev, "Single command MIDI quirk enabled\n");

Completed in 327 milliseconds