/drivers/hid/ |
D | hid-multitouch.c | 80 __s32 quirks; member 169 .quirks = MT_QUIRK_ALWAYS_VALID | 172 .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP }, 174 .quirks = MT_QUIRK_ALWAYS_VALID}, 176 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE }, 178 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE | 181 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE | 184 .quirks = MT_QUIRK_VALID_IS_INRANGE | 188 .quirks = MT_QUIRK_VALID_IS_INRANGE | 192 .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP | [all …]
|
D | hid-cypress.c | 36 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in cp_report_fixup() local 39 if (!(quirks & CP_RDESC_SWAPPED_MIN_MAX)) in cp_report_fixup() 59 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in cp_input_mapped() local 61 if (!(quirks & CP_2WHEEL_MOUSE_HACK)) in cp_input_mapped() 75 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in cp_event() local 78 !usage->type || !(quirks & CP_2WHEEL_MOUSE_HACK)) in cp_event() 83 quirks |= CP_2WHEEL_MOUSE_HACK_ON; in cp_event() 85 quirks &= ~CP_2WHEEL_MOUSE_HACK_ON; in cp_event() 86 hid_set_drvdata(hdev, (void *)quirks); in cp_event() 90 if (usage->code == REL_WHEEL && (quirks & CP_2WHEEL_MOUSE_HACK_ON)) { in cp_event() [all …]
|
D | hid-microsoft.c | 36 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in ms_report_fixup() local 42 if ((quirks & MS_RDESC) && *rsize == 571 && rdesc[557] == 0x19 && in ms_report_fixup() 49 if ((quirks & MS_RDESC_3K) && *rsize == 106 && rdesc[94] == 0x19 && in ms_report_fixup() 102 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in ms_input_mapping() local 107 if (quirks & MS_ERGONOMY) { in ms_input_mapping() 113 if ((quirks & MS_PRESENTER) && in ms_input_mapping() 124 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in ms_input_mapped() local 126 if (quirks & MS_DUPLICATE_USAGES) in ms_input_mapped() 135 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in ms_event() local 142 if (quirks & MS_ERGONOMY && usage->hid == (HID_UP_MSVENDOR | 0xff05)) { in ms_event() [all …]
|
D | hid-sony.c | 59 unsigned long quirks; member 72 if ((sc->quirks & VAIO_RDESC_CONSTANT) && *rsize >= 56 && in sony_report_fixup() 85 if ((((sc->quirks & SIXAXIS_CONTROLLER_USB) && *rsize == 148) || in sony_report_fixup() 86 ((sc->quirks & SIXAXIS_CONTROLLER_BT) && *rsize == 149)) && in sony_report_fixup() 91 } else if (sc->quirks & SIXAXIS_CONTROLLER_USB && in sony_report_fixup() 109 if ((sc->quirks & (SIXAXIS_CONTROLLER_USB | SIXAXIS_CONTROLLER_BT)) && in sony_raw_event() 198 unsigned long quirks = id->driver_data; in sony_probe() local 207 sc->quirks = quirks; in sony_probe() 223 if (sc->quirks & SIXAXIS_CONTROLLER_USB) { in sony_probe() 227 else if (sc->quirks & SIXAXIS_CONTROLLER_BT) in sony_probe()
|
D | hid-lg.c | 349 if ((drv_data->quirks & LG_RDESC) && *rsize >= 91 && rdesc[83] == 0x26 && in lg_report_fixup() 356 if ((drv_data->quirks & LG_RDESC_REL_ABS) && *rsize >= 51 && in lg_report_fixup() 578 if ((drv_data->quirks & LG_WIRELESS) && lg_wireless_mapping(hi, usage, bit, max)) in lg_input_mapping() 588 if ((drv_data->quirks & LG_IGNORE_DOUBLED_WHEEL) && in lg_input_mapping() 592 if ((drv_data->quirks & LG_EXPANDED_KEYMAP) && in lg_input_mapping() 610 if ((drv_data->quirks & LG_BAD_RELATIVE_KEYS) && usage->type == EV_KEY && in lg_input_mapped() 614 if ((drv_data->quirks & LG_DUPLICATE_USAGES) && (usage->type == EV_KEY || in lg_input_mapped() 648 if ((drv_data->quirks & LG_INVERT_HWHEEL) && usage->code == REL_HWHEEL) { in lg_event() 653 if (drv_data->quirks & LG_FF4) { in lg_event() 680 drv_data->quirks = id->driver_data; in lg_probe() [all …]
|
D | hid-belkin.c | 33 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in belkin_input_mapping() local 36 !(quirks & BELKIN_WKBD)) in belkin_input_mapping() 51 unsigned long quirks = id->driver_data; in belkin_probe() local 54 hid_set_drvdata(hdev, (void *)quirks); in belkin_probe() 63 ((quirks & BELKIN_HIDDEV) ? HID_CONNECT_HIDDEV_FORCE : 0)); in belkin_probe()
|
D | hid-a4tech.c | 30 unsigned long quirks; member 44 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) in a4_input_mapped() 62 if (a4->quirks & A4_2WHEEL_MOUSE_HACK_B8) { in a4_event() 75 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) { in a4_event() 100 a4->quirks = id->driver_data; in a4_probe()
|
D | hid-input.c | 327 unsigned quirks = 0; in find_battery_quirk() local 332 quirks = match->driver_data; in find_battery_quirk() 334 return quirks; in find_battery_quirk() 393 unsigned quirks; in hidinput_setup_battery() local 412 quirks = find_battery_quirk(dev); in hidinput_setup_battery() 415 dev->bus, dev->vendor, dev->product, dev->version, quirks); in hidinput_setup_battery() 420 if (quirks & HID_BATTERY_QUIRK_PERCENT) { in hidinput_setup_battery() 425 if (quirks & HID_BATTERY_QUIRK_FEATURE) in hidinput_setup_battery() 645 device->quirks |= HID_QUIRK_NOTOUCH; in hidinput_configure_usage() 675 device->quirks &= ~HID_QUIRK_NOTOUCH; in hidinput_configure_usage() [all …]
|
D | hid-apple.c | 50 unsigned long quirks; member 213 if (asc->quirks & APPLE_NUMLOCK_EMULATION && in hidinput_apple_event() 236 if (asc->quirks & APPLE_ISO_KEYBOARD) { in hidinput_apple_event() 257 if ((asc->quirks & APPLE_INVERT_HWHEEL) && in apple_event() 264 if ((asc->quirks & APPLE_HAS_FN) && in apple_event() 281 if ((asc->quirks & APPLE_RDESC_JIS) && *rsize >= 60 && in apple_report_fixup() 332 if (asc->quirks & APPLE_MIGHTYMOUSE) { in apple_input_mapped() 347 unsigned long quirks = id->driver_data; in apple_probe() local 358 asc->quirks = quirks; in apple_probe() 368 if (quirks & APPLE_HIDDEV) in apple_probe() [all …]
|
/drivers/usb/core/ |
D | quirks.c | 181 u32 quirks = 0; in __usb_detect_quirks() local 191 quirks |= (u32)(id->driver_info); in __usb_detect_quirks() 194 return quirks; in __usb_detect_quirks() 202 udev->quirks = __usb_detect_quirks(udev, usb_quirk_list); in usb_detect_quirks() 203 if (udev->quirks) in usb_detect_quirks() 205 udev->quirks); in usb_detect_quirks() 208 if (!(udev->quirks & USB_QUIRK_RESET)) in usb_detect_quirks() 219 u32 quirks; in usb_detect_interface_quirks() local 221 quirks = __usb_detect_quirks(udev, usb_interface_quirk_list); in usb_detect_interface_quirks() 222 if (quirks == 0) in usb_detect_interface_quirks() [all …]
|
/drivers/usb/host/ |
D | xhci-pci.c | 66 xhci->quirks |= XHCI_RESET_EP_QUIRK; in xhci_pci_quirks() 74 xhci->quirks |= XHCI_BROKEN_MSI; in xhci_pci_quirks() 78 xhci->quirks |= XHCI_TRUST_TX_LENGTH; in xhci_pci_quirks() 82 xhci->quirks |= XHCI_NEC_HOST; in xhci_pci_quirks() 85 xhci->quirks |= XHCI_AMD_0x96_HOST; in xhci_pci_quirks() 89 xhci->quirks |= XHCI_AMD_PLL_FIX; in xhci_pci_quirks() 91 xhci->quirks |= XHCI_LPM_SUPPORT; in xhci_pci_quirks() 92 xhci->quirks |= XHCI_INTEL_HOST; in xhci_pci_quirks() 96 xhci->quirks |= XHCI_SPURIOUS_SUCCESS; in xhci_pci_quirks() 97 xhci->quirks |= XHCI_EP_LIMIT_QUIRK; in xhci_pci_quirks() [all …]
|
/drivers/hid/usbhid/ |
D | hid-quirks.c | 31 __u32 quirks; member 154 bl_entry->quirks, bl_entry->idVendor, in usbhid_exists_dquirk() 175 const u32 quirks) in usbhid_modify_dquirk() argument 193 q_new->hid_bl_item.quirks = quirks; in usbhid_modify_dquirk() 246 u32 quirks; in usbhid_quirks_init() local 252 &idVendor, &idProduct, &quirks); in usbhid_quirks_init() 255 usbhid_modify_dquirk(idVendor, idProduct, quirks) != 0) { in usbhid_quirks_init() 303 bl_entry->quirks, bl_entry->idVendor, in usbhid_exists_squirk() 321 u32 quirks = 0; in usbhid_lookup_quirk() local 335 quirks = bl_entry->quirks; in usbhid_lookup_quirk() [all …]
|
/drivers/platform/x86/ |
D | eeepc-wmi.c | 117 static struct quirk_entry *quirks; variable 127 quirks = &quirk_asus_et2012_type1; in et2012_quirks() 129 quirks = &quirk_asus_et2012_type3; in et2012_quirks() 139 quirks = dmi->driver_data; in dmi_matched() 244 quirks = &quirk_asus_unknown; in eeepc_wmi_quirks() 245 quirks->hotplug_wireless = hotplug_wireless; in eeepc_wmi_quirks() 249 driver->quirks = quirks; in eeepc_wmi_quirks() 250 driver->quirks->wapf = -1; in eeepc_wmi_quirks()
|
D | msi-laptop.c | 152 static struct quirk_entry *quirks; variable 224 if (quirks->ec_read_only) in set_device_state() 325 if (quirks->old_ec_model) { in show_wlan() 349 if (quirks->old_ec_model) { in show_bluetooth() 374 if (quirks->old_ec_model) in show_threeg() 603 quirks = dmi->driver_data; in dmi_check_cb() 783 if (quirks->ec_read_only) in msi_rfkill_set_state() 835 if (quirks->ec_delay) { in msi_laptop_i8042_filter() 844 if (quirks->ec_delay) { in msi_laptop_i8042_filter() 915 if (quirks->ec_delay) { in rfkill_init() [all …]
|
D | asus-nb-wmi.c | 56 static struct quirk_entry *quirks; variable 79 quirks = dmi->driver_data; in dmi_matched() 188 quirks = &quirk_asus_unknown; in asus_nb_wmi_quirks() 191 driver->quirks = quirks; in asus_nb_wmi_quirks() 196 quirks->wapf = wapf; in asus_nb_wmi_quirks() 198 wapf = quirks->wapf; in asus_nb_wmi_quirks()
|
D | fujitsu-tablet.c | 52 unsigned int quirks; member 167 if (fujitsu.config.quirks & INVERT_DOCK_STATE_BIT) in fujitsu_send_state() 170 if ((fujitsu.config.quirks & FORCE_TABLET_MODE_IF_UNDOCK) && (!dock)) { in fujitsu_send_state() 174 if (fujitsu.config.quirks & INVERT_TABLET_MODE_BIT) in fujitsu_send_state() 290 fujitsu.config.quirks |= INVERT_TABLET_MODE_BIT; in fujitsu_dmi_lifebook() 297 fujitsu.config.quirks |= FORCE_TABLET_MODE_IF_UNDOCK; in fujitsu_dmi_stylistic() 298 fujitsu.config.quirks |= INVERT_DOCK_STATE_BIT; in fujitsu_dmi_stylistic()
|
D | dell-laptop.c | 66 static struct quirk_entry *quirks; variable 74 quirks = dmi->driver_data; in dmi_matched() 526 quirks = NULL; in dell_init() 559 if (quirks && quirks->touchpad_led) in dell_init() 620 if (quirks && quirks->touchpad_led) in dell_exit()
|
D | acer-wmi.c | 297 static struct quirk_entry *quirks; variable 304 if (quirks->mailled) in set_quirks() 307 if (quirks->brightness) in set_quirks() 313 quirks = dmi->driver_data; in dmi_matched() 584 quirks = &quirk_acer_travelmate_2490; in find_quirks() 587 if (quirks == NULL) in find_quirks() 588 quirks = &quirk_unknown; in find_quirks() 643 switch (quirks->mailled) { in AMW0_get_u32() 653 switch (quirks->wireless) { in AMW0_get_u32() 681 switch (quirks->bluetooth) { in AMW0_get_u32() [all …]
|
/drivers/mmc/host/ |
D | sdhci-pltfm.c | 76 host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12; in sdhci_get_of_property() 81 host->quirks |= SDHCI_QUIRK_FORCE_1_BIT_DATA; in sdhci_get_of_property() 84 host->quirks |= SDHCI_QUIRK_INVERTED_WRITE_PROTECT; in sdhci_get_of_property() 87 host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION; in sdhci_get_of_property() 93 host->quirks |= SDHCI_QUIRK_BROKEN_DMA; in sdhci_get_of_property() 99 host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; in sdhci_get_of_property() 154 host->quirks = pdata->quirks; in sdhci_pltfm_init()
|
D | sdhci-s3c.c | 156 if (ourhost->host->quirks & SDHCI_QUIRK_NONSTANDARD_CLOCK) { in sdhci_s3c_consider_clock() 386 host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION; in sdhci_s3c_notify_change() 390 host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION; in sdhci_s3c_notify_change() 610 host->quirks = 0; in sdhci_s3c_probe() 614 host->quirks |= SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC; in sdhci_s3c_probe() 615 host->quirks |= SDHCI_QUIRK_NO_HISPD_BIT; in sdhci_s3c_probe() 617 host->quirks |= drv_data->sdhci_quirks; in sdhci_s3c_probe() 623 host->quirks |= SDHCI_QUIRK_BROKEN_DMA; in sdhci_s3c_probe() 630 host->quirks |= SDHCI_QUIRK_NO_BUSY_IRQ; in sdhci_s3c_probe() 633 host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12; in sdhci_s3c_probe() [all …]
|
D | sdhci-pci.c | 58 unsigned int quirks; member 85 unsigned int quirks; member 105 chip->quirks |= SDHCI_QUIRK_NO_CARD_NO_RESET; in ricoh_probe() 136 .quirks = SDHCI_QUIRK_32BIT_DMA_ADDR | 144 .quirks = SDHCI_QUIRK_32BIT_DMA_ADDR | 151 .quirks = SDHCI_QUIRK_SINGLE_POWER_WRITE | 156 .quirks = SDHCI_QUIRK_SINGLE_POWER_WRITE | 162 .quirks = SDHCI_QUIRK_NO_SIMULT_VDD_AND_POWER | 278 .quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_NO_HISPD_BIT, 283 .quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_NO_HISPD_BIT, [all …]
|
D | sdhci.c | 152 if ((host->quirks & SDHCI_QUIRK_BROKEN_CARD_DETECTION) || in sdhci_set_card_detection() 181 if (host->quirks & SDHCI_QUIRK_NO_CARD_NO_RESET) { in sdhci_reset() 187 if (host->quirks & SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET) in sdhci_reset() 216 if (host->quirks & SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET) in sdhci_reset() 261 (host->quirks & SDHCI_QUIRK_NO_MULTIBLOCK) ? 1 : 65535; in sdhci_reinit() 421 if ((host->quirks & SDHCI_QUIRK_BROKEN_SMALL_PIO) && in sdhci_transfer_pio() 426 if (host->quirks & SDHCI_QUIRK_PIO_NEEDS_DELAY) in sdhci_transfer_pio() 562 if (host->quirks & SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC) { in sdhci_adma_table_pre() 663 if (host->quirks & SDHCI_QUIRK_BROKEN_TIMEOUT_VAL) in sdhci_calc_timeout() 757 if (host->quirks & SDHCI_QUIRK_32BIT_ADMA_SIZE) in sdhci_prepare_data() [all …]
|
D | sdhci-acpi.c | 52 unsigned int quirks; member 61 unsigned int quirks; member 235 host->quirks |= c->slot->chip->quirks; in sdhci_acpi_probe() 241 host->quirks |= c->slot->quirks; in sdhci_acpi_probe()
|
D | sdhci-pxav2.c | 195 host->quirks = SDHCI_QUIRK_BROKEN_ADMA in sdhci_pxav2_probe() 206 host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION; in sdhci_pxav2_probe() 214 if (pdata->quirks) in sdhci_pxav2_probe() 215 host->quirks |= pdata->quirks; in sdhci_pxav2_probe()
|
/drivers/net/ethernet/via/ |
D | via-rhine.c | 462 u32 quirks; member 552 if (rp->quirks & rqStatusWBRace) in rhine_get_events() 561 if (rp->quirks & rqStatusWBRace) in rhine_ack_events() 577 if (rp->quirks & rqWOL) { in rhine_power_init() 587 if (rp->quirks & rq6patterns) in rhine_power_init() 592 if (rp->quirks & rq6patterns) in rhine_power_init() 597 if (rp->quirks & rq6patterns) in rhine_power_init() 640 if (rp->quirks & rqForceReset) in rhine_chip_reset() 653 static void enable_mmio(long pioaddr, u32 quirks) in enable_mmio() argument 656 if (quirks & rqRhineI) { in enable_mmio() [all …]
|