/linux-2.6.39/drivers/hid/ |
D | hid-cypress.c | 37 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 …]
|
D | hid-lg.c | 52 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in lg_report_fixup() local 54 if ((quirks & LG_RDESC) && *rsize >= 90 && rdesc[83] == 0x26 && in lg_report_fixup() 61 if ((quirks & LG_RDESC_REL_ABS) && *rsize >= 50 && in lg_report_fixup() 68 if ((quirks & LG_FF4) && *rsize >= 101 && in lg_report_fixup() 209 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in lg_input_mapping() local 220 if ((quirks & LG_WIRELESS) && lg_wireless_mapping(hi, usage, bit, max)) in lg_input_mapping() 230 if ((quirks & LG_IGNORE_DOUBLED_WHEEL) && in lg_input_mapping() 234 if ((quirks & LG_EXPANDED_KEYMAP) && in lg_input_mapping() 250 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in lg_input_mapped() local 252 if ((quirks & LG_BAD_RELATIVE_KEYS) && usage->type == EV_KEY && in lg_input_mapped() [all …]
|
D | hid-microsoft.c | 39 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in ms_report_fixup() local 41 if ((quirks & MS_RDESC) && *rsize == 571 && rdesc[557] == 0x19 && in ms_report_fixup() 94 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in ms_input_mapping() local 99 if (quirks & MS_ERGONOMY) { in ms_input_mapping() 105 if ((quirks & MS_PRESENTER) && in ms_input_mapping() 115 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in ms_event() local 122 if (quirks & MS_ERGONOMY && usage->hid == (HID_UP_MSVENDOR | 0xff05)) { in ms_event() 147 unsigned long quirks = id->driver_data; in ms_probe() local 150 hid_set_drvdata(hdev, (void *)quirks); in ms_probe() 152 if (quirks & MS_NOGET) in ms_probe() [all …]
|
D | hid-multitouch.c | 69 __s32 quirks; member 116 .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP, 119 .quirks = MT_QUIRK_VALID_IS_INRANGE | 123 .quirks = MT_QUIRK_VALID_IS_INRANGE | 127 .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP | 132 .quirks = MT_QUIRK_SLOT_IS_CONTACTID | 166 __s32 quirks = cls->quirks; in mt_input_mapping() local 173 if (quirks & MT_QUIRK_EGALAX_XYZ_FIXUP) in mt_input_mapping() 184 if (quirks & MT_QUIRK_EGALAX_XYZ_FIXUP) in mt_input_mapping() 229 if (quirks & MT_QUIRK_EGALAX_XYZ_FIXUP) in mt_input_mapping() [all …]
|
D | hid-belkin.c | 34 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()
|
D | hid-sony.c | 32 unsigned long quirks; member 41 if ((sc->quirks & VAIO_RDESC_CONSTANT) && in sony_report_fixup() 127 unsigned long quirks = id->driver_data; in sony_probe() local 136 sc->quirks = quirks; in sony_probe() 152 if (sc->quirks & SIXAXIS_CONTROLLER_USB) { in sony_probe() 156 else if (sc->quirks & SIXAXIS_CONTROLLER_BT) in sony_probe()
|
D | hid-a4tech.c | 31 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()
|
D | hid-apple.c | 52 unsigned long quirks; member 215 if (asc->quirks & APPLE_NUMLOCK_EMULATION && in hidinput_apple_event() 238 if (asc->quirks & APPLE_ISO_KEYBOARD) { in hidinput_apple_event() 259 if ((asc->quirks & APPLE_INVERT_HWHEEL) && in apple_event() 266 if ((asc->quirks & APPLE_HAS_FN) && in apple_event() 283 if ((asc->quirks & APPLE_RDESC_JIS) && *rsize >= 60 && in apple_report_fixup() 334 if (asc->quirks & APPLE_MIGHTYMOUSE) { in apple_input_mapped() 349 unsigned long quirks = id->driver_data; in apple_probe() local 360 asc->quirks = quirks; in apple_probe() 370 if (quirks & APPLE_HIDDEV) in apple_probe() [all …]
|
D | hid-input.c | 431 device->quirks |= HID_QUIRK_NOTOUCH; in hidinput_configure_usage() 453 device->quirks &= ~HID_QUIRK_NOTOUCH; in hidinput_configure_usage() 657 if ((device->quirks & HID_QUIRK_BADPAD) && (usage->code == ABS_X || usage->code == ABS_Y)) { in hidinput_configure_usage() 708 unsigned *quirks = &hid->quirks; in hidinput_hid_event() local 729 *quirks = value ? (*quirks | HID_QUIRK_INVERT) : (*quirks & ~HID_QUIRK_INVERT); in hidinput_hid_event() 735 input_event(input, usage->type, (*quirks & HID_QUIRK_INVERT) ? BTN_TOOL_RUBBER : usage->code, 1); in hidinput_hid_event() 743 if (usage->hid == (HID_UP_DIGITIZER | 0x0030) && (*quirks & HID_QUIRK_NOTOUCH)) { /* Pressure */ in hidinput_hid_event() 791 if (hid->quirks & HID_QUIRK_NO_INPUT_SYNC) in hidinput_report_event() 880 hid->quirks & HID_QUIRK_SKIP_OUTPUT_REPORTS) in hidinput_connect() 923 if (hid->quirks & HID_QUIRK_MULTI_INPUT) { in hidinput_connect()
|
/linux-2.6.39/drivers/hid/usbhid/ |
D | hid-quirks.c | 30 __u32 quirks; member 131 bl_entry->quirks, bl_entry->idVendor, in usbhid_exists_dquirk() 152 const u32 quirks) in usbhid_modify_dquirk() argument 170 q_new->hid_bl_item.quirks = quirks; in usbhid_modify_dquirk() 223 u32 quirks; in usbhid_quirks_init() local 229 &idVendor, &idProduct, &quirks); in usbhid_quirks_init() 232 usbhid_modify_dquirk(idVendor, idProduct, quirks) != 0) { in usbhid_quirks_init() 280 bl_entry->quirks, bl_entry->idVendor, in usbhid_exists_squirk() 298 u32 quirks = 0; in usbhid_lookup_quirk() local 312 quirks = bl_entry->quirks; in usbhid_lookup_quirk() [all …]
|
/linux-2.6.39/drivers/usb/core/ |
D | quirks.c | 123 udev->quirks = (u32)(id->driver_info); in usb_detect_quirks() 124 if (udev->quirks) in usb_detect_quirks() 126 udev->quirks); in usb_detect_quirks() 139 if (!(udev->quirks & USB_QUIRK_RESET_MORPHS)) in usb_detect_quirks()
|
/linux-2.6.39/drivers/mmc/host/ |
D | sdhci-pci.c | 47 unsigned int quirks; member 69 unsigned int quirks; member 87 chip->quirks |= SDHCI_QUIRK_NO_CARD_NO_RESET; in ricoh_probe() 117 .quirks = SDHCI_QUIRK_32BIT_DMA_ADDR | 125 .quirks = SDHCI_QUIRK_32BIT_DMA_ADDR | 132 .quirks = SDHCI_QUIRK_SINGLE_POWER_WRITE | 137 .quirks = SDHCI_QUIRK_SINGLE_POWER_WRITE | 143 .quirks = SDHCI_QUIRK_NO_SIMULT_VDD_AND_POWER | 163 .quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_NO_HISPD_BIT, 167 .quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_NO_HISPD_BIT, [all …]
|
D | sdhci.c | 127 if (host->quirks & SDHCI_QUIRK_BROKEN_CARD_DETECTION) in sdhci_set_card_detection() 151 if (host->quirks & SDHCI_QUIRK_NO_CARD_NO_RESET) { in sdhci_reset() 157 if (host->quirks & SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET) in sdhci_reset() 180 if (host->quirks & SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET) in sdhci_reset() 364 if ((host->quirks & SDHCI_QUIRK_BROKEN_SMALL_PIO) && in sdhci_transfer_pio() 369 if (host->quirks & SDHCI_QUIRK_PIO_NEEDS_DELAY) in sdhci_transfer_pio() 505 if (host->quirks & SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC) { in sdhci_adma_table_pre() 605 if (host->quirks & SDHCI_QUIRK_BROKEN_TIMEOUT_VAL) in sdhci_calc_timeout() 612 if (host->quirks & SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK) in sdhci_calc_timeout() 689 if (host->quirks & SDHCI_QUIRK_32BIT_ADMA_SIZE) in sdhci_prepare_data() [all …]
|
D | sdhci-s3c.c | 329 host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION; in sdhci_s3c_notify_change() 333 host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION; in sdhci_s3c_notify_change() 482 host->quirks = 0; in sdhci_s3c_probe() 486 host->quirks |= SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC; in sdhci_s3c_probe() 487 host->quirks |= SDHCI_QUIRK_NO_HISPD_BIT; in sdhci_s3c_probe() 493 host->quirks |= SDHCI_QUIRK_BROKEN_DMA; in sdhci_s3c_probe() 500 host->quirks |= SDHCI_QUIRK_NO_BUSY_IRQ; in sdhci_s3c_probe() 503 host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12; in sdhci_s3c_probe() 507 host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION; in sdhci_s3c_probe() 515 host->quirks |= (SDHCI_QUIRK_32BIT_DMA_ADDR | in sdhci_s3c_probe() [all …]
|
D | sdhci-of-core.c | 168 host->quirks = sdhci_of_data->quirks; in sdhci_of_probe() 173 host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12; in sdhci_of_probe() 177 host->quirks |= SDHCI_QUIRK_FORCE_1_BIT_DATA; in sdhci_of_probe() 180 host->quirks |= SDHCI_QUIRK_INVERTED_WRITE_PROTECT; in sdhci_of_probe()
|
D | sdhci-esdhc-imx.c | 248 host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; in esdhc_pltfm_init() 252 host->quirks |= SDHCI_QUIRK_NO_MULTIBLOCK; in esdhc_pltfm_init() 289 host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION; in esdhc_pltfm_init() 315 if (!(host->quirks & SDHCI_QUIRK_BROKEN_CARD_DETECTION)) in esdhc_pltfm_exit() 325 .quirks = ESDHC_DEFAULT_QUIRKS | SDHCI_QUIRK_BROKEN_ADMA
|
D | sdhci-pxa.c | 139 host->quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; in sdhci_pxa_probe() 141 if (pdata->quirks) in sdhci_pxa_probe() 142 host->quirks |= pdata->quirks; in sdhci_pxa_probe()
|
/linux-2.6.39/drivers/mmc/core/ |
D | quirks.c | 32 card->quirks |= data; in add_quirk() 40 card->quirks &= ~data; in remove_quirk() 49 card->quirks |= data; in add_quirk_for_sdio_devices()
|
/linux-2.6.39/drivers/net/ |
D | via-rhine.c | 442 u32 quirks; member 515 if (rp->quirks & rqStatusWBRace) in get_intr_status() 530 if (rp->quirks & rqWOL) { in rhine_power_init() 540 if (rp->quirks & rq6patterns) in rhine_power_init() 545 if (rp->quirks & rq6patterns) in rhine_power_init() 550 if (rp->quirks & rq6patterns) in rhine_power_init() 593 if (rp->quirks & rqForceReset) in rhine_chip_reset() 607 static void enable_mmio(long pioaddr, u32 quirks) in enable_mmio() argument 610 if (quirks & rqRhineI) { in enable_mmio() 639 enable_mmio(pioaddr, rp->quirks); in rhine_reload_eeprom() [all …]
|
/linux-2.6.39/drivers/gpu/drm/ |
D | drm_edid.c | 73 u32 quirks; member 85 u32 quirks; member 402 return quirk->quirks; in edid_get_quirks() 420 u32 quirks) in edid_fixup_preferred() argument 428 if (quirks & EDID_QUIRK_PREFER_LARGE_60) in edid_fixup_preferred() 430 if (quirks & EDID_QUIRK_PREFER_LARGE_75) in edid_fixup_preferred() 807 u32 quirks) in drm_mode_detailed() argument 844 if (quirks & EDID_QUIRK_135_CLOCK_TOO_HIGH) in drm_mode_detailed() 869 if (quirks & EDID_QUIRK_DETAILED_SYNC_PP) { in drm_mode_detailed() 881 if (quirks & EDID_QUIRK_DETAILED_IN_CM) { in drm_mode_detailed() [all …]
|
/linux-2.6.39/sound/soc/samsung/ |
D | i2s.c | 165 u32 quirks; member 514 if ((i2s->quirks & QUIRK_NO_MUXPSR) in i2s_set_sysclk() 820 if (!(i2s->quirks & QUIRK_NO_MUXPSR)) { in config_setup() 979 if (i2s->quirks & QUIRK_NEED_RSTCLR) in samsung_i2s_dai_probe() 1007 if (i2s->quirks & QUIRK_NEED_RSTCLR) in samsung_i2s_dai_remove() 1089 u32 regs_base, quirks; in samsung_i2s_probe() local 1140 quirks = i2s_cfg->quirks; in samsung_i2s_probe() 1161 pri_dai->quirks = quirks; in samsung_i2s_probe() 1163 if (quirks & QUIRK_PRI_6CHAN) in samsung_i2s_probe() 1166 if (quirks & QUIRK_SEC_DAI) { in samsung_i2s_probe() [all …]
|
/linux-2.6.39/drivers/platform/x86/ |
D | acer-wmi.c | 253 static struct quirk_entry *quirks; variable 260 if (quirks->mailled) in set_quirks() 263 if (quirks->brightness) in set_quirks() 269 quirks = dmi->driver_data; in dmi_matched() 448 quirks = &quirk_acer_travelmate_2490; in find_quirks() 451 if (quirks == NULL) in find_quirks() 452 quirks = &quirk_unknown; in find_quirks() 508 switch (quirks->mailled) { in AMW0_get_u32() 518 switch (quirks->wireless) { in AMW0_get_u32() 540 switch (quirks->bluetooth) { in AMW0_get_u32() [all …]
|
/linux-2.6.39/drivers/net/wireless/b43/ |
D | sdio.c | 34 unsigned int quirks; member 45 for (q = b43_sdio_quirks; q->quirks; q++) { in b43_sdio_get_quirks() 47 return q->quirks; in b43_sdio_get_quirks()
|
/linux-2.6.39/include/linux/mmc/ |
D | card.h | 121 unsigned int quirks; /* card quirks */ member 175 return c->quirks & MMC_QUIRK_LENIENT_FN0; in mmc_card_lenient_fn0() 180 return c->quirks & MMC_QUIRK_BLKSZ_FOR_BYTE_MODE; in mmc_blksz_for_byte_mode()
|
D | dw_mmc.h | 154 u32 quirks; member 195 u32 quirks; /* Workaround / Quirk flags */ member
|