Home
last modified time | relevance | path

Searched refs:quirks (Results 1 – 25 of 171) sorted by relevance

1234567

/linux-3.4.99/drivers/usb/core/
Dquirks.c193 u32 quirks = 0; in __usb_detect_quirks() local
203 quirks |= (u32)(id->driver_info); in __usb_detect_quirks()
206 return quirks; in __usb_detect_quirks()
214 udev->quirks = __usb_detect_quirks(udev, usb_quirk_list); in usb_detect_quirks()
215 if (udev->quirks) in usb_detect_quirks()
217 udev->quirks); in usb_detect_quirks()
230 if (!(udev->quirks & USB_QUIRK_RESET_MORPHS)) in usb_detect_quirks()
237 u32 quirks; in usb_detect_interface_quirks() local
239 quirks = __usb_detect_quirks(udev, usb_interface_quirk_list); in usb_detect_interface_quirks()
240 if (quirks == 0) in usb_detect_interface_quirks()
[all …]
/linux-3.4.99/drivers/hid/
Dhid-cypress.c37 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in cp_report_fixup() local
40 if (!(quirks & CP_RDESC_SWAPPED_MIN_MAX)) in cp_report_fixup()
60 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in cp_input_mapped() local
62 if (!(quirks & CP_2WHEEL_MOUSE_HACK)) in cp_input_mapped()
76 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in cp_event() local
79 !usage->type || !(quirks & CP_2WHEEL_MOUSE_HACK)) in cp_event()
84 quirks |= CP_2WHEEL_MOUSE_HACK_ON; in cp_event()
86 quirks &= ~CP_2WHEEL_MOUSE_HACK_ON; in cp_event()
87 hid_set_drvdata(hdev, (void *)quirks); in cp_event()
91 if (usage->code == REL_WHEEL && (quirks & CP_2WHEEL_MOUSE_HACK_ON)) { in cp_event()
[all …]
Dhid-microsoft.c37 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in ms_report_fixup() local
43 if ((quirks & MS_RDESC) && *rsize == 571 && rdesc[557] == 0x19 && in ms_report_fixup()
50 if ((quirks & MS_RDESC_3K) && *rsize == 106 && rdesc[94] == 0x19 && in ms_report_fixup()
103 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in ms_input_mapping() local
108 if (quirks & MS_ERGONOMY) { in ms_input_mapping()
114 if ((quirks & MS_PRESENTER) && in ms_input_mapping()
125 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in ms_input_mapped() local
127 if (quirks & MS_DUPLICATE_USAGES) in ms_input_mapped()
136 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in ms_event() local
143 if (quirks & MS_ERGONOMY && usage->hid == (HID_UP_MSVENDOR | 0xff05)) { in ms_event()
[all …]
Dhid-lg.c112 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in lg_report_fixup() local
114 if ((quirks & LG_RDESC) && *rsize >= 90 && rdesc[83] == 0x26 && in lg_report_fixup()
121 if ((quirks & LG_RDESC_REL_ABS) && *rsize >= 50 && in lg_report_fixup()
128 if ((quirks & LG_FF4) && *rsize >= 101 && in lg_report_fixup()
281 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in lg_input_mapping() local
292 if ((quirks & LG_WIRELESS) && lg_wireless_mapping(hi, usage, bit, max)) in lg_input_mapping()
302 if ((quirks & LG_IGNORE_DOUBLED_WHEEL) && in lg_input_mapping()
306 if ((quirks & LG_EXPANDED_KEYMAP) && in lg_input_mapping()
322 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in lg_input_mapped() local
324 if ((quirks & LG_BAD_RELATIVE_KEYS) && usage->type == EV_KEY && in lg_input_mapped()
[all …]
Dhid-multitouch.c64 __s32 quirks; member
154 .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP },
156 .quirks = MT_QUIRK_ALWAYS_VALID},
158 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE },
160 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE |
163 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE |
166 .quirks = MT_QUIRK_VALID_IS_INRANGE |
170 .quirks = MT_QUIRK_VALID_IS_INRANGE |
174 .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP |
178 .quirks = MT_QUIRK_VALID_IS_INRANGE |
[all …]
Dhid-sony.c38 unsigned long quirks; member
51 if ((sc->quirks & VAIO_RDESC_CONSTANT) && *rsize >= 56 && in sony_report_fixup()
64 if ((((sc->quirks & SIXAXIS_CONTROLLER_USB) && *rsize == 148) || in sony_report_fixup()
65 ((sc->quirks & SIXAXIS_CONTROLLER_BT) && *rsize == 149)) && in sony_report_fixup()
82 if ((sc->quirks & (SIXAXIS_CONTROLLER_USB | SIXAXIS_CONTROLLER_BT)) && in sony_raw_event()
171 unsigned long quirks = id->driver_data; in sony_probe() local
180 sc->quirks = quirks; in sony_probe()
196 if (sc->quirks & SIXAXIS_CONTROLLER_USB) { in sony_probe()
200 else if (sc->quirks & SIXAXIS_CONTROLLER_BT) in sony_probe()
Dhid-belkin.c34 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in belkin_input_mapping() local
37 !(quirks & BELKIN_WKBD)) in belkin_input_mapping()
52 unsigned long quirks = id->driver_data; in belkin_probe() local
55 hid_set_drvdata(hdev, (void *)quirks); in belkin_probe()
64 ((quirks & BELKIN_HIDDEV) ? HID_CONNECT_HIDDEV_FORCE : 0)); in belkin_probe()
Dhid-a4tech.c31 unsigned long quirks; member
45 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) in a4_input_mapped()
63 if (a4->quirks & A4_2WHEEL_MOUSE_HACK_B8) { in a4_event()
76 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) { in a4_event()
101 a4->quirks = id->driver_data; in a4_probe()
Dhid-input.c301 unsigned quirks = 0; in find_battery_quirk() local
306 quirks = match->driver_data; in find_battery_quirk()
308 return quirks; in find_battery_quirk()
375 unsigned quirks; in hidinput_setup_battery() local
394 quirks = find_battery_quirk(dev); in hidinput_setup_battery()
397 dev->bus, dev->vendor, dev->product, dev->version, quirks); in hidinput_setup_battery()
402 if (quirks & HID_BATTERY_QUIRK_PERCENT) { in hidinput_setup_battery()
407 if (quirks & HID_BATTERY_QUIRK_FEATURE) in hidinput_setup_battery()
622 device->quirks |= HID_QUIRK_NOTOUCH; in hidinput_configure_usage()
644 device->quirks &= ~HID_QUIRK_NOTOUCH; in hidinput_configure_usage()
[all …]
Dhid-apple.c58 unsigned long quirks; member
229 if (asc->quirks & APPLE_NUMLOCK_EMULATION && in hidinput_apple_event()
252 if (asc->quirks & APPLE_ISO_KEYBOARD) { in hidinput_apple_event()
281 if ((asc->quirks & APPLE_INVERT_HWHEEL) && in apple_event()
288 if ((asc->quirks & APPLE_HAS_FN) && in apple_event()
305 if ((asc->quirks & APPLE_RDESC_JIS) && *rsize >= 60 && in apple_report_fixup()
356 if (asc->quirks & APPLE_MIGHTYMOUSE) { in apple_input_mapped()
371 unsigned long quirks = id->driver_data; in apple_probe() local
382 asc->quirks = quirks; in apple_probe()
392 if (quirks & APPLE_HIDDEV) in apple_probe()
[all …]
/linux-3.4.99/drivers/usb/host/
Dxhci-pci.c69 xhci->quirks |= XHCI_RESET_EP_QUIRK; in xhci_pci_quirks()
75 xhci->quirks |= XHCI_SLOW_SUSPEND; in xhci_pci_quirks()
85 xhci->quirks |= XHCI_BROKEN_MSI; in xhci_pci_quirks()
89 xhci->quirks |= XHCI_TRUST_TX_LENGTH; in xhci_pci_quirks()
93 xhci->quirks |= XHCI_NEC_HOST; in xhci_pci_quirks()
96 xhci->quirks |= XHCI_AMD_0x96_HOST; in xhci_pci_quirks()
100 xhci->quirks |= XHCI_AMD_PLL_FIX; in xhci_pci_quirks()
103 xhci->quirks |= XHCI_EP_LIMIT_QUIRK; in xhci_pci_quirks()
105 xhci->quirks |= XHCI_SW_BW_CHECKING; in xhci_pci_quirks()
114 xhci->quirks |= XHCI_SPURIOUS_REBOOT; in xhci_pci_quirks()
[all …]
/linux-3.4.99/drivers/platform/x86/
Deeepc-wmi.c110 static struct quirk_entry *quirks; variable
120 quirks = &quirk_asus_et2012_type1; in et2012_quirks()
122 quirks = &quirk_asus_et2012_type3; in et2012_quirks()
132 quirks = dmi->driver_data; in dmi_matched()
219 quirks = &quirk_asus_unknown; in eeepc_wmi_quirks()
220 quirks->hotplug_wireless = hotplug_wireless; in eeepc_wmi_quirks()
224 driver->quirks = quirks; in eeepc_wmi_quirks()
225 driver->quirks->wapf = -1; in eeepc_wmi_quirks()
Dfujitsu-tablet.c49 unsigned int quirks; member
165 if ((fujitsu.config.quirks & FORCE_TABLET_MODE_IF_UNDOCK) && (!dock)) { in fujitsu_send_state()
169 if (fujitsu.config.quirks & INVERT_TABLET_MODE_BIT) in fujitsu_send_state()
289 fujitsu.config.quirks |= FORCE_TABLET_MODE_IF_UNDOCK; in fujitsu_dmi_stylistic()
290 fujitsu.config.quirks |= INVERT_TABLET_MODE_BIT; in fujitsu_dmi_stylistic()
/linux-3.4.99/drivers/hid/usbhid/
Dhid-quirks.c31 __u32 quirks; member
153 bl_entry->quirks, bl_entry->idVendor, in usbhid_exists_dquirk()
174 const u32 quirks) in usbhid_modify_dquirk() argument
192 q_new->hid_bl_item.quirks = quirks; in usbhid_modify_dquirk()
245 u32 quirks; in usbhid_quirks_init() local
251 &idVendor, &idProduct, &quirks); in usbhid_quirks_init()
254 usbhid_modify_dquirk(idVendor, idProduct, quirks) != 0) { in usbhid_quirks_init()
302 bl_entry->quirks, bl_entry->idVendor, in usbhid_exists_squirk()
320 u32 quirks = 0; in usbhid_lookup_quirk() local
334 quirks = bl_entry->quirks; in usbhid_lookup_quirk()
[all …]
/linux-3.4.99/include/linux/mmc/
Dcard.h224 unsigned int quirks; /* card quirks */ member
368 card->quirks |= data; in add_quirk()
373 card->quirks &= ~data; in remove_quirk()
412 card->quirks |= data; in add_quirk_mmc()
419 card->quirks &= ~data; in remove_quirk_mmc()
429 card->quirks |= data; in add_quirk_sd()
436 card->quirks &= ~data; in remove_quirk_sd()
441 return c->quirks & MMC_QUIRK_LENIENT_FN0; in mmc_card_lenient_fn0()
446 return c->quirks & MMC_QUIRK_BLKSZ_FOR_BYTE_MODE; in mmc_blksz_for_byte_mode()
451 return c->quirks & MMC_QUIRK_DISABLE_CD; in mmc_card_disable_cd()
[all …]
/linux-3.4.99/drivers/mmc/host/
Dsdhci-pltfm.c66 host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12; in sdhci_get_of_property()
69 host->quirks |= SDHCI_QUIRK_FORCE_1_BIT_DATA; in sdhci_get_of_property()
72 host->quirks |= SDHCI_QUIRK_INVERTED_WRITE_PROTECT; in sdhci_get_of_property()
75 host->quirks |= SDHCI_QUIRK_BROKEN_DMA; in sdhci_get_of_property()
80 host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; in sdhci_get_of_property()
129 host->quirks = pdata->quirks; in sdhci_pltfm_init()
Dsdhci-s3c.c154 if (ourhost->host->quirks & SDHCI_QUIRK_NONSTANDARD_CLOCK) { in sdhci_s3c_consider_clock()
375 host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION; in sdhci_s3c_notify_change()
379 host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION; in sdhci_s3c_notify_change()
528 host->quirks = 0; in sdhci_s3c_probe()
532 host->quirks |= SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC; in sdhci_s3c_probe()
533 host->quirks |= SDHCI_QUIRK_NO_HISPD_BIT; in sdhci_s3c_probe()
535 host->quirks |= drv_data->sdhci_quirks; in sdhci_s3c_probe()
541 host->quirks |= SDHCI_QUIRK_BROKEN_DMA; in sdhci_s3c_probe()
548 host->quirks |= SDHCI_QUIRK_NO_BUSY_IRQ; in sdhci_s3c_probe()
551 host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12; in sdhci_s3c_probe()
[all …]
Dsdhci-pci.c55 unsigned int quirks; member
82 unsigned int quirks; member
102 chip->quirks |= SDHCI_QUIRK_NO_CARD_NO_RESET; in ricoh_probe()
132 .quirks = SDHCI_QUIRK_32BIT_DMA_ADDR |
140 .quirks = SDHCI_QUIRK_32BIT_DMA_ADDR |
147 .quirks = SDHCI_QUIRK_SINGLE_POWER_WRITE |
152 .quirks = SDHCI_QUIRK_SINGLE_POWER_WRITE |
158 .quirks = SDHCI_QUIRK_NO_SIMULT_VDD_AND_POWER |
274 .quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_NO_HISPD_BIT,
279 .quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_NO_HISPD_BIT,
[all …]
Dsdhci-pxav2.c155 host->quirks = SDHCI_QUIRK_BROKEN_ADMA in sdhci_pxav2_probe()
162 host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION; in sdhci_pxav2_probe()
170 if (pdata->quirks) in sdhci_pxav2_probe()
171 host->quirks |= pdata->quirks; in sdhci_pxav2_probe()
Dsdhci-pxav3.c198 host->quirks = SDHCI_QUIRK_BROKEN_TIMEOUT_VAL in sdhci_pxav3_probe()
208 host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION; in sdhci_pxav3_probe()
216 if (pdata->quirks) in sdhci_pxav3_probe()
217 host->quirks |= pdata->quirks; in sdhci_pxav3_probe()
Dsdhci.c150 if ((host->quirks & SDHCI_QUIRK_BROKEN_CARD_DETECTION) || in sdhci_set_card_detection()
179 if (host->quirks & SDHCI_QUIRK_NO_CARD_NO_RESET) { in sdhci_reset()
185 if (host->quirks & SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET) in sdhci_reset()
214 if (host->quirks & SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET) in sdhci_reset()
406 if ((host->quirks & SDHCI_QUIRK_BROKEN_SMALL_PIO) && in sdhci_transfer_pio()
411 if (host->quirks & SDHCI_QUIRK_PIO_NEEDS_DELAY) in sdhci_transfer_pio()
547 if (host->quirks & SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC) { in sdhci_adma_table_pre()
648 if (host->quirks & SDHCI_QUIRK_BROKEN_TIMEOUT_VAL) in sdhci_calc_timeout()
742 if (host->quirks & SDHCI_QUIRK_32BIT_ADMA_SIZE) in sdhci_prepare_data()
745 if (host->quirks & SDHCI_QUIRK_32BIT_DMA_SIZE) in sdhci_prepare_data()
[all …]
/linux-3.4.99/Documentation/ABI/testing/
Dsysfs-driver-hid-multitouch1 …ices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/quirks
5 quirks actually in place to handle the device's protocol.
8 When written this attribute change on the fly the quirks, then
/linux-3.4.99/drivers/net/ethernet/via/
Dvia-rhine.c456 u32 quirks; member
541 if (rp->quirks & rqStatusWBRace) in rhine_get_events()
550 if (rp->quirks & rqStatusWBRace) in rhine_ack_events()
566 if (rp->quirks & rqWOL) { in rhine_power_init()
576 if (rp->quirks & rq6patterns) in rhine_power_init()
581 if (rp->quirks & rq6patterns) in rhine_power_init()
586 if (rp->quirks & rq6patterns) in rhine_power_init()
629 if (rp->quirks & rqForceReset) in rhine_chip_reset()
642 static void enable_mmio(long pioaddr, u32 quirks) in enable_mmio() argument
645 if (quirks & rqRhineI) { in enable_mmio()
[all …]
/linux-3.4.99/drivers/gpu/drm/
Ddrm_edid.c78 u32 quirks; member
90 u32 quirks; member
447 return quirk->quirks; in edid_get_quirks()
465 u32 quirks) in edid_fixup_preferred() argument
473 if (quirks & EDID_QUIRK_PREFER_LARGE_60) in edid_fixup_preferred()
475 if (quirks & EDID_QUIRK_PREFER_LARGE_75) in edid_fixup_preferred()
837 u32 quirks) in drm_mode_detailed() argument
869 if (quirks & EDID_QUIRK_FORCE_REDUCED_BLANKING) { in drm_mode_detailed()
881 if (quirks & EDID_QUIRK_135_CLOCK_TOO_HIGH) in drm_mode_detailed()
904 if (quirks & EDID_QUIRK_DETAILED_SYNC_PP) { in drm_mode_detailed()
[all …]
/linux-3.4.99/sound/soc/samsung/
Di2s.c67 u32 quirks; member
416 if ((i2s->quirks & QUIRK_NO_MUXPSR) in i2s_set_sysclk()
733 if (!(i2s->quirks & QUIRK_NO_MUXPSR)) { in config_setup()
890 if (i2s->quirks & QUIRK_NEED_RSTCLR) in samsung_i2s_dai_probe()
893 if (i2s->quirks & QUIRK_SEC_DAI) in samsung_i2s_dai_probe()
922 if (i2s->quirks & QUIRK_NEED_RSTCLR) in samsung_i2s_dai_remove()
1002 u32 regs_base, quirks; in samsung_i2s_probe() local
1053 quirks = i2s_cfg->quirks; in samsung_i2s_probe()
1074 pri_dai->quirks = quirks; in samsung_i2s_probe()
1076 if (quirks & QUIRK_PRI_6CHAN) in samsung_i2s_probe()
[all …]

1234567