/Linux-v5.10/drivers/usb/host/ |
D | xhci-pci.c | 83 * TODO: see if there are any quirks that need to be added to handle in xhci_pci_reinit() 105 xhci->quirks |= driver_data->quirks; in xhci_pci_quirks() 108 /* Look for vendor-specific quirks */ in xhci_pci_quirks() 114 xhci->quirks |= XHCI_RESET_EP_QUIRK; in xhci_pci_quirks() 121 xhci->quirks |= XHCI_SLOW_SUSPEND; in xhci_pci_quirks() 128 xhci->quirks |= XHCI_BROKEN_STREAMS; in xhci_pci_quirks() 133 xhci->quirks |= XHCI_BROKEN_MSI; in xhci_pci_quirks() 138 xhci->quirks |= XHCI_TRUST_TX_LENGTH; in xhci_pci_quirks() 143 xhci->quirks |= XHCI_BROKEN_STREAMS; in xhci_pci_quirks() 146 xhci->quirks |= XHCI_NEC_HOST; in xhci_pci_quirks() [all …]
|
/Linux-v5.10/drivers/hid/ |
D | hid-microsoft.c | 32 unsigned long quirks; member 63 unsigned long quirks = ms->quirks; in ms_report_fixup() local 69 if ((quirks & MS_RDESC) && *rsize == 571 && rdesc[557] == 0x19 && in ms_report_fixup() 187 unsigned long quirks = ms->quirks; in ms_input_mapping() local 189 if (quirks & MS_ERGONOMY) { in ms_input_mapping() 195 if ((quirks & MS_PRESENTER) && in ms_input_mapping() 199 if (quirks & MS_SURFACE_DIAL) { in ms_input_mapping() 214 unsigned long quirks = ms->quirks; in ms_input_mapped() local 216 if (quirks & MS_DUPLICATE_USAGES) in ms_input_mapped() 226 unsigned long quirks = ms->quirks; in ms_event() local [all …]
|
D | hid-multitouch.c | 51 /* quirks to control the device */ 111 __s32 quirks; member 141 __s32 quirks; member 240 .quirks = MT_QUIRK_ALWAYS_VALID | 243 .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP }, 245 .quirks = MT_QUIRK_ALWAYS_VALID}, 247 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE }, 249 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE | 252 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE | 255 .quirks = MT_QUIRK_VALID_IS_INRANGE | [all …]
|
D | hid-cypress.c | 73 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in cp_report_fixup() local 75 if (quirks & CP_RDESC_SWAPPED_MIN_MAX) in cp_report_fixup() 77 if (quirks & VA_INVAL_LOGICAL_BOUNDARY) in cp_report_fixup() 87 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in cp_input_mapped() local 89 if (!(quirks & CP_2WHEEL_MOUSE_HACK)) in cp_input_mapped() 103 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in cp_event() local 106 !usage->type || !(quirks & CP_2WHEEL_MOUSE_HACK)) in cp_event() 111 quirks |= CP_2WHEEL_MOUSE_HACK_ON; in cp_event() 113 quirks &= ~CP_2WHEEL_MOUSE_HACK_ON; in cp_event() 114 hid_set_drvdata(hdev, (void *)quirks); in cp_event() [all …]
|
D | hid-saitek.c | 32 unsigned long quirks; member 39 unsigned long quirks = id->driver_data; in saitek_probe() local 49 ssc->quirks = quirks; in saitek_probe() 74 if ((ssc->quirks & SAITEK_FIX_PS1000) && *rsize == 137 && in saitek_report_fixup() 98 if (ssc->quirks & SAITEK_RELEASE_MODE_RAT7 && size == 7) { in saitek_raw_event() 119 } else if (ssc->quirks & SAITEK_RELEASE_MODE_MMO7 && size == 8) { in saitek_raw_event() 157 (((ssc->quirks & SAITEK_RELEASE_MODE_RAT7) && in saitek_event() 159 ((ssc->quirks & SAITEK_RELEASE_MODE_MMO7) && in saitek_event()
|
D | hid-sony.c | 545 unsigned long quirks; member 845 if (sc->quirks & (SINO_LITE_CONTROLLER | FUTUREMAX_DANCE_MAT)) in sony_report_fixup() 852 if ((sc->quirks & VAIO_RDESC_CONSTANT) && *rsize >= 56 && in sony_report_fixup() 864 if (sc->quirks & MOTION_CONTROLLER) in sony_report_fixup() 867 if (sc->quirks & PS3REMOTE) in sony_report_fixup() 874 if ((sc->quirks & SIXAXIS_CONTROLLER_USB) && *rsize >= 45 && in sony_report_fixup() 903 offset = (sc->quirks & MOTION_CONTROLLER) ? 12 : 30; in sixaxis_parse_report() 922 if (sc->quirks & SIXAXIS_CONTROLLER) { in sixaxis_parse_report() 951 int data_offset = (sc->quirks & DUALSHOCK4_CONTROLLER_BT) ? 2 : 0; in dualshock4_parse_report() 1084 max_touch_data = (sc->quirks & DUALSHOCK4_CONTROLLER_BT) ? 4 : 3; in dualshock4_parse_report() [all …]
|
D | hid-asus.c | 112 unsigned long quirks; member 332 if (drvdata->quirks & QUIRK_MEDION_E1239T) in asus_raw_event() 665 if (drvdata->quirks & QUIRK_T100CHI && in asus_input_configured() 670 if (drvdata->tp && (drvdata->quirks & QUIRK_MEDION_E1239T)) { in asus_input_configured() 734 if (drvdata->quirks & QUIRK_SKIP_INPUT_MAPPING) { in asus_input_mapping() 746 if ((drvdata->quirks & (QUIRK_T100CHI | QUIRK_T90CHI)) && in asus_input_mapping() 795 if (drvdata->quirks & QUIRK_USE_KBD_BACKLIGHT) in asus_input_mapping() 829 if (drvdata->quirks & QUIRK_NO_CONSUMER_USAGES && in asus_input_mapping() 848 if ((drvdata->quirks & QUIRK_MEDION_E1239T) && in asus_input_mapping() 907 drvdata->quirks = id->driver_data; in asus_probe() [all …]
|
D | hid-belkin.c | 30 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in belkin_input_mapping() local 33 !(quirks & BELKIN_WKBD)) in belkin_input_mapping() 48 unsigned long quirks = id->driver_data; in belkin_probe() local 51 hid_set_drvdata(hdev, (void *)quirks); in belkin_probe() 60 ((quirks & BELKIN_HIDDEV) ? HID_CONNECT_HIDDEV_FORCE : 0)); in belkin_probe()
|
D | hid-quirks.c | 3 * HID quirks support for Linux 933 if (hdev->quirks & HID_QUIRK_NO_IGNORE) in hid_ignore() 935 if (hdev->quirks & HID_QUIRK_IGNORE) in hid_ignore() 1017 /* Dynamic HID quirks list - specified at runtime */ 1026 /* Runtime ("dynamic") quirks manipulation functions */ 1029 * hid_exists_dquirk: find any dynamic quirks for a HID device 1063 * @quirks: the unsigned long quirks value to add/replace 1067 * quirks value with what was provided. Otherwise, add the quirk 1068 * to the dynamic quirks list. 1073 const unsigned long quirks) in hid_modify_dquirk() argument [all …]
|
D | hid-a4tech.c | 29 unsigned long quirks; member 40 if (a4->quirks & A4_2WHEEL_MOUSE_HACK_B8 && in a4_input_mapping() 67 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) in a4_input_mapped() 84 if (a4->quirks & A4_2WHEEL_MOUSE_HACK_B8) { in a4_event() 99 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) { in a4_event() 124 a4->quirks = id->driver_data; in a4_probe()
|
/Linux-v5.10/drivers/irqchip/ |
D | irq-gic-common.c | 29 const struct gic_quirk *quirks, void *data) in gic_enable_of_quirks() argument 31 for (; quirks->desc; quirks++) { in gic_enable_of_quirks() 32 if (!of_device_is_compatible(np, quirks->compatible)) in gic_enable_of_quirks() 34 if (quirks->init(data)) in gic_enable_of_quirks() 36 quirks->desc); in gic_enable_of_quirks() 40 void gic_enable_quirks(u32 iidr, const struct gic_quirk *quirks, in gic_enable_quirks() argument 43 for (; quirks->desc; quirks++) { in gic_enable_quirks() 44 if (quirks->compatible) in gic_enable_quirks() 46 if (quirks->iidr != (quirks->mask & iidr)) in gic_enable_quirks() 48 if (quirks->init(data)) in gic_enable_quirks() [all …]
|
/Linux-v5.10/drivers/mmc/core/ |
D | card.h | 139 card->quirks |= data; in add_quirk() 144 card->quirks &= ~data; in remove_quirk() 159 card->quirks |= data; in add_quirk_mmc() 166 card->quirks &= ~data; in remove_quirk_mmc() 175 card->quirks |= data; in add_quirk_sd() 182 card->quirks &= ~data; in remove_quirk_sd() 187 return c->quirks & MMC_QUIRK_LENIENT_FN0; in mmc_card_lenient_fn0() 192 return c->quirks & MMC_QUIRK_BLKSZ_FOR_BYTE_MODE; in mmc_blksz_for_byte_mode() 197 return c->quirks & MMC_QUIRK_DISABLE_CD; in mmc_card_disable_cd() 202 return c->quirks & MMC_QUIRK_NONSTD_FUNC_IF; in mmc_card_nonstd_func_interface() [all …]
|
/Linux-v5.10/drivers/gpu/drm/panfrost/ |
D | panfrost_gpu.c | 92 u32 quirks = 0; in panfrost_gpu_init_quirks() local 96 quirks |= SC_LS_PAUSEBUFFER_DISABLE; in panfrost_gpu_init_quirks() 99 quirks |= SC_SDC_DISABLE_OQ_DISCARD; in panfrost_gpu_init_quirks() 102 quirks |= SC_ENABLE_TEXGRD_FLAGS; in panfrost_gpu_init_quirks() 106 quirks |= SC_LS_ATTR_CHECK_DISABLE; in panfrost_gpu_init_quirks() 108 quirks |= SC_LS_ALLOW_ATTR_TYPES; in panfrost_gpu_init_quirks() 112 quirks |= SC_TLS_HASH_ENABLE; in panfrost_gpu_init_quirks() 114 if (quirks) in panfrost_gpu_init_quirks() 115 gpu_write(pfdev, GPU_SHADER_CONFIG, quirks); in panfrost_gpu_init_quirks() 118 quirks = gpu_read(pfdev, GPU_TILER_CONFIG); in panfrost_gpu_init_quirks() [all …]
|
/Linux-v5.10/drivers/usb/core/ |
D | quirks.c | 11 #include <linux/usb/quirks.h> 169 device_param_cb(quirks, &quirks_param_ops, &quirks_param_string, 0644); 170 MODULE_PARM_DESC(quirks, "Add/modify USB quirks by specifying quirks=vendorID:productID:quirks"); 172 /* Lists of quirky USB devices, split in device quirks and interface quirks. 173 * Device quirks are applied at the very beginning of the enumeration process, 177 * Interface quirks are applied after reading all the configuration descriptors. 180 * Note that the DELAY_INIT and HONOR_BNUMINTERFACES quirks do not make sense as 181 * interface quirks, as they only influence the enumeration process which is run 182 * before processing the interface quirks. 602 u32 quirks = 0; in usb_detect_static_quirks() local [all …]
|
/Linux-v5.10/lib/ |
D | packing.c | 70 * @startbit: The index (in logical notation, compensated for quirks) where 73 * @endbit: The index (in logical notation, compensated for quirks) where 81 * @quirks: A bit mask of QUIRK_LITTLE_ENDIAN, QUIRK_LSW32_IS_FIRST and 90 enum packing_op op, u8 quirks) in packing() argument 126 * no quirks, u8 by u8 (aligned at u8 boundaries), from high to low in packing() 166 * adjusted for quirks. The adjusted box_addr will be used for in packing() 171 if (quirks & QUIRK_LITTLE_ENDIAN) in packing() 173 if (quirks & QUIRK_LSW32_IS_FIRST) in packing() 182 if (quirks & QUIRK_MSB_ON_THE_RIGHT) in packing() 198 if (quirks & QUIRK_MSB_ON_THE_RIGHT) in packing()
|
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | hwif.c | 105 int (*quirks)(struct stmmac_priv *priv); member 125 .quirks = stmmac_dwmac1_quirks, 143 .quirks = stmmac_dwmac1_quirks, 161 .quirks = stmmac_dwmac4_quirks, 179 .quirks = NULL, 197 .quirks = NULL, 215 .quirks = NULL, 234 .quirks = NULL, 253 .quirks = stmmac_dwxlgmac_quirks, 334 /* Save quirks, if needed for posterior use */ in stmmac_hwif_init() [all …]
|
/Linux-v5.10/drivers/platform/x86/ |
D | eeepc-wmi.c | 104 static struct quirk_entry *quirks; variable 114 quirks = &quirk_asus_et2012_type1; in et2012_quirks() 116 quirks = &quirk_asus_et2012_type3; in et2012_quirks() 126 quirks = dmi->driver_data; in dmi_matched() 211 quirks = &quirk_asus_unknown; in eeepc_wmi_quirks() 212 quirks->hotplug_wireless = hotplug_wireless; in eeepc_wmi_quirks() 216 driver->quirks = quirks; in eeepc_wmi_quirks() 217 driver->quirks->wapf = -1; in eeepc_wmi_quirks()
|
D | msi-laptop.c | 114 /* MSI laptop quirks */ 140 static struct quirk_entry *quirks; variable 212 if (quirks->ec_read_only) in set_device_state() 313 if (quirks->old_ec_model) { in show_wlan() 337 if (quirks->old_ec_model) { in show_bluetooth() 362 if (quirks->old_ec_model) in show_threeg() 590 quirks = dmi->driver_data; in dmi_check_cb() 770 if (quirks->ec_read_only) in msi_rfkill_set_state() 822 if (quirks->ec_delay) { in msi_laptop_i8042_filter() 831 if (quirks->ec_delay) { in msi_laptop_i8042_filter() [all …]
|
D | alienware-wmi.c | 59 static struct quirk_entry *quirks; variable 113 quirks = dmi->driver_data; in dmi_matched() 267 for (zone = 0; zone < quirks->num_zones; zone++) { in match_zone() 451 kcalloc(quirks->num_zones + 1, sizeof(struct device_attribute), in alienware_zone_init() 457 kcalloc(quirks->num_zones + 2, sizeof(struct attribute *), in alienware_zone_init() 463 kcalloc(quirks->num_zones, sizeof(struct platform_zone), in alienware_zone_init() 468 for (zone = 0; zone < quirks->num_zones; zone++) { in alienware_zone_init() 482 zone_attrs[quirks->num_zones] = &dev_attr_lighting_control_state.attr; in alienware_zone_init() 497 for (zone = 0; zone < quirks->num_zones; zone++) in alienware_zone_exit() 623 if (quirks->hdmi_mux > 0) in remove_hdmi() [all …]
|
/Linux-v5.10/arch/arm/mach-davinci/ |
D | pdata-quirks.c | 3 * Legacy platform_data quirks 191 static void pdata_quirks_check(struct pdata_init *quirks) in pdata_quirks_check() argument 193 while (quirks->compatible) { in pdata_quirks_check() 194 if (of_machine_is_compatible(quirks->compatible)) { in pdata_quirks_check() 195 if (quirks->fn) in pdata_quirks_check() 196 quirks->fn(); in pdata_quirks_check() 198 quirks++; in pdata_quirks_check()
|
/Linux-v5.10/drivers/mmc/host/ |
D | sdhci-pltfm.c | 67 host->quirks |= SDHCI_QUIRK_BROKEN_DMA; in sdhci_get_compatibility() 73 host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; in sdhci_get_compatibility() 87 host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12; in sdhci_get_property() 92 host->quirks |= SDHCI_QUIRK_FORCE_1_BIT_DATA; in sdhci_get_property() 95 host->quirks |= SDHCI_QUIRK_INVERTED_WRITE_PROTECT; in sdhci_get_property() 98 host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION; in sdhci_get_property() 152 host->quirks = pdata->quirks; in sdhci_pltfm_init()
|
/Linux-v5.10/drivers/thunderbolt/ |
D | quirks.c | 3 * Thunderbolt driver - quirks 12 sw->quirks |= QUIRK_FORCE_POWER_LINK_CONTROLLER; in quirk_force_power_link() 27 * tb_check_quirks() - Check for quirks to apply 30 * Apply any quirks for the Thunderbolt controller.
|
/Linux-v5.10/drivers/bus/ |
D | ti-sysc.c | 151 if (ddata->cfg.quirks & SYSC_QUIRK_16BIT) { in sysc_write() 170 if (ddata->cfg.quirks & SYSC_QUIRK_16BIT) { in sysc_read() 191 return !!(ddata->cfg.quirks & SYSC_QUIRK_OPT_CLKS_NEEDED); in sysc_opt_clks_needed() 236 if (ddata->cfg.quirks & SYSS_QUIRK_RESETDONE_INVERTED) in sysc_wait_softreset() 246 } else if (ddata->cfg.quirks & SYSC_QUIRK_RESET_STATUS) { in sysc_wait_softreset() 398 if ((ddata->cfg.quirks & SYSC_QUIRK_EXT_OPT_CLOCK)) { in sysc_get_clocks() 552 if (ddata->legacy_mode || (ddata->cfg.quirks & SYSC_QUIRK_CLKDM_NOAUTO)) in sysc_clkdm_deny_idle() 564 if (ddata->legacy_mode || (ddata->cfg.quirks & SYSC_QUIRK_CLKDM_NOAUTO)) in sysc_clkdm_allow_idle() 678 ddata->cfg.quirks |= SYSC_QUIRK_NO_IDLE_ON_INIT | in sysc_check_quirk_stdout() 721 ddata->cfg.quirks |= SYSC_QUIRK_16BIT | SYSC_QUIRK_USE_CLOCKACT; in sysc_check_quirk_16bit() [all …]
|
/Linux-v5.10/drivers/net/ethernet/via/ |
D | via-rhine.c | 281 * The .data field is currently only used to store quirks 467 u32 quirks; member 556 if (rp->quirks & rqStatusWBRace) in rhine_get_events() 565 if (rp->quirks & rqStatusWBRace) in rhine_ack_events() 580 if (rp->quirks & rqWOL) { in rhine_power_init() 590 if (rp->quirks & rq6patterns) in rhine_power_init() 595 if (rp->quirks & rq6patterns) in rhine_power_init() 600 if (rp->quirks & rq6patterns) in rhine_power_init() 643 if (rp->quirks & rqForceReset) in rhine_chip_reset() 655 static void enable_mmio(long pioaddr, u32 quirks) in enable_mmio() argument [all …]
|
/Linux-v5.10/include/linux/ |
D | packing.h | 28 * @startbit: The index (in logical notation, compensated for quirks) where 31 * @endbit: The index (in logical notation, compensated for quirks) where 38 * @quirks: A bit mask of QUIRK_LITTLE_ENDIAN, QUIRK_LSW32_IS_FIRST and 47 enum packing_op op, u8 quirks);
|